mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
16 lines
513 B
Plaintext
16 lines
513 B
Plaintext
(cmd) python com\com_inetfwpolicy2.py
|
|
Initialisation of COM
|
|
Creating INetFwPolicy2 variable
|
|
<INetFwPolicy2<NULL> at 0x2925a3e2350> (value = None)
|
|
|
|
Generating CLSID
|
|
<GUID "E2B3C97F-6AE1-41AC-817A-F6F92166D7DD">
|
|
|
|
Creating COM instance
|
|
<INetFwPolicy2 at 0x2925a3e2350> (value = 0x2827524184096)
|
|
|
|
Checking for enabled profiles
|
|
* NET_FW_PROFILE_TYPE2_.NET_FW_PROFILE2_DOMAIN(0x1) -> True
|
|
* NET_FW_PROFILE_TYPE2_.NET_FW_PROFILE2_PRIVATE(0x2) -> True
|
|
* NET_FW_PROFILE_TYPE2_.NET_FW_PROFILE2_PUBLIC(0x4) -> True
|