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.7 KiB

  1. // --------------------------------------------------------------------------
  2. //
  3. // ASTHK.H
  4. //
  5. // Declarations of 32->16 thunk APIs
  6. //
  7. // Copyright(c) Microsoft, 1996-
  8. //
  9. //
  10. // On non x86 platforms, these APIs are #defined instead of implemented,
  11. // since thunks are in .ASM and that is only x86. We'll clean this W95-NT
  12. // stuff up later.
  13. //
  14. // --------------------------------------------------------------------------
  15. #ifndef _H_ASTHK
  16. #define _H_ASTHK
  17. //
  18. // MAIN functions
  19. //
  20. //
  21. // Prototypes for secret KERNEL32 functions
  22. //
  23. BOOL WINAPI FT_thkConnectToFlatThkPeer(LPSTR pszDll16, LPSTR pszDll32);
  24. UINT WINAPI FreeLibrary16(UINT hmod16);
  25. //
  26. // NMNASWIN.DLL functions
  27. //
  28. // General
  29. void WINAPI OSILoad16(LPDWORD lphInst);
  30. BOOL WINAPI OSIInit16(DWORD version, HWND hwnd, ATOM atom, LPDWORD ppdcsShared,
  31. LPDWORD ppoaShared, LPDWORD ppimShared, LPDWORD psbcEnabled,
  32. LPDWORD pShuntBuffers, LPDWORD pBitmasks);
  33. void WINAPI OSITerm16(BOOL fUnloading);
  34. BOOL WINAPI OSIFunctionRequest16(DWORD escape, void FAR* lpvEscInfo, DWORD cbEscInfo);
  35. // HET
  36. BOOL WINAPI OSIStartWindowTracking16(void);
  37. void WINAPI OSIStopWindowTracking16(void);
  38. BOOL WINAPI OSIIsWindowScreenSaver16(HWND hwnd);
  39. BOOL WINAPI OSIShareWindow16(HWND, UINT, BOOL, BOOL);
  40. BOOL WINAPI OSIUnshareWindow16(HWND, BOOL);
  41. // IM
  42. BOOL WINAPI OSIInstallControlledHooks16(BOOL fEnable, BOOL fDesktop);
  43. void WINAPI OSIInjectMouseEvent16(UINT flags, int x, int y, UINT mouseData, DWORD dwExtraInfo);
  44. void WINAPI OSIInjectKeyboardEvent16(UINT flags, WORD vkCode, WORD scanCode, DWORD dwExtraInfo);
  45. #endif // _H_ASTHK