SHARINGCONNECTIONTYPE enumeration

[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]

The values of the SHARINGCONNECTIONTYPE type enumerate the possible types of shared connections.

Syntax


typedef enum tagSHARINGCONNECTIONTYPE { 
  ICSSHARINGTYPE_PUBLIC   = 0x0,
  ICSSHARINGTYPE_PRIVATE
} SHARINGCONNECTIONTYPE, *LPSHARINGCONNECTIONTYPE;

Constants

ICSSHARINGTYPE_PUBLIC

The connection is public.

ICSSHARINGTYPE_PRIVATE

The connection is private.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

None supported

Header

NetCon.h

See also

Internet Connection Sharing and Internet Connection Firewall Reference
Internet Connection Sharing and Internet Connection Firewall Enumeration Types
INetSharingConfiguration::get_SharingEnabled

 

 

Show: