I can't find on PInvoke.net the function RegOpenCurrentUser.
This is the link to MSDN page: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724894%28v=vs.85%29.aspx
Can you add it?
Moreover, does somebody know if there are some compatibility issues with this function? I can successfully use it on Windows 7, but it always returns me error on Windows XP Embedded SP3. Any thoughts?
EDIT: when I say "it always returns me error", I mean that it always returns as output an empty handle, and I obviously can't use it to retrieve a valid Registry Key.