The GetKeyboardState function copies the status of the 256 virtual keys to the specified buffer. BOOL GetKeyboardState( PBYTE lpKeyState // address of array to receive status data ); ParameterslpKeyStatePoints to the 256-byte array that will receive the status data for each virtual key. ====================== he GetKeyState function retrieves the status of the specified virtual key. The status specifies whether the key is up, down, or toggled (on, off ?alternating each time the key is pressed). SHORT GetKeyState( int nVirtKey // virtual-key code );
GetKeyboardState()
GetKeyState( )
);
ParameterslpKeyStatePoints to the 256-byte array that will receive the status data for each virtual key. ======================
he GetKeyState function retrieves the status of the specified virtual key. The status specifies whether the key is up, down, or toggled (on, off ?alternating each time the key is pressed). SHORT GetKeyState( int nVirtKey // virtual-key code
);