This function frees the handle to the DEVMODE and DEVNAMES structures.

[C++Builder/Visual C++]     BOOL IKReleaseDevModeHandleEx(HANDLE hDevMode, HANDLE hDevNames);
[Delphi]         function IKReleaseDevModeHandleEx(hDevMode, hDevNames: THandle): LongBool;
[Visual Basic]   Function IKReleaseDevModeHandleEx(ByVal hDevMode As Long, ByVal hDevNames As Long) As Long

Parameters

Name Explanation
hDevMode The handle of the DEVMODE structure retrieved by the IKGetDevModeHandle, IKGetDevModeHandleEx, IKPrintDialog functions
hDevNames The handle of the DEVNAMES structure retrieved by the IKGetDevModeHandleEx and the IKPrintDialog functions

Return Value

Returns True (nonzero) if successful. Returns False (0) if unsuccessful.

Explanation

The IKReleaseDevModeHandle function frees the handle to the DEVMODE and DEVNAMES structures. Execute this function when the handle of DEVMODE structure and DEVNAMES structure is no longer needed. If successful, the memory occupied by hDevMode will be released.

If hDevNames is NULL or 0, the behavior is the same as IKReleaseDevModeHandle.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation