IQueryAssociations_Init.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

IQueryAssociations_Init (SHLWAPI.@)

SYNOPSIS

static HRESULT IQueryAssociations_Init
 (
  IQueryAssociations* iface,
  ASSOCF              cfFlags,
  LPCWSTR             pszAssoc,
  HKEY                hkeyProgid,
  HWND                hWnd
 )

DESCRIPTION

Initialise an IQueryAssociations object.

PARAMS

iface [In] IQueryAssociations interface to initialise.

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

pszAssoc [In] String for the root key name, or NULL if hkProgid is given.

hkeyProgid [In] Handle for the root key, or NULL if pszAssoc is given.

hWnd [In] Reserved, must be NULL.

RETURNS

Success: S_OK. iface is initialised with the parameters given.

Failure: An HRESULT error code indicating the error.

IMPLEMENTATION

Defined in "shlwapi.h".

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

Debug channel "shell".