2.2.2.11 SHARE_INFO Parameter Error Codes

When an invalid value is specified for a field of the SHARE_INFO structure, one of the following values MUST be used to indicate which field contains an invalid value. In the following table, "*" is a wildcard character.

Return value/code

Description

1

SHARE_NETNAME_PARMNUM

Indicates that a shi*_netname member caused the error.

3

SHARE_TYPE_PARMNUM

Indicates that a shi*_type member caused the error.

4

SHARE_REMARK_PARMNUM

Indicates that a shi*_remark member caused the error.

5

SHARE_PERMISSIONS_PARMNUM

Indicates that a shi*_permissions member caused the error.

6

SHARE_MAX_USES_PARMNUM

Indicates that a shi*_max_uses member caused the error.

7

SHARE_CURRENT_USES_PARMNUM

Indicates that a shi*_current_uses member caused the error.

8

SHARE_PATH_PARMNUM

Indicates that a shi*_path member caused the error.

9

SHARE_PASSWD_PARMNUM

Indicates that a shi*_passwd member caused the error.

501

SHARE_FILE_SD_PARMNUM

Indicates that a shi*_security_descriptor member caused the error.