From 8cebd2859be7808d238ae67320aca7e2eef4c1a1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Nov 2014 13:40:59 +0000 Subject: RichEd20.dll replaced with Msftedit.dll git-svn-id: http://svn.miranda-ng.org/main/trunk@11011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/mTextControl/src/ImageDataObjectHlp.cpp | 37 ------------------------- 1 file changed, 37 deletions(-) (limited to 'plugins/mTextControl/src/ImageDataObjectHlp.cpp') diff --git a/plugins/mTextControl/src/ImageDataObjectHlp.cpp b/plugins/mTextControl/src/ImageDataObjectHlp.cpp index fd81142271..7e2747eb44 100644 --- a/plugins/mTextControl/src/ImageDataObjectHlp.cpp +++ b/plugins/mTextControl/src/ImageDataObjectHlp.cpp @@ -213,40 +213,3 @@ bool InsertBitmap(IRichEditOle* pRichEditOle, HENHMETAFILE hEmf) return sc == S_OK; } -/* -int RichEditVersion(void) -{ - // get size of version information - DWORD dummy; - DWORD size = ::GetFileVersionInfoSize(_T("riched20.dll"), &dummy); - if (!size) return -1; // unexpected failure - - // allocate a buffer for version information - BYTE* buffer = (BYTE*) new BYTE[size]; - - // get the version information - if (!::GetFileVersionInfo(_T("riched20.dll"), 0, size, buffer)) - { - delete[] buffer; - return -1; // unexpected faiure - } - - // get the static version information - VS_FIXEDFILEINFO* vsInfo; - UINT vsInfoSize; - if (!::VerQueryValue(buffer, _T("\\"), (LPVOID*) &vsInfo, &vsInfoSize)) - { - delete[] buffer; - return -1; // unexpected failure - } - - int FileVersionMinor = LOWORD(vsInfo->dwFileVersionMS); - - // free the buffer - delete[] buffer; - - return FileVersionMinor ? 3 : 2; -} - -bool g_HiddenTextSupported = RichEditVersion() == 3; -*/ \ No newline at end of file -- cgit v1.2.3