Guest User

the legend of 49

a guest
Aug 16th, 2010
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. #include <xtl.h>
  2. #include "AtgConsole.h"
  3. #include "AtgUtil.h"
  4. #include "AtgInput.h"
  5. #include <iostream>
  6. #include <iomanip>
  7. #include <sstream>
  8. #include <iostream>
  9. #include <fstream>
  10. #include <sys/stat.h>
  11. #include "xfilecache.h"
  12. #include <string>
  13. #include "xbox.h"
  14. #include <vector>
  15.  
  16. using std::vector;
  17. using std::string;
  18. using std::ifstream;
  19. using std::ofstream;
  20. using std::fstream;
  21.  
  22. typedef struct _STRING {
  23. USHORT Length;
  24. USHORT MaximumLength;
  25. PCHAR Buffer;
  26. } STRING, *PSTRING;
  27.  
  28. extern "C" int __stdcall ObCreateSymbolicLink( STRING*, STRING*);
  29. extern "C" int __stdcall ObDeleteSymbolicLink( STRING* );
  30. extern "C" VOID XeCryptSha(LPVOID DataBuffer1, UINT DataSize1, LPVOID DataBuffer2, UINT DataSize2, LPVOID DataBuffer3, UINT DataSize3, LPVOID DigestBuffer, UINT DigestSize);
  31.  
  32.  
  33. VOID __cdecl main()
  34. {
  35. console.Format("Hello World \n");
  36. console.Format(" Press any key to return to dashboard \n");
  37. bool keypush = false;
  38. while(!keypush)
  39. {
  40. ATG::GAMEPAD* pGamepad = ATG::Input::GetMergedInput();
  41. if( pGamepad->wPressedButtons)
  42. {
  43. keypush = true;
  44. }
  45. }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment