urlmon: Add a stub for GetClassFileOrMime.
This commit is contained in:
parent
cfeaa3e682
commit
a3ad394f9c
|
@ -38,7 +38,7 @@
|
|||
@ stub FindMediaType
|
||||
@ stub FindMediaTypeClass
|
||||
@ stdcall FindMimeFromData(long ptr ptr long ptr long ptr long)
|
||||
@ stub GetClassFileOrMime
|
||||
@ stdcall GetClassFileOrMime(ptr wstr ptr long wstr long ptr)
|
||||
@ stub GetClassURL
|
||||
@ stub GetComponentIDFromCLSSPEC
|
||||
@ stub GetMarkOfTheWeb
|
||||
|
|
|
@ -408,11 +408,7 @@ void WINAPI ReleaseBindInfo(BINDINFO* pbindinfo)
|
|||
pbindinfo->cbSize = size;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* FindMimeFromData (URLMON.@)
|
||||
*
|
||||
* Determines the Multipurpose Internet Mail Extensions (MIME) type from the data provided.
|
||||
*/
|
||||
|
||||
static BOOL text_html_filter(const BYTE *b, DWORD size)
|
||||
{
|
||||
int i;
|
||||
|
@ -522,6 +518,11 @@ static BOOL application_octet_stream_filter(const BYTE *b, DWORD size)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* FindMimeFromData (URLMON.@)
|
||||
*
|
||||
* Determines the Multipurpose Internet Mail Extensions (MIME) type from the data provided.
|
||||
*/
|
||||
HRESULT WINAPI FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer,
|
||||
DWORD cbSize, LPCWSTR pwzMimeProposed, DWORD dwMimeFlags,
|
||||
LPWSTR* ppwzMimeOut, DWORD dwReserved)
|
||||
|
@ -676,6 +677,21 @@ HRESULT WINAPI FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer,
|
|||
return E_FAIL;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* GetClassFileOrMime (URLMON.@)
|
||||
*
|
||||
* Determines the class ID from the bind context, file name or MIME type.
|
||||
*/
|
||||
HRESULT WINAPI GetClassFileOrMime(LPBC pBC, LPCWSTR pszFilename,
|
||||
LPVOID pBuffer, DWORD cbBuffer, LPCWSTR pszMimeType, DWORD dwReserved,
|
||||
CLSID *pclsid)
|
||||
{
|
||||
FIXME("(%p, %s, %p, %d, %p, 0x%08x, %p): stub\n", pBC,
|
||||
debugstr_w(pszFilename), pBuffer, cbBuffer, debugstr_w(pszMimeType),
|
||||
dwReserved, pclsid);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* Extract (URLMON.@)
|
||||
*/
|
||||
|
|
|
@ -1264,6 +1264,7 @@ cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC*
|
|||
cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
|
||||
cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
|
||||
cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
|
||||
cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
|
||||
cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
|
||||
cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
|
||||
cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
|
||||
|
|
Loading…
Reference in New Issue