Ignore:
Timestamp:
Sep 5, 2001, 3:54:53 PM (24 years ago)
Author:
bird
Message:

Added $Id:$ keyword.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oldnls32.cpp

    r5496 r6650  
    1 /*
    2         winnls32.cpp
    3        
     1/* $Id: oldnls32.cpp,v 1.2 2001-09-05 13:53:50 bird Exp $ */
     2/*
     3    winnls32.cpp
     4
    45*/
    56
     
    1112
    1213/*
    13         BOOL IMPGetIME(hwnd, lpimepro)
    14 
    15         Get Current IME Information
    16         (HWND, InstallDate, Version, Description, FileName, Options on start...)
    17        
    18         to invoke:
    19                 hnwd ... NULL
    20         result:
    21         not 0 ... success (infomation will be stored to lpimepro)
    22         0 ... failure
    23        
    24         see also:
    25                 ImmGetDefaultIMEWnd
    26                 ImmGetDescription
    27                 ImmGetIMEFileName
    28                 ImmGetProperty
     14    BOOL IMPGetIME(hwnd, lpimepro)
     15
     16    Get Current IME Information
     17    (HWND, InstallDate, Version, Description, FileName, Options on start...)
     18
     19    to invoke:
     20        hnwd ... NULL
     21    result:
     22    not 0 ... success (infomation will be stored to lpimepro)
     23    0 ... failure
     24
     25    see also:
     26        ImmGetDefaultIMEWnd
     27        ImmGetDescription
     28        ImmGetIMEFileName
     29        ImmGetProperty
    2930*/
    3031
     
    3233{
    3334#ifdef DEBUG
    34         dprintf(("USER32: IMPGetIMEA not implemented\n"));
    35 #endif
    36     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    37         return FALSE;
     35    dprintf(("USER32: IMPGetIMEA not implemented\n"));
     36#endif
     37    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     38    return FALSE;
    3839}
    3940
     
    4142{
    4243#ifdef DEBUG
    43         dprintf(("USER32: IMPGetIMEW not implemented\n"));
    44 #endif
    45     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    46         return FALSE;
    47 }
    48 
    49 
    50 /*
    51         BOOL IMPQueryIME(lpimepro)
    52 
    53         Get(Enum) IMEs Information
    54         (HWND, InstallDate, Version, Description, FileName, Options on start...)
    55        
    56         to invoke:
    57         first : lpimepro->szName[0] = 0
    58         next to last : (must not modify any contents in lpimepro)
    59        
    60         result:
    61         not 0 ... success
    62                 lpimepro->hWnd ... HANDLE to the IME window (if loaded)
    63                                    or NULL(if not)
    64         0 ... failure, or end of list
    65 
    66         see also:
    67                 ImmGetDefaultIMEWnd
    68                 ImmGetDescription
    69                 ImmGetIMEFileName
    70                 ImmGetProperty
     44    dprintf(("USER32: IMPGetIMEW not implemented\n"));
     45#endif
     46    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     47    return FALSE;
     48}
     49
     50
     51/*
     52    BOOL IMPQueryIME(lpimepro)
     53
     54    Get(Enum) IMEs Information
     55    (HWND, InstallDate, Version, Description, FileName, Options on start...)
     56
     57    to invoke:
     58    first : lpimepro->szName[0] = 0
     59    next to last : (must not modify any contents in lpimepro)
     60
     61    result:
     62    not 0 ... success
     63        lpimepro->hWnd ... HANDLE to the IME window (if loaded)
     64                           or NULL(if not)
     65    0 ... failure, or end of list
     66
     67    see also:
     68        ImmGetDefaultIMEWnd
     69        ImmGetDescription
     70        ImmGetIMEFileName
     71        ImmGetProperty
    7172*/
    7273
     
    7475{
    7576#ifdef DEBUG
    76         dprintf(("USER32: IMPQueryIMEA not implemented\n"));
    77 #endif
    78     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    79         return FALSE;
     77    dprintf(("USER32: IMPQueryIMEA not implemented\n"));
     78#endif
     79    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     80    return FALSE;
    8081}
    8182
     
    8384{
    8485#ifdef DEBUG
    85         dprintf(("USER32: IMPQueryIMEW not implemented\n"));
    86 #endif
    87     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    88         return FALSE;
    89 }
    90 
    91 
    92 /*
    93         BOOL IMPSetIME(hwnd, lpimepro)
    94        
    95         Switch active IME
    96        
    97         to invoke:
    98                 hwnd = NULL
    99                 lpimepro = IME to switch
    100         result:
    101         not 0 ... success
    102         0 ... failure
    103        
    104         see also:
    105                 ImmAssociateContext
     86    dprintf(("USER32: IMPQueryIMEW not implemented\n"));
     87#endif
     88    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     89    return FALSE;
     90}
     91
     92
     93/*
     94    BOOL IMPSetIME(hwnd, lpimepro)
     95
     96    Switch active IME
     97
     98    to invoke:
     99        hwnd = NULL
     100        lpimepro = IME to switch
     101    result:
     102    not 0 ... success
     103    0 ... failure
     104
     105    see also:
     106        ImmAssociateContext
    106107*/
    107108
     
    109110{
    110111#ifdef DEBUG
    111         dprintf(("USER32: IMPSetIMEA not implemented\n"));
    112 #endif
    113     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    114         return FALSE;
     112    dprintf(("USER32: IMPSetIMEA not implemented\n"));
     113#endif
     114    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     115    return FALSE;
    115116}
    116117
     
    118119{
    119120#ifdef DEBUG
    120         dprintf(("USER32: IMPSetIMEW not implemented\n"));
    121 #endif
    122     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    123         return FALSE;
    124 }
    125 
    126 
    127 /*
    128         UINT WINNLSGetIMEHotkey(hwnd)
    129        
    130         Query Virtual Key code to open the IME
    131        
    132         to invoke:
    133                 hnwd ... HANDLE to the IME window
    134         result:
    135                 Virtual Key code, or NULL
    136                
    137         see also:
    138                 ImmSimulateHotKey
     121    dprintf(("USER32: IMPSetIMEW not implemented\n"));
     122#endif
     123    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     124    return FALSE;
     125}
     126
     127
     128/*
     129    UINT WINNLSGetIMEHotkey(hwnd)
     130
     131    Query Virtual Key code to open the IME
     132
     133    to invoke:
     134        hnwd ... HANDLE to the IME window
     135    result:
     136        Virtual Key code, or NULL
     137
     138    see also:
     139        ImmSimulateHotKey
    139140*/
    140141
     
    142143{
    143144#ifdef DEBUG
    144         dprintf(("USER32: WINNLSGetIMEHotKey not implemented\n"));
    145 #endif
    146     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    147         return (UINT)NULL;
    148 }
    149 
    150 
    151 /*
    152         BOOL WINNLSEnableIME(hwnd, bool)
    153        
    154         make IME open/close
    155        
    156         to invoke:
    157                 hwnd ... NULL
    158                 bool ... TRUE (open) or FALSE (close)
    159         result:
    160                 previous state
    161        
    162         see also:
    163                 ImmGetOpenStatus
    164                 ImmSetOpenStatus
    165                 ImmSimulateHotKey
     145    dprintf(("USER32: WINNLSGetIMEHotKey not implemented\n"));
     146#endif
     147    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     148    return (UINT)NULL;
     149}
     150
     151
     152/*
     153    BOOL WINNLSEnableIME(hwnd, bool)
     154
     155    make IME open/close
     156
     157    to invoke:
     158        hwnd ... NULL
     159        bool ... TRUE (open) or FALSE (close)
     160    result:
     161        previous state
     162
     163    see also:
     164        ImmGetOpenStatus
     165        ImmSetOpenStatus
     166        ImmSimulateHotKey
    166167*/
    167168
     
    169170{
    170171#ifdef DEBUG
    171         dprintf(("USER32: WINNLSEnableIME not implemented\n"));
    172     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    173 #endif
    174         return FALSE;
    175 }
    176 
    177 
    178 /*
    179         BOOL WINNLSGetEnableStatus(hwnd)
    180 
    181         Query IME open/close
    182        
    183         to invoke:
    184                 hwnd ... NULL
    185         result:
    186                 not 0 ... open
    187                 0 ... close
    188        
    189         see also:
    190                 ImmGetOpenStatus
     172    dprintf(("USER32: WINNLSEnableIME not implemented\n"));
     173    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     174#endif
     175    return FALSE;
     176}
     177
     178
     179/*
     180    BOOL WINNLSGetEnableStatus(hwnd)
     181
     182    Query IME open/close
     183
     184    to invoke:
     185        hwnd ... NULL
     186    result:
     187        not 0 ... open
     188        0 ... close
     189
     190    see also:
     191        ImmGetOpenStatus
    191192*/
    192193
     
    194195{
    195196#ifdef DEBUG
    196         dprintf(("USER32: WINNLSGetEnableStatus not implemented\n"));
    197     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    198 #endif
    199         return FALSE;
    200 }
    201 
    202 
    203 /*
    204         LRESULT WINAPI SendIMEMessageEx(hwnd, lparam)
     197    dprintf(("USER32: WINNLSGetEnableStatus not implemented\n"));
     198    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     199#endif
     200    return FALSE;
     201}
     202
     203
     204/*
     205    LRESULT WINAPI SendIMEMessageEx(hwnd, lparam)
    205206*/
    206207
     
    209210{
    210211#ifdef DEBUG
    211         dprintf(("USER32: SendIMEMessageExA not implemented\n"));
    212     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    213 #endif
    214         return (LRESULT)0;
     212    dprintf(("USER32: SendIMEMessageExA not implemented\n"));
     213    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     214#endif
     215    return (LRESULT)0;
    215216}
    216217
     
    218219{
    219220#ifdef DEBUG
    220         dprintf(("USER32: SendIMEMessageExW not implemented\n"));
    221     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    222 #endif
    223         return (LRESULT)0;
    224 }
    225 
     221    dprintf(("USER32: SendIMEMessageExW not implemented\n"));
     222    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     223#endif
     224    return (LRESULT)0;
     225}
     226
Note: See TracChangeset for help on using the changeset viewer.