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
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);