|   |   |   | 
| Surface.Surface Constructor | Language: | 
Initializes a new instance of the Surface class.
Visual Basic Public Sub New( _ 
ByVal lp As IDirect3DSurface9, _
ByVal device As Object _
)C# public Surface( 
IDirect3DSurface9 lp,
object device
);C++ public: 
Surface(
IDirect3DSurface9 lp,
Object^ device
);JScript public function Surface( 
lp : IDirect3DSurface9,
device : Object
);
lp Microsoft.DirectX.PrivateImplementationDetails.IDirect3DSurface9 
Unmanaged Component Object Model (COM) IDirect3DSurface9 interface pointer.device System.Object 
Object reference of the device associated with the surface.
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