Platform SDK: Network Management |
The REPL_INFO_0 structure contains configuration information for the file replicator service, including import and export paths and other replication parameters.
typedef struct _REPL_INFO_0 { DWORD rp0_role; LPWSTR rp0_exportpath; LPWSTR rp0_exportlist; LPWSTR rp0_importpath; LPWSTR rp0_importlist; LPWSTR rp0_logonusername; DWORD rp0_interval; DWORD rp0_pulse; DWORD rp0_guardtime; DWORD rp0_random; } REPL_INFO_0, *PREPL_INFO_0, *LPREPL_INFO_0;
Specifies either one or both of the following values.Value | Meaning |
---|---|
REPL_ROLE_EXPORT | Exports directory control information. |
REPL_ROLE_IMPORT | Imports directory control information on a Windows NT/Windows 2000 workstation. |
The exporter sends a sync message if it detects a change to the directory since the last contact, or a pulse message if it detects no change. The default setting is 5 minutes.
If the exporter fails to respond to an importer after the number of minutes obtained by multiplying rp0_pulse times rp0_interval, the importer sends a message to the exporter asking for an update. If the exporter fails to respond again (after the same amount of time) the importer reports that the top-level directory is not synchronized. If the exporter fails to respond a third time, the importer no longer notifies the exporter.
The importer resumes notifying the exporter when the exporter responds and replication is successful.
This setting is valid only for top-level directories when the wait-until-stabilized feature is enabled. The value of rp0_guardtime cannot be more than rp0_interval divided by 2.
Import servers generate a random number of seconds, from 0 to the value of rp0_random. After receiving an update notice from the exporter, the import server waits the generated amount of seconds before requesting the replica from the export server. This can prevent the export server from being overloaded with simultaneous update requests.
Windows NT/2000: Requires Windows NT 4.0 or earlier.
Windows 95/98: Unsupported.
Header: Declared in Lmrepl.h.
Network Management Overview, Network Management Structures, Replicator Functions, NetReplGetInfo, NetReplSetInfo