This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include<windows.h> | |
int main() | |
{ | |
INPUT key; | |
LPINPUT lpkey = &key; | |
WORD wkey; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include<windows.h> | |
#include<bluetoothapis.h> | |
#include<iostream> | |
#pragma comment(lib,"Bthprops") | |
int check_device(BLUETOOTH_DEVICE_SEARCH_PARAMS p_dev, BLUETOOTH_DEVICE_INFO i_dev,int count) { | |
int check_count = 0; | |
HBLUETOOTH_DEVICE_FIND f_dev = BluetoothFindFirstDevice(&p_dev, &i_dev); |