Platform SDK: Network Management |
The NetReplGetInfo function retrieves configuration information for the file replicator service.
No special group membership is required to successfully execute the NetReplGetInfo function.
NET_API_STATUS NetReplGetInfo( LPCWSTR servername, DWORD level, LPBYTE *bufptr );
Value | Meaning |
---|---|
0 | Return configuration information for the file replicator service. The bufptr parameter points to a REPL_INFO_0 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.
You can call the NetReplSetInfo function to modify configuration information for the file replicator service.
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, NetReplSetInfo, REPL_INFO_0