This documentation is archived and is not being maintained.

UCOMIRunningObjectTable.GetObject Method

Returns the registered object if the supplied object name is registered as running.

[Visual Basic]
Sub GetObject( _
   ByVal pmkObjectName As UCOMIMoniker, _
   <Out()> ByRef ppunkObject As Object _
)
[C#]
void GetObject(
   UCOMIMoniker pmkObjectName,
   out object ppunkObject
);
[C++]
void GetObject(
   UCOMIMoniker* pmkObjectName,
   [
   Out
] Object** ppunkObject
);
[JScript]
function GetObject(
   pmkObjectName : UCOMIMoniker,
 ppunkObject : Object
);

Parameters

pmkObjectName
Reference to the moniker to search for in the ROT.
ppunkObject
On successful return, contains the requested running object.

Remarks

For more information, please see the existing documentation for IRunningObjectTable::GetObject in the MSDN library.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

UCOMIRunningObjectTable Interface | UCOMIRunningObjectTable Members | System.Runtime.InteropServices Namespace

Show: