Method PutFrame

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{This|interfaces/iavobject/PutFrame.html}} <!--SORT=7--> == == <source lang=idl> HRESULT PutFrame( [in] int nStream, [in] BYTE* pbBuffer, [in] DWORD cbActual, ...")
 
Line 2: Line 2:
 
<!--SORT=7-->
 
<!--SORT=7-->
  
 +
Method to put data to AV object.
 
== ==
 
== ==
 
<source lang=idl>
 
<source lang=idl>
Line 14: Line 15:
 
     );
 
     );
 
</source>
 
</source>
Метод для отправки данных объекту
 
  
 
==Parameters:==
 
==Parameters:==

Revision as of 15:30, 8 July 2014

This page is a copy of the original page on the AVObjects' web site and can also be viewed here.

Method to put data to AV object.

HRESULT PutFrame(
    [in] int nStream,
    [in] BYTE* pbBuffer,
    [in] DWORD cbActual, 
    [in] DWORD dwFlags,
    [in] REFERENCE_TIME tS,
    [in] REFERENCE_TIME tE,
    [in] BYTE* pbReserved
    );

Parameters:

nStream     Number of stream
pbBuffer    Buffer with data.
cbActual    Size of data in buffer in bytes.
dwFlags     Library specific bitmap (see library description)
tS          Start time
tE          End time
pbReserved  Library specific variable (see library description)

Returns:

S_OK                                 Data in pbBuffer sended
HRESULT_FROM_WIN32(ERROR_HANDLE_EOF) End of stream
E_INVALIDARG                         One or more arguments are invalid
E_FAIL                               Object not initialized yet or other failure
Personal tools