IWMEncDisplayInfo.Copyright
![]() |
The Copyright property specifies and retrieves the copyright information for the content being encoded.
Syntax
IWMEncDisplayInfo.Copyright = String
String = IWMEncDisplayInfo.Copyright
Parameters
This property takes no parameters.
Property Value
A String containing the copyright information. If this property fails, it returns an error number.
| Number | Description |
| 0xC00D0011 | This property cannot be set if the encoder engine is running. |
Example Code
' Create a WMEncoder object.
Dim Encoder As WMEncoder
Set Encoder = New WMEncoder
' Retrieve an IWMEncDisplayInfo object.
Dim Descr As IWMEncDisplayInfo
Set Descr = Encoder.DisplayInfo
' Declare string variables.
Dim sAuthor As String
Dim sCopyright As String
Dim sDescription As String
Dim sRating As String
Dim sTitle As String
' Set the IWMEncDisplayInfo properties.
Descr.Author = "Content author's name."
Descr.Copyright = "Copyright 2000. All rights reserved."
Descr.Description = "Description of the encoded content."
Descr.Rating = "Not applicable."
Descr.Title = "Title of the encoded content."
' Retrieve the IWMEncDisplayInfo properties.
sAuthor = Descr.Author
sCopyright = Descr.Copyright
sDescription = Descr.Description
sRating = Descr.Rating
sTitle = Descr.Title
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also
.gif)