D:/opendownloadmanager/ODM-1.x/Include.Add/DShow/pstream.cpp File Reference

#include <streams.h>

Go to the source code of this file.

Functions

STDAPI WriteInt (IStream *pIStream, int n)
 STDAPI_ (int) ReadInt(IStream *pIStream
 if (FAILED(hr))
 if (wch==L'-')
 for (;;)
 if (n==0x80000000 &&Sign==-1)
else return (int) n *Sign

Variables

HRESULT &hr int Sign = 1
unsigned int n = 0
WCHAR wch
 hr = pIStream->Read( &wch, sizeof(wch), NULL)


Function Documentation

for ( ;;   ) 

if ( n  = =0x80000000 && Sign==-1  ) 

Definition at line 133 of file pstream.cpp.

if ( wch  = =L'-'  ) 

Definition at line 104 of file pstream.cpp.

References FAILED, and NULL.

if ( FAILED(hr  ) 

else return ( int   ) 

STDAPI_ ( int   ) 

STDAPI WriteInt ( IStream *  pIStream,
int  n 
)

Definition at line 85 of file pstream.cpp.

References NULL, and wsprintfW.

Referenced by CPersistStream::Save().


Variable Documentation

hr = pIStream->Read( &wch, sizeof(wch), NULL)

Definition at line 99 of file pstream.cpp.

Referenced by CWGUrlReceiver::_threadAddPage(), CSourceStream::Active(), CFDMDownloadsStat::AddDownloadToList(), CBaseReferenceClock::AdvisePeriodic(), CBaseReferenceClock::AdviseTime(), CBasePin::AgreeMediaType(), CImageAllocator::Alloc(), AMovieDllRegisterServer(), AMovieDllRegisterServer2(), AMovieDllUnregisterServer(), AMovieSetupRegisterFilter2(), AMovieSetupRegisterServer(), AMovieSetupUnregisterServer(), CBasePropertyPage::Apply(), NWindows::NCOM::CPropVariant::Attach(), fsShellWindowsEvents::Attach(), fsShellBrowsersEvents::Attach(), CBasePin::AttemptConnection(), CTransformInputPin::BeginFlush(), CTransformFilter::BeginFlush(), CRendererInputPin::BreakConnect(), CBaseInputPin::BreakConnect(), CBaseOutputPin::BreakConnect(), CDeferredCommand::Cancel(), CPosPassThru::CanSeekBackward(), CPosPassThru::CanSeekForward(), CAutoUsingOutputPin::CAutoUsingOutputPin(), CDeferredCommand::CDeferredCommand(), CDynamicOutputPin::CDynamicOutputPin(), CPosPassThru::CheckCapabilities(), CTransformOutputPin::CheckConnect(), CTransformInputPin::CheckConnect(), CBaseOutputPin::CheckConnect(), CTransInPlaceOutputPin::CheckMediaType(), CTransInPlaceInputPin::CheckMediaType(), CTransformInputPin::CheckMediaType(), CPullPin::CleanupCancelled(), CEnumMediaTypes::Clone(), CEnumPins::Clone(), fsPartMediaPlayer::Close(), CAMThread::CoInitializeHelper(), CPullPin::CollectAndDeliver(), CTransformOutputPin::CompleteConnect(), CTransformInputPin::CompleteConnect(), CRendererInputPin::CompleteConnect(), CPullPin::Connect(), CBasePin::Connect(), CWgBHO::Connect(), CFDMIECookiesBHO::Connect(), CPosPassThru::ConvertTimeFormat(), CTransInPlaceFilter::Copy(), CBaseControlVideo::CopyImage(), COutputQueue::COutputQueue(), CImageAllocator::CreateImageSample(), CClassFactory::CreateInstance(), CreatePosPassThru(), CPullPin::DecideAllocator(), CBaseOutputPin::DecideAllocator(), CTransInPlaceFilter::DecideBufferSize(), CPullPin::DeliverSample(), NWindows::NCOM::CPropVariant::Detach(), vmsFlashHelper::DisableFlashMovies(), CFDMIECookiesBHO::Disconnect(), CBasePin::DisconnectInternal(), DllRegisterServer(), CSourceStream::DoBufferProcessingLoop(), CIEWGDM::Download(), CDrawImage::DrawVideoImageHere(), CTransformInputPin::EndFlush(), CRendererInputPin::EndFlush(), CTransformInputPin::EndOfStream(), CTransformFilter::EndOfStream(), CRendererInputPin::EndOfStream(), CRenderedInputPin::EndOfStream(), COutputQueue::EOS(), CRendererPosPassThru::EOS(), vms7zipArchive::Extract(), CDrawImage::FastRender(), CTransformFilter::FindPin(), fsUrlToFdm(), CPosPassThru::get_CurrentPosition(), CPosPassThru::get_Duration(), vms7zipFormatDLL::get_GUID(), CPosPassThru::get_PrerollTime(), CPosPassThru::get_Rate(), CPosPassThru::get_StopTime(), CTransInPlaceInputPin::GetAllocator(), CBaseInputPin::GetAllocator(), CPosPassThru::GetAvailable(), CPosPassThru::GetCapabilities(), CPosPassThru::GetCurrentPosition(), fsDirectXVersion::GetCurrentVersion(), vmsFlashHelper::GetFlashMoviesObjList_noframes(), CBaseDispatch::GetIDsOfNames(), CBaseRenderer::GetMediaPositionInterface(), CRendererPosPassThru::GetMediaTime(), CBasePropertyPage::GetPageInfo(), CPosPassThru::GetPeer(), CPosPassThru::GetPeerSeeking(), CTransInPlaceFilter::GetPin(), CTransformFilter::GetPin(), CBaseRenderer::GetPin(), CPosPassThru::GetPositions(), CPosPassThru::GetRate(), CPosPassThru::GetSeekingLongLong(), CAggDrawSurface::GetSurfaceDesc(), CBaseReferenceClock::GetTime(), CPosPassThru::GetTimeFormat(), CBaseDispatch::GetTypeInfo(), fsPartMediaPlayer::HandleGraphEvent(), CSourceStream::Inactive(), CSeekingPassThru::Init(), CAsyncOutputPin::InitAllocator(), CTransformFilter::InitializeOutputSample(), CAMThread::InitialThreadProc(), NWindows::NCOM::CPropVariant::InternalClear(), NWindows::NCOM::CPropVariant::InternalCopy(), CDeferredCommand::Invoke(), CBaseBasicVideo::Invoke(), CBaseVideoWindow::Invoke(), CBasicAudio::Invoke(), CMediaPosition::Invoke(), CMediaEvent::Invoke(), CMediaControl::Invoke(), vmsFlashHelper::is_FlashElement(), CLoadDirectDraw::IsDirectDrawVersion1(), IsEqualObject(), CPosPassThru::IsFormatSupported(), CPosPassThru::IsUsingTimeFormat(), CBaseFilter::JoinFilterGraph(), CAsyncOutputPin::Length(), vmsImage_CtxFree::Load(), CPersistStream::Load(), CLoadDirectDraw::LoadDirectDraw(), vmsImage::LoadImage(), CCmdQueue::New(), CEnumMediaTypes::Next(), CTransformOutputPin::NonDelegatingQueryInterface(), CBaseReferenceClock::NonDelegatingQueryInterface(), CTransformOutputPin::Notify(), CTransInPlaceInputPin::NotifyAllocator(), CDownloads_Opinions_WBEvents::OnDocumentComplete(), fsPartMediaPlayer::Open(), fsPartMediaPlayer::Open2(), CBaseInputPin::PassNotify(), CTransformFilter::Pause(), CBaseRenderer::Pause(), CBaseFilter::Pause(), CPullPin::PauseThread(), CDownloads_VideoPreview::Play(), CDeferredCommand::Postpone(), CBaseRenderer::PrepareReceive(), CPullPin::Process(), CPosPassThru::put_CurrentPosition(), CBaseControlVideo::put_DestinationHeight(), CBaseControlVideo::put_DestinationLeft(), CBaseControlVideo::put_DestinationTop(), CBaseControlVideo::put_DestinationWidth(), CPosPassThru::put_PrerollTime(), CPosPassThru::put_Rate(), CBaseControlVideo::put_SourceHeight(), CBaseControlVideo::put_SourceLeft(), CBaseControlVideo::put_SourceTop(), CBaseControlVideo::put_SourceWidth(), CPosPassThru::put_StopTime(), CAsyncIo::PutWorkItem(), CBasePin::QueryAccept(), CPosPassThru::QueryPreferredFormat(), CPullPin::QueueSample(), CVideoTransformFilter::Receive(), CTransInPlaceFilter::Receive(), CTransformInputPin::Receive(), CTransformFilter::Receive(), CBaseRenderer::Receive(), CBaseInputPin::Receive(), CBaseInputPin::ReceiveCanBlock(), CBasePin::ReceiveConnection(), CBaseInputPin::ReceiveMultiple(), CBaseFilter::ReconnectPin(), CBaseFilter::Register(), RegisterAllServers(), CRendererPosPassThru::RegisterMediaTime(), CCmdQueue::Remove(), CAsyncOutputPin::Request(), CAsyncIo::Request(), CAsyncOutputPin::RequestAllocator(), vmsFdmWebInterfaceServer::RequestCreateNewDownload(), CBaseRenderer::Run(), CBaseFilter::Run(), CBaseMediaFilter::Run(), CPersistStream::Save(), vmsFlashHelper::SaveFlashMovies_noframes(), CBaseRenderer::ScheduleSample(), CPullPin::Seek(), CBaseRenderer::SendNotifyWindow(), CBaseVideoRenderer::SendQuality(), CBaseControlVideo::SetDefaultDestinationPosition(), CBaseControlVideo::SetDefaultSourcePosition(), CBaseControlVideo::SetDestinationPosition(), CTransformOutputPin::SetMediaType(), CTransformInputPin::SetMediaType(), CRendererInputPin::SetMediaType(), CSourceSeeking::SetPositions(), CPosPassThru::SetPositions(), CImageAllocator::SetProperties(), CPosPassThru::SetRate(), CBaseControlVideo::SetSourcePosition(), CCmdQueue::SetTimeAdvise(), CPosPassThru::SetTimeFormat(), CBaseVideoRenderer::ShouldDrawSampleNow(), CVideoTransformFilter::ShouldSkipFrame(), CDrawImage::SlowRender(), CPullPin::StartThread(), fsPartMediaPlayer::Stop(), CTransformFilter::Stop(), CBaseFilter::Stop(), CPullPin::StopThread(), CBaseFilter::StreamTime(), CBaseMediaFilter::StreamTime(), CAsyncIo::SyncRead(), CAsyncOutputPin::SyncReadAligned(), CAsyncIo::SyncReadAligned(), CSourceStream::ThreadProc(), COutputQueue::ThreadProc(), CBasePin::TryMediaTypes(), CAMSchedule::Unadvise(), CBaseFilter::Unregister(), UrlToFdm(), CAsyncOutputPin::WaitForNext(), and CAsyncIo::WaitForNext().

unsigned int n = 0

HRESULT& hr int Sign = 1

Definition at line 95 of file pstream.cpp.

Definition at line 97 of file pstream.cpp.


Generated on Sun May 25 00:19:57 2008 by  doxygen 1.5.6