Windows Media Format SDK banner art
PreviousNext

INSSBuffer::GetBufferAndLength

The GetBufferAndLength method retrieves the location and size of the used portion of the buffer.

Syntax

HRESULT GetBufferAndLength(
  BYTE**  ppdwBuffer,
  DWORD*  pdwLength
);

Parameters

  ppdwBuffer

[out]  Pointer to a location that returns a pointer to the buffer.

  pdwLength

[out]  Pointer to a double word containing the length of the buffer in bytes.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Description
E_POINTER ppdwBuffer or pdwLength is NULL.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.