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
99c5f7d7
Commit
99c5f7d7
authored
Aug 12, 2022
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hnetcfg: Add INetFwRule stub.
parent
e7dada5f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
hnetcfg.c
dlls/hnetcfg/hnetcfg.c
+5
-1
hnetcfg_private.h
dlls/hnetcfg/hnetcfg_private.h
+2
-0
policy.c
dlls/hnetcfg/policy.c
+0
-0
No files found.
dlls/hnetcfg/hnetcfg.c
View file @
99c5f7d7
...
...
@@ -113,9 +113,9 @@ static hnetcfg_cf fw_manager_cf = { { &hnetcfg_cf_vtbl }, NetFwMgr_create };
static
hnetcfg_cf
fw_app_cf
=
{
{
&
hnetcfg_cf_vtbl
},
NetFwAuthorizedApplication_create
};
static
hnetcfg_cf
fw_openport_cf
=
{
{
&
hnetcfg_cf_vtbl
},
NetFwOpenPort_create
};
static
hnetcfg_cf
fw_policy2_cf
=
{
{
&
hnetcfg_cf_vtbl
},
NetFwPolicy2_create
};
static
hnetcfg_cf
fw_rule_cf
=
{
{
&
hnetcfg_cf_vtbl
},
NetFwRule_create
};
static
hnetcfg_cf
upnpnat_cf
=
{
{
&
hnetcfg_cf_vtbl
},
IUPnPNAT_create
};
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
reserved
)
{
TRACE
(
"(0x%p, %ld, %p)
\n
"
,
hInstDLL
,
fdwReason
,
reserved
);
...
...
@@ -154,6 +154,10 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
{
cf
=
&
fw_policy2_cf
.
IClassFactory_iface
;
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_NetFwRule
))
{
cf
=
&
fw_rule_cf
.
IClassFactory_iface
;
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_UPnPNAT
))
{
cf
=
&
upnpnat_cf
.
IClassFactory_iface
;
...
...
dlls/hnetcfg/hnetcfg_private.h
View file @
99c5f7d7
...
...
@@ -26,6 +26,7 @@ enum type_id
INetFwPolicy_tid
,
INetFwPolicy2_tid
,
INetFwProfile_tid
,
INetFwRule_tid
,
INetFwRules_tid
,
IUPnPNAT_tid
,
IStaticPortMappingCollection_tid
,
...
...
@@ -45,4 +46,5 @@ HRESULT NetFwAuthorizedApplications_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN
HRESULT
NetFwOpenPorts_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
HRESULT
NetFwOpenPort_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
HRESULT
NetFwServices_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
HRESULT
NetFwRule_create
(
IUnknown
*
,
void
**
)
DECLSPEC_HIDDEN
;
HRESULT
IUPnPNAT_create
(
IUnknown
*
,
void
**
)
DECLSPEC_HIDDEN
;
dlls/hnetcfg/policy.c
View file @
99c5f7d7
This diff is collapsed.
Click to expand it.
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