NetBSD/dist/ntp/libntp/log.h
2000-03-29 12:38:44 +00:00

24 lines
611 B
C

/* $NetBSD: log.h,v 1.1.1.1 2000/03/29 12:38:49 simonb Exp $ */
/*
* log.h - Used only under Windows NT by msyslog.c
*
*/
#ifndef WINNT_LOG_H
#define WINNT_LOG_H
#include <windows.h>
/* function declarations */
void addSourceToRegistry(LPSTR pszAppname, LPSTR pszMsgDLL);
void reportAnIEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);
void reportAnWEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);
void reportAnEEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);
#define MAX_MSG_LENGTH 1024
#define MSG_ID_MASK 0x0000FFFF
#define MAX_INSERT_STRS 8
#endif /* WINNT_LOG_H */