Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FindMimeFromData
Message
De
29/05/2001 05:23:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
FindMimeFromData
Divers
Thread ID:
00512103
Message ID:
00512103
Vues:
46
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform