Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

45 lines
1.4 KiB

/*************************************************
* dic.c *
* *
* Copyright (C) 1999 Microsoft Inc. *
* *
*************************************************/
#include <windows.h>
#include <winerror.h>
#include <immdev.h>
#include "imeattr.h"
#include "imedefs.h"
#include "imerc.h"
/**********************************************************************/
/* LoadTable() */
/* Return Value: */
/* TRUE - successful, FALSE - failure */
/**********************************************************************/
BOOL PASCAL LoadTable( // check the table files of IME, include user
// defined dictionary
LPINSTDATAL lpInstL,
LPIMEL lpImeL)
{
if (lpInstL->fdwTblLoad == TBL_LOADED) {
return (TRUE);
}
lpInstL->fdwTblLoad = TBL_LOADED;
return (TRUE);
}
/**********************************************************************/
/* FreeTable() */
/**********************************************************************/
void PASCAL FreeTable(
LPINSTDATAL lpInstL)
{
lpInstL->fdwTblLoad = TBL_NOTLOADED;
return;
}