summaryrefslogtreecommitdiff
path: root/plugins/mTextControl/src/FormattedTextDraw.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mTextControl/src/FormattedTextDraw.h')
-rw-r--r--plugins/mTextControl/src/FormattedTextDraw.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/mTextControl/src/FormattedTextDraw.h b/plugins/mTextControl/src/FormattedTextDraw.h
index 3ea2e2faee..bfadbb918f 100644
--- a/plugins/mTextControl/src/FormattedTextDraw.h
+++ b/plugins/mTextControl/src/FormattedTextDraw.h
@@ -11,7 +11,7 @@
#define HOST_BORDER 0
#endif
-typedef struct tagCOOKIE
+struct COOKIE
{
bool isUnicode;
union
@@ -19,9 +19,8 @@ typedef struct tagCOOKIE
char *ansi;
WCHAR *unicode;
};
- DWORD dwSize;
- DWORD dwCount;
-} COOKIE, *PCOOKIE;
+ size_t cbSize, cbCount;
+};
extern HRESULT (WINAPI *MyCreateTextServices)(IUnknown *punkOuter, ITextHost *pITextHost, IUnknown **ppUnk);