UCOMIRunningObjectTable.Register(Int32, Object, UCOMIMoniker, Int32) 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.
Registers that the supplied object has entered the running state.
public:
void Register(int grfFlags, System::Object ^ punkObject, System::Runtime::InteropServices::UCOMIMoniker ^ pmkObjectName, [Runtime::InteropServices::Out] int % pdwRegister);
public void Register (int grfFlags, object punkObject, System.Runtime.InteropServices.UCOMIMoniker pmkObjectName, out int pdwRegister);
abstract member Register : int * obj * System.Runtime.InteropServices.UCOMIMoniker * int -> unit
Public Sub Register (grfFlags As Integer, punkObject As Object, pmkObjectName As UCOMIMoniker, ByRef pdwRegister As Integer)
Parameters
- grfFlags
- Int32
Specifies whether the Running Object Table's (ROT) reference to punkObject
is weak or strong, and controls access to the object through its entry in the ROT.
- punkObject
- Object
Reference to the object being registered as running.
- pmkObjectName
- UCOMIMoniker
Reference to the moniker that identifies punkObject
.
- pdwRegister
- Int32
Reference to a 32-bit value that can be used to identify this ROT entry in subsequent calls to Revoke(Int32) or NoteChangeTime(Int32, FILETIME).
Remarks
For more information, please see the existing documentation for IRunningObjectTable::Register
in the MSDN library.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈