DD_SETEXCLUSIVEMODEDATA structure (ddrawint.h)

The DD_SETEXCLUSIVEMODEDATA structure contains the exclusive mode notification information.

Syntax

typedef struct _DD_SETEXCLUSIVEMODEDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  DWORD                 dwEnterExcl;
  DWORD                 dwReserved;
  HRESULT               ddRVal;
  VOID                  *SetExclusiveMode;
} *PDD_SETEXCLUSIVEMODEDATA, DD_SETEXCLUSIVEMODEDATA;

Members

lpDD

Points to a DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.

dwEnterExcl

Indicates that a Microsoft DirectDraw application is switching into exclusive mode when TRUE; indicates that a DirectDraw application is leaving exclusive mode when FALSE.

dwReserved

This is reserved for system use and should be ignored by the driver.

ddRVal

Specifies the location in which the driver writes the return value of the DdSetExclusiveMode callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

SetExclusiveMode

Used by the DirectDraw API and should not be filled in by the driver.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DdSetExclusiveMode