SHGetAssocKeys function

Retrieves an array of class subkeys associated with an IQueryAssociations object.

Syntax


DWORD WINAPI SHGetAssocKeys(
  _In_   IQueryAssociations *pqa,
  _Out_  HKEY *rgKeys,
  DWORD cKeys
);

Parameters

pqa [in]

A IQueryAssociations interface pointer to the object you're interested in.

rgKeys [out]

A pointer to an array of HKEY elements that, when this function returns successfully, receives the retrived class subkeys.

cKeys

The number of elements in the rgKeys array. If you are interested in only the primary class subkey, set this value to 1.

Return value

The number of subkeys inserted into the array.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft