using BufferScope<char> buffer = new(stackalloc char[64]);
using ComScope<IUnknown> unknown = new(null);
comObject->QueryInterface(&iid, unknown);
[!Note]
If you really want this behavior, use the Windows riched32.dll instead of riched20.dll or msftedit.dll. Riched32.dll had more functionality.
HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows NT CurrentVersion Windows USERPostMessageLimitIf the function fails, call GetLastError to get extended error information. GetLastError returns ERROR_NOT_ENOUGH_QUOTA when the limit is hit. The minimum acceptable value is 4000.
HKEY_CLASSES_ROOT\CLSID\ . . . MiscStatus = 1