NWRenameObject(3nw)
NWRenameObject --
renames bindery object on server associated with connection handle
Synopsis
#include <nwbindry.h>
or
#include <nwcalls.h>
NWCCODE N_API NWRenameObject
(NWCONN_HANDLE conn,
pnstr8 oldObjName,
pnstr8 newObjName,
nuint16 objType);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the NetWare server connection handle.
- oldObjName
-
(IN) Points to the name of the currently defined object in the bindery.
- newObjName
-
(IN) Points to the new object name.
- objType
-
(IN) Specifies the object's bindery type.
Return values
- 0x0000
-
SUCCESSFUL
- 0x8801
-
INVALID_CONNECTION
- 0x8996
-
SERVER_OUT_OF_MEMORY
- 0x89EE
-
OBJECT_ALREADY_EXISTS
- 0x89F0
-
WILD_CARD_NOT_ALLOWED
- 0x89F3
-
NO_OBJECT_RENAME_PRIVILEGE
- 0x89FC
-
NO_SUCH_OBJECT
- 0x89FE
-
BINDERY_LOCKED
- 0x89FF
-
HARDWARE_FAILURE
Notices
oldObjName, newObjName, and objType must
uniquely identify the bindery object and cannot contain wildcard characters.
Only SUPERVISOR or a bindery object security equivalent to
SUPERVISOR can rename bindery objects.
Services
Bindery
NCP calls
0x2222
|
23
|
52
|
Rename Object
|
References
NWScanObject(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.