NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Marshal.PtrToStructure (Int32, Object)

Marshals data from an unmanaged block of memory pointed to a managed object. The object must be an instance of a formatted class (structure class).

[Visual Basic]
Overloads Public Shared Sub PtrToStructure( _
   ByVal ptr As Integer, _
   ByVal structure As Object _
)
[C#]
public static void PtrToStructure(
   int ptr,
   object structure
);
[C++]
public: static void PtrToStructure(
   int ptr,
   Object* structure
);
[JScript]
public static function PtrToStructure(
   ptr : int,
   structure : Object
);

Parameters

ptr
A pointer to an unmanaged block of memory.
structure
[To be supplied.]

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace | Marshal.PtrToStructure Overload List