Property OpenFlags of interface IAFS_File returns Value of LONG ...
HRESULT get_OpenFlags([out, retval] LONG* pOpenFlags);
See also IAFS_File.