Platform SDK: Network Management |
The NetReplExportDirGetInfo function retrieves the control information for a replicated export directory.
No special group membership is required to successfully execute the NetReplExportDirGetInfo function.
NET_API_STATUS NetReplExportDirGetInfo( LPCWSTR servername, LPCWSTR dirname, DWORD level, LPBYTE *bufptr );
Value | Meaning |
---|---|
0 | Return the export subdirectory name. The bufptr parameter points to a REPL_EDIR_INFO_0 structure. |
1 | Return the export subdirectory name and attributes. The bufptr parameter points to a REPL_EDIR_INFO_1 structure. |
2 | Return the export subdirectory name, attributes, and locking information. The bufptr parameter points to a REPL_EDIR_INFO_2 structure. |
If the function succeeds, the return value is NERR_Success.
If the function fails, the return value is a Win32 API error code. For a list of error codes, see Error Codes.
To modify the control information for an export directory, call NetReplExportDirSetInfo.
Windows NT/2000: Requires Windows NT 4.0 or earlier.
Windows 95/98: Unsupported.
Header: Declared in Lmrepl.h; include Lm.h.
Library: Use Netapi32.lib.
Network Management Overview, Network Management Functions, Replicator Functions, NetReplExportDirSetInfo, NetReplExportDirEnum, REPL_EDIR_INFO_0, REPL_EDIR_INFO_1, REPL_EDIR_INFO_2