Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
316cd276
Commit
316cd276
authored
Sep 08, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added JSProtocol class factory stub implementation.
parent
09c20de8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
protocol.c
dlls/mshtml/protocol.c
+54
-0
No files found.
dlls/mshtml/protocol.c
View file @
316cd276
...
...
@@ -938,6 +938,58 @@ static ProtocolFactory ResProtocolFactory = {
&
ResProtocolFactoryVtbl
};
/********************************************************************
* JSProtocol implementation
*/
static
HRESULT
WINAPI
JSProtocolFactory_CreateInstance
(
IClassFactory
*
iface
,
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
)
{
FIXME
(
"(%p)->(%p %s %p)
\n
"
,
iface
,
pUnkOuter
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
JSProtocolInfo_ParseUrl
(
IInternetProtocolInfo
*
iface
,
LPCWSTR
pwzUrl
,
PARSEACTION
ParseAction
,
DWORD
dwParseFlags
,
LPWSTR
pwzResult
,
DWORD
cchResult
,
DWORD
*
pcchResult
,
DWORD
dwReserved
)
{
FIXME
(
"%p)->(%s %d %x %p %d %p %d)
\n
"
,
iface
,
debugstr_w
(
pwzUrl
),
ParseAction
,
dwParseFlags
,
pwzResult
,
cchResult
,
pcchResult
,
dwReserved
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
JSProtocolInfo_QueryInfo
(
IInternetProtocolInfo
*
iface
,
LPCWSTR
pwzUrl
,
QUERYOPTION
QueryOption
,
DWORD
dwQueryFlags
,
LPVOID
pBuffer
,
DWORD
cbBuffer
,
DWORD
*
pcbBuf
,
DWORD
dwReserved
)
{
FIXME
(
"%p)->(%s %08x %08x %p %d %p %d)
\n
"
,
iface
,
debugstr_w
(
pwzUrl
),
QueryOption
,
dwQueryFlags
,
pBuffer
,
cbBuffer
,
pcbBuf
,
dwReserved
);
return
E_NOTIMPL
;
}
static
const
IInternetProtocolInfoVtbl
JSProtocolInfoVtbl
=
{
InternetProtocolInfo_QueryInterface
,
InternetProtocolInfo_AddRef
,
InternetProtocolInfo_Release
,
JSProtocolInfo_ParseUrl
,
InternetProtocolInfo_CombineUrl
,
InternetProtocolInfo_CompareUrl
,
JSProtocolInfo_QueryInfo
};
static
const
IClassFactoryVtbl
JSProtocolFactoryVtbl
=
{
ClassFactory_QueryInterface
,
ClassFactory_AddRef
,
ClassFactory_Release
,
JSProtocolFactory_CreateInstance
,
ClassFactory_LockServer
};
static
ProtocolFactory
JSProtocolFactory
=
{
&
JSProtocolInfoVtbl
,
&
JSProtocolFactoryVtbl
};
HRESULT
ProtocolFactory_Create
(
REFCLSID
rclsid
,
REFIID
riid
,
void
**
ppv
)
{
ProtocolFactory
*
cf
=
NULL
;
...
...
@@ -946,6 +998,8 @@ HRESULT ProtocolFactory_Create(REFCLSID rclsid, REFIID riid, void **ppv)
cf
=
&
AboutProtocolFactory
;
else
if
(
IsEqualGUID
(
&
CLSID_ResProtocol
,
rclsid
))
cf
=
&
ResProtocolFactory
;
else
if
(
IsEqualGUID
(
&
CLSID_JSProtocol
,
rclsid
))
cf
=
&
JSProtocolFactory
;
if
(
!
cf
)
{
FIXME
(
"not implemented protocol %s
\n
"
,
debugstr_guid
(
rclsid
));
...
...
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