Simulates the action of a button click in a task dialog.
- wParam [in]
An int that specifies the ID of the button to be clicked.
- lParam [in]
Must be zero.
The return value is ignored.
The button ID specified by wParam is sent to the TaskDialogCallbackProc callback function as part of a TDN_BUTTON_CLICKED notification code. After the callback function returns, the task dialog is closed if S_OK was returned from the callback function. If S_FALSE was returned from the callback function, the task dialog remains active.
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2008 [desktop apps only]|
Build date: 10/27/2012