What struct of data in VFW

This is a discussion on What struct of data in VFW within the Windows Programming forums, part of the Platform Specific Boards category; I write codes using VFW,and using callback function throught message capFileSaveDIB, I want to display a picture with lpData in ...

  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    50

    What struct of data in VFW

    I write codes using VFW,and using callback function throught message capFileSaveDIB,
    I want to display a picture with lpData in data struct VIDEOHDR,
    who could tell me What struct of the lpData in struct VIDEOHDR?

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    Sorry, what? I googled all the words and functions you did not explain and I still don't know what you need help with.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Information HERE

  4. #4
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    611
    If only there was a cap function that let you get the composition of the video frames, i.e. their format

  5. #5
    Registered User
    Join Date
    Oct 2009
    Location
    Portugal
    Posts
    25
    Code:
    typedef struct videohdr_tag {
      LPBYTE    lpData;
      DWORD     dwBufferLength;
      DWORD     dwBytesUsed;
      DWORD     dwTimeCaptured;
      DWORD_PTR dwUser;
      DWORD     dwFlags;
      DWORD_PTR dwReserved[4];
    } VIDEOHDR, *PVIDEOHDR, *LPVIDEOHDR;
    visit VIDEOHDR structure

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting the data from a void* in a struct
    By gwrodriguez in forum C++ Programming
    Replies: 8
    Last Post: 05-31-2011, 06:10 PM
  2. Accessing Data within a struct! Need help please
    By matthayzon89 in forum C Programming
    Replies: 7
    Last Post: 09-02-2010, 02:03 PM
  3. struct holding data inside a linked list struct
    By icestorm in forum C Programming
    Replies: 2
    Last Post: 10-06-2009, 12:49 PM
  4. Enter data in struct
    By Cooper in forum C Programming
    Replies: 5
    Last Post: 05-31-2003, 07:56 AM
  5. which data struct?
    By newbie2c in forum C Programming
    Replies: 3
    Last Post: 01-29-2003, 04:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21