Jump to content

ACQUIREFB: Difference between revisions

From EDM2
No edit summary
Line 1: Line 1:
Structure describing action to take when acquiring the frame buffer.
Structure describing action to take when acquiring the frame buffer.
==Type==


typedef struct _ACQUIREFB {
  ULONG fAFBFlags;
  ULONG fAFBFlags; /* Flag indicating whether bank switching is required. */
  ULONG ulBankNumber;
  ULONG ulBankNumber; /* Bank number to switch to. */
  RECTL rctlXRegion;
  RECTL rctlXRegion; /* Rectangle of cursor exclude region. */
} ACQUIREFB;
typedef ACQUIREFB *PACQUIREFB;


==Fields==
==Fields==
Line 22: Line 19:
Rectangle of cursor exclude region.
Rectangle of cursor exclude region.


==Type==
  ULONG fAFBFlags;
  ULONG ulBankNumber;
  RECTL rctlXRegion;


==C Declaration Method==
==C Declaration Method==
typedef
typedef
==Example==
typedef struct _ACQUIREFB {
  ULONG fAFBFlags; /* Flag indicating whether bank switching is required. */
  ULONG ulBankNumber; /* Bank number to switch to. */
  RECTL rctlXRegion; /* Rectangle of cursor exclude region. */
} ACQUIREFB;
typedef ACQUIREFB *PACQUIREFB;


[[Category:Data type]]
[[Category:Data type]]

Revision as of 00:12, 17 August 2017

Structure describing action to take when acquiring the frame buffer.

Type

 ULONG fAFBFlags;
 ULONG ulBankNumber;
 RECTL rctlXRegion;

Fields

fAFBFlags
fAFBFlags (ULONG)

Flag indicating whether bank switching is required.

This flag has the following value:

  • AFB_SWITCH 1
ulBankNumber
ulBankNumber (ULONG)

Bank number to switch to.

rctlXRegion
rctlXRegion (RECTL)

Rectangle of cursor exclude region.


C Declaration Method

typedef

Example

typedef struct _ACQUIREFB {
  ULONG fAFBFlags; /* Flag indicating whether bank switching is required. */
  ULONG ulBankNumber; /* Bank number to switch to. */
  RECTL rctlXRegion; /* Rectangle of cursor exclude region. */
} ACQUIREFB;

typedef ACQUIREFB *PACQUIREFB;