Process Hacker
wndprp.c File Reference
#include "wndexp.h"
#include "resource.h"
#include <symprv.h>
#include <windowsx.h>

Go to the source code of this file.

Macros

#define NUMBER_OF_PAGES   4
 
#define WEM_RESOLVE_DONE   (WM_APP + 1234)
 
#define DEFINE_PAIR(Symbol)   { L#Symbol, Symbol }
 

Typedefs

typedef struct
_WINDOW_PROPERTIES_CONTEXT 
WINDOW_PROPERTIES_CONTEXT
 
typedef struct
_WINDOW_PROPERTIES_CONTEXT * 
PWINDOW_PROPERTIES_CONTEXT
 
typedef struct
_SYMBOL_RESOLVE_CONTEXT 
SYMBOL_RESOLVE_CONTEXT
 
typedef struct
_SYMBOL_RESOLVE_CONTEXT * 
PSYMBOL_RESOLVE_CONTEXT
 
typedef struct _STRING_INTEGER_PAIR STRING_INTEGER_PAIR
 
typedef struct
_STRING_INTEGER_PAIR * 
PSTRING_INTEGER_PAIR
 

Functions

VOID WepReferenceWindowPropertiesContext (_Inout_ PWINDOW_PROPERTIES_CONTEXT Context)
 
VOID WepDereferenceWindowPropertiesContext (_Inout_ PWINDOW_PROPERTIES_CONTEXT Context)
 
HWND WepCreateWindowProperties (_In_ PWINDOW_PROPERTIES_CONTEXT Context)
 
INT CALLBACK WepPropSheetProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ LPARAM lParam)
 
LRESULT CALLBACK WepPropSheetWndProc (_In_ HWND hwnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
HPROPSHEETPAGE WepCommonCreatePage (_In_ PWINDOW_PROPERTIES_CONTEXT Context, _In_ PWSTR Template, _In_ DLGPROC DlgProc)
 
INT CALLBACK WepCommonPropPageProc (_In_ HWND hwnd, _In_ UINT uMsg, _In_ LPPROPSHEETPAGE ppsp)
 
NTSTATUS WepPropertiesThreadStart (_In_ PVOID Parameter)
 
INT_PTR CALLBACK WepWindowGeneralDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
INT_PTR CALLBACK WepWindowStylesDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
INT_PTR CALLBACK WepWindowClassDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
INT_PTR CALLBACK WepWindowPropertiesDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
VOID WeShowWindowProperties (_In_ HWND ParentWindowHandle, _In_ HWND WindowHandle)
 
FORCEINLINE BOOLEAN WepPropPageDlgProcHeader (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ LPARAM lParam, _Out_opt_ LPPROPSHEETPAGE *PropSheetPage, _Out_opt_ PWINDOW_PROPERTIES_CONTEXT *Context)
 

Variables

HANDLE WePropertiesThreadHandle = NULL
 
CLIENT_ID WePropertiesThreadClientId
 
PH_EVENT WePropertiesThreadReadyEvent = PH_EVENT_INIT
 
PPH_LIST WePropertiesCreateList
 
PPH_LIST WePropertiesWindowList
 
PH_QUEUED_LOCK WePropertiesCreateLock = PH_QUEUED_LOCK_INIT
 

Macro Definition Documentation

#define DEFINE_PAIR (   Symbol)    { L#Symbol, Symbol }

Definition at line 147 of file wndprp.c.

#define NUMBER_OF_PAGES   4

Definition at line 31 of file wndprp.c.

#define WEM_RESOLVE_DONE   (WM_APP + 1234)

Definition at line 32 of file wndprp.c.

Typedef Documentation

typedef struct _STRING_INTEGER_PAIR * PSTRING_INTEGER_PAIR
typedef struct _SYMBOL_RESOLVE_CONTEXT * PSYMBOL_RESOLVE_CONTEXT
typedef struct _WINDOW_PROPERTIES_CONTEXT * PWINDOW_PROPERTIES_CONTEXT
typedef struct _STRING_INTEGER_PAIR STRING_INTEGER_PAIR
typedef struct _SYMBOL_RESOLVE_CONTEXT SYMBOL_RESOLVE_CONTEXT
typedef struct _WINDOW_PROPERTIES_CONTEXT WINDOW_PROPERTIES_CONTEXT

Function Documentation

static HPROPSHEETPAGE WepCommonCreatePage ( _In_ PWINDOW_PROPERTIES_CONTEXT  Context,
_In_ PWSTR  Template,
_In_ DLGPROC  DlgProc 
)

Definition at line 438 of file wndprp.c.

static INT CALLBACK WepCommonPropPageProc ( _In_ HWND  hwnd,
_In_ UINT  uMsg,
_In_ LPPROPSHEETPAGE  ppsp 
)

Definition at line 461 of file wndprp.c.

static HWND WepCreateWindowProperties ( _In_ PWINDOW_PROPERTIES_CONTEXT  Context)

Definition at line 301 of file wndprp.c.

VOID WepDereferenceWindowPropertiesContext ( _Inout_ PWINDOW_PROPERTIES_CONTEXT  Context)

Definition at line 268 of file wndprp.c.

NTSTATUS WepPropertiesThreadStart ( _In_ PVOID  Parameter)

Definition at line 479 of file wndprp.c.

FORCEINLINE BOOLEAN WepPropPageDlgProcHeader ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ LPARAM  lParam,
_Out_opt_ LPPROPSHEETPAGE *  PropSheetPage,
_Out_opt_ PWINDOW_PROPERTIES_CONTEXT Context 
)

Definition at line 557 of file wndprp.c.

static INT CALLBACK WepPropSheetProc ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ LPARAM  lParam 
)

Definition at line 349 of file wndprp.c.

LRESULT CALLBACK WepPropSheetWndProc ( _In_ HWND  hwnd,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 381 of file wndprp.c.

VOID WepReferenceWindowPropertiesContext ( _Inout_ PWINDOW_PROPERTIES_CONTEXT  Context)

Definition at line 261 of file wndprp.c.

INT_PTR CALLBACK WepWindowClassDlgProc ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 1075 of file wndprp.c.

INT_PTR CALLBACK WepWindowGeneralDlgProc ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 828 of file wndprp.c.

INT_PTR CALLBACK WepWindowPropertiesDlgProc ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 1169 of file wndprp.c.

INT_PTR CALLBACK WepWindowStylesDlgProc ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 960 of file wndprp.c.

VOID WeShowWindowProperties ( _In_ HWND  ParentWindowHandle,
_In_ HWND  WindowHandle 
)

Definition at line 220 of file wndprp.c.

Variable Documentation

PPH_LIST WePropertiesCreateList

Definition at line 216 of file wndprp.c.

PH_QUEUED_LOCK WePropertiesCreateLock = PH_QUEUED_LOCK_INIT

Definition at line 218 of file wndprp.c.

CLIENT_ID WePropertiesThreadClientId

Definition at line 214 of file wndprp.c.

HANDLE WePropertiesThreadHandle = NULL

Definition at line 213 of file wndprp.c.

PH_EVENT WePropertiesThreadReadyEvent = PH_EVENT_INIT

Definition at line 215 of file wndprp.c.

PPH_LIST WePropertiesWindowList

Definition at line 217 of file wndprp.c.