Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a3ad394f
Commit
a3ad394f
authored
Oct 21, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Add a stub for GetClassFileOrMime.
parent
cfeaa3e6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
6 deletions
+23
-6
urlmon.spec
dlls/urlmon/urlmon.spec
+1
-1
urlmon_main.c
dlls/urlmon/urlmon_main.c
+21
-5
urlmon.idl
include/urlmon.idl
+1
-0
No files found.
dlls/urlmon/urlmon.spec
View file @
a3ad394f
...
...
@@ -38,7 +38,7 @@
@ stub FindMediaType
@ stub FindMediaTypeClass
@ stdcall FindMimeFromData(long ptr ptr long ptr long ptr long)
@ st
ub GetClassFileOrMime
@ st
dcall GetClassFileOrMime(ptr wstr ptr long wstr long ptr)
@ stub GetClassURL
@ stub GetComponentIDFromCLSSPEC
@ stub GetMarkOfTheWeb
...
...
dlls/urlmon/urlmon_main.c
View file @
a3ad394f
...
...
@@ -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
)
...
...
@@ -677,6 +678,21 @@ HRESULT WINAPI FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer,
}
/***********************************************************************
* 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.@)
*/
HRESULT
WINAPI
Extract
(
void
*
dest
,
LPCSTR
szCabName
)
...
...
include/urlmon.idl
View file @
a3ad394f
...
...
@@ -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*);"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment