Platform SDK: Network Management

REPL_EDIR_INFO_2

The REPL_EDIR_INFO_2 structure contains the name of a subdirectory in the main export directory, the values of the subdirectory's replication controls, and lock status data.

typedef struct _REPL_EDIR_INFO_2 {
  LPWSTR         rped2_dirname;
  DWORD          rped2_integrity;
  DWORD          rped2_extent;
  DWORD          rped2_lockcount;
  DWORD          rped2_locktime;
} REPL_EDIR_INFO_2, *PREPL_EDIR_INFO_2, *LPREPL_EDIR_INFO_2;

Members

rped2_dirname
Specifies the name of a particular subdirectory in the main export directory.
rped2_integrity
Specifies one of the following wait-until-stabilized options for the importer. (The integrity replication control determines when a master updates a client.)
Value Meaning
REPL_INTEGRITY_TREE When the importer detects a change to the replicated tree, it copies the entire tree to a temporary top-level directory and renames the original tree in the original directory. If any problem occurs while copying the tree, the importer deletes the temporary directory. This action guarantees the integrity of the entire tree.
REPL_INTEGRITY_FILE When an importer detects mismatched file attributes in the tree structure (such as date, time, name, or size), it copies the file to a temporary local file and renames the local file in place of the existing file. This action guarantees only the integrity of individual files, not of the entire tree.

rped2_extent
Specifies one of the following flags to determine the selection of files for replication within the main export directory.
Value Meaning
REPL_EXTENT_FILE Selects a single file in the main export directory.
REPL_EXTENT_TREE Selects the entire subtree in the main export directory. If you clear a top-level directory in the Control panel (Control Panel -> Server -> Replicator -> Manage Export), only the files in that top-level directory will be replicated; subdirectories or their contents will not be replicated.

rped2_lockcount
Specifies the current lock count (the number of outstanding locks) on the subdirectory. This member can be modified only with a call to the NetReplExportDirLock function or the NetReplExportDirUnlock function.
rped2_locktime
This member specifies, in seconds, the time at which the directory was locked since 1970. The locktime member indicates the time (in seconds since 00:00:00, January 1, 1970, GMT) when the directory was first locked, or is 0 if the directory is not locked at the present time.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or earlier.
  Windows 95/98: Unsupported.
  Header: Declared in Lmrepl.h.

See Also

Network Management Overview, Network Management Structures, Replicator Functions, NetReplExportDirLock, NetReplExportDirUnlock