Export (0) Print
Expand All
Expand Minimize

SHCreateAssociationRegistration function

Creates an IApplicationAssociationRegistration object based on the stock implementation of the interface provided by Windows.

Syntax


HRESULT SHCreateAssociationRegistration(
  _In_   REFIID riid,
  _Out_  void **ppv
);

Parameters

riid [in]

Type: REFIID

A reference to the IID of the requested interface.

ppv [out]

Type: void**

When this function returns, contains the address of a pointer to the IApplicationAssociationRegistration object.

Return value

Type: HRESULT

If this function 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

DLL

Shell32.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft