Public Member Functions | Protected Attributes

NotifyHook Struct Reference

#include <traynotify.h>

Collaboration diagram for NotifyHook:
Collaboration graph

List of all members.

Public Member Functions

 NotifyHook ()
 ~NotifyHook ()
void GetModulePath (HWND hwnd, HWND hwndCallback)
bool ModulePathCopyData (LPARAM lparam, HWND *phwnd, String &path)

Protected Attributes


Detailed Description

Definition at line 116 of file traynotify.h.

Constructor & Destructor Documentation

NotifyHook::NotifyHook (  )

Definition at line 38 of file traynotify.cpp.

 :  WM_GETMODULEPATH(InstallNotifyHook())
NotifyHook::~NotifyHook (  )

Definition at line 43 of file traynotify.cpp.


Member Function Documentation

void NotifyHook::GetModulePath ( HWND  hwnd,
HWND  hwndCallback 

Definition at line 48 of file traynotify.cpp.


    PostMessage(hwnd, WM_GETMODULEPATH, (WPARAM)hwndCallback, 0);
bool NotifyHook::ModulePathCopyData ( LPARAM  lparam,
HWND phwnd,
String path 

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;

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

const UINT NotifyHook::WM_GETMODULEPATH [protected]

Definition at line 125 of file traynotify.h.

Referenced by GetModulePath().

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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage