Packages
 In this topic

*Methods

 

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

 


Interface IDirectDrawSurface

public interface IDirectDrawSurface extends IUnknown
{
  // Methods
  public void addAttachedSurface(DirectDrawSurface ddS);
  public void addOverlayDirtyRect(Rect r);
  public int blt(Rect dest, DirectDrawSurface ddS, Rect src,
        int flags);
  public int bltColorFill(Rect dest, int fillValue);
  public int bltFast(int dx, int dy, DirectDrawSurface ddS,
        Rect src, int trans);
  public int bltFx(Rect dest, DirectDrawSurface ddS, Rect src,
        int flags, DDBltFx bltFx);
  public void copyBitmap(DirectDrawBitmap val, int cx, int cy,
        int dx, int dy);
  public Direct3dDevice create3DDevice(_Guid g);
  public void deleteAttachedSurface(int flags,
        DirectDrawSurface ddS);
  public void enumAttachedSurfaces(IUnknown args,
        IEnumSurfacesCallback fn);
  public void enumOverlayZOrders(int flags, IUnknown args,
        IEnumZOrdersCallback fn);
  public void flip(DirectDrawSurface ddS, int flags);
  public void flush(Rect r, DDSurfaceDesc d, int flags, int hnd,
        int[] memory);
  public DirectDrawSurface getAttachedSurface(int caps);
  public int getBltStatus(int flags);
  public int getCaps();
  public DirectDrawClipper getClipper();
  public void getColorKey(int flags, DDColorKey val);
  public int getDC();
  public IUnknown getDDInterface();
  public int getFlipStatus(int flags);
  public int getOverlayPositionX();
  public int getOverlayPositionY();
  public DirectDrawPalette getPalette();
  public void getPixelFormat(DDPixelFormat pf);
  public void getSurfaceDesc(DDSurfaceDesc surface);
  public int isLost();
  public void lock(Rect r, DDSurfaceDesc d, int flags, int hnd,
        int[] memory);
  public void releaseDC(int hdc);
  public int restore();
  public void setClipper(DirectDrawClipper val);
  public void setColorKey(int flags, DDColorKey val);
  public void setOverlayPosition(int x, int y);
  public void setPalette(DirectDrawPalette ddp);
  public void unlock(DDSurfaceDesc data);
  public void updateOverlay(Rect r, DirectDrawSurface ddS, Rect d,
        int flags);
  public void updateOverlayDisplay(int flags);
  public void updateOverlayZOrder(int flags, DirectDrawSurface ddS);
}

For a description of methods and parameters, see DirectDrawSurface.

IUnknown
  |
  +--IDirectDrawSurface

Methods

addAttachedSurface

public void addAttachedSurface(DirectDrawSurface ddS);

addOverlayDirtyRect

public void addOverlayDirtyRect(Rect r);

blt

public int blt(Rect dest, DirectDrawSurface ddS, Rect src, int flags);

bltColorFill

public int bltColorFill(Rect dest, int fillValue);

bltFast

public int bltFast(int dx, int dy, DirectDrawSurface ddS, Rect src,
        int trans);

bltFx

public int bltFx(Rect dest, DirectDrawSurface ddS, Rect src, int flags,
        DDBltFx bltFx);

copyBitmap

public void copyBitmap(DirectDrawBitmap val, int cx, int cy, int dx,
        int dy);

create3DDevice

public Direct3dDevice create3DDevice(_Guid g);

deleteAttachedSurface

public void deleteAttachedSurface(int flags, DirectDrawSurface ddS);

enumAttachedSurfaces

public void enumAttachedSurfaces(IUnknown args, IEnumSurfacesCallback fn);

enumOverlayZOrders

public void enumOverlayZOrders(int flags, IUnknown args,
        IEnumZOrdersCallback fn);

flip

public void flip(DirectDrawSurface ddS, int flags);

flush

public void flush(Rect r, DDSurfaceDesc d, int flags, int hnd,
        int[] memory);

getAttachedSurface

public DirectDrawSurface getAttachedSurface(int caps);

getBltStatus

public int getBltStatus(int flags);

getCaps

public int getCaps();

getClipper

public DirectDrawClipper getClipper();

getColorKey

public void getColorKey(int flags, DDColorKey val);

getDC

public int getDC();

getDDInterface

public IUnknown getDDInterface();

getFlipStatus

public int getFlipStatus(int flags);

getOverlayPositionX

public int getOverlayPositionX();

getOverlayPositionY

public int getOverlayPositionY();

getPalette

public DirectDrawPalette getPalette();

getPixelFormat

public void getPixelFormat(DDPixelFormat pf);

getSurfaceDesc

public void getSurfaceDesc(DDSurfaceDesc surface);

isLost

public int isLost();

lock

public void lock(Rect r, DDSurfaceDesc d, int flags, int hnd, int[] memory);

releaseDC

public void releaseDC(int hdc);

restore

public int restore();

setClipper

public void setClipper(DirectDrawClipper val);

setColorKey

public void setColorKey(int flags, DDColorKey val);

setOverlayPosition

public void setOverlayPosition(int x, int y);

setPalette

public void setPalette(DirectDrawPalette ddp);

unlock

public void unlock(DDSurfaceDesc data);

updateOverlay

public void updateOverlay(Rect r, DirectDrawSurface ddS, Rect d, int flags);

updateOverlayDisplay

public void updateOverlayDisplay(int flags);

updateOverlayZOrder

public void updateOverlayZOrder(int flags, DirectDrawSurface ddS);

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