2025-04-27 07:49:33 -04:00

37 lines
655 B
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "../my3216.h"
/*
* winErrorString: Write the text of an HRESULT into a supplied buffer.
*/
LPTSTR
winErrorString(
HRESULT hrErrorCode,
LPTSTR sBuf,
int cBufSize);
/*
* print_error: Print a mesage and the text of an HRESULT .
*/
void
print_error(
LPTSTR sMessage,
HRESULT hrErrorCode);
/*
* perror_OKBox: Write the text of an HRESULT in a MessageBox.
*/
void
perror_OKBox(
HWND hwnd,
LPTSTR sTitle,
HRESULT hrErrorCode);
/*
* wprintf_OKBox: printf into a MessageBox.
*/
void
wprintf_OKBox(
HWND hwnd,
LPTSTR sTitle,
LPTSTR sFormat,
...);