Click or drag to resize

IMcObjectGetDataPointer Method

Returns a pointer to an in-process memory address which holds the current data values for the object.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Function GetDataPointer As IntPtr

Return Value

Type: IntPtr
INPROCESS_MEMORY_PTR : The returned pointer to in-process memory. It is returned as an INPROCESS_MEMORY_PTR (UINT_PTR, an __int32 in Win32), but it can be cast to LPVOID or any other pointer type.
Remarks
IN PROCESS ONLY. This address will remain good so long as no data values are changed and the data storage allocated is not changed (see AllocateStorage). This can only be called from in-process code, since the *pinprocmemptrDataStorage argument gets filled with an address in the current process space. If you write to the data via this pointer, you must call FireStandardNotifyToAllSinks with a lNotifyCode of 0, in order to send a ValueChanged notify. The method is marked restricted, so it won't show up in browsers.
See Also