CoGetObject.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

CoGetObject (OLE32.@)

SYNOPSIS

HRESULT CoGetObject
 (
  LPCWSTR    pszName,
  BIND_OPTS* pBindOptions,
  REFIID     riid,
  void**     ppv
 )

DESCRIPTION

Gets the object named by converting the name to a moniker and binding to it.

PARAMS

pszName [In] String representing the object.

pBindOptions [In] Parameters affecting the binding to the named object.

riid [In] Interface to bind to on the objecct.

ppv [Out] On output, the interface riid of the object represented by pszName.

RETURNS

Success: S_OK.

Failure: HRESULT code.

SEE ALSO

MkParseDisplayName.

IMPLEMENTATION

Defined in "objbase.h".

Implemented in "dlls/ole32/compobj.c".

Debug channel "ole".