Microsoft SDK for Java

createSurface

This method of the DirectDraw Class creates a DirectDrawSurface object for this DirectDraw object.

Syntax

public DirectDrawSurface createSurface(DDSurfaceDesc dd);

Return Value

Returns the DirectDrawSurface object if successful; otherwise, returns null.

Parameters

dd The DDSurfaceDesc object that describes the requested surface.

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