HPSToHDC
This function will set up the HPS for Open32 application use and return
a Windows HDC handle. The Open32 application can then use this handle to
perform drawing operations. The applications should call DeleteHDCObjects
when finished using the handle.
Syntax:
HPSToHDC (HWND, HPS, PSZ, LPRECT)
Parameters:
HWND
The handle of the window associated with the
HPS.
HPS
The HPS to be
converted to a Windows HDC.
PSZ
The
string containing the device name of the printer associated with the HPS
or NULL for a non-printer HPS.
LPRECT
Rectangle
that contains the coordinates for the drawing area.
[Back: Open32-Unique Functions]
[Next: DeleteHDCObjects]