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

NetReplExportDirUnlock

The NetReplExportDirUnlock function unlocks a directory so that replication from it can resume. This function decrements the lock reference count for the specified directory.

Security Requirements

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

NET_API_STATUS NetReplExportDirUnlock(

LPTSTR servername,

LPTSTR dirname,

DWORD unlockforce

);

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 to unlock.

unlockforce

Value that indicates the force level necessary to unlock the directory.

Force levels:

REPL_UNLOCK_NOFORCE

Unlocks the directory by decrementing the lock reference count. The lock reference count may or may not return to 0, so the directory could still be locked.

REPL_UNLOCK_FORCE

Unlocks the directory completely by removing all outstanding locks on the directory. The lock reference count is set to 0.

See Also

NetReplExportDirLock

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