NetReplExportDirGetInfo

The NetReplExportDirGetInfo function retrieves the control information of a replicated directory.

Security Requirements

No special group membership is required to successfully execute NetReplExportDirGetInfo.

NET_API_STATUS NetReplExportDirGetInfo(
  LPWSTR servername,  
  LPWSTR dirname,     
  DWORD level,        
  LPBYTE *bufptr      
);
 

Parameters

servername
Pointer to a null-terminated Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.
dirname
Pointer to a null-terminated Unicode string containing the directory name about which to return control information.
level
Specifies one of the following values to return the level of information provided.
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.

bufptr
Pointer to the buffer in which the data set with the level parameter is stored.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmrepl.h.
  Import Library: Use netapi32.lib.

See Also

Networking (Net) Overview, Net Functions, NetReplExportDirSetInfo, NetReplExportDirEnum