|Microsoft DirectX 9.0|
The GetCurrentSample method retrieves the current sample.
virtual IMediaSample *GetCurrentSample(void);
Returns a pointer to the sample's IMediaSample interface, or NULL if no sample is available.
If the return value is non-NULL, the IMediaSample pointer has an outstanding reference count. Be sure to release it.