Advertisement
Guest User

Untitled

a guest
Jan 5th, 2011
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. #include "Form1.h"
  2. #include <winsock2.h>
  3. #include <stdio.h>
  4. #include <ws2bth.h>
  5. #include <time.h>
  6. #include <Windows.h>
  7.  
  8. #define DEFAULT_BUFFER 10
  9.  
  10. // tylko Visual C++
  11.  
  12. #pragma once
  13. #pragma comment(lib, "ws2_32.lib")
  14.  
  15. void emulateMouse(char *buf);
  16. void emulateKeyboard(char *buf);
  17. void emulatePad(char *buf);
  18. void executeCommand(char *buf);
  19. void pushButton(WORD command);
  20. DWORD WINAPI ClientThread(LPVOID lpParam);
  21. DWORD WINAPI listenThread(LPVOID lpParam);
  22.  
  23.  
  24. ref class btServer
  25. {
  26. public:
  27. btServer(Form1^ aforma);
  28. void start();
  29. void stop();
  30. private:
  31. Form1^ forma;
  32. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement