Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IApplicationAssociationRegistrationUI::LaunchAdvancedAssociationUI method

Launches an advanced association dialog box through which the user can customize the associations for the application specified in pszAppRegName.

Syntax


HRESULT LaunchAdvancedAssociationUI(
  [in] LPCWSTR pszAppRegName
);

Parameters

pszAppRegName [in]

Type: LPCWSTR

A pointer to a null-terminated Unicode string that specifies the registered name of the application. This value is only valid if it matches one of the application strings registered under HKCU\Software\RegisteredApplications or under HKLM\Software\RegisteredApplications.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Starting in Windows 10 Insider Preview, this does not launch the association dialog box. It displays a dialog to the user informing them that they can change the default programs used to open file extensions in their Settings

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IApplicationAssociationRegistrationUI
Default Programs

 

 

Community Additions

ADD
Show:
© 2015 Microsoft