forked from jrywu/DIME
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DisplayString.h
43 lines (36 loc) · 1.39 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
//////////////////////////////////////////////////////////////////////
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// DisplayString.h
//
// CDisplayString declaration.
//
//////////////////////////////////////////////////////////////////////
#pragma once
#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;
};