41 lines
1 KiB
C
41 lines
1 KiB
C
#ifndef _MWMIDEFS_H
|
|
#define _MWMIDEFS_H
|
|
//
|
|
// Copyright (c) Microsoft. All Rights Reserved
|
|
//
|
|
// THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Microsoft.
|
|
// The copyright notice above does not evidence any
|
|
// actual or intended publication of such source code.
|
|
//
|
|
// OneLiner : MWMIDefs interface.
|
|
// DevUnit : wlbstest
|
|
// Author : Murtaza Hakim
|
|
//
|
|
// Description:
|
|
// -----------
|
|
|
|
// include files
|
|
//
|
|
#include <wbemidl.h>
|
|
#include <comdef.h>
|
|
|
|
// typedefs for _com_ptr_t
|
|
|
|
_COM_SMARTPTR_TYPEDEF(IWbemServices, __uuidof(IWbemServices));
|
|
_COM_SMARTPTR_TYPEDEF(IWbemLocator, __uuidof(IWbemLocator));
|
|
_COM_SMARTPTR_TYPEDEF(IWbemClassObject, __uuidof(IWbemClassObject));
|
|
_COM_SMARTPTR_TYPEDEF(IEnumWbemClassObject, __uuidof(IEnumWbemClassObject));
|
|
_COM_SMARTPTR_TYPEDEF(IWbemCallResult, __uuidof(IWbemCallResult));
|
|
_COM_SMARTPTR_TYPEDEF(IWbemStatusCodeText, __uuidof(IWbemStatusCodeText));
|
|
|
|
|
|
#define NLBMGR_USERNAME (const BSTR) NULL
|
|
#define NLBMGR_PASSWORD (const BSTR) NULL
|
|
|
|
//
|
|
// Ensure type safety
|
|
|
|
typedef class MWmiInstance WmiInstance;
|
|
|
|
#endif
|