ReactOS  0.4.15-dev-1201-gb2cf5a4
NotifyHook Struct Reference

#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
 

Detailed Description

Definition at line 116 of file traynotify.h.

Constructor & Destructor Documentation

◆ NotifyHook()

NotifyHook::NotifyHook ( )

Definition at line 35 of file traynotify.cpp.

37 {
38 }
const UINT WM_GETMODULEPATH
Definition: traynotify.h:125
UINT InstallNotifyHook()
Definition: notifyhook.c:83

◆ ~NotifyHook()

NotifyHook::~NotifyHook ( )

Definition at line 40 of file traynotify.cpp.

41 {
43 }
void DeinstallNotifyHook()
Definition: notifyhook.c:90

Member Function Documentation

◆ GetModulePath()

void NotifyHook::GetModulePath ( HWND  hwnd,
HWND  hwndCallback 
)

Definition at line 45 of file traynotify.cpp.

46 {
47  PostMessage(hwnd, WM_GETMODULEPATH, (WPARAM)hwndCallback, 0);
48 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
const UINT WM_GETMODULEPATH
Definition: traynotify.h:125
UINT_PTR WPARAM
Definition: windef.h:207
#define PostMessage
Definition: winuser.h:5807

Referenced by NotifyArea::DetermineHideState().

◆ ModulePathCopyData()

bool NotifyHook::ModulePathCopyData ( LPARAM  lparam,
HWND phwnd,
String path 
)

Definition at line 50 of file traynotify.cpp.

51 {
52  char buffer[MAX_PATH];
53 
55 
56  if (l) {
57  path.assign(buffer, l);
58  return true;
59  } else
60  return false;
61 }
DECL_NOTIFYHOOK int GetWindowModulePathCopyData(LPARAM lparam, HWND *phwnd, LPSTR buffer, int size)
Definition: notifyhook.c:103
GLuint buffer
Definition: glext.h:5915
static UINT WPARAM LPARAM lparam
Definition: combo.c:716
r l[0]
Definition: byte_order.h:167
#define MAX_PATH
Definition: compat.h:34
#define COUNTOF(x)
Definition: utility.h:93

Referenced by NotifyArea::WndProc().

Member Data Documentation

◆ WM_GETMODULEPATH

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: