You have to P/Invoke that call.
appropriate length. It seems to me that someone has wrapped this (in C#, no
VB.NET). Check with GoogleGroups for past mentions of it in this group:
"drumred" <drumred@discussions.microsoft.com> wrote in message
news:07334A02-162D-4756-9D05-D9C1E20C6772@microsoft.com...
> Help please... I'm a VB coder. How can this translate to a VB app?
> Thanks.
>
> BOOL FindNextFlashCard(
> HANDLE hFlashCard,
> LPWIN32_FIND_DATA lpFindFlashData
> );
>
> "jonfroehlich" wrote:
>
>> According to the Windows Mobile Team Blog, you _should_ use
>> FindFirstFlashCard (link:
>>
http://blogs.msdn.com/windowsmobile/archive/2006/07/26/678742.aspx).
>> I've used it successfully on a variety of HTC WM5 SmartPhone devices
>> (but it sounds like you should test it out for yourself).
>>
>> --
>>
http://csharponphone.blogspot.com/ >>
>> On Feb 6, 12:29 am, JamesFielding
>> <JamesField...@discussions.microsoft.com> wrote:
>> > Hi Chris,
>> >
>> > We've hit this problem ourselves a few times, and have simply
>> > given up relying on the FindFirstStorageCard() function.
>> >
>> > More often than not, it returns the name of the internal memory
>> > directory (eg "iPaq File Store") rather than the name of the
>> > Storage Card.
>> >
>> > We've yet to find a reliable way to determine the Storage Card
>> > name, which works across all makes & models of devices.
>> >
>> > James
>> >
www.pocketpcinstaller.com >> >
>> > "<ctacke/>" wrote:
>> > > I don't recall the key offhand, but it's in the registry.
>> > > FindFirstStorageCard also works for WM.
>> >
>> > > --
>> > > Chris Tacke
>> > > OpenNETCF Consulting
>> > > Managed Code in the Embedded World
>> > >
www.opennetcf.com >> > > --
>> >
>> > > "Peter Hartlén" <p...@data.se> wrote in message
>> > >news:uyNJowTRHHA.464@TK2MSFTNGP02.phx.gbl...
>> > > > Hi!
>> >
>> > > > How do you correctly determine the path to an inserted storage card
>> > > > in
>> > > > Windows Mobile CF using C#?
>> >
>> > > > Regards,
>> >
>> > > > Peter
>>
>>
>>