fsShellWindowsEvents Class Reference

#include <fsShellWindowsEvents.h>

List of all members.

Public Member Functions

 fsShellWindowsEvents ()
virtual ~fsShellWindowsEvents ()
HRESULT Attach (SHDocVw::IShellWindowsPtr &spSHWnds)
void Detach ()
void SetEventFunc (fntSHWindowsEvents pfn, LPVOID lpParam)

Protected Member Functions

void OnWindowRevoked (long lCookie)
void OnWindowRegistered (long lCookie)

Protected Attributes

fntSHWindowsEvents m_pfnEvents
LPVOID m_lpEventsParam
LPCONNECTIONPOINT m_pConnPt
DWORD m_dwCookie


Detailed Description

Definition at line 20 of file fsShellWindowsEvents.h.


Constructor & Destructor Documentation

fsShellWindowsEvents::fsShellWindowsEvents (  ) 

Definition at line 18 of file fsShellWindowsEvents.cpp.

References NULL.

fsShellWindowsEvents::~fsShellWindowsEvents (  )  [virtual]

Definition at line 25 of file fsShellWindowsEvents.cpp.

References Detach().


Member Function Documentation

HRESULT fsShellWindowsEvents::Attach ( SHDocVw::IShellWindowsPtr &  spSHWnds  ) 

Definition at line 41 of file fsShellWindowsEvents.cpp.

References FAILED, FALSE, hr, HRESULT, LPVOID, m_dwCookie, m_pConnPt, and S_OK.

void fsShellWindowsEvents::Detach (  ) 

Definition at line 64 of file fsShellWindowsEvents.cpp.

References m_dwCookie, m_pConnPt, and NULL.

Referenced by ~fsShellWindowsEvents().

void fsShellWindowsEvents::SetEventFunc ( fntSHWindowsEvents  pfn,
LPVOID  lpParam 
)

Definition at line 88 of file fsShellWindowsEvents.cpp.

References m_lpEventsParam, and m_pfnEvents.

void fsShellWindowsEvents::OnWindowRevoked ( long  lCookie  )  [protected]

Definition at line 82 of file fsShellWindowsEvents.cpp.

References m_lpEventsParam, m_pfnEvents, and SWE_WINDOWCLOSED.

void fsShellWindowsEvents::OnWindowRegistered ( long  lCookie  )  [protected]

Definition at line 76 of file fsShellWindowsEvents.cpp.

References m_lpEventsParam, m_pfnEvents, and SWE_WINDOWOPENED.


Member Data Documentation

Definition at line 42 of file fsShellWindowsEvents.h.

Referenced by OnWindowRegistered(), OnWindowRevoked(), and SetEventFunc().

Definition at line 43 of file fsShellWindowsEvents.h.

Referenced by OnWindowRegistered(), OnWindowRevoked(), and SetEventFunc().

LPCONNECTIONPOINT fsShellWindowsEvents::m_pConnPt [protected]

Definition at line 51 of file fsShellWindowsEvents.h.

Referenced by Attach(), and Detach().

Definition at line 52 of file fsShellWindowsEvents.h.

Referenced by Attach(), and Detach().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:21:09 2008 by  doxygen 1.5.6