ReactOS  0.4.14-dev-337-gf981a68
lmalert.h
Go to the documentation of this file.
1 #ifndef _LMALERT_H
2 #define _LMALERT_H
3 
4 #define ALERTER_MAILSLOT TEXT("\\\\.\\MAILSLOT\\Alerter")
5 #define ALERT_PRINT_EVENT TEXT("PRINTING")
6 #define ALERT_MESSAGE_EVENT TEXT("MESSAGE")
7 #define ALERT_ERRORLOG_EVENT TEXT("ERRORLOG")
8 #define ALERT_ADMIN_EVENT TEXT("ADMIN")
9 #define ALERT_USER_EVENT TEXT("USER")
10 #define ALERT_OTHER_INFO(x) ((PBYTE)(x)+sizeof(STD_ALERT))
11 #define ALERT_VAR_DATA(p) ((PBYTE)(p)+sizeof(*p))
12 #define PRJOB_QSTATUS 3
13 #define PRJOB_DEVSTATUS 508
14 #define PRJOB_COMPLETE 4
15 #define PRJOB_INTERV 8
16 #define PRJOB_ 16
17 #define PRJOB_DESTOFFLINE 32
18 #define PRJOB_DESTPAUSED 64
19 #define PRJOB_NOTIFY 128
20 #define PRJOB_DESTNOPAPER 256
21 #define PRJOB_DELETED 32768
22 #define PRJOB_QS_QUEUED 0
23 #define PRJOB_QS_PAUSED 1
24 #define PRJOB_QS_SPOOLING 2
25 #define PRJOB_QS_PRINTING 3
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 typedef struct _ADMIN_OTHER_INFO {
33 typedef struct _STD_ALERT {
38 typedef struct _ERRLOG_OTHER_INFO {
42 typedef struct _PRINT_OTHER_INFO {
48 typedef struct _USER_OTHER_INFO {
54 #ifdef __cplusplus
55 }
56 #endif
57 #endif
struct _PRINT_OTHER_INFO * LPPRINT_OTHER_INFO
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
struct _STD_ALERT STD_ALERT
struct _ADMIN_OTHER_INFO ADMIN_OTHER_INFO
struct _USER_OTHER_INFO USER_OTHER_INFO
#define SNLEN
Definition: lmcons.h:26
WCHAR alrt_servicename[SNLEN+1]
Definition: lmalert.h:36
WCHAR alrt_eventname[EVLEN+1]
Definition: lmalert.h:35
struct _ADMIN_OTHER_INFO * LPADMIN_OTHER_INFO
DWORD alrtus_errcode
Definition: lmalert.h:49
DWORD alrtpr_size
Definition: lmalert.h:46
struct _ERRLOG_OTHER_INFO ERRLOG_OTHER_INFO
DWORD alrtpr_jobid
Definition: lmalert.h:43
NET_API_STATUS WINAPI NetAlertRaise(LPCWSTR, PVOID, DWORD)
struct _PRINT_OTHER_INFO PRINT_OTHER_INFO
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
struct _STD_ALERT * LPSTD_ALERT
struct _ERRLOG_OTHER_INFO * LPERRLOG_OTHER_INFO
__wchar_t WCHAR
Definition: xmlstorage.h:180
DWORD alrter_errcode
Definition: lmalert.h:39
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD alrtus_numstrings
Definition: lmalert.h:50
DWORD alrtpr_submitted
Definition: lmalert.h:45
struct _USER_OTHER_INFO * PUSER_OTHER_INFO
struct _STD_ALERT * PSTD_ALERT
DWORD alrtpr_status
Definition: lmalert.h:44
DWORD alrtad_numstrings
Definition: lmalert.h:31
DWORD alrt_timestamp
Definition: lmalert.h:34
NET_API_STATUS WINAPI NetAlertRaiseEx(LPCWSTR, PVOID, DWORD, LPCWSTR)
DWORD alrter_offset
Definition: lmalert.h:40
#define EVLEN
Definition: lmcons.h:32
struct _PRINT_OTHER_INFO * PPRINT_OTHER_INFO
struct _ERRLOG_OTHER_INFO * PERRLOG_OTHER_INFO
struct _ADMIN_OTHER_INFO * PADMIN_OTHER_INFO
struct _USER_OTHER_INFO * LPUSER_OTHER_INFO
DWORD alrtad_errcode
Definition: lmalert.h:30