[This is preliminary documentation and subject to change.]
The AccessNtmsLibraryDoor function unlocks the door of the specified online library. If the library is busy, RSM queues the request and returns successfully.
DWORD WINAPI AccessNtmsLibraryDoor(
HANDLE hSession,
LPNTMS_GUID lpLibraryId,
DWORD dwAction
);
Value | Meaning |
---|---|
NTMS_INVENTORY_NONE | After the user closes the door, no inventory is performed. However, if a mount-label check fails, an inventory will be performed. |
NTMS_INVENTORY_OMID | After the user closes the door, a full on-media inventory is performed. This can be time consuming because each partition of each medium must be mounted. |
NTMS_INVENTORY_FAST | If the library has a bar-code reader installed, this flag causes bar-code inventory to be performed. If the library does not have a bar-code reader, this flag causes a differential inventory to be performed. |
NTMS_INVENTORY_DEFAULT | Use the InventoryMethod specified in the library object. |
The AccessNtmsLibraryDoor function is valid only for online libraries.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in ntmsapi.h.
Import Library: Use ntmsapi.lib.
Library Control Functions, EjectNtmsMedia, InjectNtmsMedia