Jump to content

ACQUIREFB: Difference between revisions

From EDM2
No edit summary
Line 7: Line 7:


==C Declaration Method==
==C Declaration Method==
  typedef
  typedef struct


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


==Example==
==Example Code==
  typedef struct _ACQUIREFB {
  typedef struct _ACQUIREFB {
   ULONG fAFBFlags; /* Flag indicating whether bank switching is required. */
   ULONG fAFBFlags; /* Flag indicating whether bank switching is required. */

Revision as of 16:30, 17 August 2017

Structure describing action to take when acquiring the frame buffer.

Type

 ULONG fAFBFlags;
 ULONG ulBankNumber;
 RECTL rctlXRegion;

C Declaration Method

typedef struct

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.

Example Code

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;