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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for