Jump to content

VRAMALLOCIN

From EDM2
Revision as of 18:05, 8 February 2020 by Martini (talk | contribs) (Created page with "Input structure to GreEscape DEVESC_VRAMALLOC. Used for VRAM allocation and deallocation requests. ==Example Code== <PRE> typedef struct _VRAMALLOCIN { ULONG ulLength;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Input structure to GreEscape DEVESC_VRAMALLOC. Used for VRAM allocation and deallocation requests.

Example Code

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;