关于API中的CreateFileA()
shier 2001-05-31 04:35:00 FUNCTION ulong CreateFileA(ref string lpFileName,ulong
dwDesiredAccess,ulong dwShareMode,ulong dwCreationDisposition,ulong
dwFlagsAndAttributes,ulong hTemplateFile) LIBRARY "kernel32.dll"
哪位用过这个函数,可否写个实例出来,里面的参数,我虽然看了说明,但是不知道该如何写。比如说dwDesiredAccess为ULONG,说明里指出可以是GENERIC_READ或者GENERIC_WRITE,还可以组合使用。但是这也不是ULONG呀,我不知道该怎么写了,直接写肯定报错