|
-
Apr 13th, 2001, 01:38 AM
#1
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 ?
-
Apr 13th, 2001, 08:17 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|