[ros-dev] NtUserCreateWindowEx parameters

Timo Kreuzer timo.kreuzer at web.de
Tue Oct 21 16:47:25 CEST 2008


try LARGE_UNICODE_STRING
http://www.reactos.org/wiki/index.php/Techwiki/win32k/LARGE_UNICODE_STRING
That's what a WND stores internally.

Jeetu Golani schrieb:
> Anyways the parameter ordering I've deduced seems to be :
>
> NtUserCreateWindowEx(DWORD dwExStyle,PUNICODE_STRING 
> UnsafeClassName,PUNICODE_STRING UnsafeWindowName,DWORD dwUnknown1,DWORD 
> dwStyle,LONG x, LONG y,LONG nWidth, LONG nHeight,HWND 
> hWndParent,HMENU,hMenu,HINSTANCE hInstance,LPVOID lpParam,DWORD 
> dwShowMode,DWORD dwUnknown2)
>
> This seems to be correct with regards the 
> dwExStyle,dwStyle,x,y,nWidth,nHeight,hWndParent.hMenu,hInstance,lpParam 
> arguments.
>
> I'm still not able to verify the rest. My immediate concern though are the 
> UnsafeClassName and UnsafeWindowName arguments.
>
> I'm trying to print out these values...or test out what these values 
> hold...but can't seem to get anywhere....don't even know for sure if these 
> are UNICODE_STRING structure vals or LPCTSTR.
>   




More information about the Ros-dev mailing list