UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> RegQueryValueEx    
Private Declare PtrSafe Function RegQueryValueEx _
  Lib "advapi32.dll" Alias "RegQueryValueExA" _
  (ByVal hKey As LongPtr, _
   ByVal lpValueName As String, _
   ByVal lpReserved As Long, _
   lpType As Long, _
   ByVal lpData As String, _
   lpcbData As Long _
   ) As Long

NOTE: The code reflects a possible number(s) of declarations. Depending on your specific needs, you may want different syntax. For details on how to declare an API procedure, consult API article. For pre-VBA7 (pre-Access 2010) compatible syntax, there are several sites that already documents the same API in more details. ALLAPI at mentalis.org is one such resource.

MSDN Reference: RegQueryValueEx
See other pages that uses RegQueryValueEx

Edit Discussion
Custom Search

Thank you for your support!
This page has been accessed 4,308 times.  This page was last modified 14:22, 15 May 2011 by BananaRepublic. Contributions by Jack Leach  Disclaimers