Function Reference


Retrieves the application-defined, explicit Application User Model ID for the current process

#include <WinAPIProc.au3>
_WinAPI_GetCurrentProcessExplicitAppUserModelID ( )

Return Value

Success: The string that represents an Application User Model ID (AppUserModelID).
Failure: Empty string and sets the @error flag to non-zero, @extended flag may contain the system error code.


An application can only retrieve an AppUserModelID that has been explicitly set by using the _WinAPI_SetCurrentProcessExplicitAppUserModelID() function.
System-assigned default AppUserModelIDs cannot be retrieved.

This function requires Windows 7 or later.



See Also

Search GetCurrentProcessExplicitAppUserModelID in MSDN Library.