windows-nt/Source/XPSP1/NT/admin/wmi/wbem/tools/locstudioparser/wmiclass.h
2020-09-26 16:20:57 +08:00

43 lines
632 B
C++

/*++
Copyright (C) 1996-1999 Microsoft Corporation
Module Name:
WMICLASS.H
History:
--*/
#ifndef WMICLASS_H
#define WMICLASS_H
class CWMILocClassFactory : public IClassFactory, public CLObject
{
public:
CWMILocClassFactory();
#ifdef _DEBUG
void AssertValid(void) const;
void Dump(CDumpContext &) const;
#endif
STDMETHOD_(ULONG, AddRef)();
STDMETHOD_(ULONG, Release)();
STDMETHOD(QueryInterface)(REFIID iid, LPVOID* ppvObj);
STDMETHOD(CreateInstance)(THIS_ LPUNKNOWN, REFIID, LPVOID *);
STDMETHOD(LockServer)(THIS_ BOOL);
~CWMILocClassFactory();
private:
UINT m_uiRefCount;
};
#endif // WMICLASS_H