windows-nt/Source/XPSP1/NT/base/wmi/inc/bmfmisc.h

48 lines
752 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//
// 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