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.
|
|
//+-------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1992 - 1996
//
// File: cphash.hxx
//
// Contents: Hash table that maps strings to codepages
//
// Note: Most of this file was copied from htmlfilt/cphash.hxx with
// only minor modifications
//
//--------------------------------------------------------------------------
#pragma once
class CCodePageEntry { public: WCHAR const * pwcName; ULONG ulCodePage; };
//+-------------------------------------------------------------------------
//
// Class: CCodePageTable
//
// Purpose: Hash table that maps strings to codepages
//
//--------------------------------------------------------------------------
class CCodePageTable {
public: static BOOL Lookup( WCHAR const * pwcName, unsigned cwcName, ULONG & ulCodePage );
private:
static int __cdecl EntryCompare( WCHAR const * pwcName, CCodePageEntry const * pEntry );
static const unsigned _cEntries; static const CCodePageEntry _aEntries[]; };
|