FindMimeFromDataFindMimeFromData*
*Contents  *Index  *Topic Contents
*Previous Topic: FindMediaTypeClass
*Next Topic: GetClassURL

FindMimeFromData

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

Determines the MIME type from the data provided.

pBC
Address of the bind context. Can be set to NULL.
pwzUrl
String value that contains the URL of the data. Can be set to NULL if pBuffer contains the data to be sniffed.
pBuffer
Address of the buffer containing the data to be sniffed. Can be set to NULL if pwzUrl contains a valid URL.
cbSize
Double-word value that contains the size of the buffer.
pwzMimeProposed
String value containing the proposed MIME type. Can be set to NULL.
dwMimeFlags
Not currently defined. Must be set to zero.
ppwzMimeOut
Address of a string value containing the suggested MIME type.
dwReserved
Reserved. Must be set to zero.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.