Microsoft DirectX 9.0 SDK Update (October 2004)

GraphicsStream.GraphicsStream Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Initializes a new instance of the GraphicsStream class.

Definition

Visual Basic .NET 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
);
Managed C++ public: GraphicsStream(
    IntPtr dataPointer,
    long size,
    bool read,
    bool write
);
JScript .NET 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.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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