Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegOpenKeyEx parameters
Message
From
14/06/2000 20:33:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
RegOpenKeyEx parameters
Miscellaneous
Thread ID:
00380521
Message ID:
00380521
Views:
64
I need to know how to get the starting handle number list for the Win32Api function RegOpenKeyEx. I am trying to look at HKEY_LOCAL_MACHINE ..... and need the first parameter. I have an example I am using from Nigel Cotes mapi component but I am attempting to adapt this part of it to detect the existance of a particular PDF printer.

RegOpenKeyEx(-2147483647, "Software\Microsoft\Windows Messaging Subsystem\Profiles", 0, 0, @lnHandle)

The first parameter above is a number and I don't know what this is or how to modify it for my use to get to

HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Print\Printers\DocuCom PDF Driver


Where do I find help on WIN32API for these parameters. I tried the API section but could not find anything (probably because I have not learned to use it properly yet).

Thanks in advance

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Next
Reply
Map
View

Click here to load this message in the networking platform