NTMS_MEDIAPOOLINFORMATION structure (ntmsapi.h)
[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The NTMS_MEDIAPOOLINFORMATION structure defines the properties specific to a media pool object.
Syntax
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;
Members
PoolType
NTMS supports the following media pool types.
MediaType
Single media type that makes up each media pool.
Parent
Parent media pool or NULL.
AllocationPolicy
Bit field indicating action at allocation time. This member is writable. This can be the following value.
Value | Meaning |
---|---|
|
Draw media from free if none is available in the pool. The default is not to draw from free. |
DeallocationPolicy
Bit field indicating action at deallocation time. This member is writable. This can be the following value.
Value | Meaning |
---|---|
|
Return media to free when available. The default is not to return to free. |
dwMaxAllocates
Number of times the medium can be allocated and deallocated. This member is writable.
dwNumberOfPhysicalMedia
Number of physical media in this media pool.
dwNumberOfLogicalMedia
Number of logical media in this media pool.
dwNumberOfMediaPools
Number of media pools in this media pool.
Remarks
The NTMS_MEDIAPOOLINFORMATION structure is included in the NTMS_OBJECTINFORMATION structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ntmsapi.h |