ReactOS 0.4.16-dev-297-gc569aee
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
27extern "C" {
28#endif
29typedef struct _ADMIN_OTHER_INFO {
33typedef struct _STD_ALERT {
38typedef struct _ERRLOG_OTHER_INFO {
42typedef struct _PRINT_OTHER_INFO {
48typedef struct _USER_OTHER_INFO {
54#ifdef __cplusplus
55}
56#endif
57#endif
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _ADMIN_OTHER_INFO * LPADMIN_OTHER_INFO
struct _USER_OTHER_INFO USER_OTHER_INFO
struct _ERRLOG_OTHER_INFO * PERRLOG_OTHER_INFO
struct _ERRLOG_OTHER_INFO * LPERRLOG_OTHER_INFO
struct _USER_OTHER_INFO * PUSER_OTHER_INFO
struct _PRINT_OTHER_INFO * PPRINT_OTHER_INFO
struct _ERRLOG_OTHER_INFO ERRLOG_OTHER_INFO
NET_API_STATUS WINAPI NetAlertRaiseEx(LPCWSTR, PVOID, DWORD, LPCWSTR)
struct _STD_ALERT STD_ALERT
struct _ADMIN_OTHER_INFO * PADMIN_OTHER_INFO
struct _ADMIN_OTHER_INFO ADMIN_OTHER_INFO
struct _USER_OTHER_INFO * LPUSER_OTHER_INFO
struct _PRINT_OTHER_INFO PRINT_OTHER_INFO
NET_API_STATUS WINAPI NetAlertRaise(LPCWSTR, PVOID, DWORD)
struct _STD_ALERT * PSTD_ALERT
struct _PRINT_OTHER_INFO * LPPRINT_OTHER_INFO
struct _STD_ALERT * LPSTD_ALERT
#define EVLEN
Definition: lmcons.h:32
#define SNLEN
Definition: lmcons.h:26
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
DWORD alrtad_errcode
Definition: lmalert.h:30
DWORD alrtad_numstrings
Definition: lmalert.h:31
DWORD alrter_offset
Definition: lmalert.h:40
DWORD alrter_errcode
Definition: lmalert.h:39
DWORD alrtpr_jobid
Definition: lmalert.h:43
DWORD alrtpr_submitted
Definition: lmalert.h:45
DWORD alrtpr_size
Definition: lmalert.h:46
DWORD alrtpr_status
Definition: lmalert.h:44
WCHAR alrt_eventname[EVLEN+1]
Definition: lmalert.h:35
WCHAR alrt_servicename[SNLEN+1]
Definition: lmalert.h:36
DWORD alrt_timestamp
Definition: lmalert.h:34
DWORD alrtus_numstrings
Definition: lmalert.h:50
DWORD alrtus_errcode
Definition: lmalert.h:49
#define WINAPI
Definition: msvc.h:6
__wchar_t WCHAR
Definition: xmlstorage.h:180
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185