I'm wanting to work with a low level function in C++ that mimics keyboard strokes without the user pressing the keyboard to any active, or possible inactive windows. I don't know much on Assembly, but I have the function set up to use later on for a DLL file once I have the code:

Code:
int _stdcall Send_Keys(unsigned char Key, int *hWnd)
{
     //hWnd is a handle to a Window.

     _asm{

          //assembly source code here

     }

     return 1;
}
Can anyone help me out?