GraphicsStream.GraphicsStream Constructor

Language:

Initializes a new instance of the GraphicsStream class.

Definition

Visual Basic Public Sub New( _
    ByVal dataPointer As IntPtr, _
    ByVal size As Long, _
    ByVal read As Boolean, _
    ByVal write As Boolean _
)
C# public GraphicsStream(
    IntPtr dataPointer,
    long size,
    bool read,
    bool write
);
C++ public:
 GraphicsStream(
    IntPtr dataPointer,
    long size,
    bool read,
    bool write
);
JScript public function GraphicsStream(
    dataPointer : IntPtr,
    size : long,
    read : boolean,
    write : boolean
);

Parameters

dataPointer System.IntPtr
Reference to the graphics data in the stream buffer.
size System.Int64
Size of the data referenced by dataPointer.
read System.Boolean
Set to true if the buffer is readable; otherwise, false.
write System.Boolean
Set to true if buffer is writable; otherwise, false.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center