APERTURE: Difference between revisions
Appearance
Created page with "Structure describing attributes of VRAM. == Type == ULONG ulPhysAddr; ULONG ulApertureSize; ULONG ulScanLineSize; RECTL rctlScreen; == C Declarati..." |
mNo edit summary |
||
Line 5: | Line 5: | ||
ULONG ulScanLineSize; | ULONG ulScanLineSize; | ||
RECTL rctlScreen; | RECTL rctlScreen; | ||
== C Declaration Method == | == C Declaration Method == | ||
typedef struct | typedef struct | ||
Line 14: | Line 14: | ||
; ulScanLineSize : Size of a scan line. | ; ulScanLineSize : Size of a scan line. | ||
; rctlScreen : Rectangle of screen coordinates. | ; rctlScreen : Rectangle of screen coordinates. | ||
== Example Code == | == Example Code == | ||
<PRE> | <PRE> | ||
typedef struct _APERTURE { | typedef struct _APERTURE { | ||
ULONG ulPhysAddr; /* | ULONG ulPhysAddr; /* Physical address of VRAM. */ | ||
ULONG ulApertureSize; /* | ULONG ulApertureSize; /* Size of VRAM. */ | ||
ULONG ulScanLineSize; /* | ULONG ulScanLineSize; /* Size of a scan line. */ | ||
RECTL rctlScreen; /* | RECTL rctlScreen; /* Rectangle of screen coordinates. */ | ||
} APERTURE; | } APERTURE; | ||
typedef | typedef APERTURE *PAPERTURE; | ||
</PRE> | </PRE> | ||
[[Category:Data type]] | [[Category:Data type]] |
Latest revision as of 22:44, 3 November 2018
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;