windows-nt/Source/XPSP1/NT/shell/ext/systray/dll/cfact.h

21 lines
544 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
class CSysTrayFactory: public IClassFactory
{
public:
// IUnknown Implementation
HRESULT __stdcall QueryInterface(REFIID iid, void** ppvObject);
ULONG __stdcall AddRef(void);
ULONG __stdcall Release(void);
// IOleCommandTarget Implementation
HRESULT __stdcall CreateInstance(IUnknown* pUnkOuter, REFIID iid, void** ppvObject);
HRESULT __stdcall LockServer(BOOL fLock);
CSysTrayFactory(BOOL fRunTrayOnConstruct);
~CSysTrayFactory();
private:
// Data
long m_cRef;
BOOL m_fRunTrayOnConstruct;
};