Index: dlls/user32/resource.c =================================================================== RCS file: /home/wine/wine/dlls/user32/resource.c,v retrieving revision 1.1 diff -u -p -u -r1.1 resource.c --- dlls/user32/resource.c 16 Nov 2006 14:02:17 -0000 1.1 +++ dlls/user32/resource.c 11 Dec 2007 20:19:30 -0000 @@ -354,6 +354,22 @@ INT16 WINAPI LoadString16( HINSTANCE16 i /********************************************************************** * LoadStringW (USER32.@) + * Loads a string from the executable file. + * + * PARAMS + * instance [I] Handle to executable file + * resource_id [I] String resource ID + * buffer [O] Destination buffer + * buflen [I] Buffer size (in WCHARs) + * + * RETURNS + * Success: The number of WCHARs written to buffer. + * The count not includes the terminating NUL. + * Failure: 0. Use GetLastError() to determine the cause. + * + * NOTES + * To get the handle to current program, use GetModuleHandle(NULL) + * Do not use it with buffer = NULL for get size of the requested string */ INT WINAPI LoadStringW( HINSTANCE instance, UINT resource_id, LPWSTR buffer, INT buflen )