Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ExtendedFileAPIs sample does not work

1 view
Skip to first unread message

Barry

unread,
Jul 6, 2009, 12:02:01 PM7/6/09
to

Hi,
I am having problems with the OpenFileByid API.
Even when compiling the SDK sample "ExtendedFileAPIs" the result is the
same, which is the API returning an ErrorCode 87.

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

0 new messages