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.

78 lines
1.4 KiB

  1. #define USERMS L"Software\\Microsoft"
  2. #define USERMS_SOFTPCI L"Software\\Microsoft\\SoftPCI"
  3. #define CCS L"SYSTEM\\CurrentControlSet\\Control"
  4. #define CCS_SOFTPCI L"SYSTEM\\CurrentControlSet\\Control\\SoftPCI"
  5. #define SOFTPCI_KEY L"SoftPCI"
  6. typedef struct _SOFTPCI_WNDVIEW {
  7. WINDOWPLACEMENT WindowPlacement;
  8. INT PaneSplit;
  9. }SOFTPCI_WNDVIEW, *PSOFTPCI_WNDVIEW;
  10. #define SoftPCI_DisableMenuItem(Menu, MenuItem) \
  11. EnableMenuItem(Menu, MenuItem, MF_GRAYED)
  12. #define SoftPCI_SetMenuItemText(Menu, MenuItem, ItemText) \
  13. ModifyMenu(Menu, MenuItem, MF_STRING, MenuItem, ItemText)
  14. HBRUSH
  15. PASCAL
  16. SoftPCI_CreateDitheredBrush(
  17. VOID
  18. );
  19. VOID
  20. SoftPCI_FormatConfigBuffer(
  21. IN PWCHAR Buffer,
  22. IN PPCI_COMMON_CONFIG Config
  23. );
  24. VOID
  25. SoftPCI_HandleImportDevices(
  26. VOID
  27. );
  28. BOOL
  29. SoftPCI_InitializeRegistry(
  30. VOID
  31. );
  32. BOOL
  33. SoftPCI_QueryWindowSettings(
  34. OUT PSOFTPCI_WNDVIEW ViewSettings
  35. );
  36. VOID
  37. SoftPCI_StringToLowerW(
  38. IN PWCHAR String
  39. );
  40. VOID
  41. SoftPCI_StringToLower(
  42. IN PWCHAR String
  43. );
  44. BOOL
  45. SoftPCI_SaveDeviceToRegisty(
  46. IN PPCI_DN Pdn
  47. );
  48. VOID
  49. SoftPCI_SaveWindowSettings(
  50. VOID
  51. );
  52. PWCHAR
  53. SoftPCI_GetLastError(
  54. VOID
  55. );
  56. VOID
  57. SoftPCI_MessageBox(
  58. IN PWCHAR MessageTitle,
  59. IN PWCHAR DebugMessage,
  60. ...
  61. );