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.ReadInt16 (Object, Int32)

Reads a 16-bit integer from native heap.

[Visual Basic]
Overloads extern Public Shared Function ReadInt16( _
   ByVal ptr As Object, _
   ByVal ofs As Integer _
) As Short
[C#]
public static extern short ReadInt16(
   in object ptr,
   int ofs
);
[C++]
public: static extern short ReadInt16(
   __in Object* ptr,
   int ofs
);
[JScript]
public static extern function ReadInt16(
   in ptr : Object,
   ofs : int
) : Int16;

Parameters

ptr
Base address in native heap of source object
ofs
Additional byte offset, added to ptr before reading

See Also

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