newlib/winsup/w32api/include/lmalert.h

61 lines
1.7 KiB
C
Raw Normal View History

2000-02-17 20:38:33 +01:00
#ifndef _LMALERT_H
#define _LMALERT_H
* include/accctrl.h, aclapi.h, basetsd.h, basetyps.h, cderr.h, cguid.h, commctrl.h, commdlg.h, cpl.h, cplext.h, custcntl.h, dbt.h, dde.h, ddeml.h, dlgs.h, excpt.h, httpext.h, imagehlp.h, imm.h, initguid.h, intshcut.h, ipexport.h, iphlpapi.h, ipifcons.h, iprtrmib.h, iptypes.h, isguids.h, largeint.h, lm.h, lmaccess.h, lmalert.h, lmapibuf.h, lmat.h, lmaudit.h, lmbrowsr.h, lmchdev.h, lmconfig.h, lmcons.h, lmerr.h, lmerrlog.h, lmmsg.h, lmremutl.h, lmrepl.h, lmserver.h, lmshare.h, lmsname.h, lmstats.h, lmsvc.h, lmuse.h, lmuseflg.h, lmwksta.h, lzexpand.h, mapi.h, mciavi.h, mcx.h, mmsystem.h, mswsock.h, nb30.h, nddeapi.h, nspapi.h, ntdef.h, ntsecapi.h, ntsecpkg.h, oaidl.h, objbase.h, objfwd.h, objidl.h, odbcinst.h, ole.h, ole2.h, ole2ver.h, oleauto.h, olectl.h, olectlid.h, oledlg.h, oleidl.h, pbt.h, prsht.h, psapi.h, rapi.h, ras.h, raserror.h, rassapi.h, regstr.h, richedit.h, richole.h, rpc.h, rpcdce.h, rpcdce2.h, rpcdcep.h, rpcndr.h, rpcnsi.h, rpcnsip.h, rpcnterr.h, rpcproxy.h, schannel.h, schnlsp.h, scrnsave.h, security.h, setupapi.h, shellapi.h, shlguid.h, shlobj.h, sql.h, sqlext.h, sqltypes.h, sqlucode.h, sspi.h, subauth.h, tlhelp32.h, unknwn.h, userenv.h, w32api.h, winbase.h, wincon.h, wincrypt.h, windef.h, windows.h, windowsx.h, winerror.h, wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls.h, winnt.h, winperf.h, winreg.h, winresrc.h, winsock.h, winsock2.h, winspool.h, winsvc.h, winuser.h, winver.h, ws2tcpip.h, wsnetbs.h, wtypes.h, zmouse.h: Add #pragma GCC system_header if __GNUC__ >= 3. * include/mapi.h: Change header guard name to _MAPI_H for consistency.
2002-03-09 10:04:10 +01:00
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#define ALERTER_MAILSLOT TEXT("\\\\.\\MAILSLOT\\Alerter")
#define ALERT_PRINT_EVENT TEXT("PRINTING")
#define ALERT_MESSAGE_EVENT TEXT("MESSAGE")
#define ALERT_ERRORLOG_EVENT TEXT("ERRORLOG")
#define ALERT_ADMIN_EVENT TEXT("ADMIN")
#define ALERT_USER_EVENT TEXT("USER")
2000-02-17 20:38:33 +01:00
#define ALERT_OTHER_INFO(x) ((PBYTE)(x)+sizeof(STD_ALERT))
#define ALERT_VAR_DATA(p) ((PBYTE)(p)+sizeof(*p))
#define PRJOB_QSTATUS 3
#define PRJOB_DEVSTATUS 508
#define PRJOB_COMPLETE 4
#define PRJOB_INTERV 8
#define PRJOB_ 16
#define PRJOB_DESTOFFLINE 32
#define PRJOB_DESTPAUSED 64
#define PRJOB_NOTIFY 128
#define PRJOB_DESTNOPAPER 256
#define PRJOB_DELETED 32768
#define PRJOB_QS_QUEUED 0
#define PRJOB_QS_PAUSED 1
#define PRJOB_QS_SPOOLING 2
#define PRJOB_QS_PRINTING 3
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _ADMIN_OTHER_INFO {
DWORD alrtad_errcode;
DWORD alrtad_numstrings;
}ADMIN_OTHER_INFO,*PADMIN_OTHER_INFO,*LPADMIN_OTHER_INFO;
typedef struct _STD_ALERT {
DWORD alrt_timestamp;
TCHAR alrt_eventname[EVLEN+1];
TCHAR alrt_servicename[SNLEN+1];
}STD_ALERT,*PSTD_ALERT,*LPSTD_ALERT;
typedef struct _ERRLOG_OTHER_INFO {
DWORD alrter_errcode;
DWORD alrter_offset;
}ERRLOG_OTHER_INFO,*PERRLOG_OTHER_INFO,*LPERRLOG_OTHER_INFO;
typedef struct _PRINT_OTHER_INFO {
DWORD alrtpr_jobid;
DWORD alrtpr_status;
DWORD alrtpr_submitted;
DWORD alrtpr_size;
}PRINT_OTHER_INFO,*PPRINT_OTHER_INFO,*LPPRINT_OTHER_INFO;
typedef struct _USER_OTHER_INFO {
DWORD alrtus_errcode;
DWORD alrtus_numstrings;
}USER_OTHER_INFO,*PUSER_OTHER_INFO,*LPUSER_OTHER_INFO;
NET_API_STATUS WINAPI NetAlertRaise(LPCWSTR,PVOID,DWORD);
NET_API_STATUS WINAPI NetAlertRaiseEx(LPCWSTR,PVOID,DWORD,LPCWSTR);
#ifdef __cplusplus
}
#endif
#endif