dDocumentProperties

Writes the changes in the devmode to the printer.

 

LONG dDocumentProperties(HWND MainWnd, LPLONG lpLong, LPTSTR lpString)

 

Input value: MainWnd    - handle to a window (can be NULL)

Input value: lpLong        -           - pointer to a long value. A handle to the printer to set. By default

the value can be NULL. In this case the currently installed printer settings will be chanced.

Input value: lpString      -           - pointer to a string value. The value is not used, can be NULL

Return value                             - Returns 0 on success, otherwise returns the error code to be

passed to GetLastError().

 

NOTE:  All of these parameters are only necessary, because of the Install Shield DLL calling format.

 

NOTE:  This function is outdated, no longer recommended.