SCNSM 1.0 Beta

The SCNSM driver supports allocation of non-swappable memory on Windows 3.x/95/98. The principal design goal of SCNSM is to provide memory that will not be swapped to disk, under any circumstances. Typically, security applications require such memory to store private keys, passwords, and sensitive intermediate results of cryptographic calculations.

SCNSM supports 32-bit and 16-bit APIs. For 32-bit applications, use the Win32 DeviceIoControl interface. For 16-bit applications, you must use the assembly language interface.

Readme
Legal Evils
Availability
Installation
Building the Source
Caveats, Bug Reports, and Things to do

API

Function Description
AllocPage Allocates non-swappable memory pages
FreePage Frees memory previously allocated with AllocPage
GetPageSize Gets the page size, in bytes
GetVersion Gets the version of the SCNSM driver