Shell32GetCurrentProcessExplicitAppUserModelID Method

Retrieves the application-defined, explicit Application User Model ID (AppUserModelID) for the current process.

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")]
public static int GetCurrentProcessExplicitAppUserModelID(
	out string refAppID
)

Parameters

refAppID  String
A pointer that receives the address of the AppUserModelID assigned to the process.

The caller is responsible for freeing this string with CoTaskMemFree when it is no longer needed.

Return Value

Int32
If this function succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

Remarks

See Also