IRunningObjectTable.GetObject(IMoniker, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the registered object if the supplied object name is registered as running.
public:
int GetObject(System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkObjectName, [Runtime::InteropServices::Out] System::Object ^ % ppunkObject);
public int GetObject (System.Runtime.InteropServices.ComTypes.IMoniker pmkObjectName, out object ppunkObject);
abstract member GetObject : System.Runtime.InteropServices.ComTypes.IMoniker * obj -> int
Public Function GetObject (pmkObjectName As IMoniker, ByRef ppunkObject As Object) As Integer
Parameters
- pmkObjectName
- IMoniker
A reference to the moniker to search for in the Running Object Table (ROT).
- ppunkObject
- Object
When this method returns, contains the requested running object. This parameter is passed uninitialized.
Returns
An HRESULT
value that indicates the success or failure of the operation.
Remarks
For more information, see IRunningObjectTable::GetObject method.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om