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.
 
 
 
 
 
 

73 lines
1.0 KiB

/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
Common.h
Abstract:
(See module header of Common.cpp)
Author:
Abdullah Ustuner (AUstuner) 28-August-2002
[Notes:]
Header file for Common.cpp
--*/
#ifndef COMMON_H
#define COMMON_H
#if defined(_X86_)
#define MCAPrintErrorRecord MCAPrintErrorRecordX86
#elif defined (_AMD64_)
#define MCAPrintErrorRecord MCAPrintErrorRecordAMD64
#else
#define MCAPrintErrorRecord MCAPrintErrorRecordIA64
#endif
//
// Function prototypes for Common.cpp
//
BOOL
MCAExtractErrorRecord(
IN IWbemClassObject *Object,
OUT PUCHAR *PRecordBuffer
);
BOOL
MCAInitialize(
VOID
);
BOOL
MCAInitializeCOMLibrary(
VOID
);
BOOL
MCAInitializeWMISecurity(
VOID
);
VOID
MCAPrintErrorRecordX86(
PUCHAR PErrorRecordBuffer
);
VOID
MCAPrintErrorRecordAMD64(
PUCHAR PErrorRecordBuffer
);
VOID
MCAPrintErrorRecordIA64(
PUCHAR PErrorRecordBuffer
);
#endif