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
609 B

// Copyright (c) 1997-1999 Microsoft Corporation
//
// Shared Dialog code
//
// 3-11-98 sburns
#ifndef COMMON_HPP_INCLUDED
#define COMMON_HPP_INCLUDED
#include <chstring.h>
// translates an hresult to an error string
// special cases WMI errors
// returns TRUE if lookup successful
bool ErrorLookup(HRESULT hr, CHString& message);
void
AppError(
HWND parent,
HRESULT hr,
const CHString& message);
void
AppMessage(HWND parent, const CHString& message);
void
AppMessage(HWND parent, int messageResID);
#endif // COMMON_HPP_INCLUDED