[This is preliminary documentation and subject to change.]
The EnableNtmsObject function enables the specified object.
DWORD WINAPI EnableNtmsObject(
HANDLE hSession,
DWORD dwType,
LPNTMS_GUID lpObjectId
);
Value | Meaning |
---|---|
NTMS_DRIVE | An RSM drive. |
NTMS_LIBRARY | An RSM library unit. |
NTMS_PHYSICAL_MEDIA | A physical media object (a tape, optical disk, CD, or magnetic disk cartridge). |
The EnableNtmsObject function queues a disable command with RSM. If RSM is busy, the command can take some time to complete. The application can wait for the command to complete by examining the enabled field of the object.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in ntmsapi.h.
Import Library: Use ntmsapi.lib.
Object Management Functions, DisableNtmsObject