Overview
Group
Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library
netapi32.lib
Header File
lmrepl.h
Unicode
WinNT
Platform Notes
All LanMan APIs are UNICODE only

NetReplImportDirAdd

The NetReplImportDirAdd function registers an existing directory in the import path to receive replication from a master.

Security Requirements

Only members of the Administrators or Replicator group can successfully execute NetReplImportDirAdd.

NET_API_STATUS NetReplImportDirAdd(

LPTSTR servername,

DWORD level,

LPBYTE buf,

LPDWORD parm_err

);

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.

level

Specifies the following value to set the level of information provided.

Value
Meaning
0
The buf parameter points to an array of REPL_IDIR_INFO_0 structures.

buf

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

parm_err

Optional pointer to a DWORD that contains an index to the first parameter that caused ERROR_INVALID_PARAMETER. If NULL, the parameter is not returned on error.

See Also

NetReplImportDirDel

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database