## CBaseRenderer Callback Function

The Renbase.h header file in the DirectShow base classes provides a function to signal the end of a stream in CBaseRenderer or its derived classes.

Name | Description
EndOfStreamTimer | Signals the end of the specified class's data stream.

###

EndOfStreamTimer

CBaseRenderer Callback Function

Signals the end of the specified class's data stream.

void CALLBACK EndOfStreamTimer(
UINT uID,
UINT uMsg,
DWORD dwUser,
DWORD dw1,
DWORD dw2
);

##### Parameters

uID
  Integer value that specifies the timer value when the application called EndOfStreamTimer.
uMsg
  Not used.
dwUser
  DWORD value that contains the address of a class instance derived from CBaseRenderer.
dw1
  Reserved.
dw2
  Reserved.

##### Return Values

No return value.

##### Remarks

EndOfStreamTimer checks the m_EndOfStreamTimer data member of the class specified by dwUser. If m_EndOfStreamTimer is nonzero, EndOfStreamTimer sets it to zero and calls the class's SendEndOfStream method.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.