#include <fsShellWindowsEvents.h>
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 |
Definition at line 20 of file fsShellWindowsEvents.h.
| fsShellWindowsEvents::fsShellWindowsEvents | ( | ) |
| fsShellWindowsEvents::~fsShellWindowsEvents | ( | ) | [virtual] |
| 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.
fntSHWindowsEvents fsShellWindowsEvents::m_pfnEvents [protected] |
Definition at line 42 of file fsShellWindowsEvents.h.
Referenced by OnWindowRegistered(), OnWindowRevoked(), and SetEventFunc().
LPVOID fsShellWindowsEvents::m_lpEventsParam [protected] |
Definition at line 43 of file fsShellWindowsEvents.h.
Referenced by OnWindowRegistered(), OnWindowRevoked(), and SetEventFunc().
LPCONNECTIONPOINT fsShellWindowsEvents::m_pConnPt [protected] |
DWORD fsShellWindowsEvents::m_dwCookie [protected] |
1.5.6