diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-18 13:40:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-18 13:40:59 +0000 |
commit | 8cebd2859be7808d238ae67320aca7e2eef4c1a1 (patch) | |
tree | 7f9521da36a06b6ae3c160ba1c6dcca47ee7a189 /plugins/mTextControl/src/ImageDataObjectHlp.cpp | |
parent | 5e0e7e8ea01cdfa22349a100ca165f52550c9b14 (diff) |
RichEd20.dll replaced with Msftedit.dll
git-svn-id: http://svn.miranda-ng.org/main/trunk@11011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mTextControl/src/ImageDataObjectHlp.cpp')
-rw-r--r-- | plugins/mTextControl/src/ImageDataObjectHlp.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
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 |