IUnknown_QueryStatus.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

IUnknown_QueryStatus (SHLWAPI.163)

SYNOPSIS

HRESULT IUnknown_QueryStatus
 (
  IUnknown*   lpUnknown,
  REFGUID     pguidCmdGroup,
  ULONG       cCmds,
  OLECMD*     prgCmds,
  OLECMDTEXT* pCmdText
 )

DESCRIPTION

Call IOleCommandTarget_QueryStatus(3w) on an object.

PARAMS

lpUnknown [In] Object supporting the IOleCommandTarget interface.

pguidCmdGroup [In] GUID for the command group.

cCmds [In] .

prgCmds [Out] Commands.

pCmdText [Out] Command text.

RETURNS

Success: S_OK.

Failure: E_FAIL, if lpUnknown is NULL. E_NOINTERFACE, if lpUnknown does not support IOleCommandTarget. Otherwise, an error code from IOleCommandTarget_QueryStatus(3w).

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

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

Debug channel "shell".