Microsoft SDK for Java

create3DDevice

This method of the DirectDrawSurface Class creates a device from the surface if you want a rendering surface. This method emulates the IUnknown interface's HRESULT QueryInterface(REFIID riid, LPVOID* obp); COM method inherited by DirectX3 COM interfaces.

Syntax

public Direct3dDevice create3DDevice(_Guid g);

Return Value

Returns a Direct3dDevice object that acts as a rendering surface.

Parameters

g A globally unique identifier retrieved with the enumDevices method.

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