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.
public Direct3dDevice create3DDevice(_Guid g);
Returns a Direct3dDevice object that acts as a rendering surface.
g | A globally unique identifier retrieved with the enumDevices method. |