IWMSStreamHeaderList.GetContainerFormat (C#)
The GetContainerFormat method retrieves the stream format of the digital media stream.
void IWMSStreamHeaderList.GetContainerFormat(
ref Guid pFormat
);
Arguments
Reference to a Guid that identifies the container format. This must be one of the following values. |
Stream format |
GUID |
---|---|
ASF |
0x75b22630,0x668e,0x11cf,0xa6,0xd9,0x00,0xaa,0x00,0x62,0xce,0x6c |
Unknown format |
0x52769631, 0x38aa, 0x11d2, 0x9e, 0xfa, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf |
Return Value
This method does not return a value.
If this method fails, it throws an exception.
Number |
Description |
---|---|
0x80070057 |
pFormat is null. |
Requirements
Reference: Add a reference to Microsoft.WindowsMediaServices.
Namespace: Microsoft.WindowsMediaServices.Interop.
Assembly: Microsoft.WindowsMediaServices.dll.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.