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

Writes a 16-bit integer value into native heap.

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

Parameters

ptr
Base address in native heap of target object.
ofs
Additional byte offset, added to ptr before writing.
val
Value to be written

See Also

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