[MSCTF][SDK] Add stubs for CRange (#8096)

This PR is just a step, but a slightly
great one for OS development history.
JIRA issue: CORE-19361
- Add IAnchor interface into textstor.idl.
- Fix ITfRangeAnchor interface (that
  was wrong).
- Delete range.c.
- Add range.cpp.
- Add CRange class as stubs.
This commit is contained in:
Katayama Hirofumi MZ 2025-06-09 23:51:17 +09:00 committed by GitHub
parent 2c124893ec
commit 5b94656442
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 583 additions and 446 deletions

View file

@ -32,7 +32,6 @@
#include "mlng.h"
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msctf);
BOOL gf_CRT_INIT = FALSE;
@ -93,6 +92,13 @@ UINT g_uKeyTipHotKeyModifiers = 0;
UINT g_uKeyTipHotKeyVKey = 0;
UINT g_uKeyTipHotKeyVKey2 = 0;
// Handle pure virtual function call errors
extern "C" void __cxa_pure_virtual(void)
{
ERR("__cxa_pure_virtual\n");
DebugBreak();
}
/**
* @implemented
*/