What's wrong in NdisOpenFile

Hi,All:
I want to Read File in the NDIS miniport,So I use NdisOpenFile in MiniportInitialize,but I find it doesn’t work,as shown in below:

NDIS_STATUS Status = NDIS_STATUS_FAILURE;
NDIS_PHYSICAL_ADDRESS HighestAcceptableAddress = NDIS_PHYSICAL_ADDRESS_CONST(-1, -1);
NDIS_STRING FileName = NDIS_STRING_CONST(“d:\ConfigSwitch.Dat”);
NDIS_HANDLE FileHandle = NULL;
PVOID lpMappedBuffer = NULL;
PVOID lpVirtualAddress = NULL;
UINT FileLength;

NdisOpenFile(&Status,
&FileHandle,
&FileLength,
FileName,
HighestAcceptableAddress);
if(Status != NDIS_STATUS_SUCCESS)
break;

the Status returned is NDIS_STATUS_FILE_NOT_FOUND,but I the path is right? Would someone give me some advice
Sincerely Thinks

b???.???????&?v?'?ׯj?.n?Qyȩf??]?:.?˛???m??֛???zf???%y?ޞ?^?˛??^r*Lzfެ?…???l??ܢ


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hello,

I remember a ndis driver 7 years ago. I have loaded the firmware for
a ISND card. Only when the firmware file was avail in
\winnt\system32\drivers and the file name was a pure file name without
any path and directory NdisOpenFile was successfully.

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com