pbBase (PVOID) - input

      The offset to the memory pool from which the block should be allocated.

    ppb (PPVOID) - output

      A pointer to a PVOID in which the offset of the allocated memory block is returned.

    cb (ULONG) - input

      The size, in bytes, of the memory block requested.

    ulrc (APIRET) - returns

      Return Code.

      DosSubAllocMem returns one of the following values:

    • NO_ERROR 87
        ERROR_INVALID_PARAMETER
      311
        ERROR_DOSSUB_NOMEM
      532
        ERROR_DOSSUB_CORRUPTED
      For a full list of error codes, see Errors.


    [Back] [Next]