Results 1 to 2 of 2

Thread: Help needed in regEnumKeyEx

  1. #1
    manishmenghani
    Guest
    hey Guys,

    I m getting an error while using this win Api in my VB pgm

    Public Declare Function RegEnumKeyEx Lib "advapi32.dll" Alias "RegEnumKeyExA" (ByVal hKey As Long, ByVal dwIndex As Long, ByVal lpName As String, lpcbName As Long, ByVal lpReserved As Long, ByVal lpClass As String, lpcbClass As Long, lpftLastWriteTime As FILETIME) As Long

    iits giving me error in its FILETIME data type . saying
    "User defined type not declared "

    any idea why this happening ?

  2. #2
    Matthew Gates
    Guest
    You are missing the FILETIME Structure Type.


    Code:
    Type FILETIME 
        dwLowDateTime As Long 
        dwHighDateTime As Long 
    End Type

    And take a look at this link for any help on the RegEnumKeyEx API function.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width