Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
2.2.4.29 SHARE_INFO_1005
Collapse the table of content
Expand the table of content

2.2.4.29 SHARE_INFO_1005

The SHARE_INFO_1005 structure contains information about the shared resource.

 typedef struct _SHARE_INFO_1005 {
   DWORD shi1005_flags;
 } SHARE_INFO_1005,
  *PSHARE_INFO_1005,
  *LPSHARE_INFO_1005;

shi1005_flags: Specifies a DWORD bitmask value that MUST contain zero or more of the following values. The bit locations that are named CSC_MASK in the following table MUST contain a client-side caching state value as given in section 2.2.2.5. The server MUST ignore SHI1005_FLAGS_DFS and SHI1005_FLAGS_DFS_ROOT as it processes the NetrShareSetInfo method.

Value

Meaning

SHI1005_FLAGS_DFS

0x00000001

The specified share is present in a DFS tree structure.

SHI1005_FLAGS_DFS_ROOT

0x00000002

The specified share is present in a DFS tree structure.

CSC_MASK

0x00000030

Provides a mask for one of the four possible client-side caching (CSC) (section 2.2.2.5) states.

SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS

0x00000100

The specified share disallows exclusive file opens that deny reads to an open file.

SHI1005_FLAGS_FORCE_SHARED_DELETE

0x00000200

The specified share disallows clients from opening files on the share in an exclusive mode that prevents the file from being deleted until the client closes the file.

SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING

0x00000400

Clients are allowed to cache the namespace of the specified share.

SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM

0x00000800

The server filters directory entries based on the access permissions of the client.<11>

SHI1005_FLAGS_FORCE_LEVELII_OPLOCK

0x00001000

The server does not issue exclusive caching rights on this share.<12>

SHI1005_FLAGS_ENABLE_HASH

0x00002000

The share supports hash generation for branch cache retrieval of data. It is only valid if the server supports the branch cache capability and the branch cache component is installed.<13>

SHI1005_FLAGS_ENABLE_CA

0x00004000

A highly available share.<14>

SHI1005_FLAGS_ENCRYPT_DATA

0x00008000

A share on which remote file access is encrypted.<15>

Show:
© 2015 Microsoft