Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Interface IDirectDraw

public interface IDirectDraw extends IUnknown
{
  // Methods
  public void Compact();
  public DirectDrawClipper createClipper(int flags);
  public Direct3d createD3D();
  public DirectDrawPalette createPalette(int flags, byte[] pe);
  public DirectDrawSurface createSurface(DDSurfaceDesc dd);
  public DirectDrawSurface duplicateSurface(DirectDrawSurface ddIn);
  public void enumDisplayModes(int d, DDSurfaceDesc s,
        IUnknown args, IEnumModesCallback fn);
  public void enumSurfaces(int d, DDSurfaceDesc s, IUnknown args,
        IEnumSurfacesCallback fn);
  public void flipToGDISurface();
  public int getAvailableTotalMem();
  public void getCaps(DDCaps DriverCaps, DDCaps HELcaps);
  public void getDisplayMode(DDSurfaceDesc surface);
  public int getFourCCCodes(int[] size);
  public int getFreeMem();
  public DirectDrawSurface getGDISurface();
  public int getMonitorFrequency();
  public int getNumFourCCCodes();
  public int getScanLine();
  public int getVerticalBlankStatus();
  public DirectDrawPalette loadPaletteFromBitmap(String bName);
  public void restoreDisplayMode();
  public void SetCooperativeLevel(int hdl, int flags);
  public void setDisplayMode(int w, int h, int bpp, int ref,
        int mode);
  public int systemBpp();
  public int tickCount();
  public void waitForVerticalBlank(int flags, int handle);
}

For a description of methods and parameters, see DirectDraw.

IUnknown
  |
  +--IDirectDraw

Methods

Compact

public void Compact();

createClipper

public DirectDrawClipper createClipper(int flags);

createD3D

public Direct3d createD3D();

createPalette

public DirectDrawPalette createPalette(int flags, byte[] pe);

createSurface

public DirectDrawSurface createSurface(DDSurfaceDesc dd);

duplicateSurface

public DirectDrawSurface duplicateSurface(DirectDrawSurface ddIn);

enumDisplayModes

public void enumDisplayModes(int d, DDSurfaceDesc s, IUnknown args,
        IEnumModesCallback fn);

enumSurfaces

public void enumSurfaces(int d, DDSurfaceDesc s, IUnknown args,
        IEnumSurfacesCallback fn);

flipToGDISurface

public void flipToGDISurface();

getAvailableTotalMem

public int getAvailableTotalMem();

getCaps

public void getCaps(DDCaps DriverCaps, DDCaps HELcaps);

getDisplayMode

public void getDisplayMode(DDSurfaceDesc surface);

getFourCCCodes

public int getFourCCCodes(int[] size);

getFreeMem

public int getFreeMem();

getGDISurface

public DirectDrawSurface getGDISurface();

getMonitorFrequency

public int getMonitorFrequency();

getNumFourCCCodes

public int getNumFourCCCodes();

getScanLine

public int getScanLine();

getVerticalBlankStatus

public int getVerticalBlankStatus();

loadPaletteFromBitmap

public DirectDrawPalette loadPaletteFromBitmap(String bName);

restoreDisplayMode

public void restoreDisplayMode();

SetCooperativeLevel

public void SetCooperativeLevel(int hdl, int flags);

setDisplayMode

public void setDisplayMode(int w, int h, int bpp, int ref, int mode);

systemBpp

public int systemBpp();

tickCount

public int tickCount();

waitForVerticalBlank

public void waitForVerticalBlank(int flags, int handle);

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.