Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
655 B

#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,
...);