Jump to content

APERTURE

From EDM2
Revision as of 22:44, 3 November 2018 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Structure describing attributes of VRAM.

Type

 ULONG     ulPhysAddr;
 ULONG     ulApertureSize;
 ULONG     ulScanLineSize;
 RECTL     rctlScreen;

C Declaration Method

typedef struct

Fields

ulPhysAddr
Physical address of VRAM.
ulApertureSize
Size of VRAM.
ulScanLineSize
Size of a scan line.
rctlScreen
Rectangle of screen coordinates.

Example Code

typedef struct _APERTURE {
  ULONG     ulPhysAddr;      /* Physical address of VRAM. */
  ULONG     ulApertureSize;  /* Size of VRAM. */
  ULONG     ulScanLineSize;  /* Size of a scan line. */
  RECTL     rctlScreen;      /* Rectangle of screen coordinates. */
} APERTURE;

typedef  APERTURE *PAPERTURE;