NAME

AssocQueryStringA  (SHLWAPI.@)

SYNOPSIS

 HRESULT AssocQueryStringA
 (
  ASSOCF   cfFlags,
  ASSOCSTR str,
  LPCSTR   pszAssoc,
  LPCSTR   pszExtra,
  LPSTR    pszOut,
  DWORD*   pcchOut
 )

DESCRIPTION

Get a file association string from the registry.

PARAMS

cfFlags [In] ASSOCF_ flags from "shlwapi.h".
str [In] Type of string to get (ASSOCSTR enum from "shlwapi.h").
pszAssoc [In] Key name 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". https://source.winehq.org/source/include/shlwapi.h

Implemented in "dlls/shlwapi/assoc.c". https://source.winehq.org/source/dlls/shlwapi/assoc.c

Debug channel "shell".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.