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

Writes a single byte value into native heap.

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

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.WriteByte Overload List