SHARE_INFO_1005 structure (lmshare.h)
Contains information about the shared resource.
Syntax
typedef struct _SHARE_INFO_1005 {
DWORD shi1005_flags;
} SHARE_INFO_1005, *PSHARE_INFO_1005, *LPSHARE_INFO_1005;
Members
shi1005_flags
A bitmask of flags that specify information about the shared resource.
Value | Meaning |
---|---|
|
The specified share is present in a Dfs tree structure. This flag cannot be set with NetShareSetInfo. |
|
The specified share is the root volume in a Dfs tree structure. This flag cannot be set with NetShareSetInfo. |
|
The specified share disallows exclusive file opens, where reads to an open file are disallowed. |
|
Shared files in the specified share can be forcibly deleted. |
|
Clients are allowed to cache the namespace of the specified share. |
|
The server will filter directory entries based on the access permissions that the user on the client computer has for the server on which the files reside.
Only files for which the user has read access and directories for which the user has FILE_LIST_DIRECTORY access will be returned. If the user has SeBackupPrivilege, all available information will be returned.
For more information about file and directory access, see File Security and Access Rights. For more information about SeBackupPrivilege, see Privilege Constants. Note This flag is supported only on servers running Windows Server 2003 with SP1 or later.
|
|
Prevents exclusive caching modes that can cause delays for highly shared read-only data.
Note This flag is supported only on servers running Windows Server 2008 R2 or later.
|
|
Enables server-side functionality needed for peer caching support. Clients on high-latency or low-bandwidth connections can use alternate methods to retrieve data from peers if available, instead of sending requests to the server. This is only supported on shares configured for manual caching (CSC_CACHE_MANUAL_REINT).
Note This flag is supported only on servers running Windows Server 2008 R2 or later.
|
|
Enables Continuous Availability on a cluster share. Handles that are opened against a continuously available share can survive network failures as well as cluster node failures.
Note This flag can only be set on a scoped share on a server that meets the following conditions:
|
The CSC_MASK and CSC_MASK_EXT mask values can be used to apply flags that are specific to client-side caching (CSC).
Remarks
This structure can be retrieved by calling the NetShareGetInfo function. It can be set by calling the NetShareSetInfo function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | lmshare.h (include Lm.h) |