Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB

  1. //************************************************************************
  2. // Generic Win 3.1 fax printer driver support. User Interface functions
  3. // which are called by WINSPOOL. Support for Two new entry points required
  4. // by the Win 95 printer UI, DrvDocumentPropertySheets and
  5. // DrvDevicePropertySheets
  6. //
  7. // History:
  8. // 24-Apr-96 reedb created.
  9. //
  10. //************************************************************************
  11. #include "winddiui.h"
  12. // Data structure maintained by the fax driver user interface
  13. typedef struct {
  14. PVOID startUiData;
  15. HANDLE hPrinter;
  16. PDEVMODE pdmIn;
  17. PDEVMODE pdmOut;
  18. DWORD fMode;
  19. LPTSTR pDriverName;
  20. LPTSTR pDeviceName;
  21. PFNCOMPROPSHEET pfnComPropSheet;
  22. HANDLE hComPropSheet;
  23. HANDLE hFaxOptsPage;
  24. PVOID endUiData;
  25. } UIDATA, *PUIDATA;
  26. #define ValidUiData(pUiData) \
  27. ((pUiData) && (pUiData) == (pUiData)->startUiData && (pUiData) == (pUiData)->endUiData)