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.

47 lines
799 B

  1. //
  2. // Header describing a compressed binary mof blob
  3. //
  4. typedef struct
  5. {
  6. DWORD Signature;
  7. DWORD CompressionType;
  8. DWORD CompressedSize;
  9. DWORD UncompressedSize;
  10. BYTE Buffer[1];
  11. } BMOFCOMPRESSEDHEADER, *PBMOFCOMPRESSEDHEADER;
  12. typedef struct
  13. {
  14. HANDLE MofHandle;
  15. HANDLE EnglishMofHandle;
  16. BOOLEAN WriteToEnglish;
  17. PUCHAR UncompressedBlob;
  18. } MOFFILETARGET, *PMOFFILETARGET;
  19. #define MofObjectTypeClass 0
  20. #define MofObjectTypeInstance 1
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. BOOLEAN __stdcall ConvertMofToBmf(
  25. TCHAR *MofFile,
  26. TCHAR *EnglishMofFile,
  27. TCHAR *BmfFile
  28. );
  29. BOOLEAN __stdcall ConvertBmfToMof(
  30. PUCHAR BinaryMofData,
  31. TCHAR *MofFile,
  32. TCHAR *EnglishMofFile
  33. );
  34. #ifdef __cplusplus
  35. }
  36. #endif