UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> RegQueryInfoKey    
CODE
Private Declare PtrSafe Function RegQueryInfoKey _
Lib "advapi32.dll" Alias "RegQueryInfoKeyA" ( _
 ByVal hCurKey As LongPtr, _
 ByVal lpClass As String, _
 lpcbClass As Long, _
 ByVal lpReserved As LongPtr, _
 lpcSubKeys As Long, _
 lpcbMaxSubKeyLen As Long, _
 lpcbMaxClassLen As Long, _
 lpcValues As Long, _
 lpcbMaxValueNameLen As Long, _
 lpcbMaxValueLen As Long, _
 lpcbSecurityDescriptor As Long, _
 ByVal lpftLastWriteTime As LongPtr _
) 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: RegQueryInfoKey
See other pages that uses RegQueryInfoKey

Edit Discussion
Custom Search
Thank you for your support!
This page has been accessed 2,014 times.  This page was last modified 07:13, 12 February 2012 by BananaRepublic.   Disclaimers