Windows error 0x000003F2, 1010

Detailed Error Information

BADKEY[1]

MessageThe configuration registry key is invalid.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x800703F2.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code1010 (0x03f2)

Questions

1vote
1answer

Why is the generated wrapper for property type selecting this interface?

When I ask Visual Studio to generate runtime callable wrappers for my COM components, it is selecting a strange type to wrap a certain interface property. This is a summarized type library for component A: // Generated .IDL file (by the OLE/COM Object Viewer) // // typelib filename: prodist.sts.dll [ [...] read more
.net
com
rcw
0votes
1answer

WINAPI: Windows Registry functions fail

I have a trouble writing some keys into registry: PHKEY key = NULL; HRESULT hResult = S_FALSE; hResult = RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("AppID"), 0, KEY_CREATE_SUB_KEY, key); and this fails with code 0x00000057 - The parameter is incorrect. hResult = RegCreateKeyEx(HKEY_CLASSES_ROOT, _T("new_key_name"), 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, key, NULL); this fails with code [...] read more
c++
winapi
registry

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0