Did Anybody use API function CreateFile in VB ?
I have problem with SECURITY_ATTRIBUTES parameter. I don't know what send in this function instead of that structure.

fHandle = CreateFile( FileName, GENERIC_READ, FILE_SHARE_READ, ByVal CLng(0), OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0)

Like this don't work, return fHandle = -1
Please help with example.