Guest User

Untitled

a guest
Jun 25th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. char buf[2048];
  2. sprintf(buf, "Error: %s error description: %sn",DXGetErrorString(hr),DXGetErrorDescription(hr));
  3.  
  4. PCWSTR GetErrorCode(int error)
  5. {
  6. switch (error)
  7. {
  8. case 1:
  9. return L"File not found";
  10. ...
  11. default:
  12. return "Unknown error";
  13. }
  14. }
Add Comment
Please, Sign In to add comment