Diff

Not logged in

Differences From Artifact [f4b497581be6267b]:

To Artifact [0911235d09725936]:


4 4 * Windows API header module * 5 5 * * 6 6 * Translated from MinGW Windows headers * 7 7 * * 8 8 * Placed into public domain * 9 9 \***********************************************************************/ 10 10 module win32.lmalert; 11 -pragma(lib, "netapi32.lib"); 11 +pragma(lib, "netapi32"); 12 12 13 13 private import win32.lmcons, win32.windef; 14 14 15 15 const TCHAR[] 16 16 ALERTER_MAILSLOT = `\\.\MAILSLOT\Alerter`, 17 17 ALERT_PRINT_EVENT = "PRINTING", 18 18 ALERT_MESSAGE_EVENT = "MESSAGE", ................................................................................ 42 42 DWORD alrtad_errcode; 43 43 DWORD alrtad_numstrings; 44 44 } 45 45 alias ADMIN_OTHER_INFO* PADMIN_OTHER_INFO, LPADMIN_OTHER_INFO; 46 46 47 47 struct STD_ALERT{ 48 48 DWORD alrt_timestamp; 49 - TCHAR alrt_eventname[EVLEN+1]; 50 - TCHAR alrt_servicename[SNLEN+1]; 49 + TCHAR[EVLEN+1] alrt_eventname; 50 + TCHAR[SNLEN+1] alrt_servicename; 51 51 } 52 52 alias STD_ALERT* PSTD_ALERT, LPSTD_ALERT; 53 53 54 54 struct ERRLOG_OTHER_INFO{ 55 55 DWORD alrter_errcode; 56 56 DWORD alrter_offset; 57 57 }