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.

50 lines
1.8 KiB

  1. #ifndef PP_LPT_H
  2. #define PP_LPT_H
  3. #include "msports.h"
  4. // Exported from pplpt.c
  5. extern TCHAR m_szPortName[];
  6. typedef struct _LPT_PROP_PARAMS
  7. {
  8. HDEVINFO DeviceInfoSet;
  9. PSP_DEVINFO_DATA DeviceInfoData;
  10. BOOL ChangesEnabled;
  11. GUID ClassGuid; // the class GUID for this device
  12. DWORD FilterResourceMethod;
  13. DWORD ParEnableLegacyZip;
  14. // HKEY hDeviceKey;
  15. TCHAR szLptName[20];
  16. } LPT_PROP_PARAMS, *PLPT_PROP_PARAMS;
  17. #define RESOURCE_METHOD_DEFAULT_IDX 1
  18. #define FILTERMETHOD_TRYNOT 0
  19. #define FILTERMETHOD_NEVER 1
  20. #define FILTERMETHOD_ACCEPTANY 2
  21. #define MAX_LPT_PORT 3 // Maximum number of LPT ports NT supports
  22. #define MIN_LPT 1 // Minimum new LPT port number
  23. #define ENABLELEGACYZIPDEFAULT 0
  24. #define IDH_NOHELP ((DWORD)-1)
  25. #define idh_devmgr_portset_trynot 15895 // Port Settings: radio button
  26. #define idh_devmgr_portset_never 15896 // Port Settings: radio button
  27. #define idh_devmgr_portset_acceptany 15897 // Port Settings: radio button
  28. #define idh_devmgr_portset_portnum 15898 // Port Settings: List box text
  29. #define idh_devmgr_portset_LPTchoice 15899 // Port Settings: List box
  30. #define idh_devmgr_enable_legacy 15900
  31. ////////////////////////////////////////////////////////////////////////////////
  32. // Port Settings Property Page Prototypes
  33. ////////////////////////////////////////////////////////////////////////////////
  34. BOOL
  35. APIENTRY
  36. ParallelPortPropPageProvider(LPVOID Info,
  37. LPFNADDPROPSHEETPAGE AddFunc,
  38. LPARAM Lparam);
  39. #endif // PP_LPT_H