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.
|
|
//+---------------------------------------------------------------------------
//
//
// CThaiSentTrieIter
//
// History:
// created 8/99 aarayas
//
// �1999 Microsoft Corporation
//----------------------------------------------------------------------------
#include "CThaiSentTrieIter.hpp"
//+---------------------------------------------------------------------------
//
// Class: CThaiSentTrieIter
//
// Synopsis: Bring interation index to the first node.
//
// Arguments:
//
// Modifies:
//
// History: created 8/99 aarayas
//
// Notes:
//
//----------------------------------------------------------------------------
void CThaiSentTrieIter::GetNode() { pos = (WCHAR) trieScan.wch - 0x0100; fWordEnd = (trieScan.wFlags & TRIE_NODE_VALID) && (!(trieScan.wFlags & TRIE_NODE_TAGGED) || (trieScan.aTags[0].dwData & iDialectMask));
if (fWordEnd) { dwTag = (DWORD) (trieScan.wFlags & TRIE_NODE_TAGGED ? trieScan.aTags[0].dwData : 0); } }
|