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.

45 lines
844 B

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. rules.h
  5. Abstract:
  6. This module contains support routines for implementing BIOS
  7. identification rules.
  8. Environment:
  9. Kernel mode
  10. --*/
  11. //
  12. // Maximum data that can be specified (either as string or binary) in the
  13. // machine identification rules.
  14. //
  15. #define MAX_DESCRIPTION_LEN 256
  16. BOOLEAN
  17. CmpMatchInfList(
  18. IN PVOID InfImage,
  19. IN ULONG ImageSize,
  20. IN PCHAR Section
  21. );
  22. PDESCRIPTION_HEADER
  23. CmpFindACPITable(
  24. IN ULONG Signature,
  25. IN OUT PULONG Length
  26. );
  27. NTSTATUS
  28. CmpGetRegistryValue(
  29. IN HANDLE KeyName,
  30. IN PWSTR ValueName,
  31. OUT PKEY_VALUE_PARTIAL_INFORMATION *Information
  32. );