WindowsXP/Source/XPSP1/NT/base/wmi/enumguid/print.h
2024-08-03 16:30:48 +02:00

98 lines
1.2 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1997-1999 Microsoft Corporation
Revision History:
--*/
/****************************************************************************
*
* print.h
* --------
*
* Header file WMI printout funcions
*
* Modification History:
*
* drewm - April, 22, 1997 - Original Source
*
****************************************************************************/
#ifndef _WMI_PRINT_INC
#define _WMI_PRINT_INC
#ifndef OffsetToPtr
#define OffsetToPtr(Base, Offset) ((PBYTE) ((PBYTE)Base + Offset))
#endif
#define MAX_NAME_LENGTH 500
VOID
PrintGuid(
LPGUID lpGuid
);
/*
VOID
PrintClassInfoHeader(
PMOFCLASSINFO pMofClassInfo
);
VOID
PrintDataItem(
PMOFDATAITEM lpDataItem
);
VOID
PrintDataType(
MOFDATATYPE E_DataType
);
VOID
PrintClassQualifier(
LPTSTR lpQualifier,
MOFHANDLE hMofHandle
);
*/
VOID
ClearScreen(
VOID
);
VOID
WaitForUser(
VOID
);
VOID PrintDescription(
LPGUID lpGuid
);
VOID
PrintAllData(
IN PWNODE_ALL_DATA Wnode
);
VOID
PrintHeader(
IN WNODE_HEADER Header
);
VOID PrintSingleInstance(
IN PWNODE_SINGLE_INSTANCE Wnode
);
VOID
PrintCountedString(
LPTSTR lpString
);
BOOL
MyIsTextUnicode(
PVOID string
);
#endif