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.

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:
© 2014 Microsoft