|
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
|
|
|
NetReplImportDirUnlock
The NetReplImportDirUnlock function unlocks a directory so that replication to it can resume. This function decrements the lock
reference count for the specified directory.
Security Requirements
Only the Administrators local group or replicator group membership is required
to successfully execute NetReplImportDirUnlock.
NET_API_STATUS NetReplImportDirUnlock(
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
A 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 must return to 0, or the directory will remain 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
NetReplImportDirLock
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|