// winsplp.h
typedef struct {
DWORD cbSize;
LPWSTR pTitle;
LPWSTR pMessage;
DWORD Style;
DWORD dwTimeout;
BOOL bWait;
} MESSAGEBOX_PARAMS, *PMESSAGEBOX_PARAMS;
View the official Windows Driver Kit DDI referenceNo description available.
The MESSAGEBOX_PARAMS structure is used by the SplPromptUIInUsersSession function to hold information about the appearance and behavior of a message box.
cbSizeSpecifies the size, in bytes, of this structure.
pTitlePointer to a null-terminated string that is used in the title bar of the message box.
pMessagePointer to a null-terminated string that contains the message to display.
StyleSpecifies the contents and behavior of the message box. For a complete list of the values to which this member can be set, see the description of the MessageBox function in the Microsoft Windows SDK documentation.
dwTimeoutSpecifies the time, in seconds, to wait for the user's response, provided that the bWait member is TRUE.
bWaitSpecifies whether the SplPromptUIInUsersSession function should wait for a user's response. If bWait is TRUE, SplPromptUIInUsersSession does not return until either the user responds or the time-out interval elapses. If dwTimeout is zero, SplPromptUIInUsersSession does not return until the user responds. If bWait is FALSE, the function returns immediately with *pResponse set to IDASYNC.
One member of the SHOWUIPARAMS structure is a MESSAGEBOX_PARAMS structure.