Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SetStreamType method specifies the stream type.
HRESULT SetStreamType(
GUID StreamType
);
Arguments
StreamType |
[in] GUID containing the stream type. This must be one of the following values. |
Stream format |
GUID |
|---|---|
Audio |
0xD6E229E2,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE |
Image |
0xD6E229E4,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE |
Script commands |
0xD6E229E8,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE |
Text |
0xD6E229E6,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE |
Unknown format |
0x52769632, 0x38AA, 0x11D2, 0x9E, 0xFA, 0x0, 0x60, 0x97, 0xD2, 0xD7, 0xCF |
Video |
0xD6E229E3,0x35DA,0x11D1,0x90,0x34,0x00,0xA0,0xC9,0x03,0x49,0xBE |
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Requirements
Header: streamdescription.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.