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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.