Source code of Windows XP (NT5)
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
932 B

  1. #include "pch.h"
  2. #include <initguid.h>
  3. #include <wdmguid.h>
  4. #include <ntddpar.h>
  5. //
  6. // globals and constants
  7. //
  8. LARGE_INTEGER AcquirePortTimeout;
  9. ULONG ParEnableLegacyZip = 0;
  10. PCHAR ParLegacyZipPseudoId = PAR_LGZIP_PSEUDO_1284_ID_STRING;
  11. ULONG SppNoRaiseIrql = 0;
  12. ULONG DefaultModes = 0;
  13. UNICODE_STRING RegistryPath = {0,0,0};
  14. // track CREATE/CLOSE count - likely obsolete
  15. LONG PortInfoReferenceCount = -1L;
  16. PFAST_MUTEX PortInfoMutex = NULL;
  17. const PHYSICAL_ADDRESS PhysicalZero = {0};
  18. // variable to know how many times to try a select or
  19. // deselect for 1284.3 if we do not succeed.
  20. UCHAR PptDot3Retries = 5;
  21. ULONG WarmPollPeriod = 5; // time between polls for printers (in seconds)
  22. BOOLEAN PowerStateIsAC = TRUE; // FALSE means running on battery power
  23. PCALLBACK_OBJECT PowerStateCallbackObject = NULL;
  24. PVOID PowerStateCallbackRegistration = NULL;