IObjectWithAppUserModelID::GetAppID method
Retrieves a file type handler's explicit Application User Model ID (AppUserModelID), if one has been declared.
Syntax
HRESULT GetAppID( [out] LPWSTR *ppszAppID );
Parameters
- ppszAppID [out]
-
Type: LPWSTR*
When this method returns, contains the address of the AppUserModelID string assigned to the object.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method can only retrieve an AppUserModelID explicitly set for the handler. If the handler did not register an explicit AppUserModelID and is relying on a system-assigned AppUserModelID, this method will not retrieve the AppUserModelID. For more information, see Application User Model IDs (AppUserModelIDs).
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|
See also
- IObjectWithAppUserModelID
- IObjectWithAppUserModelID::SetAppID
- Application User Model IDs (AppUserModelIDs)
- Taskbar Extensions