Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FindMimeFromData
Message
From
29/05/2001 05:23:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
FindMimeFromData
Miscellaneous
Thread ID:
00512103
Message ID:
00512103
Views:
45
Hi,

I was looking for an API call to have the file type defined based on its contents.
I think the FindMimeFromData function does it all.

Now I have the problem of not knowing how to address this from within VFP.

I know I have to use the DECLARE, but then I'm stocked with the arguments and the types to pass on to the DLL.

Please, can anybody put a light on this??

Here is the function syntax.

HRESULT FindMimeFromData(
LPBC pBC,
LPCWSTR pwzUrl,
LPVOID pBuffer,
DWORD cbSize,
LPCWSTR pwzMimeProposed,
DWORD dwMimeFlags,
LPWSTR *ppwzMimeOut,
DWORD dwReserved
);


Thanks in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform