StormLib API Reference

SCompExplode

Description

int WINAPI SCompExplode(
  char * pbOutBuffer,               // Pointer to buffer where exploded data will be stored
  int * pcbOutBuffer,               // Pointer to size of output buffer
  char * pbInBuffer,                // Pointer to buffer with data to be exploded
  int cbInBuffer                    // Size of the input data
);

SCompExplode decompresses a data block compressed by SCompImplode.

Parameters

pbOutBuffer
[out] Pointer to buffer where the decompressed data will be stored.
pcbOutBuffer
[in, out] On call, pointer to the length of the buffer in pbOutBuffer. When finished, this variable receives length of the decompressed data.
pbInBuffer
[in] Pointer to data that are to be exploded.
cbInBuffer
[in] Length of the data pointed by pbInBuffer.

Return Value

When the function succeeds, it returns nonzero. On an error, the function returns FALSE and GetLastError gives the error code.

Remarks

When the length of the input buffer is equal to the length of the output buffer, the function just copies the input buffer to the output buffer.

Availability in Storm.dll

Available in Storm.dll No
Ordinal number in Storm.dll 1.00 N/A
Ordinal number in Storm.dll 1.09 N/A