Windows Media Format SDK banner art
PreviousNext

IWMReaderAdvanced::GetAllocateForOutput

The GetAllocateForOutput method retrieves a flag indicating whether the reader is configured to use the IWMReaderAdvancedCallback interface to allocate samples delivered by the IWMReaderCallback::OnSample callback.

Syntax

HRESULT GetAllocateForOutput(
  DWORD  dwOutputNum,
  BOOL*  pfAllocate
);

Parameters

  dwOutputNum

[in]  Double word containing the identifying number of the output.

  pfAllocate

[out]  Pointer to a flag indicating that the reader will use IWMReaderAdvancedCallback to allocate samples (TRUE).

Return Values

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

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.