WMEncoder.OnConfigChange
The OnConfigChange event receives an event notice indicating a change in the encoding configuration.
Syntax
WMEncoder.OnConfigChange(lDISPID, strSrcGrp)
Parameters
lDISPID
[in] ** Long containing the DISPID of the property that changed.
strSrcGrp
[in] String containing the name of the source group in which the change occurred.
Return Values
This event does not return a value.
Remarks
This event is fired for any property in the Windows Media Encoder type library.
Example Code
Private Sub Encoder_OnConfigChange( _
ByVal lDISPID As Long, _)
ByVal sSrcGrp As String)
If lDISPID = DISPID_FILE_LOCALFILENAME Then
' The end user has specified a new name for the archive file.
' Process the new name.
End If
If lDISPID = DISPID_BROADCAST_PORTNUMBER Then
' The end user has specified a new broadcast port number.
' Process the new port number.
End If
End Sub
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also