[This is preliminary documentation and subject to change.]
The NTMS_MEDIAPOOLINFORMATION data structure defines the properties specific to a media pool object.
typedef struct _NTMS_MEDIAPOOLINFORMATION {
DWORD PoolType;
NTMS_GUID MediaType;
NTMS_GUID Parent;
DWORD AllocationPolicy;
DWORD DeallocationPolicy;
DWORD dwMaxAllocates;
DWORD dwNumberOfPhysicalMedia;
DWORD dwNumberOfLogicalMedia;
DWORD dwNumberOfMediaPools;
} NTMS_MEDIAPOOLINFORMATION;
Value | Meaning |
---|---|
NTMS_POOLTYPE_UNKNOWN | Unknown pool type. |
NTMS_POOLTYPE_SCRATCH | Media that is available to other applications. |
NTMS_POOLTYPE_FOREIGN | Media that has been written to and does not contain a recognizable on-media identifier label-type or label ID. |
NTMS_POOLTYPE_IMPORT | Media that has been written to, has a recognizable on-media identifier label type but an unrecognizable label ID. |
NTMS_POOLTYPE_APPLICATION | Media pool created by an application. One or more application media pools can be created per system. |
Value | Meaning |
---|---|
NTMS_ALLOCATE_FROMSCRATCH | Draw media from scratch if none is available in the pool. The default is not to draw from scratch. |
Value | Meaning |
---|---|
NTMS_DEALLOCATE_TOSCRATCH | Return media to scratch when available. The default is not to return to scratch. |
The NTMS_MEDIAPOOLINFORMATION data structure is part of the NTMS_OBJECTINFORMATION structure and is not used separately.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in ntmsapi.h.
Import Library: Use ntmsapi.lib.