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

Writes a 16-bit integer value into native heap.

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

Parameters

ptr
Base address in native heap at which to write.
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