MM_ReturnPartitionTableInfo

Returns partition information for a selected device object.

Local Servers:Blocking
Remote Servers:Blocking
NetWare Server: 5.x only
Platform:DOS, NLM, OS/2, Windows* 3.1, Windows NT*, Windows*95
Service:Media Manager

Syntax

  LONG MM_ReturnPartitionTableInfo ( 
     LONG                      deviceObjectHandle, 
     LONG                     *partitionTableStatus, 
     LONG                     *alignment, 
     LONG                     *areaStart, 
     LONG                     *areaLength, 
     LONG                     *partitionCount, 
     struct MM_PartitionInfoDef  *partitionInfo ); 
  
  

Parameters

deviceObjectHandle
The Media Manager object handle of a reserved device object.
partitionTableStatus
This value will be one of the Media Manager return values relative to partition objects.
alignment
Number of sectors per cylinder (i.e., number of Heads multiplied by the number of Sectors per Track).
areaStart
The beginning sector number where the first partition will be placed.
areaLength
The number of usable sectors on the media.
partitionCount
Number of partition elements on the media.
partitionInfo
A pointer to an array of 8 MM_PartitionInfoDef structures (not 8 pointers to structures.).

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x00000001

MM_INVALID_0BJECT

0x00000016

MM_PARAMETER_ERROR