Click here to Skip to main content
12,890,970 members (56,474 online)
Click here to Skip to main content

Tagged as


Posted 18 Sep 2012

RegOpenKeyEx Returning Error Code 87 aka INVALID_PARAMETER

, 24 Sep 2012 CPOL
Hi All,I have written a code to recursively delete the registry keys from HKLM and HKCR. While deleting the HKLM keys pose no problem but HKCR keys exit with the error code 87 i.e., INVALID_PARAMETER.Any idea on what's going on?My Code Snippet::hKey = Predefined Root Key, lpszSub =...



Compare Revision Minor Date Status Editor
5 - publicly available No 24-Sep-12 23:53 Available Abhineet Ayan Verma
Updates in content. 5 changes had been made.
4 No 24-Sep-12 0:32 Available Abhineet Ayan Verma
Updated Code
3 No 20-Sep-12 3:57 Available Abhineet Ayan Verma
Updates in content. 98 changes had been made.
2 No 20-Sep-12 3:20 Available Abhineet Ayan Verma
1 No 18-Sep-12 4:05 Available Abhineet Ayan Verma


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Abhineet Ayan Verma
Software Developer
India India
An enthusiastic coder and an absolute movie lover.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 25 Sep 2012
Article Copyright 2012 by Abhineet Ayan Verma
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid