Ole32GetRunningObjectTable Method
Returns a pointer to the IRunningObjectTable interface on the local running object table (ROT).
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("Ole32.dll">]
Public Shared Function GetRunningObjectTable (
reserved As Integer,
ByRef refRot As IRunningObjectTable
) As HResult
Dim reserved As Integer
Dim refRot As IRunningObjectTable
Dim returnValue As HResult
returnValue = Ole32.GetRunningObjectTable(reserved,
refRot)
public:
[DllImportAttribute(L"Ole32.dll")]
static HResult GetRunningObjectTable(
int reserved,
IRunningObjectTable^% refRot
)
[<DllImportAttribute("Ole32.dll")>]
static member GetRunningObjectTable :
reserved : int *
refRot : IRunningObjectTable byref -> HResult
No code example is currently available or this language may not be supported.
- 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.
HResult
Returns
S_OK on success, or other
HResult if an error occurs.