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.

41 lines
1.1 KiB

  1. /****************************************************************************
  2. APIENTRY.H
  3. Owner: cslim
  4. Copyright (c) 1997-1999 Microsoft Corporation
  5. Header file for API entries between IMM32 and IME
  6. History:
  7. 14-JUL-1999 cslim Copied from IME98 source tree
  8. *****************************************************************************/
  9. #if !defined (_APIENTRY_H__INCLUDED_)
  10. #define _APIENTRY_H__INCLUDED_
  11. #include "debug.h"
  12. extern "C" {
  13. DWORD WINAPI ImeGetImeMenuItems(HIMC hIMC, DWORD dwFlags, DWORD dwType,
  14. LPIMEMENUITEMINFO lpImeParentMenu, LPIMEMENUITEMINFO lpImeMenu,
  15. DWORD dwSize);
  16. }
  17. ///////////////////////////////////////////////////////////////////////////////
  18. // Inline Functions
  19. // Fill a TransMsg Helper function
  20. inline
  21. void SetTransBuffer(LPTRANSMSG lpTransMsg,
  22. UINT message, WPARAM wParam, LPARAM lParam)
  23. {
  24. DbgAssert(lpTransMsg != NULL);
  25. if (lpTransMsg)
  26. {
  27. lpTransMsg->message = message;
  28. lpTransMsg->wParam = wParam;
  29. lpTransMsg->lParam = lParam;
  30. }
  31. }
  32. #endif // !defined (_APIENTRY_H__INCLUDED_)