2.2.3.2 NtmsCreateOptions Enumeration

The NtmsCreateOptions enumeration defines the types of creation operations.

 enum NtmsCreateOptions
 {
   NTMS_OPEN_EXISTING = 0x0001,
   NTMS_CREATE_NEW = 0x0002,
   NTMS_OPEN_ALWAYS = 0x0003
 };

NTMS_OPEN_EXISTING:  Open an existing media pool by name.

NTMS_CREATE_NEW:  Create a new media pool; if a media pool is already present, return ERROR_ALREADY_EXISTS.

NTMS_OPEN_ALWAYS:  Open an existing media pool. If the pool does not already exist, it MUST be created.