The NetReplExportDirGetInfo function retrieves the control information of a replicated directory.
Security Requirements
No special group membership is required to successfully execute NetReplExportDirGetInfo.
NET_API_STATUS NetReplExportDirGetInfo(
LPTSTR servername, | |
LPTSTR dirname, | |
DWORD level, | |
LPBYTE *bufptr | |
); |
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 about which to return control information.
level
Specifies one of the following values to return the level of information provided.
Value | Meaning |
0 | The bufptr parameter points to an array of REPL_EDIR_INFO_0 structures. |
1 | The bufptr parameter points to an array of REPL_EDIR_INFO_1 structures. |
2 | The bufptr parameter points to an array of REPL_EDIR_INFO_2 structures. |
bufptr
Pointer to the buffer in which the data set with the level parameter is stored.
See Also