DoDecode method

Copies data from a compressed data buffer to an uncompressed data buffer.

Syntax


HRESULT retVal = object.DoDecode(dwFlags, lInBufferSize, pbInBuffer, lOutBufferSize, pbOutBuffer, lInBytesAvailable, plInBytesRead, plOutBytesWritten, dwReserved);

Parameters

dwFlags [in]

Type: DWORD

lInBufferSize [in]

Type: LONG

A value of type LONG that specifies the size of the input buffer in bytes.

pbInBuffer [in]

Type: BYTE

A pointer to a buffer of type BYTE that contains the data to uncompress.

lOutBufferSize [in]

Type: LONG

A value of type LONG that specifies the size of the output buffer in bytes.

pbOutBuffer [out]

Type: BYTE

A pointer to a buffer of type BYTE that receives the uncompressed data.

lInBytesAvailable [in]

Type: LONG

Value of type LONG that specifies the number of bytes of compressed data available in the input buffer.

plInBytesRead [out]

Type: LONG

A pointer to a value of type LONG that receives the total number of bytes of data read from the input buffer.

plOutBytesWritten [out]

Type: LONG

A pointer to a value of type LONG that receives the total number of bytes of data written to the output buffer.

dwReserved [in]

Type: DWORD

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

 

 

Show: