Techwiki:Win32k/NtUserCreateWindowEx

From ReactOS Wiki
Jump to: navigation, search

Current definition in ReactOS:

HWND STDCALL
NtUserCreateWindowEx(DWORD dwExStyle,
                     PUNICODE_STRING UnsafeClassName,
                     PUNICODE_STRING UnsafeWindowName,
                     DWORD dwStyle,
                     LONG x,
                     LONG y,
                     LONG nWidth,
                     LONG nHeight,
                     HWND hWndParent,
                     HMENU hMenu,
                     HINSTANCE hInstance,
                     LPVOID lpParam,
                     DWORD dwShowMode,
                     BOOL bUnicodeWindow,
                     DWORD dwUnknown);

Wrong! Should be something like:

HWND STDCALL
NtUserCreateWindowEx(DWORD dwExStyle,
                     PLARGE_STRING plstrClassName,
                     PLARGE_STRING plstrClsVesrion,
                     PLARGE_STRING plstrWindowName,
                     DWORD dwStyle,
                     int x,
                     int y,
                     int nWidth,
                     int nHeight,
                     HWND hWndParent,
                     HMENU hMenu,
                     HINSTANCE hInstance,
                     LPVOID lpParam,
                     DWORD dwFlags,
                     PVOID acbiBuffer);

see: http://www.cyber-ta.org/releases/malware-analysis/public/SOURCES/b47155634ccb2c30630da7e3666d3d07/b47155634ccb2c30630da7e3666d3d07.trace.html#NtUserCreateWindowEx http://64.233.183.104/search?q=cache:6xdAwx_VOfgJ:www.wesley.org.il/ProcessInitializerLogs/trace.log+NtUserCreateWindowEx&hl=de&ct=clnk&cd=58&gl=de&client=firefox-a