AssocQueryStringByKeyA3w
Usage
HRESULT AssocQueryStringByKeyA
(
ASSOCF cfFlags,
ASSOCSTR str,
HKEY hkAssoc,
LPCSTR pszExtra,
LPSTR pszOut,
DWORD* pcchOut
)
Overview
Get a file association string from the registry, given a starting key.
Params
cfFlags [In] ASSOCF_ flags from "shlwapi.h".
str [In] Type of string to get.
hkAssoc [In] Key to search below.
pszExtra [In] Extra information about the string location.
pszOut [Out] Destination for the association string.
pcchOut [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
Declared in "shlwapi.h".
Implemented in "dlls/shlwapi/assoc.c".
Debug channel "shell".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.