| Platform SDK: Network Management |
The REPL_IDIR_INFO_1 structure contains specifies subdirectories and synchronizing states in the main import directory of the replicator.
typedef struct _REPL_IDIR_INFO_1 {
LPWSTR rpid1_dirname;
DWORD rpid1_state;
LPWSTR rpid1_mastername;
DWORD rpid1_last_update_time;
DWORD rpid1_lockcount;
DWORD rpid1_locktime;
} REPL_IDIR_INFO_1, *PREPL_IDIR_INFO_1, *LPREPL_IDIR_INFO_1;
| Value | Meaning |
|---|---|
| REPL_STATE_OK | The directory currently has a master and is receiving regular update notices from it. |
| REPL_STATE_NO_MASTER | The directory is not supported by any master and is typically empty. |
| REPL_STATE_NO_SYNC | The directory has a master, but the master has not sent update notices within the specified time period. (The rp0_interval member specifies the time period.) For more information, see the following Remarks section. |
| REPL_STATE_NEVER_REPLICATED | The file replicator service has not been started on the import server. |
When a master does not send updates, and the rpid1_state member is equal to REPL_STATE_NO_SYNC, it can be due to various reasons. These reasons include communication failure, the master crashing, a locked directory, open files on the import server at update time, or an unstable directory on the master.
To retrieve the interval (rp0_interval) that elapses between the times the exporter should contact each import server for changes, you can call the NetReplGetInfo function and specify information level REPL_INFO_0.
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, NetReplImportDirEnum, NetReplImportDirGetInfo, NetReplImportDirLock, NetReplImportDirUnlock