Windows Firewall: Is NetFwMgr("netfw.h") component have DCOM suppo

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey,

To access the settings of the firewall, we have the following header file:
"netfw.h". this component have COM support with him and it works. we can get
the list of applications and ports, we can add and we can modify their
status.
But when we tried to collect the data from remote machine using the DCOM
service, it fails.
i.e when we try the following method then it fails.. ->

HRESULT hr = ::CoCreateInstanceEx(__uuidof(NetFwMgr), NULL, CLSCTX_ALL,
&coinfo, 1, &mqi);

Does it means that the "NetFwMgr" does not have support for DCOM service?

Please tell.

Thanks,
Manoj
 
Back
Top