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.
|
|
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1994.
//
// File: langres.hxx
//
// Contents: Interacts with the registry to obtain local specific info.
//
// Classes: CLangRes
//
// History: 2-14-97 mohamedn created
//
//----------------------------------------------------------------------------
#pragma once
//+---------------------------------------------------------------------------
//
// Class: CLangRes
//
// Purpose: obtains language resource configuration information (IWordBreaker,
// IStemmer, and NoiseWordList) from the registry.
//
// History: 2-14-97 mohamedn created
//
// Notes:
//
//----------------------------------------------------------------------------
class CLangRes {
public: static SCODE GetWordBreaker( LCID locale, PROPID pid, IWordBreaker ** ppwbBreaker );
static SCODE GetStemmer ( LCID locale, PROPID pid, IStemmer ** ppStemmer );
static SCODE GetNoiseWordList( LCID locale, PROPID pid, IStream ** ppIStrmNoiseFile);
static void StringToCLSID( WCHAR *wszClass, GUID& guidClass ); private: static IStream * _GetIStrmNoiseFile(const WCHAR *pwszNoiseFile ); };
|