wine
15 years agoadvapi32: Fix GetServiceDisplayNameW behavior to pass the tests.
Alexandre Julliard [Wed, 21 Jan 2009 22:35:35 +0000 (23:35 +0100)] 
advapi32: Fix GetServiceDisplayNameW behavior to pass the tests.

15 years agoadvapi32: Fix GetServiceKeyNameW behavior to pass the tests.
Alexandre Julliard [Wed, 21 Jan 2009 22:32:29 +0000 (23:32 +0100)] 
advapi32: Fix GetServiceKeyNameW behavior to pass the tests.

15 years agoadvapi32/tests: Add some more tests for GetServiceDisplayName.
Alexandre Julliard [Wed, 21 Jan 2009 22:31:12 +0000 (23:31 +0100)] 
advapi32/tests: Add some more tests for GetServiceDisplayName.

15 years agourlmon: Added a stub for HlinkSimpleNavigateToMoniker.
Nikolay Sivov [Tue, 20 Jan 2009 22:47:30 +0000 (01:47 +0300)] 
urlmon: Added a stub for HlinkSimpleNavigateToMoniker.

15 years agouser32/tests: Extended test about thick child windows.
Florian Köberle [Tue, 20 Jan 2009 12:52:34 +0000 (13:52 +0100)] 
user32/tests: Extended test about thick child windows.

15 years agouser32/tests: Fixed error message.
Florian Köberle [Tue, 20 Jan 2009 12:52:33 +0000 (13:52 +0100)] 
user32/tests: Fixed error message.

15 years agoregedit: Don't pass an ANSI string to vsprintfW.
Mikołaj Zalewski [Tue, 20 Jan 2009 21:45:41 +0000 (22:45 +0100)] 
regedit: Don't pass an ANSI string to vsprintfW.

15 years agoquartz/tests: Fix some test failures on Win95.
Paul Vriens [Wed, 21 Jan 2009 09:18:57 +0000 (10:18 +0100)] 
quartz/tests: Fix some test failures on Win95.

15 years agoiphplapi: Include sys/protosw.h for Net/OpenBSD.
Austin English [Tue, 20 Jan 2009 23:42:53 +0000 (17:42 -0600)] 
iphplapi: Include sys/protosw.h for Net/OpenBSD.

15 years agorpcrt4: Add a stub implementation of NdrGetUserMarshalInfo.
Hans Leidekker [Wed, 21 Jan 2009 11:18:04 +0000 (12:18 +0100)] 
rpcrt4: Add a stub implementation of NdrGetUserMarshalInfo.

15 years agoshell32/tests: Fix a test failure on some platforms.
Paul Vriens [Wed, 21 Jan 2009 11:03:44 +0000 (12:03 +0100)] 
shell32/tests: Fix a test failure on some platforms.

15 years agoaclui: Added stub dll.
Nikolay Sivov [Tue, 20 Jan 2009 17:02:51 +0000 (20:02 +0300)] 
aclui: Added stub dll.

15 years agocomdlg32: Move invocation of the Printer... dialog to a separate function.
Huw Davies [Wed, 21 Jan 2009 10:45:19 +0000 (10:45 +0000)] 
comdlg32: Move invocation of the Printer... dialog to a separate function.

15 years agocomdlg32: Use unicode APIs to react to the change printer combo.
Huw Davies [Wed, 21 Jan 2009 10:41:36 +0000 (10:41 +0000)] 
comdlg32: Use unicode APIs to react to the change printer combo.

15 years agocomdlg32: Use unicode APIs in pagesetup_update_papersize.
Huw Davies [Tue, 20 Jan 2009 12:06:46 +0000 (12:06 +0000)] 
comdlg32: Use unicode APIs in pagesetup_update_papersize.

15 years agocomdlg32: Use unicode APIs to access the paper combos.
Huw Davies [Tue, 20 Jan 2009 12:01:16 +0000 (12:01 +0000)] 
comdlg32: Use unicode APIs to access the paper combos.

15 years agocomdlg32: Initialize the paper comboboxes using unicode.
Huw Davies [Wed, 21 Jan 2009 10:30:26 +0000 (10:30 +0000)] 
comdlg32: Initialize the paper comboboxes using unicode.

15 years agocomdlg32: Initialize the printer combobox using unicode strings.
Huw Davies [Wed, 21 Jan 2009 10:28:00 +0000 (10:28 +0000)] 
comdlg32: Initialize the printer combobox using unicode strings.

15 years agocomdlg32: Rename PRINTDLG_PS_ChangePrinterA to better reflect its function.
Huw Davies [Tue, 20 Jan 2009 10:35:02 +0000 (10:35 +0000)] 
comdlg32: Rename PRINTDLG_PS_ChangePrinterA to better reflect its function.

15 years agomshtml: Implement IHTMLDocument5 createComment.
Alistair Leslie-Hughes [Fri, 16 Jan 2009 08:59:28 +0000 (19:59 +1100)] 
mshtml: Implement IHTMLDocument5 createComment.

15 years agouser32: Pass pConv to WDML_Global2DataHandle so that it can be correcly passed to...
Jeff Latimer [Tue, 20 Jan 2009 12:04:32 +0000 (23:04 +1100)] 
user32: Pass pConv to WDML_Global2DataHandle so that it can be correcly passed to DdeCreateDataHandle.

15 years agodinput: Test that upload, unacquire, acquire still permits updating uploaded effect.
Vincent Pelletier [Tue, 20 Jan 2009 22:57:20 +0000 (23:57 +0100)] 
dinput: Test that upload, unacquire, acquire still permits updating uploaded effect.

Kudos to Daniel Remenak for his help.

15 years agoshell32: Initial stub for SHGetImageList.
Aric Stewart [Tue, 20 Jan 2009 15:33:02 +0000 (09:33 -0600)] 
shell32: Initial stub for SHGetImageList.

15 years agorichedit: Implemented ITextServices TxGetText and TxSetText.
Dylan Smith [Tue, 20 Jan 2009 06:41:44 +0000 (01:41 -0500)] 
richedit: Implemented ITextServices TxGetText and TxSetText.

15 years agorichedit: Implemented ITextServices_TxSendMessage.
Dylan Smith [Tue, 20 Jan 2009 06:41:40 +0000 (01:41 -0500)] 
richedit: Implemented ITextServices_TxSendMessage.

15 years agorichedit: Prevented using NULL hwnd for certain operations.
Dylan Smith [Tue, 20 Jan 2009 06:41:36 +0000 (01:41 -0500)] 
richedit: Prevented using NULL hwnd for certain operations.

Certain operations will simply not be done for windowless richedit
controls, such as WM_PAINT which isn't done for windowless richedit
controls since ITextServices provides a TxDraw method.

15 years agorichedit: Used ITextHost methods to avoid using window handle directly.
Dylan Smith [Tue, 20 Jan 2009 06:41:32 +0000 (01:41 -0500)] 
richedit: Used ITextHost methods to avoid using window handle directly.

The methods in ITextHost are mostly thin wrappers around functions that
take a handle to a window as their first parameter.  This patch just
uses the wrapper functions provided by ITextHost instead of using the
functions that require a handle to a window that the editor might now
have (for windowless richedit controls).

15 years agorichedit: Implemented ITextHost for windowed richedit controls.
Dylan Smith [Tue, 20 Jan 2009 06:41:25 +0000 (01:41 -0500)] 
richedit: Implemented ITextHost for windowed richedit controls.

15 years agocrypt32: Add a localized name for the TrustedPublisher store.
Juan Lang [Tue, 20 Jan 2009 20:00:07 +0000 (12:00 -0800)] 
crypt32: Add a localized name for the TrustedPublisher store.

15 years agonetapi32: Remove unused define.
Juan Lang [Tue, 20 Jan 2009 20:00:31 +0000 (12:00 -0800)] 
netapi32: Remove unused define.

15 years agoddraw: Get rid of ICOM_VFIELD_MULTI_NAME and ICOM_VFIELD_OFFSET.
Henri Verbeet [Wed, 21 Jan 2009 08:56:14 +0000 (09:56 +0100)] 
ddraw: Get rid of ICOM_VFIELD_MULTI_NAME and ICOM_VFIELD_OFFSET.

15 years agoddraw: Get rid of ICOM_INTERFACE.
Henri Verbeet [Wed, 21 Jan 2009 08:56:13 +0000 (09:56 +0100)] 
ddraw: Get rid of ICOM_INTERFACE.

15 years agoddraw: Get rid of ICOM_INIT_INTERFACE.
Henri Verbeet [Wed, 21 Jan 2009 08:56:13 +0000 (09:56 +0100)] 
ddraw: Get rid of ICOM_INIT_INTERFACE.

15 years agoddraw: Get rid of ICOM_VFIELD_MULTI.
Henri Verbeet [Wed, 21 Jan 2009 08:56:13 +0000 (09:56 +0100)] 
ddraw: Get rid of ICOM_VFIELD_MULTI.

15 years agoddraw: Get rid of ICOM_VFIELD_MULTI_NAME2.
Henri Verbeet [Wed, 21 Jan 2009 08:56:12 +0000 (09:56 +0100)] 
ddraw: Get rid of ICOM_VFIELD_MULTI_NAME2.

15 years agowinenas.drv: Remove superfluous pointer casts.
Michael Stefaniuc [Wed, 21 Jan 2009 08:34:48 +0000 (09:34 +0100)] 
winenas.drv: Remove superfluous pointer casts.

15 years agoquartz/tests: Remove superfluous pointer casts.
Michael Stefaniuc [Wed, 21 Jan 2009 08:35:17 +0000 (09:35 +0100)] 
quartz/tests: Remove superfluous pointer casts.

15 years agocrypt32/tests: Remove superfluous pointer casts.
Michael Stefaniuc [Wed, 21 Jan 2009 08:34:36 +0000 (09:34 +0100)] 
crypt32/tests: Remove superfluous pointer casts.

15 years agocomcat: Remove superfluous pointer casts.
Michael Stefaniuc [Wed, 21 Jan 2009 08:34:14 +0000 (09:34 +0100)] 
comcat: Remove superfluous pointer casts.

15 years agoiphplapi: Reorder defines for NetBSD.
Austin English [Tue, 20 Jan 2009 20:10:32 +0000 (14:10 -0600)] 
iphplapi: Reorder defines for NetBSD.

15 years agorsaenh: Declare some functions static.
Andrew Talbot [Tue, 20 Jan 2009 22:33:24 +0000 (22:33 +0000)] 
rsaenh: Declare some functions static.

15 years agocomctl32: Fix callback in treeview.
André Hentschel [Tue, 20 Jan 2009 19:34:48 +0000 (20:34 +0100)] 
comctl32: Fix callback in treeview.

15 years agoshell32: Initial stub for SHCreateShellItem. It returns E_NOINTERFACE until shell32...
Aric Stewart [Tue, 20 Jan 2009 19:04:50 +0000 (13:04 -0600)] 
shell32: Initial stub for SHCreateShellItem. It returns E_NOINTERFACE until shell32 version 6.0 or later.

15 years agoshlwapi: Support the command file type association query.
Damjan Jovanovic [Tue, 20 Jan 2009 16:19:21 +0000 (18:19 +0200)] 
shlwapi: Support the command file type association query.

15 years agowined3d: Detect Radeon Xpress Series, report PCI ID of Radeon Xpress 200M.
Paul Chitescu [Tue, 20 Jan 2009 16:09:24 +0000 (18:09 +0200)] 
wined3d: Detect Radeon Xpress Series, report PCI ID of Radeon Xpress 200M.

15 years agouser32/tests: Prevent buffer overflow.
Ge van Geldorp [Tue, 20 Jan 2009 14:07:15 +0000 (15:07 +0100)] 
user32/tests: Prevent buffer overflow.

15 years agocrypt32/tests: Skip a few tests if needed.
Paul Vriens [Wed, 21 Jan 2009 07:19:57 +0000 (08:19 +0100)] 
crypt32/tests: Skip a few tests if needed.

15 years agowintrust/tests: Check file attributes set by CryptCATAdminAddCatalog.
Paul Vriens [Tue, 20 Jan 2009 17:18:13 +0000 (18:18 +0100)] 
wintrust/tests: Check file attributes set by CryptCATAdminAddCatalog.

15 years agowintrust/tests: Add some cdf parsing tests.
Paul Vriens [Tue, 20 Jan 2009 14:59:07 +0000 (15:59 +0100)] 
wintrust/tests: Add some cdf parsing tests.

15 years agowintrust: Add some cdf parsing definitions.
Paul Vriens [Tue, 20 Jan 2009 12:13:03 +0000 (13:13 +0100)] 
wintrust: Add some cdf parsing definitions.

15 years agowintrust: Set system attribute on the target catalog file in CryptCATAdminAddCatalog.
Hans Leidekker [Tue, 20 Jan 2009 16:12:09 +0000 (17:12 +0100)] 
wintrust: Set system attribute on the target catalog file in CryptCATAdminAddCatalog.

15 years agoupdspapi: Add a stub implementation of UpdSpSetDynamicStringA.
Hans Leidekker [Tue, 20 Jan 2009 13:23:11 +0000 (14:23 +0100)] 
updspapi: Add a stub implementation of UpdSpSetDynamicStringA.

15 years agowininet: Strip trailing slashes from filename in CreateUrlCacheEntryW.
Hans Leidekker [Tue, 20 Jan 2009 13:49:17 +0000 (14:49 +0100)] 
wininet: Strip trailing slashes from filename in CreateUrlCacheEntryW.

15 years agoadvapi32/tests: Add some more tests for GetServiceKeyName.
Alexandre Julliard [Tue, 20 Jan 2009 18:51:08 +0000 (19:51 +0100)] 
advapi32/tests: Add some more tests for GetServiceKeyName.

15 years agoadvapi32/tests: Improve error reporting in the service test. Don't check last error...
Alexandre Julliard [Tue, 20 Jan 2009 16:50:11 +0000 (17:50 +0100)] 
advapi32/tests: Improve error reporting in the service test. Don't check last error on success.

15 years agokernel32/nls: Use a codepage 950 encoding that round trips correctly for Unicode...
Alexandre Julliard [Tue, 20 Jan 2009 15:43:08 +0000 (16:43 +0100)] 
kernel32/nls: Use a codepage 950 encoding that round trips correctly for Unicode char 0x5341.

15 years agowrite: Add Swedish translation.
Anders Jonsson [Tue, 20 Jan 2009 10:36:37 +0000 (11:36 +0100)] 
write: Add Swedish translation.

15 years agowordpad: Add Swedish translation.
Anders Jonsson [Tue, 20 Jan 2009 10:35:17 +0000 (11:35 +0100)] 
wordpad: Add Swedish translation.

15 years agooleview: Remove superfluous pointer casts.
Michael Stefaniuc [Tue, 20 Jan 2009 10:21:34 +0000 (11:21 +0100)] 
oleview: Remove superfluous pointer casts.

15 years agomsi/tests: EstimatedSize is not set consistently between Windows Installer versions.
Ge van Geldorp [Tue, 20 Jan 2009 01:57:07 +0000 (02:57 +0100)] 
msi/tests: EstimatedSize is not set consistently between Windows Installer versions.

15 years agourlmon/tests: Fix protocol tests when proxy is configured.
Ge van Geldorp [Tue, 20 Jan 2009 01:56:46 +0000 (02:56 +0100)] 
urlmon/tests: Fix protocol tests when proxy is configured.

15 years agoconfigure: Set default libs if ***-config is missing.
Shunichi Fuji [Tue, 20 Jan 2009 06:24:46 +0000 (15:24 +0900)] 
configure: Set default libs if ***-config is missing.

15 years agowinmm/tests: Increase the timing tolerances some more.
Alexandre Julliard [Tue, 20 Jan 2009 13:02:12 +0000 (14:02 +0100)] 
winmm/tests: Increase the timing tolerances some more.

15 years agouser32/tests: Fix some more message test failures on Windows.
Alexandre Julliard [Tue, 20 Jan 2009 13:02:02 +0000 (14:02 +0100)] 
user32/tests: Fix some more message test failures on Windows.

15 years agodinput: Add effect gain support.
Vincent Pelletier [Sun, 18 Jan 2009 18:02:14 +0000 (19:02 +0100)] 
dinput: Add effect gain support.

15 years agowinejoystick.drv: Implement POV support.
Vincent Pelletier [Sat, 17 Jan 2009 11:54:07 +0000 (12:54 +0100)] 
winejoystick.drv: Implement POV support.

15 years agowinejoystick.drv: Use JSIOCGAXMAP ioctl to correct axes mapping.
Vincent Pelletier [Sat, 17 Jan 2009 11:35:05 +0000 (12:35 +0100)] 
winejoystick.drv: Use JSIOCGAXMAP ioctl to correct axes mapping.

15 years agowinejoystick.drv: Fix file descriptor leak.
Vincent Pelletier [Sat, 17 Jan 2009 11:31:39 +0000 (12:31 +0100)] 
winejoystick.drv: Fix file descriptor leak.

15 years agowined3d: Get rid of is_compiled in the pixel shader.
Stefan Dösinger [Fri, 16 Jan 2009 14:09:50 +0000 (15:09 +0100)] 
wined3d: Get rid of is_compiled in the pixel shader.

15 years agowined3d: Get rid of last_was_foggy_shader & friends.
Stefan Dösinger [Fri, 16 Jan 2009 14:09:18 +0000 (15:09 +0100)] 
wined3d: Get rid of last_was_foggy_shader & friends.

The fog settings do not depend on wether the shader writes to oFog or not,
instead they depend on the FOGVERTEXMODE and FOGTABLEMODE settings, and if a
vertex shader is bound at all.

It works the same way as with the fixed function, and having a vertex shader
is the same as using pretransformed vertices, just that the fog coord comes
from the shader instead of the specular color:

FOGTABLEMODE != NONE: The Z coord is used, oFog is ignored
FOGTABLEMODE == NONE, with VS: oFog is used
FOGTABLEMODE == NONE, no VS, XYZ: Z is used
FOGTABLEMODE == NONE, no VS, XYZRHW: diffuse color is used

15 years agowined3d: Don't single-allocate new gl shaders.
Stefan Dösinger [Mon, 19 Jan 2009 17:39:36 +0000 (18:39 +0100)] 
wined3d: Don't single-allocate new gl shaders.

15 years agocomdlg32: Add a function to update the orientation buttons.
Huw Davies [Mon, 19 Jan 2009 17:12:43 +0000 (17:12 +0000)] 
comdlg32: Add a function to update the orientation buttons.

15 years agocomdlg32: Add a helper for setting the defaultsource.
Huw Davies [Mon, 19 Jan 2009 16:57:24 +0000 (16:57 +0000)] 
comdlg32: Add a helper for setting the defaultsource.

15 years agocomdlg32: Add helpers for getting and setting the devmode papersize.
Huw Davies [Mon, 19 Jan 2009 16:38:43 +0000 (16:38 +0000)] 
comdlg32: Add helpers for getting and setting the devmode papersize.

15 years agocomdlg32: Add a helper for getting the orientation.
Huw Davies [Mon, 19 Jan 2009 15:52:09 +0000 (15:52 +0000)] 
comdlg32: Add a helper for getting the orientation.

15 years agocomdlg32: Add a helper for setting the orientation.
Huw Davies [Mon, 19 Jan 2009 15:40:02 +0000 (15:40 +0000)] 
comdlg32: Add a helper for setting the orientation.

15 years agocomdlg32: Let pagesetup_update_papersize take care of landscape mode.
Huw Davies [Mon, 19 Jan 2009 15:33:05 +0000 (15:33 +0000)] 
comdlg32: Let pagesetup_update_papersize take care of landscape mode.

15 years agocomdlg32: Switch to using a locale dependent decimal separator.
Huw Davies [Mon, 19 Jan 2009 14:28:43 +0000 (14:28 +0000)] 
comdlg32: Switch to using a locale dependent decimal separator.

15 years agocomdlg32: Fix parsing of the margin edit controls.
Huw Davies [Mon, 19 Jan 2009 14:11:20 +0000 (14:11 +0000)] 
comdlg32: Fix parsing of the margin edit controls.

15 years agocomdlg32: Give update_margin_edits the ability to update just one edit control if...
Huw Davies [Mon, 19 Jan 2009 12:50:51 +0000 (12:50 +0000)] 
comdlg32: Give update_margin_edits the ability to update just one edit control if required.

15 years agoole32/tests: Remove superfluous pointer casts.
Michael Stefaniuc [Tue, 20 Jan 2009 10:21:23 +0000 (11:21 +0100)] 
ole32/tests: Remove superfluous pointer casts.

15 years agoobjsel: Remove superfluous pointer casts.
Michael Stefaniuc [Tue, 20 Jan 2009 10:21:10 +0000 (11:21 +0100)] 
objsel: Remove superfluous pointer casts.

15 years agoddraw: Fix Thunk_IDirect3DDeviceImpl_2_GetCurrentViewport().
Henri Verbeet [Tue, 20 Jan 2009 09:00:20 +0000 (10:00 +0100)] 
ddraw: Fix Thunk_IDirect3DDeviceImpl_2_GetCurrentViewport().

15 years agoddraw: Compare the against the correct IID in IDirect3DExecuteBufferImpl_QueryInterfa...
Henri Verbeet [Tue, 20 Jan 2009 09:00:20 +0000 (10:00 +0100)] 
ddraw: Compare the against the correct IID in IDirect3DExecuteBufferImpl_QueryInterface().

15 years agod3d9: Remove some superfluous pointer casts.
Henri Verbeet [Tue, 20 Jan 2009 09:00:20 +0000 (10:00 +0100)] 
d3d9: Remove some superfluous pointer casts.

15 years agod3d10core: Remove a superfluous pointer cast.
Henri Verbeet [Tue, 20 Jan 2009 09:00:20 +0000 (10:00 +0100)] 
d3d10core: Remove a superfluous pointer cast.

15 years agowined3d: Remove some superfluous pointer casts.
Henri Verbeet [Tue, 20 Jan 2009 09:00:20 +0000 (10:00 +0100)] 
wined3d: Remove some superfluous pointer casts.

15 years agowineconsole: Make WINECON_SetHistory{Mode,Size}() static.
Francois Gouget [Tue, 20 Jan 2009 08:16:20 +0000 (09:16 +0100)] 
wineconsole: Make WINECON_SetHistory{Mode,Size}() static.

15 years agowineconsole: Make some functions static.
Francois Gouget [Tue, 20 Jan 2009 08:15:26 +0000 (09:15 +0100)] 
wineconsole: Make some functions static.

15 years agowineconsole: WCUSER_OptionDlgProc(): use the given configuration information.
Francois Gouget [Tue, 20 Jan 2009 08:15:15 +0000 (09:15 +0100)] 
wineconsole: WCUSER_OptionDlgProc(): use the given configuration information.

15 years agowinedbg: Make lexeme_alloc() static in debug.l.
Francois Gouget [Tue, 20 Jan 2009 08:13:55 +0000 (09:13 +0100)] 
winedbg: Make lexeme_alloc() static in debug.l.

15 years agowinedbg: Make some functions static.
Francois Gouget [Tue, 20 Jan 2009 08:13:23 +0000 (09:13 +0100)] 
winedbg: Make some functions static.

15 years agokernel32: Fix some bad left-over uses of value in the CPU detection code.
Francois Gouget [Tue, 20 Jan 2009 08:13:12 +0000 (09:13 +0100)] 
kernel32: Fix some bad left-over uses of value in the CPU detection code.

15 years agooleaut32: Fix OLEPicture rendering vector metafiles without setting up the source...
Erich Hoover [Tue, 20 Jan 2009 02:50:03 +0000 (19:50 -0700)] 
oleaut32: Fix OLEPicture rendering vector metafiles without setting up the source rectangle.

15 years agoshlwapi: Added Slovak translation.
Mario Kacmar [Sun, 16 Nov 2008 23:15:57 +0000 (00:15 +0100)] 
shlwapi: Added Slovak translation.

15 years agosetupapi: Added Slovak translation.
Mario Kacmar [Sun, 16 Nov 2008 23:10:31 +0000 (00:10 +0100)] 
setupapi: Added Slovak translation.

15 years agocomctl32: Added Slovak translation.
Mario Kacmar [Sun, 16 Nov 2008 23:04:09 +0000 (00:04 +0100)] 
comctl32: Added Slovak translation.

15 years agocomdlg32: Update Slovak translation.
Mario Kacmar [Sun, 16 Nov 2008 23:23:37 +0000 (00:23 +0100)] 
comdlg32: Update Slovak translation.

15 years agowidl: Fix a compiler warning.
Austin English [Mon, 19 Jan 2009 23:11:36 +0000 (17:11 -0600)] 
widl: Fix a compiler warning.

15 years agocomctl32: treeview: Add a test showing that a pszText of NULL is equivalent to LPSTR_...
Mikołaj Zalewski [Mon, 19 Jan 2009 21:29:45 +0000 (22:29 +0100)] 
comctl32: treeview: Add a test showing that a pszText of NULL is equivalent to LPSTR_CALLBACK.