home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / edtrcdll / public / winnls16.h < prev   
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.7 KB  |  69 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /***********************************************************************\
  20. *                                                                       *
  21. * WINNLS.H - Far East input method editor (DBCS_IME) definitions        *
  22. *                                                                       *
  23. * History:                                                              *
  24. * 18-Jub-1992   yutakan                                                 *
  25. *               API definitions for final JAPAN spec.                   *
  26. * 21-Oct-1991   bent                                                    *
  27. *               initial merge of Far East 3.0 versions                  *
  28. *               Should be updated to resolve local inconsistencies.     *
  29. *                                                                       *
  30. * Copyright (c) 1990-1992  Microsoft Corporation                        *
  31. *                                                                       *
  32. \***********************************************************************/
  33.  
  34. typedef struct _tagDATETIME {
  35.     WORD        year;
  36.     WORD        month;
  37.     WORD        day;
  38.     WORD        hour;
  39.     WORD        min;
  40.     WORD        sec;
  41. } DATETIME;
  42.  
  43. typedef struct _tagIMEPRO {
  44.     HWND        hWnd;
  45.     DATETIME    InstDate;
  46.     UINT        wVersion;
  47.     BYTE        szDescription[50];
  48.     BYTE        szName[80];
  49.     BYTE        szOptions[30];
  50. } IMEPRO;
  51. typedef IMEPRO      *PIMEPRO;
  52. typedef IMEPRO near *NPIMEPRO;
  53. typedef IMEPRO far  *LPIMEPRO;
  54.  
  55. BOOL WINAPI IMPGetIME( HWND, LPIMEPRO );
  56. BOOL WINAPI IMPQueryIME( LPIMEPRO );
  57. BOOL WINAPI IMPSetIME( HWND, LPIMEPRO );
  58.  
  59. BOOL WINAPI WINNLSEnableIME( HWND, BOOL );
  60. BOOL WINAPI WINNLSGetEnableStatus( HWND );
  61.  
  62.  
  63. UINT WINAPI WINNLSGetIMEHotkey( HWND );
  64.  
  65.  
  66. BOOL WINAPI WINNLSDefIMEProc(HWND, HDC, WPARAM, WPARAM,  LPARAM, LPARAM);
  67. LRESULT WINAPI ControlIMEMessage(HWND, LPIMEPRO, WPARAM, WPARAM, LPARAM);
  68. BOOL WINAPI IMPRetrieveIME(LPIMEPRO, WPARAM);
  69.