wine
19 years agoConvert MsiEnumComponentQualifiers to use msi_strcpy_to_awstring.
Mike McCormack [Tue, 15 Nov 2005 18:12:21 +0000 (18:12 +0000)] 
Convert MsiEnumComponentQualifiers to use msi_strcpy_to_awstring.

19 years agoFixed Unicode buffer size bug in CreateUrlCacheEntryW.
Alexandre Julliard [Tue, 15 Nov 2005 16:56:04 +0000 (16:56 +0000)] 
Fixed Unicode buffer size bug in CreateUrlCacheEntryW.

19 years agoFix function prototype and spec file entry for
Mike McCormack [Tue, 15 Nov 2005 16:55:04 +0000 (16:55 +0000)] 
Fix function prototype and spec file entry for
MsiEnumComponentQualifiers.

19 years agoImplement implement header callback support (HDN_GETDISPINFO notification):
Raphael Junqueira [Tue, 15 Nov 2005 16:54:41 +0000 (16:54 +0000)] 
Implement implement header callback support (HDN_GETDISPINFO notification):
- better factorisation
- unicode fixes

19 years agoDon't crash if BindToStorage fails.
Alexandre Julliard [Tue, 15 Nov 2005 16:54:13 +0000 (16:54 +0000)] 
Don't crash if BindToStorage fails.

19 years agoOnly return ERROR_MORE_DATA if there's a buffer to copy a result
Mike McCormack [Tue, 15 Nov 2005 16:53:47 +0000 (16:53 +0000)] 
Only return ERROR_MORE_DATA if there's a buffer to copy a result
into.

19 years agoDo not change focus if the being activated window is no longer
Dmitry Timoshkov [Tue, 15 Nov 2005 16:53:26 +0000 (16:53 +0000)] 
Do not change focus if the being activated window is no longer
active.

19 years agoMade test loadable on NT 3.51 again (GetDiskFreeSpaceExA not present).
Detlef Riekenberg [Tue, 15 Nov 2005 16:53:09 +0000 (16:53 +0000)] 
Made test loadable on NT 3.51 again (GetDiskFreeSpaceExA not present).

19 years agoSome extra tests for GetPrinterDriverDirectory.
Detlef Riekenberg [Tue, 15 Nov 2005 16:51:45 +0000 (16:51 +0000)] 
Some extra tests for GetPrinterDriverDirectory.
Display a TRACE when the Service "spooler" is not running (NT).

19 years agoDisable PARMRK input flag of serial ports.
Cihan Altinay [Tue, 15 Nov 2005 16:51:28 +0000 (16:51 +0000)] 
Disable PARMRK input flag of serial ports.

19 years agoUpdate Korean translations.
YunSong Hwang [Tue, 15 Nov 2005 12:06:12 +0000 (12:06 +0000)] 
Update Korean translations.

19 years agoUse proper asm name for external functions.
Alexandre Julliard [Tue, 15 Nov 2005 12:05:45 +0000 (12:05 +0000)] 
Use proper asm name for external functions.

19 years agoAdd a test for RtlAllocateAndInitializeSid, make it pass under Wine.
Dmitry Timoshkov [Tue, 15 Nov 2005 12:03:46 +0000 (12:03 +0000)] 
Add a test for RtlAllocateAndInitializeSid, make it pass under Wine.

19 years agoBeginning implementation of Navigate2.
Jacek Caban [Tue, 15 Nov 2005 12:03:25 +0000 (12:03 +0000)] 
Beginning implementation of Navigate2.

19 years ago- defined D3DCOLOR_B macros to access byte values of D3DCOLOR
Raphael Junqueira [Tue, 15 Nov 2005 12:03:13 +0000 (12:03 +0000)] 
- defined D3DCOLOR_B macros to access byte values of D3DCOLOR
- use D3DCOLOR macros instead of using shift + masks
- fix a bug where diffuse.lpData checked instead of specular.lpData
- implement color fixup on ARB VShader compilation code:
 -> on input parameters using swizzle
 -> add is_color parameter on vshader_program_add_param

19 years agoAdd stubs around ScriptStringAnalyse to avoid PAF crash.
Raphael Junqueira [Tue, 15 Nov 2005 12:02:16 +0000 (12:02 +0000)] 
Add stubs around ScriptStringAnalyse to avoid PAF crash.

19 years agoINTERNET_STATUS_HANDLE_CREATED notifications just send the handle, not
Robert Shearman [Tue, 15 Nov 2005 12:01:59 +0000 (12:01 +0000)] 
INTERNET_STATUS_HANDLE_CREATED notifications just send the handle, not
an INTERNET_ASYNC_RESULT structure.
The source handle in HTTP_Connect should be the parent's handle.

19 years agoSSL doesn't need to use a different socket to unsecure communications.
Robert Shearman [Tue, 15 Nov 2005 12:01:40 +0000 (12:01 +0000)] 
SSL doesn't need to use a different socket to unsecure communications.

19 years agoCorrected last error information.
Paul Vriens [Tue, 15 Nov 2005 12:00:41 +0000 (12:00 +0000)] 
Corrected last error information.
Make sure we can run the tests on win9x.

19 years agoSet the Installed property if the product is already installed.
Mike McCormack [Tue, 15 Nov 2005 12:00:13 +0000 (12:00 +0000)] 
Set the Installed property if the product is already installed.

19 years agoAdded support for the QS_ALLPOSTMESSAGE flag.
Alexandre Julliard [Mon, 14 Nov 2005 15:17:09 +0000 (15:17 +0000)] 
Added support for the QS_ALLPOSTMESSAGE flag.

19 years agoBeginning of true BindToStorage implementation.
Jacek Caban [Mon, 14 Nov 2005 15:12:43 +0000 (15:12 +0000)] 
Beginning of true BindToStorage implementation.

19 years agoPrefix [putref] property names with putref_.
Huw Davies [Mon, 14 Nov 2005 15:12:24 +0000 (15:12 +0000)] 
Prefix [putref] property names with putref_.

19 years agoFix SysparametersInfoA( SPI_SETICONMETRICS), the A<->W conversion was
Rein Klazes [Mon, 14 Nov 2005 15:12:14 +0000 (15:12 +0000)] 
Fix SysparametersInfoA( SPI_SETICONMETRICS), the A<->W conversion was
rather broken.
Make the SPI_{G|S}ETICONMETRICS functions more consistent with those
for SPI_ICON{HORIZONTAL|VERTICAL}SPACING, SPI_{G|S}ICONTITLEWRAP and
SPI_{G|S}ICONTITLELOGFONT.
Accordingly extend the corresponding tests.

19 years agoUndname: Allow more then one coded character in demangle_datatype.
Uwe Bonnes [Mon, 14 Nov 2005 15:11:39 +0000 (15:11 +0000)] 
Undname: Allow more then one coded character in demangle_datatype.

19 years agoAdd default version information.
Vitaliy Margolen [Mon, 14 Nov 2005 15:11:26 +0000 (15:11 +0000)] 
Add default version information.

19 years agoNtReadFile: now returning correct status in NtReadFile for EOF
Eric Pouech [Mon, 14 Nov 2005 15:11:11 +0000 (15:11 +0000)] 
NtReadFile: now returning correct status in NtReadFile for EOF
conditions (on files) and broken pipe (on named pipes).

19 years agoWhen creating DIBs with a color depth <= 8, always set biClrUsed field
Peter Beutner [Mon, 14 Nov 2005 15:10:23 +0000 (15:10 +0000)] 
When creating DIBs with a color depth <= 8, always set biClrUsed field
to the number of entries in the color table.

19 years agoEmpty strings are not equal to any number, so all comparisons against
Mike McCormack [Mon, 14 Nov 2005 12:29:10 +0000 (12:29 +0000)] 
Empty strings are not equal to any number, so all comparisons against
them fail except for tests for non-equalness.

19 years agoFix an intermittent lockup with ATI's driver, I expect the problem is
Oliver Stieber [Mon, 14 Nov 2005 12:28:59 +0000 (12:28 +0000)] 
Fix an intermittent lockup with ATI's driver, I expect the problem is
trying to clear the display before it's visible. Also correct the
clear alpha value.

19 years agoAdded get_protocol_iface internal function and use it in
Jacek Caban [Mon, 14 Nov 2005 12:28:18 +0000 (12:28 +0000)] 
Added get_protocol_iface internal function and use it in
get_protocol_info.

19 years agoUse the front buffer palette for DC operations on off-screen buffers.
Lionel Ulmer [Mon, 14 Nov 2005 12:27:55 +0000 (12:27 +0000)] 
Use the front buffer palette for DC operations on off-screen buffers.

19 years agoGet the version and language ID of ADVPACK.DLL too.
Saulius Krasuckas [Mon, 14 Nov 2005 12:27:39 +0000 (12:27 +0000)] 
Get the version and language ID of ADVPACK.DLL too.

19 years agoFix the default value for keylow in DIB_DirectDrawSurface_Blt.
H. Verbeet [Mon, 14 Nov 2005 12:27:31 +0000 (12:27 +0000)] 
Fix the default value for keylow in DIB_DirectDrawSurface_Blt.
Unset DDBLT_DDFX when lpbltfx is NULL / contains no dwDDFX.

19 years agoAdd Korean translations.
YunSong Hwang [Mon, 14 Nov 2005 11:27:36 +0000 (11:27 +0000)] 
Add Korean translations.

19 years agoAdd, reformat API documentation.
Markus Amsler [Mon, 14 Nov 2005 11:24:37 +0000 (11:24 +0000)] 
Add, reformat API documentation.

19 years agoFix comparison of empty properties to numbers and add test cases.
Mike McCormack [Mon, 14 Nov 2005 11:24:14 +0000 (11:24 +0000)] 
Fix comparison of empty properties to numbers and add test cases.

19 years agoFix message tests to run cleanly on Windows XP SP1.
Dmitry Timoshkov [Mon, 14 Nov 2005 11:24:06 +0000 (11:24 +0000)] 
Fix message tests to run cleanly on Windows XP SP1.

19 years agoUnicode compile fix.
Edgar Hucek [Mon, 14 Nov 2005 11:23:34 +0000 (11:23 +0000)] 
Unicode compile fix.

19 years agoFix set_test_val function declaration to ensure stack is left
Eric Pouech [Mon, 14 Nov 2005 11:23:11 +0000 (11:23 +0000)] 
Fix set_test_val function declaration to ensure stack is left
untouched.

19 years agoFix a test for InternetCreateUrlA as no Windows platform sets last
Saulius Krasuckas [Mon, 14 Nov 2005 11:23:02 +0000 (11:23 +0000)] 
Fix a test for InternetCreateUrlA as no Windows platform sets last
error here. Make InternetCreateUrlA pass the test.

19 years agoDon't call missing API function.
Saulius Krasuckas [Mon, 14 Nov 2005 11:22:34 +0000 (11:22 +0000)] 
Don't call missing API function.

19 years agoAdd DDBLT_DONOTWAIT flag.
Christian Costa [Mon, 14 Nov 2005 11:22:20 +0000 (11:22 +0000)] 
Add DDBLT_DONOTWAIT flag.
Separate DDBLT_WAIT and DDBLT_ASYNC fixme in Blt method.

19 years agoMove BindToStorage hack to the separated function.
Jacek Caban [Mon, 14 Nov 2005 11:22:01 +0000 (11:22 +0000)] 
Move BindToStorage hack to the separated function.

19 years agoRemove the setting of the result pointer to NULL in creates, tests
Oliver Stieber [Mon, 14 Nov 2005 11:21:46 +0000 (11:21 +0000)] 
Remove the setting of the result pointer to NULL in creates, tests
show that windows doesn't set the result to NULL on error.

19 years agoInit wShowWindow in RTL_USER_PARAMETERS for Wine processes started
Eric Pouech [Mon, 14 Nov 2005 11:21:13 +0000 (11:21 +0000)] 
Init wShowWindow in RTL_USER_PARAMETERS for Wine processes started
from the command-line.

19 years agoAdded extern "C".
Peter Lemenkov [Mon, 14 Nov 2005 11:20:30 +0000 (11:20 +0000)] 
Added extern "C".

19 years agoReformat "see" section, to match c2man requirements.
Markus Amsler [Mon, 14 Nov 2005 11:20:10 +0000 (11:20 +0000)] 
Reformat "see" section, to match c2man requirements.

19 years agoImprove c2man Documented-Total count. Changes:
Markus Amsler [Sat, 12 Nov 2005 19:12:25 +0000 (19:12 +0000)] 
Improve c2man Documented-Total count. Changes:
- add missing description
- complete missing A/W pairs
- document remaining comdlg32 functions

19 years agoImprove c2man Documented-Total count. Changes:
Markus Amsler [Sat, 12 Nov 2005 19:12:03 +0000 (19:12 +0000)] 
Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section

19 years agoAdd shdocvw tests to winetest.
Stefan Leichter [Sat, 12 Nov 2005 19:11:27 +0000 (19:11 +0000)] 
Add shdocvw tests to winetest.

19 years agoImplement CLSCTX_INPROC_HANDLER in CoGetClassObject similar to
Robert Shearman [Sat, 12 Nov 2005 19:11:21 +0000 (19:11 +0000)] 
Implement CLSCTX_INPROC_HANDLER in CoGetClassObject similar to
CLSCTX_INPROC_SERVER by looking at the InprocHandler32 registry key
instead of InprocServer32.

19 years agoAdd some extra error information.
Paul Vriens [Sat, 12 Nov 2005 19:11:05 +0000 (19:11 +0000)] 
Add some extra error information.

19 years agoImplement InternetReadFileExA (based on a patch by Brian Gerst).
Robert Shearman [Sat, 12 Nov 2005 19:10:56 +0000 (19:10 +0000)] 
Implement InternetReadFileExA (based on a patch by Brian Gerst).

19 years agoAdd additional sanity checks to the linux input system dinput joystick
Daniel Remenak [Sat, 12 Nov 2005 19:10:38 +0000 (19:10 +0000)] 
Add additional sanity checks to the linux input system dinput joystick
implementation.

19 years agoRemoved a couple of shift/reduce warnings in grammar.
Eric Pouech [Sat, 12 Nov 2005 19:10:24 +0000 (19:10 +0000)] 
Removed a couple of shift/reduce warnings in grammar.

19 years agoUpdate Dutch resources.
Rein Klazes [Sat, 12 Nov 2005 19:10:07 +0000 (19:10 +0000)] 
Update Dutch resources.

19 years agoAdded IViewObject2 stub implementation.
Jacek Caban [Sat, 12 Nov 2005 19:09:46 +0000 (19:09 +0000)] 
Added IViewObject2 stub implementation.

19 years agoAdded some tests for VerFindFileA.
Stefan Leichter [Sat, 12 Nov 2005 19:09:18 +0000 (19:09 +0000)] 
Added some tests for VerFindFileA.

19 years agoprefix can be NULL for GetTempFileNameW.
Phil Lodwick [Sat, 12 Nov 2005 19:09:06 +0000 (19:09 +0000)] 
prefix can be NULL for GetTempFileNameW.

19 years agoAdd Korean translations.
YunSong Hwang [Fri, 11 Nov 2005 10:55:09 +0000 (10:55 +0000)] 
Add Korean translations.

19 years agoCorrect argument count for URLDownloadToCacheFile{A,W}.
Vincent Béron [Fri, 11 Nov 2005 10:54:26 +0000 (10:54 +0000)] 
Correct argument count for URLDownloadToCacheFile{A,W}.

19 years agoUnconditionally fall back to ANSI DDE APIs in ShellExecute if current
Dmitry Timoshkov [Fri, 11 Nov 2005 10:54:07 +0000 (10:54 +0000)] 
Unconditionally fall back to ANSI DDE APIs in ShellExecute if current
emulated Windows version is Win9x, Excel refuses to communicate with a
unicode client in win9x mode.

19 years agoConvert some ERRs to WARNs in the DDE client code when appropriate.
Dmitry Timoshkov [Fri, 11 Nov 2005 10:53:44 +0000 (10:53 +0000)] 
Convert some ERRs to WARNs in the DDE client code when appropriate.

19 years agoProtect sys/stat.h with a conditional.
Vincent Béron [Fri, 11 Nov 2005 10:53:30 +0000 (10:53 +0000)] 
Protect sys/stat.h with a conditional.

19 years agoPartly implement MsiMessageBox[A/W] on top of MessageBoxEx[A/W]
Steven Edwards [Fri, 11 Nov 2005 10:52:53 +0000 (10:52 +0000)] 
Partly implement MsiMessageBox[A/W] on top of MessageBoxEx[A/W]

19 years agoMoved and adopted joystick_linux.c code into the
Christoph Frick [Fri, 11 Nov 2005 10:52:27 +0000 (10:52 +0000)] 
Moved and adopted joystick_linux.c code into the
joystick_linuxinput.c.

19 years agoAdd GLXFBConfig on Wine_GLContext (we should remove XVisualInfo
Raphael Junqueira [Fri, 11 Nov 2005 10:52:14 +0000 (10:52 +0000)] 
Add GLXFBConfig on Wine_GLContext (we should remove XVisualInfo
references on code).
Hook glGetIntegerv on GL_ALPHA_BITS to query on GLXFBConfig instead of
glGetInteger (as it returns bad value).

19 years agoRemove spaces before '\n' in traces.
Francois Gouget [Thu, 10 Nov 2005 12:14:56 +0000 (12:14 +0000)] 
Remove spaces before '\n' in traces.

19 years agoAssorted spelling and case fixes.
Francois Gouget [Thu, 10 Nov 2005 11:39:07 +0000 (11:39 +0000)] 
Assorted spelling and case fixes.

19 years agoWinME fixes:
Saulius Krasuckas [Thu, 10 Nov 2005 11:37:03 +0000 (11:37 +0000)] 
WinME fixes:
- don't fail on WriteFile(),
- add valid error codes,
- empty buffer to avoid printing garbage,
- remove bogus inf-file which TranslateInfString() creates here.

19 years agoMake parameter higlighting regex less "hungry".
Markus Amsler [Thu, 10 Nov 2005 11:36:44 +0000 (11:36 +0000)] 
Make parameter higlighting regex less "hungry".

19 years agoParse the command line returned by CommandLineFromMsiDescriptor() to
Francois Gouget [Thu, 10 Nov 2005 11:36:26 +0000 (11:36 +0000)] 
Parse the command line returned by CommandLineFromMsiDescriptor() to
extract the application path. Otherwise winemenubuilder ignores the
.lnk file entirely.

19 years agoAdd trailing '\n's to ok() and TRACE() calls.
Francois Gouget [Thu, 10 Nov 2005 11:17:38 +0000 (11:17 +0000)] 
Add trailing '\n's to ok() and TRACE() calls.

19 years agoAdd error code valid for Win9x and XP.
Saulius Krasuckas [Thu, 10 Nov 2005 11:16:20 +0000 (11:16 +0000)] 
Add error code valid for Win9x and XP.

19 years agoImprove c2man Documented-Total count. Changes:
Markus Amsler [Thu, 10 Nov 2005 11:15:22 +0000 (11:15 +0000)] 
Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements

19 years agoAssorted spelling fixes in the DXErr8/9 error files.
Francois Gouget [Thu, 10 Nov 2005 11:12:59 +0000 (11:12 +0000)] 
Assorted spelling fixes in the DXErr8/9 error files.

19 years agoRemove extra backslash that was causing an awk warning.
Francois Gouget [Thu, 10 Nov 2005 11:07:20 +0000 (11:07 +0000)] 
Remove extra backslash that was causing an awk warning.

19 years agoAdded Korean resources.
Mike McCormack [Thu, 10 Nov 2005 11:06:34 +0000 (11:06 +0000)] 
Added Korean resources.

19 years agoRemove the limit on the length of the command line.
Mike McCormack [Thu, 10 Nov 2005 11:06:15 +0000 (11:06 +0000)] 
Remove the limit on the length of the command line.

19 years agoUse MsiDecomposeDescriptorW in MsiProvideQualifiedComponentExW.
Aric Stewart [Thu, 10 Nov 2005 11:06:04 +0000 (11:06 +0000)] 
Use MsiDecomposeDescriptorW in MsiProvideQualifiedComponentExW.

19 years agoImprove c2man Documented-Total count. Changes:
Markus Amsler [Thu, 10 Nov 2005 11:05:45 +0000 (11:05 +0000)] 
Improve c2man Documented-Total count. Changes:
- add missing returns section

19 years agoAdded support for SHADEBLENDCAPS.
Raphael Junqueira [Thu, 10 Nov 2005 11:05:30 +0000 (11:05 +0000)] 
Added support for SHADEBLENDCAPS.

19 years agoDefine GL_EXT_framebuffer_object and GL_EXT_pixelbuffer_object openGL
Raphael Junqueira [Thu, 10 Nov 2005 11:04:59 +0000 (11:04 +0000)] 
Define GL_EXT_framebuffer_object and GL_EXT_pixelbuffer_object openGL
specs.
Support Mesa GL_VERSION on parse.

19 years agoAdded URLDownloadToCacheFile[AW] stub.
Jacek Caban [Thu, 10 Nov 2005 11:04:21 +0000 (11:04 +0000)] 
Added URLDownloadToCacheFile[AW] stub.

19 years agoUpdate wininet version info.
Mike Hearn [Thu, 10 Nov 2005 11:03:51 +0000 (11:03 +0000)] 
Update wininet version info.

19 years agoRelease 0.9.1. wine-0.9.1
Alexandre Julliard [Wed, 9 Nov 2005 13:41:27 +0000 (13:41 +0000)] 
Release 0.9.1.

19 years agoEscape non-printable characters in the document title and also
Huw Davies [Wed, 9 Nov 2005 12:55:18 +0000 (12:55 +0000)] 
Escape non-printable characters in the document title and also
truncate it to 0x80 characters.

19 years agoInitialize COM prior to displaying the file dialog.
Michael Jung [Wed, 9 Nov 2005 12:55:01 +0000 (12:55 +0000)] 
Initialize COM prior to displaying the file dialog.

19 years agoFix passing of NULL pointers to MsiDecomposeDescriptor and add a
Mike McCormack [Wed, 9 Nov 2005 10:59:20 +0000 (10:59 +0000)] 
Fix passing of NULL pointers to MsiDecomposeDescriptor and add a
test.

19 years agoMake sure we only CoUninitialize after successfully initializing.
Mike McCormack [Wed, 9 Nov 2005 10:58:24 +0000 (10:58 +0000)] 
Make sure we only CoUninitialize after successfully initializing.
Fix the address of the returned IShellLinkDataList interface.

19 years agoAdded IInternetPriority implementation to FileProtocol.
Jacek Caban [Wed, 9 Nov 2005 10:58:02 +0000 (10:58 +0000)] 
Added IInternetPriority implementation to FileProtocol.

19 years agoIf a color bitmap is provided, store bitmap information from it
Christian Costa [Wed, 9 Nov 2005 10:57:57 +0000 (10:57 +0000)] 
If a color bitmap is provided, store bitmap information from it
instead of the mask bitmap one.

19 years agoDon't call SetWindowPos in ShowWindow if a parent window is not
Alexandre Julliard [Wed, 9 Nov 2005 10:35:48 +0000 (10:35 +0000)] 
Don't call SetWindowPos in ShowWindow if a parent window is not
visible, only toggle the WS_VISIBLE flag.

19 years agoImprove c2man Documented-Total count. Changes:
Markus Amsler [Wed, 9 Nov 2005 10:33:40 +0000 (10:33 +0000)] 
Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements

19 years ago- Cleanup formating of DispCallFunc.
Robert Shearman [Wed, 9 Nov 2005 10:31:20 +0000 (10:31 +0000)] 
- Cleanup formating of DispCallFunc.
- Fix DispCallFunc for functions with return values.
- Don't rely on _copy_arg as it is going away soon.

19 years agoImprove c2man Documented-Total count.
Markus Amsler [Wed, 9 Nov 2005 10:30:57 +0000 (10:30 +0000)] 
Improve c2man Documented-Total count.

19 years agoInitialize COM prior to displaying the SHBrowseForFolder dialog.
Michael Jung [Wed, 9 Nov 2005 10:30:28 +0000 (10:30 +0000)] 
Initialize COM prior to displaying the SHBrowseForFolder dialog.

19 years agoDisable code that segfaults on Win98 SE.
Saulius Krasuckas [Wed, 9 Nov 2005 10:30:15 +0000 (10:30 +0000)] 
Disable code that segfaults on Win98 SE.

19 years ago- Extend COM_OpenKeyForCLSID to open a subkey and return an HRESULT.
Robert Shearman [Wed, 9 Nov 2005 10:29:11 +0000 (10:29 +0000)] 
- Extend COM_OpenKeyForCLSID to open a subkey and return an HRESULT.
- Fix up the callers and reorganize CoGetClassObject to split out the
  inproc code into another function.