tagINPUT and SendInput

This is a discussion on tagINPUT and SendInput within the C Programming forums, part of the General Programming Boards category; typedef struct tagINPUT { DWORD type; union { MOUSEINPUT mi; KEYBDINPUT ki; HARDWAREINPUT hi; }; } INPUT, *PINPUT; UINT SendInput( ...

  1. #1
    Unregistered
    Guest

    tagINPUT and SendInput

    typedef struct tagINPUT {
    DWORD type;
    union {
    MOUSEINPUT mi;
    KEYBDINPUT ki;
    HARDWAREINPUT hi;
    };
    } INPUT, *PINPUT;

    UINT SendInput(
    UINT nInputs, // count of input events
    LPINPUT pInputs, // array of input events
    int cbSize // size of structure
    );


    If someone could please show me how to use these two api's calls that would be great. Im new at using api w. C and still
    trying to get the hang of this>

    I know the sendinput takes an argument of the array tagINPUT.
    But im not exactly sure how to fill the values of tagINPUt.
    I see the INPUT and *PINPUT after the structs but unsure
    How to plug them in>

    Any help would be great.
    Thank you

  2. #2
    Unregistered
    Guest
    someone has to know ??
    Please I need help

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    You might try the Windows Programming board.

    Have you looked here for information?
    http://msdn.microsoft.com/library/de...binpt_7id0.asp

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tagINPUT sendINput
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 03-09-2002, 05:14 PM

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