The NetReplExportDirEnum function lists the replicated directories in the export path.
No special group membership is required to successfully execute NetReplExportDirEnum.
NET_API_STATUS NetReplExportDirEnum(
LPWSTR servername,
DWORD level,
LPBYTE *bufptr,
DWORD prefmaxlen,
LPDWORD entriesread,
LPDWORD totalentries,
LPDWORD resumehandle
);
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. |
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in lmrepl.h.
Import Library: Use netapi32.lib.
Networking (Net) Overview, Net Functions, NetReplExportDirGetInfo