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

NetReplExportDirAdd

The NetReplExportDirAdd function registers an existing directory in the export path to be replicated.

Security Requirements

Only members of the Administrators local group or members of the Account Operators local group can successfully execute NetReplExportDirAdd.

NET_API_STATUS NetReplExportDirAdd(

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

The buf parameter points to an array of REPL_EDIR_INFO_1 structures.

buf

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

parm_err

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

Remarks

The default values for locktime and lockcount are both 0.

See Also

NetReplExportDirDel
, REPL_EDIR_INFO_1

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