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.

63 lines
1.2 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 1996
  4. *
  5. * TITLE: REGHELP.h
  6. *
  7. * VERSION: 2.0
  8. *
  9. * AUTHOR: ReedB
  10. *
  11. * DATE: 17 Oct, 1996
  12. *
  13. * DESCRIPTION:
  14. *
  15. *******************************************************************************/
  16. DWORD
  17. ReadPwrPolicyEx2(
  18. LPTSTR lpszUserKeyName,
  19. LPTSTR lpszMachineKeyName,
  20. LPTSTR lpszSchemeName,
  21. LPTSTR lpszDesc,
  22. LPDWORD lpdwDescSize,
  23. LPVOID lpvUser,
  24. DWORD dwcbUserSize,
  25. LPVOID lpvMachine,
  26. DWORD dwcbMachineSize
  27. );
  28. DWORD
  29. OpenMachineUserKeys2(
  30. LPTSTR lpszUserKeyName,
  31. REGSAM samDesiredUser,
  32. LPTSTR lpszMachineKeyName,
  33. REGSAM samDesiredMachine,
  34. PHKEY phKeyUser,
  35. PHKEY phKeyMachine
  36. );
  37. DWORD
  38. OpenCurrentUser2(
  39. PHKEY phKey,
  40. REGSAM samDesired
  41. );
  42. DWORD
  43. ReadProcessorPwrPolicy(
  44. LPTSTR lpszMachineKeyName,
  45. LPTSTR lpszSchemeName,
  46. LPVOID lpvMachineProcessor,
  47. DWORD dwcbMachineProcessorSize
  48. );
  49. DWORD
  50. WriteProcessorPwrPolicy(
  51. LPTSTR lpszMachineKeyName,
  52. LPTSTR lpszSchemeName,
  53. LPVOID lpvMachineProcessor,
  54. DWORD dwcbMachineProcessorSize);