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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top