pbBase (PVOID) - input

      The offset of the memory pool to which the block is to be freed.

    pb (PVOID) - input

      The offset of the memory block to be freed.

      The value specified must equal the pb value returned on a previous DosSubAllocMem function.

    cb (ULONG) - input

      The size, in bytes, of the memory block to be freed.

    ulrc (APIRET) - returns

      Return Code.

      DosSubFreeMem returns one of the following values:

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


    [Back] [Next]