Hi, 2014-03-19 21:14 GMT+08:00 Nikolay Sivov bunglehead@gmail.com:
On 3/19/2014 17:02, Jactry Zeng wrote:
- /* open a rtf without } in the end */
- result = ITextDocument_Open(txtDoc, &testfile, tomReadOnly, CP_ACP);
- /* 0x80070026 is HRESUILT_FROM_WIN32(ERROR_HANDLE_EOF) */
- todo_wine ok(result == 0x80070026, "ITextDocument_Open: Should return
an ERROR_HANDLE_EOF error.\n");
No need to put a magic number, use HRESULT_FROM_WIN32(),
Using HRESULT_FROM_WIN32() we should include Winerror.h, so I give this way up in this patch. I will continue improving this patch.
Thanks for your review! -- Regards, Jactry Zeng