Microsoft DirectX 8.1 (C++)

CBaseRenderer::GetCurrentSample

The GetCurrentSample method retrieves the current sample.

Syntax

virtual IMediaSample *GetCurrentSample(void);

Return Value

Returns a pointer to the sample's IMediaSample interface, or NULL if no sample is available.

Remarks

If the return value is non-NULL, the IMediaSample pointer has an outstanding reference count. Be sure to release it.

See Also