IWMSPacket.GetBuffer (C#)
Previous | Next |
IWMSPacket.GetBuffer (C#)
The GetBuffer method retrieves the location of a specific buffer region that contains the packet's data.
Syntax
Parameters
dwBufferNum
uint containing the index of the buffer to retrieve.
ppBuffer
Reference to an INSSBuffer object containing the buffer retrieved.
pdwBufferOffset
Reference to a uint containing the offset into the buffer list.
pdwBufferLen
Reference to a uint containing the length of the buffer.
pwFlags
Member of the WMS_PACKET_BUFFER_FLAGS enumeration type.
Value | Description |
WMS_INSERT_BUFFER_AT_END | The buffer was inserted at the end of the list. |
dwExFlags
Member of the WMS_PACKET_BUFFER_EX_FLAGS enumeration type. This must be a bitwise OR of one or more of the following values.
Value | Description |
WMS_BUFFER_COMBINE | This buffer should be combined with the list rather than appended. |
WMS_BUFFER_NO_ADDREF | The reference count for the buffer should not be incremented. |
WMS_BUFFER_NO_REFCOUNT | No reference count should be kept for this buffer. |
WMS_BUFFER_NO_RELEASE | The buffer should not be released regardless of reference count. |
Return Values
This method does not return a value.
If this method fails, it throws an exception.
Number | Description |
0x80070057 | dwBufferNum is not a valid index location. |
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.
See Also
Previous | Next |