Reference

IQueryAssociations_GetString(3w)

NAME

IQueryAssociations_GetString (SHLWAPI.@)

SYNOPSIS

static HRESULT IQueryAssociations_GetString
(
IQueryAssociations* iface,
ASSOCF cfFlags,
ASSOCSTR str,
LPCWSTR pszExtra,
LPWSTR pszOut,
DWORD* pcchOut
)

DESCRIPTION

Get a file association string from the registry.

PARAMS

iface [In] IQueryAssociations interface to query.

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

str [In] Type of string to get (ASSOCSTR enum from "shlwapi.h").

pszExtra [In] Extra information about the string location.

pszOut [Out] Destination for the association string.

pcchOut [In/Out] Length of pszOut.

RETURNS

Success: S_OK. pszOut contains the string, pcchOut contains its length.

Failure: An HRESULT error code indicating the error.

IMPLEMENTATION

Defined in "shlwapi.h".

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

Debug channel "shell".

History