EC_LOADSTATUS

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Notifies the application of progress when opening a network file.

Parameters

lParam1

Status code. See Remarks.

lParam2

Zero.

Default Action

None.

Remarks

The WM ASF Reader filter and the legacy Windows Media Source filter send this event. The first event parameter has one of the following values.

Value Description
AM_LOADSTATUS_CLOSED The source filter has closed the file.
AM_LOADSTATUS_CONNECTING The source filter is connecting to the server.
AM_LOADSTATUS_LOADINGDESCR Not used.
AM_LOADSTATUS_LOADINGMCAST Not used
AM_LOADSTATUS_LOCATING The source filter is locating requested data.
AM_LOADSTATUS_OPEN The source filter has opened the file.
AM_LOADSTATUS_OPENING The source filter is opening the file.

Requirements

Requirement Value
Header
Dshow.h

See also

Event Notification Codes

Event Notification in DirectShow