Video Capture: Inserting Strings into a captured frame

Hi

I have wrote some code to capture video. It works fine.
I use a VFW translation (I don't remember where I found it)
for that job.

I need to insert strings into the captured frames.
Those strings must be visible when the avi file
is played back.

The avicap32.dll provides the ability to have some
callback functions. One of those functions is the

function CapVideoCallBack(hWnd: HWND; lpVHdr: PVIDEOHDR): DWORD;

The PVIDEOHDR is defined as

type
  PVIDEOHDR          = ^TVIDEOHDR;
  TVIDEOHDR          = record
      lpData         : PBYTE;                // pointer to locked data
buffer
      dwBufferLength : DWORD;                // Length of data buffer
      dwBytesUsed    : DWORD;                // Bytes actually used
      dwTimeCaptured : DWORD;                // Milliseconds from start of
stream
      dwUser         : DWORD;                // for client's use
      dwFlags        : DWORD;                // assorted flags (see defines)
      dwReserved     : array[0..3] of DWORD; // reserved for driver
  end;

No more info is provided and the SDK documentation
ingores the VIDEOHDR structure.

Any ideas?

--

Thanks
Theo

-----------------------------------
Theo Bebekis
Thessaloniki, Greece
bebe...@otenet.gr
-----------------------------------