typedef struct tagPDEVICE {
short pdType;
} PDEVICE;
Contains information that a graphics driver uses to identify a device and the current state of the device.
GDI allocates space for the PDEVICE structure when it calls the Enable function to initialize a device driver. The size of this structure must be specified in the dpDEVICEsize member of the GDIINFO structure.
The size and content of the structure depends entirely on the driver. For example, the structure may include the current pen, the current position, the communication port of a particular device, and other state information. However, the first member in every PDEVICE structure must be pdType.
Enable, GDIINFO, PBITMAP