NetReplExportDirSetInfo  E9T2B4 

The NetReplExportDirSetInfo function modifies the control information of a replicated directory.

Security Requirements

Only members of the Administrators or Account Operators local group can successfully execute NetReplExportDirSetInfo.

NET_API_STATUS NetReplExportDirSetInfo(

    LPTSTR servername,

 

    LPTSTR dirname,

 

    DWORD level,

 

    LPBYTE buf,

 

    LPDWORD parm_err

 

   );

 

 

Parameters

servername

Pointer to a null-terminated Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.

dirname

Pointer to a null-terminated Unicode string containing the directory name to return control information about.

level

Specifies one of the following values to return the level of information provided.

Value

Meaning

1

The buf parameter points to an array of REPL_EDIR_INFO_1_R79IV structures.

1000

The buf parameter points to an array of REPL_EDIR_INFO_100041OD9CF structures.

1001

The buf parameter points to an array of REPL_EDIR_INFO_10011ZUK0SA structures.

 

buf

Pointer to the buffer in which the data set with the level parameter is stored.

parm_err

Optional pointer to a DWORD that contains the identifier of the first parameter error when the function sends an ERROR_INVALID_PARAMETER message. If NULL, the parameter is not returned on error.

 

See Also

NetReplExportDirGetInfo