I did notice that there are minor discrepencies between the winbase.h
and the fileextd.h definitions i.e. FILE_ID_DESCRIPTOR includes a union with
only one member and FILE_ID_TYPE is different. The consequence is that the
sizeof returns different results depending on which definition is used.
However, I have tried all combinations and Windows always give a a polite
"ERROR_INVALID_PARAMETER".
What I would really appreciate is a sample vc project with a working
OpenFileByid function call.
I have been compiling the sample on 2003 and XP with the same result.
Regards,
Barry