mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
[TWAIN_32_WINETEST]
* Sync with Wine 1.7.17. CORE-8080 svn path=/trunk/; revision=62924
This commit is contained in:
parent
c15271be09
commit
b6102b8d1d
|
@ -36,12 +36,12 @@ static BOOL dsm_RegisterWindowClasses(void)
|
|||
BOOL rc;
|
||||
|
||||
cls.style = 0;
|
||||
cls.lpfnWndProc = DefWindowProc;
|
||||
cls.lpfnWndProc = DefWindowProcA;
|
||||
cls.cbClsExtra = 0;
|
||||
cls.cbWndExtra = 0;
|
||||
cls.hInstance = GetModuleHandleA(0);
|
||||
cls.hIcon = 0;
|
||||
cls.hCursor = LoadCursorA(0, IDC_ARROW);
|
||||
cls.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW);
|
||||
cls.hbrBackground = GetStockObject(WHITE_BRUSH);
|
||||
cls.lpszMenuName = NULL;
|
||||
cls.lpszClassName = "TWAIN_dsm_class";
|
||||
|
@ -861,9 +861,8 @@ START_TEST(dsm)
|
|||
appid.ProtocolMinor = TWON_PROTOCOLMINOR;
|
||||
appid.SupportedGroups = DG_CONTROL | DG_IMAGE;
|
||||
|
||||
hwnd = CreateWindow("TWAIN_dsm_class", "Twain Test", 0,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
NULL, NULL, GetModuleHandleA(0), NULL);
|
||||
hwnd = CreateWindowA("TWAIN_dsm_class", "Twain Test", 0, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, GetModuleHandleA(NULL), NULL);
|
||||
|
||||
rc = pDSM_Entry(&appid, NULL, DG_CONTROL, DAT_PARENT, MSG_OPENDSM, (TW_MEMREF) &hwnd);
|
||||
ok(rc == TWRC_SUCCESS, "MSG_OPENDSM returned %d\n", rc);
|
||||
|
|
Loading…
Reference in a new issue