I would like to use the function CeGetVolumeInfo. As mentioned in MSDN I have
linked Storeapi.lib. But this library does not contain the function
CeGetVolumeInfo (I have checked the Storeapi.lib with an HexEditor).

Why is CeGetVolumeInfo missing?

Regards Peter

Re: Where is CeGetVolumeInfo? by K

K
Mon Jan 31 05:13:53 CST 2005

Which version of Windows CE do you use??
This function is only abailable in 5.0 an later.

"Peter K." <PeterK@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:756B75BD-0244-47DE-90DC-E233D033869E@microsoft.com...
> I would like to use the function CeGetVolumeInfo. As mentioned in MSDN I
have
> linked Storeapi.lib. But this library does not contain the function
> CeGetVolumeInfo (I have checked the Storeapi.lib with an HexEditor).
>
> Why is CeGetVolumeInfo missing?
>
> Regards Peter



Re: Where is CeGetVolumeInfo? by PeterK

PeterK
Mon Jan 31 08:29:03 CST 2005

Sorry,

I am using Windows CE 5.0, CEPC

Regards Peter

Re: Where is CeGetVolumeInfo? by K

K
Mon Jan 31 22:19:46 CST 2005

I think this function is exported by coredll.dll, so if you link with the
coredll.lib should be enough.
BTW, do you include the filesys.exe in your OS image??

"Peter K." <PeterK@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:05DD66E1-17C7-4267-96B9-3E5E5A95609F@microsoft.com...
> Sorry,
>
> I am using Windows CE 5.0, CEPC
>
> Regards Peter



Re: Where is CeGetVolumeInfo? by PeterK

PeterK
Tue Feb 01 04:47:01 CST 2005

Got it ....

1) CeGetVolumeInfo is not included in Storeapi.lib. It is in coredll.lib.
2) I think the following lines in storemgr.h are not correct:

WINBASEAPI
BOOL
CeGetVolumeInfoW(
IN LPCWSTR pszRootPath,
IN CE_VOLUME_INFO_LEVEL InfoLevel,
OUT LPCE_VOLUME_INFO lpVolumeInfo
);

#define CeGetVolumeInfo CeGetVolumeInfoW

Because there is no wide character version of CeGetVolumeInfoW function in
coredll.lib. Only a CeGetVolumeInfo function is present

3) The extern "C" command is missing for CeGetVolumeInfo(W) in storemgr.h

Regards Peter