search for: lpwstr

Displaying 18 results from an estimated 18 matches for "lpwstr".

Did you mean: lpcwstr
2010 Mar 23
0
[LLVMdev] Cygwin llvm-gcc-4.2 regression
...32api/wincon.h:140: error: expected declaration specifiers or '...' before 'WCHAR' /usr/lib/../include/w32api/wincon.h:150: error: expected ')' before 'DWORD' /usr/lib/../include/w32api/wincon.h:169: error: expected declaration specifiers or '...' before 'LPWSTR' /usr/lib/../include/w32api/wincon.h:197: error: expected declaration specifiers or '...' before 'LPCWSTR' In file included from /usr/lib/../include/w32api/windows.h:50, from /home/ang/src/llvm-gcc4.2-2.7.source/gcc/config/i386/cygmi ng-crtbegin.c:43: /usr/lib/....
2002 Jul 24
0
enumerating shared printers to the print browse master
...POOL: STRING_HANDLE pName = \\NTSERVER R_WINSPOOL: PPRINTER_CONTAINER pPrinterContainer {..} R_WINSPOOL: DWORD Level = 1 (0x1) R_WINSPOOL: (Untyped 1) PrinterInfo {..} R_WINSPOOL: Switch Value = 1 (0x1) R_WINSPOOL: LPPRINTER_INFO_1W pPrinterInfo1 {..} R_WINSPOOL: DWORD Flags = 24 (0x18) R_WINSPOOL: LPWSTR pDescription = 35780264 (0x221F6A8) R_WINSPOOL: LPWSTR pName = 35781864 (0x221FCE8) R_WINSPOOL: LPWSTR pComment = 12163832 (0xB99AF8) R_WINSPOOL: LPWSTR pDescription = \\NTCLIENT\Lexmark Optra PS,Lexmark Optra PS, R_WINSPOOL: LPWSTR pName = \\NTCLIENT\Lexmark Optra PS R_WINSPOOL: LPWSTR pComment =...
2004 Feb 25
5
Wide strings and LPCTSTR types
All, I was experimenting with converting LPCTSTR strings to wide strings with something like this: // Converts a Ruby string to a LPWSTR LPCTSTR AllocWideLString(VALUE rbString){ char* str = STR2CSTR(rbString); int length = (strlen(str)+1) * sizeof(WCHAR); LPCTSTR lpStr = (LPCTSTR)malloc(length); MultiByteToWideChar( CP_ACP, 0, str, strlen(str)+1, (LPWSTR)lpStr, length ); retu...
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
...-1, nameW, len); ???? } Again nobody is checking the nameW value. Maybe it is checked inside 'MultiByteToWideChar()' but this function doesn't return any value in this case. There are places where value returned by HeapAlloc() is checked: In dlls/wininet/internet.h 'static inline LPWSTR WININET_strdupW( LPCWSTR str )' line 82: ??? LPWSTR ret = HeapAlloc( GetProcessHeap(), 0, (strlenW(str) + 1)*sizeof(WCHAR) ); ??? if (ret) strcpyW( ret, str ); ??? return ret; Could somebody explain me the behavior of Wine HeapAlloc() and its family? Thank you, cunha
2004 Feb 25
1
More on etc and other stuff
I seem to have gotten the bugs worked out of win32-etc. It seems it had to do with using WCHAR vs LPWSTR. Once I used AllocWideLString() vs AllocWideString() everything seemed to work ok. One question I have now is this - should I always use AllocWideLString() instead of casting like (LPCWSTR)STR2CSTR(rbVal); ? It would seem so, but I''m not sure. Also, I''ve committed the "ad...
2004 Jul 31
3
Bug in new_work_item
Hi all, Windows 2000 Ruby 1.8.2 R7 VC++ 6.0 I noticed that if I try to call new_work_item and give the task a name that already exists, I get a segfault: C:\eclipse\workspace\win32-taskscheduler>ruby test.rb "0.1.0" test.rb:22:in `new_work_item'': NewWorkItem() function failed (Win32::TaskSchedul erError) from test.rb:22 test.rb:22: [BUG] Segmentation fault ruby
2009 Jul 09
3
Re: Install LiveZilla In wine
...the below patch but the compile barfs: > > diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c > index 547b666..d19bff7 100644 > --- a/dlls/iphlpapi/iphlpapi_main.c > +++ b/dlls/iphlpapi/iphlpapi_main.c > @@ -434,6 +434,31 @@ DWORD WINAPI GetAdapterIndex(LPWSTR AdapterName, PULONG IfIndex) > > > /****************************************************************** > + * GetAdaptersAddresses (IPHLPAPI.@) > + * > + * Get addresses associated with adapters. > + * > + * PARAMS > + * Family [In] address family of the addresses > +...
2010 Jun 04
0
How I improved wininet for SSL through a proxy...
...servers. It still doesn't work if the server returns with a CONTINUE. But not all servers are using this. Thankfully the one server my app really depends on doesn't use CONTINUE, so this is a big step forward for me. Here it is (the original logic I'm enhancing is in blue): static LPWSTR HTTP_BuildHeaderRequestString( http_request_t *lpwhr, LPCWSTR verb, LPCWSTR path, LPCWSTR version ) { ... static const WCHAR szZero[] = { '0',0 }; static const WCHAR szConnect[] = {'C','O','N','N','E','C','T',0}...
2016 Jul 08
0
Wine release 1.9.14
...source with d3dx9_36. d3dx9_40: Share the source with d3dx9_36. d3dx9_41: Share the source with d3dx9_36. d3dx9_42: Share the source with d3dx9_36. d3dx9_43: Share the source with d3dx9_36. propsys: Add semi-stub for PropVariantToStringAlloc. propsys: Support VT_LPWSTR in PropVariantChangeType. inetcomm: Implement IMimeBody DeleteProp. inetcomm: Ignore option OID_CLEANUP_TREE_ON_SAVE. inetcomm: Return S_OK from IMimeMessgae Commit. inetcomm: Support LPSTR to LPWSTR conversion in GetProp. include: Complete IMimeAddressTable interface...
2009 Apr 01
19
Install LiveZilla In wine
http://www.ushost.com.br/wine/livezilla.jpg http://www.ushost.com.br/wine/error.txt Would you like to chat client livezilla run on linux and can not run in wine, because it is on. Net can someone help me? --> http://bugs.winehq.org/show_bug.cgi?id=14574 I tried to do what it says in this FAQ and also had no success. : /
2013 Sep 13
0
Wine release 1.7.2
...rpcrt4: Don't try to decode the authorization value in the first leg. Henri Verbeet (50): wined3d: Move the MAXLOCKCOUNT constant to surface.c. wined3d: Get rid of some leftover comments referring to the GL lock. wined3d: Avoid some forward declarations. d3dx9: Avoid LPWSTR. d3dx9: Avoid LPCSTR. wined3d: Get rid of some leftover references to IWineD3D. wined3d: Rename wined3d_fake_gl_ctx to wined3d_caps_gl_ctx. wined3d: Don't clamp texture lookups in the GLSL fixed function fragment pipe. d3dx9: Avoid LPSTR. d3dx9: Avoid LPCVOID...
2012 Mar 30
0
Wine release 1.5.1
...structions in writer. msxml3: Support ignorable whitespaces output in writer. comctl32: Use single notification message for setting all item state with LVM_SETITEMSTATE (LVS_OWNERDATA case only). Piotr Caban (17): shell32: Prepare QueryAssociations helper functions to work on non LPWSTR data. shell32: Handle ASSOCDATA_EDITFLAGS in IQueryAssociations:GetData function. msvcp90: Don't define separate structures for num_get<char> and num_get<wchar>. msvcp90: Use DEFINE_RTTI_DATA to define iosb RTTI base descriptor. msvcp90: Use DEFINE_RTTI_DATA...
2017 Mar 31
0
Wine release 2.5
...k-buffers in context_get_rt_size(). wined3d: Use draw_textured_quad() in swapchain_blit(). wined3d: Pass the destination location to blit_shader.blit_surface(). winex11: Use GLX_OML_sync_control to synchronise buffer swaps with X11DRV_FLUSH_GL_DRAWABLE requests. usp10: Avoid LPWSTR. usp10: Avoid LPCVOID. usp10: Avoid LPVOID. usp10: Introduce a helper function to lookup a script in the script cache. wined3d: Use blit_shader.blit_surface() in swapchain_blit(). wined3d: Get rid of the redundant context_acquire() call in swapchain_blit(). wined...
2012 Jun 15
0
Wine release 1.4.1
...ObjectInformationA. Petr Ko?andrle (1): po: Update Czech translation. Piotr Caban (13): msvcrt: Fixed printf behaviour on hexadecimal, zero-padded numbers. shlwapi: Lowercase schemes in UrlCombine function. shell32: Prepare QueryAssociations helper functions to work on non LPWSTR data. shell32: Handle ASSOCDATA_EDITFLAGS in IQueryAssociations:GetData function. ddraw: Improve GetScanLine stub so it's usable for timing related tasks. msvcrt: Fixed 'h' modifier handling when printing integers. msvcrt: Added more length modifiers in scanf fun...
2007 Jun 01
0
Wine release 0.9.38
...msi/tests: Add test for empty MsiGetProductInfo parameters not referencing default registry values. msi: Return appropriate values for empty MsiProductInfo parameters. msi: automation: Implement Installer::ProductInfo. msi/tests: automation: Change non-const LPCWSTR parameters to LPWSTR. msi/tests: automation: Check for NULL source string before calling lstrcpyW. msi: automation: Change all tabs to spaces to conform to msi formatting. msi: script: Change all tabs to spaces to conform to msi formatting. msi/tests: automation: Change SUCCEEDED(hr) to more spe...
2011 May 27
0
Wine release 1.3.21
...HTTP_ProcessCookies. wininet: Correctly handle closed socket in HTTP_ReceiveRequestData. wininet: Added connection closing tests. ntoskrnl.exe: Added ObReferenceObjectByHandle stub. urlmon: Avoid multiple InternetQueryDataAvailable calls in pending state. urlmon: Avoid LPWSTR to LPCWSTR cast. shdocvw: Use task destructors for releasing task params. shdocvw: Store task list in DocHost object instead of using LPARAM. shdocvw: Abort pending tasks on DocHost destruction. shdocvw: Abort pending navigation task when adding a new one. mshtml: Adde...
2008 Apr 14
10
wine asio
Does wine asio still work with the current version of WINE? I tried installing it per the instructions and it didn't want to make.
2010 May 07
0
Wine release 1.1.44
...ntdll: Implement IOCTL_SCSI_PASS_THROUGH(_DIRECT) on Mac OS. Damjan Jovanovic (10): winemenubuilder: Store menu paths in Unicode. wine.desktop: Add Serbian translation. winemenubuilder: Read the registry in the unix codepage when cleaning up menus. mshta: wWinMain takes LPWSTR not LPSTR. winemenubuilder: Use a unicode WinMain. winemenubuilder: Use only widechar functions when dealing with registered associations. wine.desktop: Add hr and sr at latin translations. winex11.drv: Use unicode filenames for WM_DROPFILES. winemenubuilder: Make desk...