Process Hacker
chdlg.c File Reference
#include <phapp.h>
#include <settings.h>
#include <windowsx.h>

Go to the source code of this file.

Typedefs

typedef struct
_CHOICE_DIALOG_CONTEXT 
CHOICE_DIALOG_CONTEXT
 
typedef struct
_CHOICE_DIALOG_CONTEXT * 
PCHOICE_DIALOG_CONTEXT
 

Functions

INT_PTR CALLBACK PhpChoiceDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
BOOLEAN PhaChoiceDialog (_In_ HWND ParentWindowHandle, _In_ PWSTR Title, _In_ PWSTR Message, _In_opt_ PWSTR *Choices, _In_opt_ ULONG NumberOfChoices, _In_opt_ PWSTR Option, _In_ ULONG Flags, _Inout_ PPH_STRING *SelectedChoice, _Inout_opt_ PBOOLEAN SelectedOption, _In_opt_ PWSTR SavedChoicesSettingName)
 Prompts the user for input.
 

Typedef Documentation

typedef struct _CHOICE_DIALOG_CONTEXT CHOICE_DIALOG_CONTEXT
typedef struct _CHOICE_DIALOG_CONTEXT * PCHOICE_DIALOG_CONTEXT

Function Documentation

BOOLEAN PhaChoiceDialog ( _In_ HWND  ParentWindowHandle,
_In_ PWSTR  Title,
_In_ PWSTR  Message,
_In_opt_ PWSTR *  Choices,
_In_opt_ ULONG  NumberOfChoices,
_In_opt_ PWSTR  Option,
_In_ ULONG  Flags,
_Inout_ PPH_STRING SelectedChoice,
_Inout_opt_ PBOOLEAN  SelectedOption,
_In_opt_ PWSTR  SavedChoicesSettingName 
)

Prompts the user for input.

Remarks
If PH_CHOICE_DIALOG_PASSWORD is specified, the string returned in SelectedChoice is NOT auto-dereferenced.

Definition at line 55 of file chdlg.c.

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

Definition at line 89 of file chdlg.c.