Obtains information about partitionable disks.

#define INCL_DOSPROCESS
#include <os2.h>

ULONG     function;  /*  The type of information to obtain about the partitionable disks. */
PVOID     pBuf;      /*  The address of the buffer where the returned information is placed. */
ULONG     cbBuf;     /*  The length, in bytes, of the data buffer. */
PVOID     pParams;   /*  The address of the buffer used for input parameters. */
ULONG     cbParams;  /*  The length, in bytes, of the parameter buffer. */
APIRET    ulrc;      /*  Return Code. */

ulrc = DosPhysicalDisk(function, pBuf, cbBuf,
         pParams, cbParams);


[Back] [Next]