| GraphicsStream.GraphicsStream Constructor | Language: | 
      
      
      Initializes a new instance of the GraphicsStream class.
      Definition
      
        
          
            | Visual Basic | Public Sub New( _ ByVal pDataPointer As Void, _
 ByVal size As Long, _
 ByVal read As Boolean, _
 ByVal write As Boolean _
 )
 | 
          
            | C# | public  GraphicsStream( void pDataPointer,
 long size,
 bool read,
 bool write
 );
 | 
          
            | C++ | public: GraphicsStream(
 void pDataPointer,
 long size,
 bool read,
 bool write
 );
 | 
          
            | JScript | public function GraphicsStream( pDataPointer : void,
 size : long,
 read : boolean,
 write : boolean
 );
 | 
        
      
      Parameters
      
        
          
            | pDataPointer | System.Void 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