Ole32GetRunningObjectTable Method

Returns a pointer to the IRunningObjectTable interface on the local running object table (ROT).

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Ole32.dll")]
public static HResult GetRunningObjectTable(
	int reserved,
	ref IRunningObjectTable refRot
)

Parameters

reserved  Int32
This parameter is reserved and must be 0.
refRot  IRunningObjectTable
The address of an IRunningObjectTable pointer variable that receives the interface pointer to the local ROT.

When the function is successful, the caller is responsible for calling Release on the interface pointer.

A value of for the refRot value indicates that an error occurred.

Return Value

HResult
Returns S_OK on success, or other HResult if an error occurs.

Remarks

See Also