IRunningObjectTable::GetObject Method (IMoniker^, Object^%)

 

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

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

int GetObject(
	IMoniker^ pmkObjectName,
	[OutAttribute] Object^% ppunkObject
)

Parameters

pmkObjectName
Type: System.Runtime.InteropServices.ComTypes::IMoniker^

A reference to the moniker to search for in the Running Object Table (ROT).

ppunkObject
Type: System::Object^%

When this method returns, contains the requested running object. This parameter is passed uninitialized.

Return Value

Type: System::Int32

An HRESULT value that indicates the success or failure of the operation.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: