SHARINGCONNECTIONTYPE enumeration (netcon.h)

[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 = 0,
  ICSSHARINGTYPE_PRIVATE
} SHARINGCONNECTIONTYPE, *LPSHARINGCONNECTIONTYPE;

Constants

 
ICSSHARINGTYPE_PUBLIC
Value: 0
The connection is public.
ICSSHARINGTYPE_PRIVATE
The connection is private.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Header netcon.h

See also

INetSharingConfiguration::get_SharingEnabled

Internet Connection Sharing and Internet Connection Firewall Enumeration Types

Internet Connection Sharing and Internet Connection Firewall Reference