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 GetStreamType method retrieves the stream type.
HRESULT GetStreamType(
GUID* pStreamType
);
Arguments
pStreamType |
[out] Pointer to a 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.
Return code |
Number |
Description |
|---|---|---|
E_UNEXPECTED |
0x8000FFFF |
pStreamType is null. |
Requirements
Header: streamdescription.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.