Shell32SHAppBarMessage Method

Sends an appbar message to the system.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll", SetLastError = true)]
public static IntPtr SHAppBarMessage(
	AppbarMessages message,
	ref AppbarData refData
)

Parameters

message  AppbarMessages
An Appbar message value to send.
refData  AppbarData
A pointer to an AppbarData structure.

The content of the structure on entry and on exit depends on the value set in the dwMessage parameter.

Return Value

IntPtr
This function returns a message-dependent value.

For more information, see the Windows SDK documentation for the specific appbar message sent.

Remarks

See Also