Microsoft DirectX 9.0 SDK Update (October 2004)

DXHelp.CopyPointerDataToObject Method

Language:

Note: This documentation is preliminary and is subject to change.

Copies an unmanaged pointer to a managed object.

Definition

Visual Basic .NET Public Shared Sub CopyPointerDataToObject( _
    ByRef objectData As Object, _
    ByVal pointerData As IntPtr _
)
C# public static void CopyPointerDataToObject(
    ref object objectData,
    IntPtr pointerData
);
Managed C++ public: static void CopyPointerDataToObject(
    Object **objectData,
    IntPtr pointerData
);
JScript .NET public static function CopyPointerDataToObject(
    objectData : Object,
    pointerData : IntPtr
);

Parameters

objectData System.Object. [ref] Destination Object Leave Site to which the pointer data is copied.
pointerData System.IntPtr. Source pointer data that is copied to the object.

Remarks

Exceptions
ArgumentException Leave Site A value type must be passed to this method.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center