#include <traynotify.h>

Public Member Functions | |
| NotifyHook () | |
| ~NotifyHook () | |
| void | GetModulePath (HWND hwnd, HWND hwndCallback) |
| bool | ModulePathCopyData (LPARAM lparam, HWND *phwnd, String &path) |
Protected Attributes | |
| const UINT | WM_GETMODULEPATH |
Definition at line 116 of file traynotify.h.
| NotifyHook::NotifyHook | ( | ) |
Definition at line 38 of file traynotify.cpp.
: WM_GETMODULEPATH(InstallNotifyHook()) { }
| NotifyHook::~NotifyHook | ( | ) |
Definition at line 43 of file traynotify.cpp.
{
DeinstallNotifyHook();
}
Definition at line 48 of file traynotify.cpp.
References WM_GETMODULEPATH.
{
PostMessage(hwnd, WM_GETMODULEPATH, (WPARAM)hwndCallback, 0);
}
Definition at line 53 of file traynotify.cpp.
References String::assign(), and COUNTOF.
Referenced by NotifyArea::WndProc().
{
char buffer[MAX_PATH];
int l = GetWindowModulePathCopyData(lparam, phwnd, buffer, COUNTOF(buffer));
if (l) {
path.assign(buffer, l);
return true;
} else
return false;
}


const UINT NotifyHook::WM_GETMODULEPATH [protected] |
Definition at line 125 of file traynotify.h.
Referenced by GetModulePath().
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|