Disable

void Disable(
  LPPDEVICE lpDestDev
 );

Disables the specified device. Every graphics driver must export a Disable function.

lpDestDev
Address of a PDEVICE or PBITMAP structure that specifies the destination device or bitmap.

The export ordinal for this function is 4.

GDI calls this function when it deletes a device or information context for an application, or when it saves the context in preparation for Windows to switch to a full-screen application.

See Also

Enable, PDEVICE, PBITMAP