Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5 KiB

  1. /****************************************************************************/
  2. // aoaapi.h
  3. //
  4. // RDP Order Accumulation API functions
  5. //
  6. // Copyright (C) 1997-2000 Microsoft Corporation
  7. /****************************************************************************/
  8. #ifndef _H_AOAAPI
  9. #define _H_AOAAPI
  10. #define OA_ORDER_HEAP_SIZE (64 * 1024)
  11. /****************************************************************************/
  12. // Structure used to store orders in the shared memory
  13. //
  14. // TotalOrderBytes - Total bytes used by order data
  15. // nextOrder - Offset for start of next new order
  16. // orderListHead - Order list head
  17. // orderHeap - Order heap
  18. /****************************************************************************/
  19. typedef struct
  20. {
  21. unsigned TotalOrderBytes;
  22. unsigned nextOrder;
  23. LIST_ENTRY orderListHead;
  24. BYTE orderHeap[OA_ORDER_HEAP_SIZE];
  25. } OA_SHARED_DATA, *POA_SHARED_DATA;
  26. /****************************************************************************/
  27. // INT_ORDER
  28. //
  29. // Info for each order in the order heap.
  30. //
  31. // OrderLength: Length of following order data (not including header or
  32. // extra bytes needed for DWORD-aligned padding).
  33. /****************************************************************************/
  34. typedef struct
  35. {
  36. LIST_ENTRY list;
  37. unsigned OrderLength;
  38. #if DC_DEBUG
  39. unsigned CheckSum;
  40. #endif
  41. BYTE OrderData[1];
  42. } INT_ORDER, *PINT_ORDER;
  43. #endif /* ndef _H_AOAAPI */