Source code of Windows XP (NT5)
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.

20 lines
544 B

  1. class CSysTrayFactory: public IClassFactory
  2. {
  3. public:
  4. // IUnknown Implementation
  5. HRESULT __stdcall QueryInterface(REFIID iid, void** ppvObject);
  6. ULONG __stdcall AddRef(void);
  7. ULONG __stdcall Release(void);
  8. // IOleCommandTarget Implementation
  9. HRESULT __stdcall CreateInstance(IUnknown* pUnkOuter, REFIID iid, void** ppvObject);
  10. HRESULT __stdcall LockServer(BOOL fLock);
  11. CSysTrayFactory(BOOL fRunTrayOnConstruct);
  12. ~CSysTrayFactory();
  13. private:
  14. // Data
  15. long m_cRef;
  16. BOOL m_fRunTrayOnConstruct;
  17. };