-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDisplayString.h
59 lines (51 loc) · 1.59 KB
/
DisplayString.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//////////////////////////////////////////////////////////////////////
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// DisplayString.h
//
// CDisplayString declaration.
//
//////////////////////////////////////////////////////////////////////
#pragma once
#include "Private.h"
#include "globals.h"
#include "SampleIME.h"
#include "EnumDisplayAttributeInfo.h"
// #include "StringRange.h"
// #include "PointerArray.h"
class CDisplayString
{
public:
CDisplayString()
{
}
~CDisplayString()
{
}
int Count()
{
}
// VOID SetDisplayString(int iIndex, WCHAR* pchText, USHORT cchMax, TF_DISPLAYATTRIBUTE tfDisplayAttribute) { }
// VOID GetDisplayString(int iIndex, WCHAR* pchText, USHORT cchMax, USHORT* pch, TF_DISPLAYATTRIBUTE
// tfDisplayAttribute) { }
VOID SetLogicalFont(LOGFONTW LogFont)
{
}
VOID GetLogicalFont(LOGFONTW *pLogFont)
{
}
private:
// typedef struct _DISPLAY_STRING {
// CStringRange _StringRange; // Unicode string.
// // Length and MaximumLength is in character count.
// // Buffer doesn't add zero terminate.
// TF_DISPLAYATTRIBUTE _tfDisplayAttribute; // Display attribute for each array.
// } DISPLAY_STRING;
//
// Array of DISPLAY_STRING
//
// CPointerArray<DISPLAY_STRING> _pDisplayString;
// Logical font
LOGFONTW _logfont;
};