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

//
// Header describing a compressed binary mof blob
//
typedef struct
{
DWORD Signature;
DWORD CompressionType;
DWORD CompressedSize;
DWORD UncompressedSize;
BYTE Buffer[1];
} BMOFCOMPRESSEDHEADER, *PBMOFCOMPRESSEDHEADER;
typedef struct
{
HANDLE MofHandle;
HANDLE EnglishMofHandle;
BOOLEAN WriteToEnglish;
PUCHAR UncompressedBlob;
} MOFFILETARGET, *PMOFFILETARGET;
#define MofObjectTypeClass 0
#define MofObjectTypeInstance 1
#ifdef __cplusplus
extern "C" {
#endif
BOOLEAN __stdcall ConvertMofToBmf(
TCHAR *MofFile,
TCHAR *EnglishMofFile,
TCHAR *BmfFile
);
BOOLEAN __stdcall ConvertBmfToMof(
PUCHAR BinaryMofData,
TCHAR *MofFile,
TCHAR *EnglishMofFile
);
#ifdef __cplusplus
}
#endif