Archive Context
An archive context contains information about a file that has been saved to disk. The following table identifies archive context values defined by Windows Media Services.
Name |
Value (data type) |
Key |
Description |
---|---|---|---|
WMS_ARCHIVE_CONTENT_DESCRIPTION_LIST_BUFFER |
IUnknown* |
7 |
Contains an IUnknown pointer that you can use to retrieve a pointer to an INSSBuffer object that the server creates to store metadata about a media item. For more information, see Downloading Content. You can call the GetAndQueryIUnknownValue method on the IWMSContext interface to retrieve a pointer to INSSBuffer. |
WMS_ARCHIVE_FILENAME |
String |
1 |
Contains the name of the archive file. |
WMS_ARCHIVE_FILE_SIZE |
QWORD |
5 |
Contains the size of the archive file in bytes. |
WMS_ARCHIVE_FORMAT_TYPE |
String |
2 |
Contains the format type of the archive file. |
WMS_ARCHIVE_PACKET_LOSS_PERCENTAGE |
long |
6 |
Contains the percentage of packets lost during transmission of the content. |
WMS_ARCHIVE_STATUS_CODE |
long |
4 |
Contains an HRESULT indicating whether the content was successfully downloaded. |
WMS_ARCHIVE_STREAM_HEADERS |
IUnknown* |
3 |
Contains an IUnknown pointer that you can use to retrieve a pointer to the IWMSStreamHeaderList object associated with the archived file. You can call the GetAndQueryIUnknownValue method on the IWMSContext interface to retrieve a pointer to IWMSStreamHeaderList. |
See Also (General)
See Also (Visual Basic .NET)
INSSBufferINSSBuffer Object (Visual Basic .NET)
IWMSContext.GetAndQueryIUnknownValueIWMSContext.GetAndQueryIUnknownValue (Visual Basic .NET)
IWMSStreamHeaderListIWMSStreamHeaderList Object (Visual Basic .NET)
See Also (C#)
INSSBufferINSSBuffer Object (C#)
IWMSContext.GetAndQueryIUnknownValueIWMSContext.GetAndQueryIUnknownValue (C#)
IWMSStreamHeaderListIWMSStreamHeaderList Object (C#)
See Also (C++)
INSSBufferINSSBuffer Interface
IWMSContext::GetAndQueryIUnknownValue
IWMSStreamHeaderListIWMSStreamHeaderList Interface