UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> RegCreateKeyEx    
CODE
Private Declare PtrSafe Function RegCreateKeyEx _
Lib "advapi32.dll" Alias "RegCreateKeyExA" ( _
  ByVal hKey As LongPtr, _
  ByVal lpSubKey As String, _
  ByVal Reserved As LongPtr, _
  ByVal lpClass As String, _
  ByVal dwOptions As Long, _
  ByVal samDesired As Long, _
  lpSecurityAttributes As SECURITY_ATTRIBUTES, _
  phkResult As LongPtr, _
  lpdwDisposition As Long _
) As Long

Dependencies

Security_Attribute Structure

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: RegCreateKeyEx
See other pages that uses RegCreateKeyEx

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