windows-nt/Source/XPSP1/NT/ds/security/services/ca/include/certmsg.h

74 lines
1.4 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1997 - 1999
//
// File: certmsg.h
//
//--------------------------------------------------------------------------
#ifndef __CERTMSG_H__
#define __CERTMSG_H__
#define CMB_NOERRFROMSYS 0x10000000L
#define CMB_REPEATWIZPREFIX 0x20000000L
int
CertMessageBox
(
IN HINSTANCE hInstance,
IN BOOL fUnattended,
IN HWND hWnd,
IN DWORD dwMsgId,
IN HRESULT hrCode,
IN UINT uType,
IN OPTIONAL const WCHAR * pwszCustomMsg
);
int
CertInfoMessageBox
(
IN HINSTANCE hInstance,
IN BOOL fUnattended,
IN HWND hWnd,
IN DWORD dwMsgId,
IN OPTIONAL const WCHAR * pwszCustomMsg
);
int
CertErrorMessageBox
(
IN HINSTANCE hInstance,
IN BOOL fUnattended,
IN HWND hWnd,
IN DWORD dwMsgId,
IN HRESULT hrCode,
IN OPTIONAL const WCHAR * pwszCustomMsg
);
int
CertWarningMessageBox
(
IN HINSTANCE hInstance,
IN BOOL fUnattended,
IN HWND hWnd,
IN DWORD dwMsgId,
IN HRESULT hrCode,
IN OPTIONAL const WCHAR * pwszCustomMsg
);
typedef VOID (FNLOGMESSAGEBOX)(
IN HRESULT hrMsg,
IN UINT idMsg,
IN WCHAR const *pwszTitle,
IN WCHAR const *pwszMessage);
VOID
CertLogMessageBoxInit(
IN FNLOGMESSAGEBOX *pfnLogMessagBox);
#endif //__CERTMSG_H__