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.

62 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 2001, Microsoft Corporation
  3. Module Name:
  4. api.cpp
  5. Abstract:
  6. This file implements the CActiveIMMAppEx Class.
  7. Author:
  8. Revision History:
  9. Notes:
  10. --*/
  11. #include "private.h"
  12. #include "list.h"
  13. #include "globals.h"
  14. //+---------------------------------------------------------------------------
  15. //
  16. // CGuidMapList
  17. // Allocated by Global data object !!
  18. //
  19. //----------------------------------------------------------------------------
  20. extern CGuidMapList *g_pGuidMapList;
  21. //+---------------------------------------------------------------------------
  22. //
  23. // MsimtfIsWindowFiltered
  24. //
  25. //----------------------------------------------------------------------------
  26. extern "C" BOOL WINAPI MsimtfIsWindowFiltered(HWND hwnd)
  27. {
  28. if (!g_pGuidMapList)
  29. return FALSE;
  30. return g_pGuidMapList->_IsWindowFiltered(hwnd);
  31. }
  32. //+---------------------------------------------------------------------------
  33. //
  34. // MsimtfIsGuidMapEnable
  35. //
  36. //----------------------------------------------------------------------------
  37. extern "C" BOOL WINAPI MsimtfIsGuidMapEnable(HIMC himc, BOOL *pbGuidmap)
  38. {
  39. if (!g_pGuidMapList)
  40. return FALSE;
  41. return g_pGuidMapList->_IsGuidMapEnable(himc, pbGuidmap);
  42. }