Reference

IQueryAssociations_GetKey(3w)

NAME

IQueryAssociations_GetKey (SHLWAPI.@)

SYNOPSIS

static HRESULT IQueryAssociations_GetKey
(
IQueryAssociations* iface,
ASSOCF cfFlags,
ASSOCKEY assockey,
LPCWSTR pszExtra,
HKEY* phkeyOut
)

DESCRIPTION

Get a file association key from the registry.

PARAMS

iface [In] IQueryAssociations interface to query.

cfFlags [In] ASSOCF_ flags from "shlwapi.h".

assockey [In] Type of key to get (ASSOCKEY enum from "shlwapi.h").

pszExtra [In] Extra information about the key location.

phkeyOut [Out] Destination for the association key.

RETURNS

Success: S_OK. phkeyOut contains a handle to the key.

Failure: An HRESULT error code indicating the error.

IMPLEMENTATION

Defined in "shlwapi.h".

Implemented in "dlls/shlwapi/assoc.c".

Debug channel "shell".

History