Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char buf[2048];
- sprintf(buf, "Error: %s error description: %sn",DXGetErrorString(hr),DXGetErrorDescription(hr));
- PCWSTR GetErrorCode(int error)
- {
- switch (error)
- {
- case 1:
- return L"File not found";
- ...
- default:
- return "Unknown error";
- }
- }
Add Comment
Please, Sign In to add comment