Changeset 21787 for branches/gcc-kmk/include/_ras.h
- Timestamp:
- Nov 3, 2011, 5:46:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/include/_ras.h
r21755 r21787 49 49 50 50 /* Tracked objects logging functions typedefs */ 51 typedef void WIN32API FNRASLOG_EXTERNAL (const char *fmt, ...);51 typedef void WIN32API_VA FNRASLOG_EXTERNAL (const char *fmt, ...); 52 52 53 53 typedef ULONG WIN32API FNLOC (ULONG objident, ULONG objhandle, void *objdata, ULONG cbobjdata, FNRASLOG_EXTERNAL *pRasLog); … … 150 150 151 151 /* RAS logging functions */ 152 void WIN32API RasLog (152 void WIN32API_VA RasLog ( 153 153 const char *fmt, /* 'printf' style format string */ 154 154 ... 155 155 ); 156 156 157 void WIN32API RasLogNoEOL (157 void WIN32API_VA RasLogNoEOL ( 158 158 const char *fmt, /* 'printf' style format string */ 159 159 ... … … 173 173 ); 174 174 175 void WIN32API RasLog2 (175 void WIN32API_VA RasLog2 ( 176 176 RAS_LOG_CHANNEL_H hchannel, /* log channel to log to */ 177 177 char *fmt, /* 'printf' style format string */ … … 179 179 ); 180 180 181 void WIN32API RasLogNoEOL2 (181 void WIN32API_VA RasLogNoEOL2 ( 182 182 RAS_LOG_CHANNEL_H hchannel, /* log channel to log to */ 183 183 char *fmt, /* 'printf' style format string */ … … 194 194 /* RAS replacement for C runtime sprintf function */ 195 195 #ifdef __GNUC__ 196 int WIN32API ras_snprintf (196 int WIN32API_VA ras_snprintf ( 197 197 #else 198 198 int WIN32API snprintf ( … … 266 266 void (* WIN32API RasWriteLogChannel) (RAS_LOG_CHANNEL_H hchannel, const char *msg, ULONG length); 267 267 void (* WIN32API RasCloseLogChannel) (RAS_LOG_CHANNEL_H hchannel); 268 void (* WIN32API RasLog) (RAS_LOG_CHANNEL_H hchannel, char *fmt, ...);269 void (* WIN32API RasLogNoEOL) (RAS_LOG_CHANNEL_H hchannel, char *fmt, ...);268 void (* WIN32API_VA RasLog) (RAS_LOG_CHANNEL_H hchannel, char *fmt, ...); 269 void (* WIN32API_VA RasLogNoEOL) (RAS_LOG_CHANNEL_H hchannel, char *fmt, ...); 270 270 void (* WIN32API RasLogMsg) (RAS_LOG_CHANNEL_H hchannel, ULONG msg, ULONG parm1, ULONG parm2); 271 int (* WIN32API snprintf) (char *buf, int n, const char *fmt, ...);271 int (* WIN32API_VA snprintf) (char *buf, int n, const char *fmt, ...); 272 272 void (* WIN32API RasSaveContext) (RASCONTEXT *pcontext); 273 273 void (* WIN32API RasRestoreContext) (RASCONTEXT *pcontext);
Note:
See TracChangeset
for help on using the changeset viewer.