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.

49 lines
1.3 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. clusstor.h
  5. Abstract:
  6. Revision History:
  7. --*/
  8. #ifndef _CLUS_STOR_
  9. #define _CLUS_STOR_
  10. #include <clusapi.h>
  11. //
  12. // Storage Resource DLL Extension info
  13. //
  14. typedef DWORD ( * lpPassThruFunc)( IN LPSTR lpDeviceName, // Single-byte Character Set string
  15. IN LPSTR lpContextStr, // Single-byte Character Set string
  16. OUT LPVOID lpOutBuffer,
  17. IN DWORD nOutBufferSize,
  18. OUT LPDWORD lpBytesReturned );
  19. typedef struct DISK_DLL_EXTENSION_INFO {
  20. WORD MajorVersion;
  21. WORD MinorVersion;
  22. CHAR DllModuleName[MAX_PATH]; // Single-byte Character Set string
  23. CHAR DllProcName[MAX_PATH]; // Single-byte Character Set string
  24. CHAR ContextStr[MAX_PATH]; // Single-byte Character Set string
  25. } DISK_DLL_EXTENSION_INFO, *PDISK_DLL_EXTENSION_INFO;
  26. #define CLCTL_STORAGE_DLL_EXTENSION \
  27. CLCTL_EXTERNAL_CODE( 9500, CLUS_ACCESS_READ, CLUS_NO_MODIFY )
  28. #define CLUSCTL_RESOURCE_STORAGE_DLL_EXTENSION \
  29. CLUSCTL_RESOURCE_CODE( CLCTL_STORAGE_DLL_EXTENSION )
  30. #endif // _CLUS_STOR_