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.

83 lines
1.4 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name :
  4. propp.h
  5. Abstract :
  6. Common definition file for the Storage Class Installers and their Property Sheets
  7. Revision History :
  8. --*/
  9. #ifndef __STORPROP_PROPP_H_
  10. #define __STORPROP_PROPP_H_
  11. #include <stddef.h>
  12. #include <stdlib.h>
  13. #include <string.h>
  14. #include <tchar.h>
  15. #include <windowsx.h>
  16. #include <objbase.h>
  17. #include <setupapi.h>
  18. #include <shellapi.h>
  19. #include <wmium.h>
  20. #include <devioctl.h>
  21. #include <ntddstor.h>
  22. #include <ntdddisk.h>
  23. #include <ntddscsi.h>
  24. #include <cfgmgr32.h>
  25. #include <assert.h>
  26. #include <initguid.h>
  27. #include <ntddredb.h>
  28. #include "resource.h"
  29. #define SET_FLAG(Flags, Bit) ( (Flags) |= (Bit))
  30. #define CLEAR_FLAG(Flags, Bit) ( (Flags) &= ~(Bit))
  31. #define TEST_FLAG(Flags, Bit) (((Flags) & (Bit)) != 0)
  32. extern HMODULE ModuleInstance;
  33. BOOLEAN
  34. UtilpRestartDevice(IN HDEVINFO HDevInfo, IN PSP_DEVINFO_DATA DevInfoData);
  35. HANDLE
  36. UtilpGetDeviceHandle(HDEVINFO DevInfo, PSP_DEVINFO_DATA DevInfoData, LPGUID ClassGuid, DWORD DesiredAccess);
  37. #ifdef DebugPrint
  38. #undef DebugPrint
  39. #endif
  40. #if DBG
  41. ULONG
  42. _cdecl DbgPrint(PCH Format, ...);
  43. VOID
  44. StorPropDebugPrint(ULONG DebugPrintLevel, PCHAR DebugMessage, ...);
  45. #define DebugPrint(x) StorPropDebugPrint x
  46. #else
  47. #define DebugPrint(x)
  48. #endif
  49. #endif // __STORPROP_PROPP_H_