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.

105 lines
2.6 KiB

  1. /*++
  2. Copyright (c) 1985-1995, Microsoft Corporation
  3. Module Name:
  4. winddits.h
  5. Abstract:
  6. Private entry points, defines and types for Windows NT GDI device
  7. driver interfaces for terminal server.
  8. --*/
  9. #ifndef _WINDDITS_
  10. #define _WINDDITS_
  11. /*
  12. * Mouse position
  13. *
  14. * Normal == Primary stack i.e moves sent up from the client
  15. * Procedural == Programmatic moves that originate at the server side
  16. * Shadow == Moves that orginate at the shadow client
  17. */
  18. #define MP_NORMAL 0x00
  19. #define MP_PROCEDURAL 0x01
  20. #define MP_TERMSRV_SHADOW 0x02
  21. #define INDEX_DrvConnect INDEX_DrvReserved1
  22. #define INDEX_DrvDisconnect INDEX_DrvReserved2
  23. #define INDEX_DrvReconnect INDEX_DrvReserved3
  24. #define INDEX_DrvShadowConnect INDEX_DrvReserved4
  25. #define INDEX_DrvShadowDisconnect INDEX_DrvReserved5
  26. #define INDEX_DrvInvalidateRect INDEX_DrvReserved6
  27. #define INDEX_DrvSetPointerPos INDEX_DrvReserved7
  28. #define INDEX_DrvDisplayIOCtl INDEX_DrvReserved8
  29. #define INDEX_DrvMovePointerEx INDEX_DrvReserved11
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33. BOOL APIENTRY DrvConnect(HANDLE, PVOID, PVOID, PVOID);
  34. BOOL APIENTRY DrvDisconnect(HANDLE, PVOID);
  35. BOOL APIENTRY DrvReconnect(HANDLE, PVOID);
  36. BOOL APIENTRY DrvShadowConnect(PVOID pClientThinwireData,
  37. ULONG ThinwireDataLength);
  38. BOOL APIENTRY DrvShadowDisconnect(PVOID pClientThinwireData,
  39. ULONG ThinwireDataLength);
  40. BOOL APIENTRY DrvMovePointerEx(SURFOBJ*, LONG, LONG, ULONG);
  41. DWORD APIENTRY EngGetTickCount();
  42. VOID APIENTRY EngFileWrite(
  43. HANDLE hFileObject,
  44. PVOID Buffer,
  45. ULONG Length,
  46. PULONG pActualLength
  47. );
  48. DWORD APIENTRY EngFileIoControl(
  49. HANDLE hDevice,
  50. DWORD dwIoControlCode,
  51. LPVOID lpInBuffer,
  52. DWORD nInBufferSize,
  53. LPVOID lpOutBuffer,
  54. DWORD nOutBufferSize,
  55. LPDWORD lpBytesReturned
  56. );
  57. PVOID APIENTRY EngAllocSectionMem(
  58. PVOID *pSectionObject,
  59. ULONG fl,
  60. ULONG cj,
  61. ULONG tag
  62. );
  63. BOOL APIENTRY EngFreeSectionMem(
  64. PVOID SectionObject,
  65. PVOID pv
  66. );
  67. BOOL APIENTRY EngMapSection(
  68. PVOID SectionObject,
  69. BOOL bMap,
  70. HANDLE ProcessHandle,
  71. PVOID *pMapBase
  72. );
  73. #ifdef __cplusplus
  74. }
  75. #endif
  76. #endif // _WINDDITS_