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 object.
ppv [Out] On output, the interface riid of the object represented by pszName.

RETURNS

Success: S_OK.

Failure: HRESULT code.

SEE ALSO

MkParseDisplayName.

IMPLEMENTATION

Declared in "objbase.h". https://source.winehq.org/source/include/objbase.h

Implemented in "dlls/ole32/compobj.c". https://source.winehq.org/source/dlls/ole32/compobj.c

Debug channel "ole".


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