This function returns the button ID pressed on the dialog. The number of the buttons depends on the printer type.
LONG dGetInstallType(HWND MainWnd, LPLONG lpLong, LPTSTR)
Input value:MainWnd - a window handle
Input value:lpLong - Pointer to a driver type.
Third parameter is not used.
Return value: -TYPE_FAXAPP (1000), TYPE_NONFAXAPP (1001), TYPE_CUSTOM (1002),IDABORT, or -1 when error happened. Default value is TYPE_NONFAXAPP (1001).
Fax Applications option is not avaiable in EMF, PDF Printer Drivers.