wine
18 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.

18 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.

18 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.

18 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

18 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.

18 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.

18 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.

18 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).

18 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).

18 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.

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

18 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.

18 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.

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

18 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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

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

18 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_.

18 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.

18 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.

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

18 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).

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

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

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

18 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.

18 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.

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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

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

18 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.

18 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

18 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

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

18 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.

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

18 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).

18 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.

18 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.

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

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

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

18 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.

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

18 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}.

18 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.

18 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.

18 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.

18 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]

18 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.

18 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).

18 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.

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

18 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.

18 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".

18 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.

18 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.

18 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.

18 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

18 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.

18 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.

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

18 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.

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

18 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

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

18 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.

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

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

18 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.

18 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.

18 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.

18 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.

18 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.

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

18 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.

18 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.

18 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

18 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.

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

18 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.

18 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.

18 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.