DSK_Init

This function is responsible for initializing solid state disk devices, such as ATA, SRAM, and linear flash memory disks. After loading the device’s driver DLL, the Device Manager calls this function and passes to it the active key that contains the socket number. This function verifies that the media is accessible. It then creates a client context structure for the socket. Next, it registers itself as a client driver with PC Card Services, if any PC Card or MiniCard is in use. Finally, it calls the CardRequestWindow and CardMapWindow functions to map the disk memory to device memory.