Jump to content

VRAMALLOCIN

From EDM2
Revision as of 17:07, 5 April 2025 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;