This function retrieves printer information from the handle to the DEVMODE structure.
[C++Builder] BOOL
IKGetDevModeInfo(HANDLE hDevMode, PTR_IKPRINT_DEVMODEINFO
DevModeInfo);
[Delphi] function
IKGetDevModeInfo(hDevMode: THandle; var DevModeInfo:
IKPRINT_DEVMODEINFO): LongBool;
Parameters
Name | Explanation |
---|---|
hDevMode | The handle of the DEVMODE structure as retrieved by the IKGetDevModeHandle function |
DevModeInfo | A structure (user-defined type) whose member variables contain the retrieved printer information |
Return Value
Returns True (nonzero) if successful. Returns False (0) if unsuccessful.
Explanation
The IKGetDevModeInfo function retrieves printer information from the handle to the DEVMODE structure. If successful, the printer information will be set in the DevModeInfo structure. For more information about the DEVMODE structure, please refer to WindowsAPI or related manuals. For details about the IKPRINT_DEVMODEINFO structure, please refer to the definition of the structure in the Ik10Print.dll, Ik10PrintA.dll, Ik10Print64.dll, Ik10Print64A.dll section.