WM6.1-Storage manager function OpenStore fails but FindFirstStore
- From: curious1 <curious1@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 3 Oct 2008 18:01:01 -0700
Hello,
I am seeing a wierd problem with OpenStore() function.
If I use OpenStore(_T("DSK1:") it returns error 4319 everytime.
But If I use FindFirstStore --> FindNextStore ---> OpenStore(si.DeviceName),
it works perfectly.
==============================
STOREINFO si;
si.cbSize = sizeof(STOREINFO);
hStore = FindFirstStore(&si);
FindNextStore(hStore , &si);
hStore = OpenStore(si.szDeviceName);
============================
Do I need to initialize any structure etc ? What am I doing incorrect ?
Please help me figure out
thanks
.
- Follow-Ups:
- Re: WM6.1-Storage manager function OpenStore fails but FindFirstStore
- From: Michel Verhagen (eMVP)
- Re: WM6.1-Storage manager function OpenStore fails but FindFirstStore
- Prev by Date: RE: DRM on WinCE 6.0
- Next by Date: Re: WM6.1-Storage manager function OpenStore fails but FindFirstStore
- Previous by thread: Touch panel driver archetecture of wince 6.0
- Next by thread: Re: WM6.1-Storage manager function OpenStore fails but FindFirstStore
- Index(es):
Relevant Pages
|