IUserNotification::Show method (shobjidl_core.h)
Displays the notification.
Syntax
HRESULT Show(
[in, optional] IQueryContinue *pqc,
[in] DWORD dwContinuePollInterval
);
Parameters
[in, optional] pqc
Type: IQueryContinue*
An IQueryContinue interface pointer, used to determine whether the notification display can continue or should stop (for example, if the user closes the notification). This value can be NULL.
[in] dwContinuePollInterval
Type: DWORD
The length of time, in milliseconds, to display user information.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method is equivalent to calling Show with pSink=NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll |