VRAMALLOCIN: Difference between revisions
Appearance
Created page with "Input structure to GreEscape DEVESC_VRAMALLOC. Used for VRAM allocation and deallocation requests. ==Example Code== <PRE> typedef struct _VRAMALLOCIN { ULONG ulLength;..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
Input structure to GreEscape DEVESC_VRAMALLOC. Used for VRAM allocation and deallocation requests. | Input structure to GreEscape DEVESC_VRAMALLOC. Used for VRAM allocation and deallocation requests. | ||
<PRE> | <PRE> | ||
typedef struct _VRAMALLOCIN { | typedef struct _VRAMALLOCIN { | ||
ULONG ulLength; /* | ULONG ulLength; /* Length of VRAMALLOCIN data structure, in bytes. */ | ||
ULONG ulFlags; /* | ULONG ulFlags; /* Allocation request flag. */ | ||
ULONG ulID; /* | ULONG ulID; /* Buffer ID. */ | ||
ULONG ulFunction; /* | ULONG ulFunction; /* Indicates allocation status. */ | ||
ULONG ulHandle; /* | ULONG ulHandle; /* VRAMREGISTER instance handle. */ | ||
ULONG ulSize; /* | ULONG ulSize; /* Size to allocate, in bytes. */ | ||
ULONG ulWidth; /* | ULONG ulWidth; /* Width of the image, in pels. */ | ||
ULONG ulHeight; /* | ULONG ulHeight; /* Height of the image, in scanlines. */ | ||
} VRAMALLOCIN; | } VRAMALLOCIN; | ||
Latest revision as of 17:07, 5 April 2025
Input structure to GreEscape DEVESC_VRAMALLOC. Used for VRAM allocation and deallocation requests.
typedef struct _VRAMALLOCIN { ULONG ulLength; /* Length of VRAMALLOCIN data structure, in bytes. */ ULONG ulFlags; /* Allocation request flag. */ ULONG ulID; /* Buffer ID. */ ULONG ulFunction; /* Indicates allocation status. */ ULONG ulHandle; /* VRAMREGISTER instance handle. */ ULONG ulSize; /* Size to allocate, in bytes. */ ULONG ulWidth; /* Width of the image, in pels. */ ULONG ulHeight; /* Height of the image, in scanlines. */ } VRAMALLOCIN; typedef VRAMALLOCIN *PVRAMALLOCIN;