INetFwPolicy2::get_CurrentProfileTypes method (netfw.h)

Retrieves the currently active firewall profile.

This property is read-only.

Syntax

HRESULT get_CurrentProfileTypes(
  long *profileTypesBitmask
);

Parameters

profileTypesBitmask

Return value

None

Remarks

Multiple profiles can be returned in the profiles bitmask.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netfw.h
DLL FirewallAPI.dll

See also

INetFwPolicy2

NET_FW_PROFILE_TYPE2