|Microsoft DirectX 9.0|
CSourceStream( TCHAR *pObjectName, HRESULT *phr, CSource *pms, LPCWSTR pName );
Pointer to a string containing the debug name of the pin.
Pointer to a variable that receives an HRESULT value indicating the success or failure of the method. Initialize the value to S_OK before creating the object. The value is changed only if an error occurs.
Pointer to the CSource filter that created this pin.
Pointer to a string that contains the name of the pin.
The string given in the pObjectName parameter is used only for debugging purposes. For more information, see CBaseObject.
The string given in the pName parameter is the name returned by the IPin::QueryPinInfo method. The CSourceStream class does not use this name for the pin identifier returned by the CSourceStream::QueryId method. Instead, QueryId calculates a pin identifier based on the pin number. (Pin identifiers support graph persistence. For more information, see IPin::QueryId.)
The constructor automatically adds the pin to the owning filter, by calling CSource::AddPin.