# 1 "ruby_prof.c" # 1 "C:\\dev\\ruby\\ruby-prof\\ext//" # 1 "" # 1 "" # 1 "ruby_prof.c" # 50 "ruby_prof.c" # 1 "ruby_prof.h" 1 # 55 "ruby_prof.h" # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 1 3 # 19 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/_mingw.h" 1 3 # 31 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/_mingw.h" 3 # 32 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/_mingw.h" 3 # 20 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 213 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 354 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 3 4 typedef short unsigned int wint_t; # 27 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stdarg.h" 1 3 4 # 44 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 29 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 2 3 # 129 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 typedef struct _iobuf { char* _ptr; int _cnt; char* _base; int _flag; int _file; int _charbuf; int _bufsiz; char* _tmpfname; } FILE; # 154 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 extern __attribute__ ((__dllimport__)) FILE _iob[]; # 169 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fopen (const char*, const char*); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) freopen (const char*, const char*, FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fflush (FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fclose (FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tmpfile (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tmpnam (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tempnam (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmtmp(void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tempnam (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmtmp(void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setvbuf (FILE*, char*, int, size_t); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setbuf (FILE*, char*); # 204 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 extern int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_fprintf(FILE*, const char*, ...); extern int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_printf(const char*, ...); extern int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_sprintf(char*, const char*, ...); extern int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_snprintf(char*, size_t, const char*, ...); extern int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_vfprintf(FILE*, const char*, __gnuc_va_list); extern int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_vprintf(const char*, __gnuc_va_list); extern int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_vsprintf(char*, const char*, __gnuc_va_list); extern int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_vsnprintf(char*, size_t, const char*, __gnuc_va_list); # 293 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fprintf (FILE*, const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) printf (const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sprintf (char*, const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vfprintf (FILE*, const char*, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vprintf (const char*, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vsprintf (char*, const char*, __gnuc_va_list); # 308 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __msvcrt_fprintf(FILE*, const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __msvcrt_printf(const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __msvcrt_sprintf(char*, const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __msvcrt_vfprintf(FILE*, const char*, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __msvcrt_vprintf(const char*, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __msvcrt_vsprintf(char*, const char*, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _snprintf (char*, size_t, const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _vsnprintf (char*, size_t, const char*, __gnuc_va_list); # 330 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) snprintf (char *, size_t, const char *, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vsnprintf (char *, size_t, const char *, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vscanf (const char * __restrict__, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vfscanf (FILE * __restrict__, const char * __restrict__, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vsscanf (const char * __restrict__, const char * __restrict__, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fscanf (FILE*, const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) scanf (const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sscanf (const char*, const char*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fgetc (FILE*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fgets (char*, int, FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fputc (int, FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fputs (const char*, FILE*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gets (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) puts (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ungetc (int, FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filbuf (FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _flsbuf (int, FILE*); extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getc (FILE* __F) { return (--__F->_cnt >= 0) ? (int) (unsigned char) *__F->_ptr++ : _filbuf (__F); } extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putc (int __c, FILE* __F) { return (--__F->_cnt >= 0) ? (int) (unsigned char) (*__F->_ptr++ = (char)__c) : _flsbuf (__c, __F); } extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getchar (void) { return (--(&_iob[0])->_cnt >= 0) ? (int) (unsigned char) *(&_iob[0])->_ptr++ : _filbuf ((&_iob[0])); } extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putchar(int __c) { return (--(&_iob[1])->_cnt >= 0) ? (int) (unsigned char) (*(&_iob[1])->_ptr++ = (char)__c) : _flsbuf (__c, (&_iob[1]));} # 411 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fread (void*, size_t, size_t, FILE*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fwrite (const void*, size_t, size_t, FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fseek (FILE*, long, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ftell (FILE*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rewind (FILE*); # 454 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 typedef long long fpos_t; int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fgetpos (FILE*, fpos_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fsetpos (FILE*, const fpos_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) feof (FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ferror (FILE*); # 479 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clearerr (FILE*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) perror (const char*); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _popen (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pclose (FILE*); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) popen (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) pclose (FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _flushall (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fgetchar (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fputchar (int); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fdopen (int, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fileno (FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fcloseall (void); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fsopen (const char*, const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getmaxstdio (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmaxstdio (int); # 521 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fgetchar (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fputchar (int); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fdopen (int, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fileno (FILE*); # 533 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h" 1 3 # 21 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 151 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 3 4 typedef int ptrdiff_t; # 22 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h" 2 3 typedef long time_t; typedef long long __time64_t; typedef long _off_t; typedef _off_t off_t; typedef unsigned int _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef long _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 534 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 2 3 extern __inline__ FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fopen64 (const char* filename, const char* mode) { return fopen (filename, mode); } int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fseeko64 (FILE*, off64_t, int); extern __inline__ off64_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ftello64 (FILE * stream) { fpos_t pos; if (fgetpos(stream, &pos)) return -1LL; else return ((off64_t) pos); } # 562 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fwprintf (FILE*, const wchar_t*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wprintf (const wchar_t*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _snwprintf (wchar_t*, size_t, const wchar_t*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vfwprintf (FILE*, const wchar_t*, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vwprintf (const wchar_t*, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _vsnwprintf (wchar_t*, size_t, const wchar_t*, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fwscanf (FILE*, const wchar_t*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wscanf (const wchar_t*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) swscanf (const wchar_t*, const wchar_t*, ...); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fgetwc (FILE*); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fputwc (wchar_t, FILE*); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ungetwc (wchar_t, FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) swprintf (wchar_t*, const wchar_t*, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vswprintf (wchar_t*, const wchar_t*, __gnuc_va_list); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fgetws (wchar_t*, int, FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fputws (const wchar_t*, FILE*); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getwc (FILE*); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getwchar (void); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getws (wchar_t*); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putwc (wint_t, FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _putws (const wchar_t*); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putwchar (wint_t); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfdopen(int, const wchar_t *); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfopen (const wchar_t*, const wchar_t*); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfreopen (const wchar_t*, const wchar_t*, FILE*); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfsopen (const wchar_t*, const wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtmpnam (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtempnam (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wrename (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wremove (const wchar_t*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wperror (const wchar_t*); FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wpopen (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) snwprintf (wchar_t* s, size_t n, const wchar_t* format, ...); extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __gnuc_va_list arg) { return _vsnwprintf ( s, n, format, arg);} int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vwscanf (const wchar_t * __restrict__, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vfwscanf (FILE * __restrict__, const wchar_t * __restrict__, __gnuc_va_list); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) vswscanf (const wchar_t * __restrict__, const wchar_t * __restrict__, __gnuc_va_list); # 620 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h" 3 FILE* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wpopen (const wchar_t*, const wchar_t*); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fgetwchar (void); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fputwchar (wint_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getw (FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _putw (int, FILE*); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fgetwchar (void); wint_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fputwchar (wint_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getw (FILE*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putw (int, FILE*); # 56 "ruby_prof.h" 2 # 1 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby.h" 1 # 32 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby.h" # 1 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 1 # 25 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" # 1 "C:/installs/ruby191p243p2/include/ruby-1.9.1/i386-mingw32/ruby/config.h" 1 # 26 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 50 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 1 3 # 21 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 22 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 2 3 # 71 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 extern int _argc; extern char** _argv; extern int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p___argc(void); extern char*** __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p___argv(void); extern wchar_t*** __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p___wargv(void); # 112 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __mb_cur_max; # 137 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _errno(void); int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __doserrno(void); # 149 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 extern char *** __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p__environ(void); extern wchar_t *** __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p__wenviron(void); # 172 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _sys_nerr; # 196 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _sys_errlist[]; # 209 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 extern unsigned __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) int* __p__osver(void); extern unsigned __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) int* __p__winver(void); extern unsigned __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) int* __p__winmajor(void); extern unsigned __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) int* __p__winminor(void); extern __attribute__ ((__dllimport__)) unsigned int _osver; extern __attribute__ ((__dllimport__)) unsigned int _winver; extern __attribute__ ((__dllimport__)) unsigned int _winmajor; extern __attribute__ ((__dllimport__)) unsigned int _winminor; # 260 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 char** __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p__pgmptr(void); wchar_t** __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p__wpgmptr(void); # 293 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _fmode; # 303 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atof (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atoi (const char*); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atol (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtoi (const wchar_t *); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtol (const wchar_t *); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __strtod (const char*, char**); static __inline__ double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr) { return __strtod(__nptr, __endptr); } float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtof (const char * __restrict__, char ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtold (const char * __restrict__, char ** __restrict__); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtol (const char*, char**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoul (const char*, char**, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstol (const wchar_t*, wchar_t**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoul (const wchar_t*, wchar_t**, int); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstod (const wchar_t*, wchar_t**); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstof( const wchar_t * __restrict__, wchar_t ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wgetenv(const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wputenv(const wchar_t*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wsearchenv(const wchar_t*, const wchar_t*, wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wsystem(const wchar_t*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wmakepath(wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wsplitpath (const wchar_t*, wchar_t*, wchar_t*, wchar_t*, wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfullpath (wchar_t*, const wchar_t*, size_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstombs (char*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wctomb (char*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mblen (const char*, size_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbstowcs (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbtowc (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rand (void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) srand (unsigned int); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) calloc (size_t, size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) malloc (size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) realloc (void*, size_t); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) free (void*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abort (void) __attribute__ ((__noreturn__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) exit (int) __attribute__ ((__noreturn__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atexit (void (*)(void)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) system (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getenv (const char*); void* __attribute__((__cdecl__)) bsearch (const void*, const void*, size_t, size_t, int (*)(const void*, const void*)); void __attribute__((__cdecl__)) qsort(void*, size_t, size_t, int (*)(const void*, const void*)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abs (int) __attribute__ ((__const__)); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) labs (long) __attribute__ ((__const__)); # 392 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 typedef struct { int quot, rem; } div_t; typedef struct { long quot, rem; } ldiv_t; div_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) div (int, int) __attribute__ ((__const__)); ldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ldiv (long, long) __attribute__ ((__const__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _beep (unsigned int, unsigned int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _seterrormode (int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sleep (unsigned long) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _exit (int) __attribute__ ((__noreturn__)); typedef int (* _onexit_t)(void); _onexit_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _onexit( _onexit_t ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _gcvt (double, int, char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _makepath (char*, const char*, const char*, const char*, const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _splitpath (const char*, char*, char*, char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fullpath (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultoa(unsigned long, char*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itow (int, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltow (long, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultow (unsigned long, wchar_t*, int); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _atoi64(const char *); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _i64toa(long long, char *, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ui64toa(unsigned long long, char *, int); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtoi64(const wchar_t *); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _i64tow(long long, wchar_t *, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ui64tow(unsigned long long, wchar_t *, int); unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rotl(unsigned int, int) __attribute__ ((__const__)); unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rotr(unsigned int, int) __attribute__ ((__const__)); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lrotl(unsigned long, int) __attribute__ ((__const__)); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lrotr(unsigned long, int) __attribute__ ((__const__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _set_error_mode (int); # 484 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gcvt (double, int, char*); # 504 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _Exit(int) __attribute__ ((__noreturn__)); extern __inline__ void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _Exit(int __status) { _exit (__status); } typedef struct { long long quot, rem; } lldiv_t; lldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lldiv (long long, long long) __attribute__ ((__const__)); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) llabs(long long); extern __inline__ long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) llabs(long long _j) {return (_j >= 0 ? _j : -_j);} long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoll (const char* __restrict__, char** __restrict, int); unsigned long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoull (const char* __restrict__, char** __restrict__, int); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atoll (const char *); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wtoll (const wchar_t *); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lltoa (long long, char *, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ulltoa (unsigned long long , char *, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lltow (long long, wchar_t *, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ulltow (unsigned long long, wchar_t *, int); extern __inline__ long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atoll (const char * _c) { return _atoi64 (_c); } extern __inline__ char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lltoa (long long _n, char * _c, int _i) { return _i64toa (_n, _c, _i); } extern __inline__ char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ulltoa (unsigned long long _n, char * _c, int _i) { return _ui64toa (_n, _c, _i); } extern __inline__ long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wtoll (const wchar_t * _w) { return _wtoi64 (_w); } extern __inline__ wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lltow (long long _n, wchar_t * _w, int _i) { return _i64tow (_n, _w, _i); } extern __inline__ wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ulltow (unsigned long long _n, wchar_t * _w, int _i) { return _ui64tow (_n, _w, _i); } # 51 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/string.h" 1 3 # 24 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/string.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 25 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/string.h" 2 3 # 36 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memchr (const void*, int, size_t) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcmp (const void*, const void*, size_t) __attribute__ ((__pure__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcpy (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memmove (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memset (void*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcat (char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strchr (const char*, int) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmp (const char*, const char*) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcpy (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strerror (int); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlen (const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncat (char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncmp (const char*, const char*, size_t) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncpy (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strpbrk (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrchr (const char*, int) __attribute__ ((__pure__)); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strstr (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtok (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strxfrm (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strerror (const char *); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnicmp (const char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _swab (const char*, char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strncoll(const char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnicoll(const char*, const char*, size_t); # 90 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricmp (const char*, const char*); extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcasecmp (const char*, const char *); extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcasecmp (const char * __sz1, const char * __sz2) {return _stricmp (__sz1, __sz2);} int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnicmp (const char*, const char*, size_t); extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncasecmp (const char *, const char *, size_t); extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncasecmp (const char * __sz1, const char * __sz2, size_t __sizeMaxCompare) {return _strnicmp (__sz1, __sz2, __sizeMaxCompare);} char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) swab (const char*, char*, size_t); # 122 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscat (wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcschr (const wchar_t*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscpy (wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscspn (const wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslen (const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncat (wchar_t*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncmp(const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncpy(wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcspbrk(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrchr(const wchar_t*, wchar_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsspn(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsstr(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstok(wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsxfrm(wchar_t*, const wchar_t*, size_t); # 148 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsupr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsncoll(const wchar_t*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnicoll(const wchar_t*, const wchar_t*, size_t); # 169 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/string.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2); extern __inline__ int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2) {return _wcsicmp (__ws1, __ws2);} wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsupr (wchar_t*); # 55 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 64 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/inttypes.h" 1 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdint.h" 1 3 # 24 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdint.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 25 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdint.h" 2 3 typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef int int_least32_t; typedef unsigned uint_least32_t; typedef long long int_least64_t; typedef unsigned long long uint_least64_t; typedef char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long long int_fast64_t; typedef unsigned long long uint_fast64_t; # 66 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdint.h" 3 typedef int intptr_t; # 75 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdint.h" 3 typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; # 8 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/inttypes.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 10 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/inttypes.h" 2 3 typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; # 258 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/inttypes.h" 3 extern __inline__ intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) imaxabs (intmax_t j) {return (j >= 0 ? j : -j);} imaxdiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) imaxdiv (intmax_t numer, intmax_t denom); intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoimax (const char* __restrict__ nptr, char** __restrict__ endptr, int base); uintmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoumax (const char* __restrict__ nptr, char** __restrict__ endptr, int base); intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoimax (const wchar_t* __restrict__ nptr, wchar_t** __restrict__ endptr, int base); uintmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoumax (const wchar_t* __restrict__ nptr, wchar_t** __restrict__ endptr, int base); # 65 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 68 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 1 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/defines.h" 1 # 59 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/defines.h" void *ruby_xmalloc(size_t); void *ruby_xmalloc2(size_t,size_t); void *ruby_xcalloc(size_t,size_t); void *ruby_xrealloc(void*,size_t); void *ruby_xrealloc2(void*,size_t,size_t); void ruby_xfree(void*); # 192 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/defines.h" # 1 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 1 # 30 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 1 3 # 17 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 # 18 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 1 3 # 16 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 3 # 17 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 3 # 47 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stdarg.h" 1 3 4 # 106 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stdarg.h" 3 4 typedef __gnuc_va_list va_list; # 48 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windef.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windef.h" 3 # 229 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windef.h" 3 typedef unsigned long DWORD; typedef int WINBOOL,*PWINBOOL,*LPWINBOOL; typedef WINBOOL BOOL; typedef unsigned char BYTE; typedef BOOL *PBOOL,*LPBOOL; typedef unsigned short WORD; typedef float FLOAT; typedef FLOAT *PFLOAT; typedef BYTE *PBYTE,*LPBYTE; typedef int *PINT,*LPINT; typedef WORD *PWORD,*LPWORD; typedef long *LPLONG; typedef DWORD *PDWORD,*LPDWORD; typedef const void *PCVOID,*LPCVOID; typedef int INT; typedef unsigned int UINT,*PUINT,*LPUINT; # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 # 34 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winerror.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winerror.h" 3 # 35 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 2 3 # 77 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef char CHAR; typedef short SHORT; typedef long LONG; typedef char CCHAR, *PCCHAR; typedef unsigned char UCHAR,*PUCHAR; typedef unsigned short USHORT,*PUSHORT; typedef unsigned long ULONG,*PULONG; typedef char *PSZ; typedef void *PVOID,*LPVOID; typedef void* PVOID64; # 105 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef wchar_t WCHAR; typedef WCHAR *PWCHAR,*LPWCH,*PWCH,*NWPSTR,*LPWSTR,*PWSTR; typedef const WCHAR *LPCWCH,*PCWCH,*LPCWSTR,*PCWSTR; typedef CHAR *PCHAR,*LPCH,*PCH,*NPSTR,*LPSTR,*PSTR; typedef const CHAR *LPCCH,*PCSTR,*LPCSTR; # 120 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef CHAR TCHAR; typedef CHAR _TCHAR; typedef TCHAR TBYTE,*PTCH,*PTBYTE; typedef TCHAR *LPTCH,*PTSTR,*LPTSTR,*LP,*PTCHAR; typedef const TCHAR *LPCTSTR; # 145 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef SHORT *PSHORT; typedef LONG *PLONG; typedef void *HANDLE; typedef HANDLE *PHANDLE,*LPHANDLE; typedef DWORD LCID; typedef PDWORD PLCID; typedef WORD LANGID; # 167 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef long long LONGLONG; typedef unsigned long long DWORDLONG; typedef LONGLONG *PLONGLONG; typedef DWORDLONG *PDWORDLONG; typedef DWORDLONG ULONGLONG,*PULONGLONG; typedef LONGLONG USN; # 185 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef BYTE BOOLEAN,*PBOOLEAN; typedef BYTE FCHAR; typedef WORD FSHORT; typedef DWORD FLONG; # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/basetsd.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/basetsd.h" 3 # 50 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/basetsd.h" 3 typedef int LONG32, *PLONG32; typedef int INT32, *PINT32; typedef unsigned int ULONG32, *PULONG32; typedef unsigned int DWORD32, *PDWORD32; typedef unsigned int UINT32, *PUINT32; # 97 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/basetsd.h" 3 typedef int INT_PTR, *PINT_PTR; typedef unsigned int UINT_PTR, *PUINT_PTR; typedef long LONG_PTR, *PLONG_PTR; typedef unsigned long ULONG_PTR, *PULONG_PTR; typedef unsigned short UHALF_PTR, *PUHALF_PTR; typedef short HALF_PTR, *PHALF_PTR; typedef unsigned long HANDLE_PTR; typedef ULONG_PTR SIZE_T, *PSIZE_T; typedef LONG_PTR SSIZE_T, *PSSIZE_T; typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; typedef long long LONG64, *PLONG64; typedef long long INT64, *PINT64; typedef unsigned long long ULONG64, *PULONG64; typedef unsigned long long DWORD64, *PDWORD64; typedef unsigned long long UINT64, *PUINT64; # 193 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 2 3 # 1751 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef DWORD ACCESS_MASK, *PACCESS_MASK; typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID, *REFGUID, *LPGUID; typedef struct _GENERIC_MAPPING { ACCESS_MASK GenericRead; ACCESS_MASK GenericWrite; ACCESS_MASK GenericExecute; ACCESS_MASK GenericAll; } GENERIC_MAPPING, *PGENERIC_MAPPING; typedef struct _ACE_HEADER { BYTE AceType; BYTE AceFlags; WORD AceSize; } ACE_HEADER, *PACE_HEADER; typedef struct _ACCESS_ALLOWED_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } ACCESS_ALLOWED_ACE, *PACCESS_ALLOWED_ACE; typedef struct _ACCESS_DENIED_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } ACCESS_DENIED_ACE, *PACCESS_DENIED_ACE; typedef struct _SYSTEM_AUDIT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } SYSTEM_AUDIT_ACE; typedef SYSTEM_AUDIT_ACE *PSYSTEM_AUDIT_ACE; typedef struct _SYSTEM_ALARM_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } SYSTEM_ALARM_ACE,*PSYSTEM_ALARM_ACE; typedef struct _ACCESS_ALLOWED_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } ACCESS_ALLOWED_OBJECT_ACE,*PACCESS_ALLOWED_OBJECT_ACE; typedef struct _ACCESS_DENIED_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } ACCESS_DENIED_OBJECT_ACE,*PACCESS_DENIED_OBJECT_ACE; typedef struct _SYSTEM_AUDIT_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } SYSTEM_AUDIT_OBJECT_ACE,*PSYSTEM_AUDIT_OBJECT_ACE; typedef struct _SYSTEM_ALARM_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } SYSTEM_ALARM_OBJECT_ACE,*PSYSTEM_ALARM_OBJECT_ACE; typedef struct _ACL { BYTE AclRevision; BYTE Sbz1; WORD AclSize; WORD AceCount; WORD Sbz2; } ACL,*PACL; typedef struct _ACL_REVISION_INFORMATION { DWORD AclRevision; } ACL_REVISION_INFORMATION; typedef struct _ACL_SIZE_INFORMATION { DWORD AceCount; DWORD AclBytesInUse; DWORD AclBytesFree; } ACL_SIZE_INFORMATION; # 1860 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef struct _FLOATING_SAVE_AREA { DWORD ControlWord; DWORD StatusWord; DWORD TagWord; DWORD ErrorOffset; DWORD ErrorSelector; DWORD DataOffset; DWORD DataSelector; BYTE RegisterArea[80]; DWORD Cr0NpxState; } FLOATING_SAVE_AREA; typedef struct _CONTEXT { DWORD ContextFlags; DWORD Dr0; DWORD Dr1; DWORD Dr2; DWORD Dr3; DWORD Dr6; DWORD Dr7; FLOATING_SAVE_AREA FloatSave; DWORD SegGs; DWORD SegFs; DWORD SegEs; DWORD SegDs; DWORD Edi; DWORD Esi; DWORD Ebx; DWORD Edx; DWORD Ecx; DWORD Eax; DWORD Ebp; DWORD Eip; DWORD SegCs; DWORD EFlags; DWORD Esp; DWORD SegSs; BYTE ExtendedRegisters[512]; } CONTEXT; # 2379 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef CONTEXT *PCONTEXT,*LPCONTEXT; typedef struct _EXCEPTION_RECORD { DWORD ExceptionCode; DWORD ExceptionFlags; struct _EXCEPTION_RECORD *ExceptionRecord; PVOID ExceptionAddress; DWORD NumberParameters; DWORD ExceptionInformation[15]; } EXCEPTION_RECORD,*PEXCEPTION_RECORD,*LPEXCEPTION_RECORD; typedef struct _EXCEPTION_POINTERS { PEXCEPTION_RECORD ExceptionRecord; PCONTEXT ContextRecord; } EXCEPTION_POINTERS,*PEXCEPTION_POINTERS,*LPEXCEPTION_POINTERS; typedef union _LARGE_INTEGER { struct { DWORD LowPart; LONG HighPart; } u; __extension__ struct { DWORD LowPart; LONG HighPart; }; LONGLONG QuadPart; } LARGE_INTEGER, *PLARGE_INTEGER; typedef union _ULARGE_INTEGER { struct { DWORD LowPart; DWORD HighPart; } u; __extension__ struct { DWORD LowPart; DWORD HighPart; }; ULONGLONG QuadPart; } ULARGE_INTEGER, *PULARGE_INTEGER; typedef struct _LUID { DWORD LowPart; LONG HighPart; } LUID, *PLUID; #pragma pack(push,4) typedef struct _LUID_AND_ATTRIBUTES { LUID Luid; DWORD Attributes; } LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES; #pragma pack(pop) typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[1]; typedef LUID_AND_ATTRIBUTES_ARRAY *PLUID_AND_ATTRIBUTES_ARRAY; typedef struct _PRIVILEGE_SET { DWORD PrivilegeCount; DWORD Control; LUID_AND_ATTRIBUTES Privilege[1]; } PRIVILEGE_SET,*PPRIVILEGE_SET; typedef struct _SECURITY_ATTRIBUTES { DWORD nLength; LPVOID lpSecurityDescriptor; BOOL bInheritHandle; } SECURITY_ATTRIBUTES,*PSECURITY_ATTRIBUTES,*LPSECURITY_ATTRIBUTES; typedef enum _SECURITY_IMPERSONATION_LEVEL { SecurityAnonymous, SecurityIdentification, SecurityImpersonation, SecurityDelegation } SECURITY_IMPERSONATION_LEVEL,*PSECURITY_IMPERSONATION_LEVEL; typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE,*PSECURITY_CONTEXT_TRACKING_MODE; typedef struct _SECURITY_QUALITY_OF_SERVICE { DWORD Length; SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode; BOOLEAN EffectiveOnly; } SECURITY_QUALITY_OF_SERVICE,*PSECURITY_QUALITY_OF_SERVICE; typedef PVOID PACCESS_TOKEN; typedef struct _SE_IMPERSONATION_STATE { PACCESS_TOKEN Token; BOOLEAN CopyOnOpen; BOOLEAN EffectiveOnly; SECURITY_IMPERSONATION_LEVEL Level; } SE_IMPERSONATION_STATE,*PSE_IMPERSONATION_STATE; typedef struct _SID_IDENTIFIER_AUTHORITY { BYTE Value[6]; } SID_IDENTIFIER_AUTHORITY,*PSID_IDENTIFIER_AUTHORITY,*LPSID_IDENTIFIER_AUTHORITY; typedef PVOID PSID; typedef struct _SID { BYTE Revision; BYTE SubAuthorityCount; SID_IDENTIFIER_AUTHORITY IdentifierAuthority; DWORD SubAuthority[1]; } SID, *PISID; typedef struct _SID_AND_ATTRIBUTES { PSID Sid; DWORD Attributes; } SID_AND_ATTRIBUTES, *PSID_AND_ATTRIBUTES; typedef SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES_ARRAY[1]; typedef SID_AND_ATTRIBUTES_ARRAY *PSID_AND_ATTRIBUTES_ARRAY; typedef struct _TOKEN_SOURCE { CHAR SourceName[8]; LUID SourceIdentifier; } TOKEN_SOURCE,*PTOKEN_SOURCE; typedef struct _TOKEN_CONTROL { LUID TokenId; LUID AuthenticationId; LUID ModifiedId; TOKEN_SOURCE TokenSource; } TOKEN_CONTROL,*PTOKEN_CONTROL; typedef struct _TOKEN_DEFAULT_DACL { PACL DefaultDacl; } TOKEN_DEFAULT_DACL,*PTOKEN_DEFAULT_DACL; typedef struct _TOKEN_GROUPS { DWORD GroupCount; SID_AND_ATTRIBUTES Groups[1]; } TOKEN_GROUPS,*PTOKEN_GROUPS,*LPTOKEN_GROUPS; typedef struct _TOKEN_OWNER { PSID Owner; } TOKEN_OWNER,*PTOKEN_OWNER; typedef struct _TOKEN_PRIMARY_GROUP { PSID PrimaryGroup; } TOKEN_PRIMARY_GROUP,*PTOKEN_PRIMARY_GROUP; typedef struct _TOKEN_PRIVILEGES { DWORD PrivilegeCount; LUID_AND_ATTRIBUTES Privileges[1]; } TOKEN_PRIVILEGES,*PTOKEN_PRIVILEGES,*LPTOKEN_PRIVILEGES; typedef enum tagTOKEN_TYPE { TokenPrimary = 1, TokenImpersonation } TOKEN_TYPE,*PTOKEN_TYPE; typedef struct _TOKEN_STATISTICS { LUID TokenId; LUID AuthenticationId; LARGE_INTEGER ExpirationTime; TOKEN_TYPE TokenType; SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; DWORD DynamicCharged; DWORD DynamicAvailable; DWORD GroupCount; DWORD PrivilegeCount; LUID ModifiedId; } TOKEN_STATISTICS, *PTOKEN_STATISTICS; typedef struct _TOKEN_USER { SID_AND_ATTRIBUTES User; } TOKEN_USER, *PTOKEN_USER; typedef DWORD SECURITY_INFORMATION,*PSECURITY_INFORMATION; typedef WORD SECURITY_DESCRIPTOR_CONTROL,*PSECURITY_DESCRIPTOR_CONTROL; typedef struct _SECURITY_DESCRIPTOR { BYTE Revision; BYTE Sbz1; SECURITY_DESCRIPTOR_CONTROL Control; PSID Owner; PSID Group; PACL Sacl; PACL Dacl; } SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR; typedef enum _TOKEN_INFORMATION_CLASS { TokenUser=1, TokenGroups, TokenPrivileges, TokenOwner, TokenPrimaryGroup, TokenDefaultDacl, TokenSource, TokenType, TokenImpersonationLevel, TokenStatistics, TokenRestrictedSids, TokenSessionId, TokenGroupsAndPrivileges, TokenSessionReference, TokenSandBoxInert, TokenAuditPolicy, TokenOrigin } TOKEN_INFORMATION_CLASS; typedef enum _SID_NAME_USE { SidTypeUser=1, SidTypeGroup, SidTypeDomain, SidTypeAlias, SidTypeWellKnownGroup, SidTypeDeletedAccount, SidTypeInvalid, SidTypeUnknown, SidTypeComputer } SID_NAME_USE,*PSID_NAME_USE; typedef struct _QUOTA_LIMITS { SIZE_T PagedPoolLimit; SIZE_T NonPagedPoolLimit; SIZE_T MinimumWorkingSetSize; SIZE_T MaximumWorkingSetSize; SIZE_T PagefileLimit; LARGE_INTEGER TimeLimit; } QUOTA_LIMITS,*PQUOTA_LIMITS; typedef struct _IO_COUNTERS { ULONGLONG ReadOperationCount; ULONGLONG WriteOperationCount; ULONGLONG OtherOperationCount; ULONGLONG ReadTransferCount; ULONGLONG WriteTransferCount; ULONGLONG OtherTransferCount; } IO_COUNTERS, *PIO_COUNTERS; typedef struct _FILE_NOTIFY_INFORMATION { DWORD NextEntryOffset; DWORD Action; DWORD FileNameLength; WCHAR FileName[1]; } FILE_NOTIFY_INFORMATION,*PFILE_NOTIFY_INFORMATION; typedef struct _TAPE_ERASE { DWORD Type; BOOLEAN Immediate; } TAPE_ERASE,*PTAPE_ERASE; typedef struct _TAPE_GET_DRIVE_PARAMETERS { BOOLEAN ECC; BOOLEAN Compression; BOOLEAN DataPadding; BOOLEAN ReportSetmarks; DWORD DefaultBlockSize; DWORD MaximumBlockSize; DWORD MinimumBlockSize; DWORD MaximumPartitionCount; DWORD FeaturesLow; DWORD FeaturesHigh; DWORD EOTWarningZoneSize; } TAPE_GET_DRIVE_PARAMETERS,*PTAPE_GET_DRIVE_PARAMETERS; typedef struct _TAPE_GET_MEDIA_PARAMETERS { LARGE_INTEGER Capacity; LARGE_INTEGER Remaining; DWORD BlockSize; DWORD PartitionCount; BOOLEAN WriteProtected; } TAPE_GET_MEDIA_PARAMETERS,*PTAPE_GET_MEDIA_PARAMETERS; typedef struct _TAPE_GET_POSITION { ULONG Type; ULONG Partition; ULONG OffsetLow; ULONG OffsetHigh; } TAPE_GET_POSITION,*PTAPE_GET_POSITION; typedef struct _TAPE_PREPARE { DWORD Operation; BOOLEAN Immediate; } TAPE_PREPARE,*PTAPE_PREPARE; typedef struct _TAPE_SET_DRIVE_PARAMETERS { BOOLEAN ECC; BOOLEAN Compression; BOOLEAN DataPadding; BOOLEAN ReportSetmarks; ULONG EOTWarningZoneSize; } TAPE_SET_DRIVE_PARAMETERS,*PTAPE_SET_DRIVE_PARAMETERS; typedef struct _TAPE_SET_MEDIA_PARAMETERS { ULONG BlockSize; } TAPE_SET_MEDIA_PARAMETERS,*PTAPE_SET_MEDIA_PARAMETERS; typedef struct _TAPE_SET_POSITION { DWORD Method; DWORD Partition; LARGE_INTEGER Offset; BOOLEAN Immediate; } TAPE_SET_POSITION,*PTAPE_SET_POSITION; typedef struct _TAPE_WRITE_MARKS { DWORD Type; DWORD Count; BOOLEAN Immediate; } TAPE_WRITE_MARKS,*PTAPE_WRITE_MARKS; typedef struct _TAPE_CREATE_PARTITION { DWORD Method; DWORD Count; DWORD Size; } TAPE_CREATE_PARTITION,*PTAPE_CREATE_PARTITION; typedef struct _MEMORY_BASIC_INFORMATION { PVOID BaseAddress; PVOID AllocationBase; DWORD AllocationProtect; DWORD RegionSize; DWORD State; DWORD Protect; DWORD Type; } MEMORY_BASIC_INFORMATION,*PMEMORY_BASIC_INFORMATION; typedef struct _MESSAGE_RESOURCE_ENTRY { WORD Length; WORD Flags; BYTE Text[1]; } MESSAGE_RESOURCE_ENTRY,*PMESSAGE_RESOURCE_ENTRY; typedef struct _MESSAGE_RESOURCE_BLOCK { DWORD LowId; DWORD HighId; DWORD OffsetToEntries; } MESSAGE_RESOURCE_BLOCK,*PMESSAGE_RESOURCE_BLOCK; typedef struct _MESSAGE_RESOURCE_DATA { DWORD NumberOfBlocks; MESSAGE_RESOURCE_BLOCK Blocks[1]; } MESSAGE_RESOURCE_DATA,*PMESSAGE_RESOURCE_DATA; typedef struct _LIST_ENTRY { struct _LIST_ENTRY *Flink; struct _LIST_ENTRY *Blink; } LIST_ENTRY,*PLIST_ENTRY; typedef struct _SINGLE_LIST_ENTRY { struct _SINGLE_LIST_ENTRY *Next; } SINGLE_LIST_ENTRY,*PSINGLE_LIST_ENTRY; typedef union _SLIST_HEADER { ULONGLONG Alignment; __extension__ struct { SINGLE_LIST_ENTRY Next; WORD Depth; WORD Sequence; } ; } SLIST_HEADER,*PSLIST_HEADER; typedef struct _RTL_CRITICAL_SECTION_DEBUG { WORD Type; WORD CreatorBackTraceIndex; struct _RTL_CRITICAL_SECTION *CriticalSection; LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; DWORD Spare[2]; } RTL_CRITICAL_SECTION_DEBUG,*PRTL_CRITICAL_SECTION_DEBUG; typedef struct _RTL_CRITICAL_SECTION { PRTL_CRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; DWORD Reserved; } RTL_CRITICAL_SECTION,*PRTL_CRITICAL_SECTION; typedef struct _EVENTLOGRECORD { DWORD Length; DWORD Reserved; DWORD RecordNumber; DWORD TimeGenerated; DWORD TimeWritten; DWORD EventID; WORD EventType; WORD NumStrings; WORD EventCategory; WORD ReservedFlags; DWORD ClosingRecordNumber; DWORD StringOffset; DWORD UserSidLength; DWORD UserSidOffset; DWORD DataLength; DWORD DataOffset; } EVENTLOGRECORD,*PEVENTLOGRECORD; typedef struct _OSVERSIONINFOA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; } OSVERSIONINFOA,*POSVERSIONINFOA,*LPOSVERSIONINFOA; typedef struct _OSVERSIONINFOW { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; WCHAR szCSDVersion[128]; } OSVERSIONINFOW,*POSVERSIONINFOW,*LPOSVERSIONINFOW; typedef struct _OSVERSIONINFOEXA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA; typedef struct _OSVERSIONINFOEXW { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; WCHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW; #pragma pack(push,2) typedef struct _IMAGE_VXD_HEADER { WORD e32_magic; BYTE e32_border; BYTE e32_worder; DWORD e32_level; WORD e32_cpu; WORD e32_os; DWORD e32_ver; DWORD e32_mflags; DWORD e32_mpages; DWORD e32_startobj; DWORD e32_eip; DWORD e32_stackobj; DWORD e32_esp; DWORD e32_pagesize; DWORD e32_lastpagesize; DWORD e32_fixupsize; DWORD e32_fixupsum; DWORD e32_ldrsize; DWORD e32_ldrsum; DWORD e32_objtab; DWORD e32_objcnt; DWORD e32_objmap; DWORD e32_itermap; DWORD e32_rsrctab; DWORD e32_rsrccnt; DWORD e32_restab; DWORD e32_enttab; DWORD e32_dirtab; DWORD e32_dircnt; DWORD e32_fpagetab; DWORD e32_frectab; DWORD e32_impmod; DWORD e32_impmodcnt; DWORD e32_impproc; DWORD e32_pagesum; DWORD e32_datapage; DWORD e32_preload; DWORD e32_nrestab; DWORD e32_cbnrestab; DWORD e32_nressum; DWORD e32_autodata; DWORD e32_debuginfo; DWORD e32_debuglen; DWORD e32_instpreload; DWORD e32_instdemand; DWORD e32_heapsize; BYTE e32_res3[12]; DWORD e32_winresoff; DWORD e32_winreslen; WORD e32_devid; WORD e32_ddkver; } IMAGE_VXD_HEADER,*PIMAGE_VXD_HEADER; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_FILE_HEADER { WORD Machine; WORD NumberOfSections; DWORD TimeDateStamp; DWORD PointerToSymbolTable; DWORD NumberOfSymbols; WORD SizeOfOptionalHeader; WORD Characteristics; } IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER; typedef struct _IMAGE_DATA_DIRECTORY { DWORD VirtualAddress; DWORD Size; } IMAGE_DATA_DIRECTORY,*PIMAGE_DATA_DIRECTORY; typedef struct _IMAGE_OPTIONAL_HEADER { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; DWORD BaseOfData; DWORD ImageBase; DWORD SectionAlignment; DWORD FileAlignment; WORD MajorOperatingSystemVersion; WORD MinorOperatingSystemVersion; WORD MajorImageVersion; WORD MinorImageVersion; WORD MajorSubsystemVersion; WORD MinorSubsystemVersion; DWORD Win32VersionValue; DWORD SizeOfImage; DWORD SizeOfHeaders; DWORD CheckSum; WORD Subsystem; WORD DllCharacteristics; DWORD SizeOfStackReserve; DWORD SizeOfStackCommit; DWORD SizeOfHeapReserve; DWORD SizeOfHeapCommit; DWORD LoaderFlags; DWORD NumberOfRvaAndSizes; IMAGE_DATA_DIRECTORY DataDirectory[16]; } IMAGE_OPTIONAL_HEADER32,*PIMAGE_OPTIONAL_HEADER32; typedef struct _IMAGE_OPTIONAL_HEADER64 { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; ULONGLONG ImageBase; DWORD SectionAlignment; DWORD FileAlignment; WORD MajorOperatingSystemVersion; WORD MinorOperatingSystemVersion; WORD MajorImageVersion; WORD MinorImageVersion; WORD MajorSubsystemVersion; WORD MinorSubsystemVersion; DWORD Win32VersionValue; DWORD SizeOfImage; DWORD SizeOfHeaders; DWORD CheckSum; WORD Subsystem; WORD DllCharacteristics; ULONGLONG SizeOfStackReserve; ULONGLONG SizeOfStackCommit; ULONGLONG SizeOfHeapReserve; ULONGLONG SizeOfHeapCommit; DWORD LoaderFlags; DWORD NumberOfRvaAndSizes; IMAGE_DATA_DIRECTORY DataDirectory[16]; } IMAGE_OPTIONAL_HEADER64,*PIMAGE_OPTIONAL_HEADER64; typedef IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER; typedef PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER; typedef struct _IMAGE_ROM_OPTIONAL_HEADER { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; DWORD BaseOfData; DWORD BaseOfBss; DWORD GprMask; DWORD CprMask[4]; DWORD GpValue; } IMAGE_ROM_OPTIONAL_HEADER,*PIMAGE_ROM_OPTIONAL_HEADER; #pragma pack(pop) #pragma pack(push,2) typedef struct _IMAGE_DOS_HEADER { WORD e_magic; WORD e_cblp; WORD e_cp; WORD e_crlc; WORD e_cparhdr; WORD e_minalloc; WORD e_maxalloc; WORD e_ss; WORD e_sp; WORD e_csum; WORD e_ip; WORD e_cs; WORD e_lfarlc; WORD e_ovno; WORD e_res[4]; WORD e_oemid; WORD e_oeminfo; WORD e_res2[10]; LONG e_lfanew; } IMAGE_DOS_HEADER,*PIMAGE_DOS_HEADER; typedef struct _IMAGE_OS2_HEADER { WORD ne_magic; CHAR ne_ver; CHAR ne_rev; WORD ne_enttab; WORD ne_cbenttab; LONG ne_crc; WORD ne_flags; WORD ne_autodata; WORD ne_heap; WORD ne_stack; LONG ne_csip; LONG ne_sssp; WORD ne_cseg; WORD ne_cmod; WORD ne_cbnrestab; WORD ne_segtab; WORD ne_rsrctab; WORD ne_restab; WORD ne_modtab; WORD ne_imptab; LONG ne_nrestab; WORD ne_cmovent; WORD ne_align; WORD ne_cres; BYTE ne_exetyp; BYTE ne_flagsothers; WORD ne_pretthunks; WORD ne_psegrefbytes; WORD ne_swaparea; WORD ne_expver; } IMAGE_OS2_HEADER,*PIMAGE_OS2_HEADER; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_NT_HEADERS { DWORD Signature; IMAGE_FILE_HEADER FileHeader; IMAGE_OPTIONAL_HEADER OptionalHeader; } IMAGE_NT_HEADERS32,*PIMAGE_NT_HEADERS32; typedef struct _IMAGE_NT_HEADERS64 { DWORD Signature; IMAGE_FILE_HEADER FileHeader; IMAGE_OPTIONAL_HEADER OptionalHeader; } IMAGE_NT_HEADERS64,*PIMAGE_NT_HEADERS64; typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS; typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS; typedef struct _IMAGE_ROM_HEADERS { IMAGE_FILE_HEADER FileHeader; IMAGE_ROM_OPTIONAL_HEADER OptionalHeader; } IMAGE_ROM_HEADERS,*PIMAGE_ROM_HEADERS; typedef struct _IMAGE_SECTION_HEADER { BYTE Name[8]; union { DWORD PhysicalAddress; DWORD VirtualSize; } Misc; DWORD VirtualAddress; DWORD SizeOfRawData; DWORD PointerToRawData; DWORD PointerToRelocations; DWORD PointerToLinenumbers; WORD NumberOfRelocations; WORD NumberOfLinenumbers; DWORD Characteristics; } IMAGE_SECTION_HEADER,*PIMAGE_SECTION_HEADER; #pragma pack(pop) #pragma pack(push,2) typedef struct _IMAGE_SYMBOL { union { BYTE ShortName[8]; struct { DWORD Short; DWORD Long; } Name; PBYTE LongName[2]; } N; DWORD Value; SHORT SectionNumber; WORD Type; BYTE StorageClass; BYTE NumberOfAuxSymbols; } IMAGE_SYMBOL,*PIMAGE_SYMBOL; typedef union _IMAGE_AUX_SYMBOL { struct { DWORD TagIndex; union { struct { WORD Linenumber; WORD Size; } LnSz; DWORD TotalSize; } Misc; union { struct { DWORD PointerToLinenumber; DWORD PointerToNextFunction; } Function; struct { WORD Dimension[4]; } Array; } FcnAry; WORD TvIndex; } Sym; struct { BYTE Name[18]; } File; struct { DWORD Length; WORD NumberOfRelocations; WORD NumberOfLinenumbers; DWORD CheckSum; SHORT Number; BYTE Selection; } Section; } IMAGE_AUX_SYMBOL,*PIMAGE_AUX_SYMBOL; typedef struct _IMAGE_COFF_SYMBOLS_HEADER { DWORD NumberOfSymbols; DWORD LvaToFirstSymbol; DWORD NumberOfLinenumbers; DWORD LvaToFirstLinenumber; DWORD RvaToFirstByteOfCode; DWORD RvaToLastByteOfCode; DWORD RvaToFirstByteOfData; DWORD RvaToLastByteOfData; } IMAGE_COFF_SYMBOLS_HEADER,*PIMAGE_COFF_SYMBOLS_HEADER; typedef struct _IMAGE_RELOCATION { __extension__ union { DWORD VirtualAddress; DWORD RelocCount; } ; DWORD SymbolTableIndex; WORD Type; } IMAGE_RELOCATION,*PIMAGE_RELOCATION; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_BASE_RELOCATION { DWORD VirtualAddress; DWORD SizeOfBlock; } IMAGE_BASE_RELOCATION,*PIMAGE_BASE_RELOCATION; #pragma pack(pop) #pragma pack(push,2) typedef struct _IMAGE_LINENUMBER { union { DWORD SymbolTableIndex; DWORD VirtualAddress; } Type; WORD Linenumber; } IMAGE_LINENUMBER,*PIMAGE_LINENUMBER; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_ARCHIVE_MEMBER_HEADER { BYTE Name[16]; BYTE Date[12]; BYTE UserID[6]; BYTE GroupID[6]; BYTE Mode[8]; BYTE Size[10]; BYTE EndHeader[2]; } IMAGE_ARCHIVE_MEMBER_HEADER,*PIMAGE_ARCHIVE_MEMBER_HEADER; typedef struct _IMAGE_EXPORT_DIRECTORY { DWORD Characteristics; DWORD TimeDateStamp; WORD MajorVersion; WORD MinorVersion; DWORD Name; DWORD Base; DWORD NumberOfFunctions; DWORD NumberOfNames; DWORD AddressOfFunctions; DWORD AddressOfNames; DWORD AddressOfNameOrdinals; } IMAGE_EXPORT_DIRECTORY,*PIMAGE_EXPORT_DIRECTORY; typedef struct _IMAGE_IMPORT_BY_NAME { WORD Hint; BYTE Name[1]; } IMAGE_IMPORT_BY_NAME,*PIMAGE_IMPORT_BY_NAME; typedef struct _IMAGE_THUNK_DATA32 { union { DWORD ForwarderString; DWORD Function; DWORD Ordinal; DWORD AddressOfData; } u1; } IMAGE_THUNK_DATA32,*PIMAGE_THUNK_DATA32; typedef struct _IMAGE_THUNK_DATA64 { union { ULONGLONG ForwarderString; ULONGLONG Function; ULONGLONG Ordinal; ULONGLONG AddressOfData; } u1; } IMAGE_THUNK_DATA64, *PIMAGE_THUNK_DATA64; typedef IMAGE_THUNK_DATA32 IMAGE_THUNK_DATA; typedef PIMAGE_THUNK_DATA32 PIMAGE_THUNK_DATA; typedef struct _IMAGE_IMPORT_DESCRIPTOR { __extension__ union { DWORD Characteristics; DWORD OriginalFirstThunk; } ; DWORD TimeDateStamp; DWORD ForwarderChain; DWORD Name; DWORD FirstThunk; } IMAGE_IMPORT_DESCRIPTOR,*PIMAGE_IMPORT_DESCRIPTOR; typedef struct _IMAGE_BOUND_IMPORT_DESCRIPTOR { DWORD TimeDateStamp; WORD OffsetModuleName; WORD NumberOfModuleForwarderRefs; } IMAGE_BOUND_IMPORT_DESCRIPTOR,*PIMAGE_BOUND_IMPORT_DESCRIPTOR; typedef struct _IMAGE_BOUND_FORWARDER_REF { DWORD TimeDateStamp; WORD OffsetModuleName; WORD Reserved; } IMAGE_BOUND_FORWARDER_REF,*PIMAGE_BOUND_FORWARDER_REF; typedef void(__attribute__((__stdcall__)) *PIMAGE_TLS_CALLBACK)(PVOID,DWORD,PVOID); typedef struct _IMAGE_TLS_DIRECTORY32 { DWORD StartAddressOfRawData; DWORD EndAddressOfRawData; DWORD AddressOfIndex; DWORD AddressOfCallBacks; DWORD SizeOfZeroFill; DWORD Characteristics; } IMAGE_TLS_DIRECTORY32,*PIMAGE_TLS_DIRECTORY32; typedef struct _IMAGE_TLS_DIRECTORY64 { ULONGLONG StartAddressOfRawData; ULONGLONG EndAddressOfRawData; ULONGLONG AddressOfIndex; ULONGLONG AddressOfCallBacks; DWORD SizeOfZeroFill; DWORD Characteristics; } IMAGE_TLS_DIRECTORY64, *PIMAGE_TLS_DIRECTORY64; typedef IMAGE_TLS_DIRECTORY32 IMAGE_TLS_DIRECTORY; typedef PIMAGE_TLS_DIRECTORY32 PIMAGE_TLS_DIRECTORY; typedef struct _IMAGE_RESOURCE_DIRECTORY { DWORD Characteristics; DWORD TimeDateStamp; WORD MajorVersion; WORD MinorVersion; WORD NumberOfNamedEntries; WORD NumberOfIdEntries; } IMAGE_RESOURCE_DIRECTORY,*PIMAGE_RESOURCE_DIRECTORY; __extension__ typedef struct _IMAGE_RESOURCE_DIRECTORY_ENTRY { __extension__ union { __extension__ struct { DWORD NameOffset:31; DWORD NameIsString:1; }; DWORD Name; WORD Id; } ; __extension__ union { DWORD OffsetToData; __extension__ struct { DWORD OffsetToDirectory:31; DWORD DataIsDirectory:1; } ; } ; } IMAGE_RESOURCE_DIRECTORY_ENTRY,*PIMAGE_RESOURCE_DIRECTORY_ENTRY; typedef struct _IMAGE_RESOURCE_DIRECTORY_STRING { WORD Length; CHAR NameString[1]; } IMAGE_RESOURCE_DIRECTORY_STRING,*PIMAGE_RESOURCE_DIRECTORY_STRING; typedef struct _IMAGE_RESOURCE_DIR_STRING_U { WORD Length; WCHAR NameString[1]; } IMAGE_RESOURCE_DIR_STRING_U,*PIMAGE_RESOURCE_DIR_STRING_U; typedef struct _IMAGE_RESOURCE_DATA_ENTRY { DWORD OffsetToData; DWORD Size; DWORD CodePage; DWORD Reserved; } IMAGE_RESOURCE_DATA_ENTRY,*PIMAGE_RESOURCE_DATA_ENTRY; typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY { DWORD Characteristics; DWORD TimeDateStamp; WORD MajorVersion; WORD MinorVersion; DWORD GlobalFlagsClear; DWORD GlobalFlagsSet; DWORD CriticalSectionDefaultTimeout; DWORD DeCommitFreeBlockThreshold; DWORD DeCommitTotalFreeThreshold; PVOID LockPrefixTable; DWORD MaximumAllocationSize; DWORD VirtualMemoryThreshold; DWORD ProcessHeapFlags; DWORD Reserved[4]; } IMAGE_LOAD_CONFIG_DIRECTORY,*PIMAGE_LOAD_CONFIG_DIRECTORY; typedef struct { DWORD Characteristics; DWORD TimeDateStamp; WORD MajorVersion; WORD MinorVersion; DWORD GlobalFlagsClear; DWORD GlobalFlagsSet; DWORD CriticalSectionDefaultTimeout; ULONGLONG DeCommitFreeBlockThreshold; ULONGLONG DeCommitTotalFreeThreshold; ULONGLONG LockPrefixTable; ULONGLONG MaximumAllocationSize; ULONGLONG VirtualMemoryThreshold; ULONGLONG ProcessAffinityMask; DWORD ProcessHeapFlags; WORD CSDFlags; WORD Reserved1; ULONGLONG EditList; DWORD Reserved[2]; } IMAGE_LOAD_CONFIG_DIRECTORY64,*PIMAGE_LOAD_CONFIG_DIRECTORY64; typedef struct _IMAGE_RUNTIME_FUNCTION_ENTRY { DWORD BeginAddress; DWORD EndAddress; PVOID ExceptionHandler; PVOID HandlerData; DWORD PrologEndAddress; } IMAGE_RUNTIME_FUNCTION_ENTRY,*PIMAGE_RUNTIME_FUNCTION_ENTRY; typedef struct _IMAGE_CE_RUNTIME_FUNCTION_ENTRY { unsigned int FuncStart:32; unsigned int PrologLen:8; unsigned int FuncLen:22; unsigned int ThirtyTwoBit:1; unsigned int ExceptionFlag:1; } IMAGE_CE_RUNTIME_FUNCTION_ENTRY,*PIMAGE_CE_RUNTIME_FUNCTION_ENTRY; typedef struct _IMAGE_DEBUG_DIRECTORY { DWORD Characteristics; DWORD TimeDateStamp; WORD MajorVersion; WORD MinorVersion; DWORD Type; DWORD SizeOfData; DWORD AddressOfRawData; DWORD PointerToRawData; } IMAGE_DEBUG_DIRECTORY,*PIMAGE_DEBUG_DIRECTORY; typedef struct _FPO_DATA { DWORD ulOffStart; DWORD cbProcSize; DWORD cdwLocals; WORD cdwParams; WORD cbProlog:8; WORD cbRegs:3; WORD fHasSEH:1; WORD fUseBP:1; WORD reserved:1; WORD cbFrame:2; } FPO_DATA,*PFPO_DATA; typedef struct _IMAGE_DEBUG_MISC { DWORD DataType; DWORD Length; BOOLEAN Unicode; BYTE Reserved[3]; BYTE Data[1]; } IMAGE_DEBUG_MISC,*PIMAGE_DEBUG_MISC; typedef struct _IMAGE_FUNCTION_ENTRY { DWORD StartingAddress; DWORD EndingAddress; DWORD EndOfPrologue; } IMAGE_FUNCTION_ENTRY,*PIMAGE_FUNCTION_ENTRY; typedef struct _IMAGE_FUNCTION_ENTRY64 { ULONGLONG StartingAddress; ULONGLONG EndingAddress; __extension__ union { ULONGLONG EndOfPrologue; ULONGLONG UnwindInfoAddress; } ; } IMAGE_FUNCTION_ENTRY64,*PIMAGE_FUNCTION_ENTRY64; typedef struct _IMAGE_SEPARATE_DEBUG_HEADER { WORD Signature; WORD Flags; WORD Machine; WORD Characteristics; DWORD TimeDateStamp; DWORD CheckSum; DWORD ImageBase; DWORD SizeOfImage; DWORD NumberOfSections; DWORD ExportedNamesSize; DWORD DebugDirectorySize; DWORD SectionAlignment; DWORD Reserved[2]; } IMAGE_SEPARATE_DEBUG_HEADER,*PIMAGE_SEPARATE_DEBUG_HEADER; #pragma pack(pop) typedef enum _CM_SERVICE_NODE_TYPE { DriverType=1, FileSystemType=2, Win32ServiceOwnProcess=16, Win32ServiceShareProcess=32, AdapterType=4, RecognizerType=8 } SERVICE_NODE_TYPE; typedef enum _CM_SERVICE_LOAD_TYPE { BootLoad=0, SystemLoad=1, AutoLoad=2, DemandLoad=3, DisableLoad=4 } SERVICE_LOAD_TYPE; typedef enum _CM_ERROR_CONTROL_TYPE { IgnoreError=0, NormalError=1, SevereError=2, CriticalError=3 } SERVICE_ERROR_TYPE; typedef struct _NT_TIB { struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList; PVOID StackBase; PVOID StackLimit; PVOID SubSystemTib; __extension__ union { PVOID FiberData; DWORD Version; } ; PVOID ArbitraryUserPointer; struct _NT_TIB *Self; } NT_TIB,*PNT_TIB; typedef struct _REPARSE_DATA_BUFFER { DWORD ReparseTag; WORD ReparseDataLength; WORD Reserved; __extension__ union { struct { WORD SubstituteNameOffset; WORD SubstituteNameLength; WORD PrintNameOffset; WORD PrintNameLength; ULONG Flags; WCHAR PathBuffer[1]; } SymbolicLinkReparseBuffer; struct { WORD SubstituteNameOffset; WORD SubstituteNameLength; WORD PrintNameOffset; WORD PrintNameLength; WCHAR PathBuffer[1]; } MountPointReparseBuffer; struct { BYTE DataBuffer[1]; } GenericReparseBuffer; } ; } REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER; typedef struct _REPARSE_GUID_DATA_BUFFER { DWORD ReparseTag; WORD ReparseDataLength; WORD Reserved; GUID ReparseGuid; struct { BYTE DataBuffer[1]; } GenericReparseBuffer; } REPARSE_GUID_DATA_BUFFER, *PREPARSE_GUID_DATA_BUFFER; typedef struct _REPARSE_POINT_INFORMATION { WORD ReparseDataLength; WORD UnparsedNameLength; } REPARSE_POINT_INFORMATION, *PREPARSE_POINT_INFORMATION; typedef union _FILE_SEGMENT_ELEMENT { PVOID64 Buffer; ULONGLONG Alignment; }FILE_SEGMENT_ELEMENT, *PFILE_SEGMENT_ELEMENT; # 3464 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef enum _JOBOBJECTINFOCLASS { JobObjectBasicAccountingInformation = 1, JobObjectBasicLimitInformation, JobObjectBasicProcessIdList, JobObjectBasicUIRestrictions, JobObjectSecurityLimitInformation, JobObjectEndOfJobTimeInformation, JobObjectAssociateCompletionPortInformation, JobObjectBasicAndIoAccountingInformation, JobObjectExtendedLimitInformation, JobObjectJobSetInformation, MaxJobObjectInfoClass } JOBOBJECTINFOCLASS; typedef struct _JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { LARGE_INTEGER TotalUserTime; LARGE_INTEGER TotalKernelTime; LARGE_INTEGER ThisPeriodTotalUserTime; LARGE_INTEGER ThisPeriodTotalKernelTime; DWORD TotalPageFaultCount; DWORD TotalProcesses; DWORD ActiveProcesses; DWORD TotalTerminatedProcesses; } JOBOBJECT_BASIC_ACCOUNTING_INFORMATION,*PJOBOBJECT_BASIC_ACCOUNTING_INFORMATION; typedef struct _JOBOBJECT_BASIC_LIMIT_INFORMATION { LARGE_INTEGER PerProcessUserTimeLimit; LARGE_INTEGER PerJobUserTimeLimit; DWORD LimitFlags; SIZE_T MinimumWorkingSetSize; SIZE_T MaximumWorkingSetSize; DWORD ActiveProcessLimit; ULONG_PTR Affinity; DWORD PriorityClass; DWORD SchedulingClass; } JOBOBJECT_BASIC_LIMIT_INFORMATION,*PJOBOBJECT_BASIC_LIMIT_INFORMATION; typedef struct _JOBOBJECT_BASIC_PROCESS_ID_LIST { DWORD NumberOfAssignedProcesses; DWORD NumberOfProcessIdsInList; ULONG_PTR ProcessIdList[1]; } JOBOBJECT_BASIC_PROCESS_ID_LIST, *PJOBOBJECT_BASIC_PROCESS_ID_LIST; typedef struct _JOBOBJECT_BASIC_UI_RESTRICTIONS { DWORD UIRestrictionsClass; } JOBOBJECT_BASIC_UI_RESTRICTIONS,*PJOBOBJECT_BASIC_UI_RESTRICTIONS; typedef struct _JOBOBJECT_SECURITY_LIMIT_INFORMATION { DWORD SecurityLimitFlags; HANDLE JobToken; PTOKEN_GROUPS SidsToDisable; PTOKEN_PRIVILEGES PrivilegesToDelete; PTOKEN_GROUPS RestrictedSids; } JOBOBJECT_SECURITY_LIMIT_INFORMATION,*PJOBOBJECT_SECURITY_LIMIT_INFORMATION; typedef struct _JOBOBJECT_END_OF_JOB_TIME_INFORMATION { DWORD EndOfJobTimeAction; } JOBOBJECT_END_OF_JOB_TIME_INFORMATION,*PJOBOBJECT_END_OF_JOB_TIME_INFORMATION; typedef struct _JOBOBJECT_ASSOCIATE_COMPLETION_PORT { PVOID CompletionKey; HANDLE CompletionPort; } JOBOBJECT_ASSOCIATE_COMPLETION_PORT,*PJOBOBJECT_ASSOCIATE_COMPLETION_PORT; typedef struct _JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { JOBOBJECT_BASIC_ACCOUNTING_INFORMATION BasicInfo; IO_COUNTERS IoInfo; } JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION,*PJOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION; typedef struct _JOBOBJECT_EXTENDED_LIMIT_INFORMATION { JOBOBJECT_BASIC_LIMIT_INFORMATION BasicLimitInformation; IO_COUNTERS IoInfo; SIZE_T ProcessMemoryLimit; SIZE_T JobMemoryLimit; SIZE_T PeakProcessMemoryUsed; SIZE_T PeakJobMemoryUsed; } JOBOBJECT_EXTENDED_LIMIT_INFORMATION,*PJOBOBJECT_EXTENDED_LIMIT_INFORMATION; typedef struct _JOBOBJECT_JOBSET_INFORMATION { DWORD MemberLevel; } JOBOBJECT_JOBSET_INFORMATION,*PJOBOBJECT_JOBSET_INFORMATION; # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/pshpack4.h" 1 3 #pragma pack(push,4) # 3539 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 2 3 typedef enum _LATENCY_TIME { LT_DONT_CARE, LT_LOWEST_LATENCY } LATENCY_TIME, *PLATENCY_TIME; typedef enum _SYSTEM_POWER_STATE { PowerSystemUnspecified, PowerSystemWorking, PowerSystemSleeping1, PowerSystemSleeping2, PowerSystemSleeping3, PowerSystemHibernate, PowerSystemShutdown, PowerSystemMaximum } SYSTEM_POWER_STATE, *PSYSTEM_POWER_STATE; typedef enum { PowerActionNone, PowerActionReserved, PowerActionSleep, PowerActionHibernate, PowerActionShutdown, PowerActionShutdownReset, PowerActionShutdownOff, PowerActionWarmEject } POWER_ACTION, *PPOWER_ACTION; # 3582 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef enum _DEVICE_POWER_STATE { PowerDeviceUnspecified, PowerDeviceD0, PowerDeviceD1, PowerDeviceD2, PowerDeviceD3, PowerDeviceMaximum } DEVICE_POWER_STATE, *PDEVICE_POWER_STATE; typedef struct { DWORD Granularity; DWORD Capacity; } BATTERY_REPORTING_SCALE, *PBATTERY_REPORTING_SCALE; typedef struct _POWER_ACTION_POLICY { POWER_ACTION Action; ULONG Flags; ULONG EventCode; } POWER_ACTION_POLICY, *PPOWER_ACTION_POLICY; # 3629 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef struct _SYSTEM_POWER_LEVEL { BOOLEAN Enable; UCHAR Spare[3]; ULONG BatteryLevel; POWER_ACTION_POLICY PowerPolicy; SYSTEM_POWER_STATE MinSystemState; } SYSTEM_POWER_LEVEL, *PSYSTEM_POWER_LEVEL; typedef struct _SYSTEM_POWER_POLICY { ULONG Revision; POWER_ACTION_POLICY PowerButton; POWER_ACTION_POLICY SleepButton; POWER_ACTION_POLICY LidClose; SYSTEM_POWER_STATE LidOpenWake; ULONG Reserved; POWER_ACTION_POLICY Idle; ULONG IdleTimeout; UCHAR IdleSensitivity; UCHAR DynamicThrottle; UCHAR Spare2[2]; SYSTEM_POWER_STATE MinSleep; SYSTEM_POWER_STATE MaxSleep; SYSTEM_POWER_STATE ReducedLatencySleep; ULONG WinLogonFlags; ULONG Spare3; ULONG DozeS4Timeout; ULONG BroadcastCapacityResolution; SYSTEM_POWER_LEVEL DischargePolicy[4]; ULONG VideoTimeout; BOOLEAN VideoDimDisplay; ULONG VideoReserved[3]; ULONG SpindownTimeout; BOOLEAN OptimizeForPower; UCHAR FanThrottleTolerance; UCHAR ForcedThrottle; UCHAR MinThrottle; POWER_ACTION_POLICY OverThrottled; } SYSTEM_POWER_POLICY, *PSYSTEM_POWER_POLICY; typedef struct _SYSTEM_POWER_CAPABILITIES { BOOLEAN PowerButtonPresent; BOOLEAN SleepButtonPresent; BOOLEAN LidPresent; BOOLEAN SystemS1; BOOLEAN SystemS2; BOOLEAN SystemS3; BOOLEAN SystemS4; BOOLEAN SystemS5; BOOLEAN HiberFilePresent; BOOLEAN FullWake; BOOLEAN VideoDimPresent; BOOLEAN ApmPresent; BOOLEAN UpsPresent; BOOLEAN ThermalControl; BOOLEAN ProcessorThrottle; UCHAR ProcessorMinThrottle; UCHAR ProcessorMaxThrottle; UCHAR spare2[4]; BOOLEAN DiskSpinDown; UCHAR spare3[8]; BOOLEAN SystemBatteriesPresent; BOOLEAN BatteriesAreShortTerm; BATTERY_REPORTING_SCALE BatteryScale[3]; SYSTEM_POWER_STATE AcOnLineWake; SYSTEM_POWER_STATE SoftLidWake; SYSTEM_POWER_STATE RtcWake; SYSTEM_POWER_STATE MinDeviceWakeState; SYSTEM_POWER_STATE DefaultLowLatencyWake; } SYSTEM_POWER_CAPABILITIES, *PSYSTEM_POWER_CAPABILITIES; typedef struct _SYSTEM_BATTERY_STATE { BOOLEAN AcOnLine; BOOLEAN BatteryPresent; BOOLEAN Charging; BOOLEAN Discharging; BOOLEAN Spare1[4]; ULONG MaxCapacity; ULONG RemainingCapacity; ULONG Rate; ULONG EstimatedTime; ULONG DefaultAlert1; ULONG DefaultAlert2; } SYSTEM_BATTERY_STATE, *PSYSTEM_BATTERY_STATE; typedef enum _POWER_INFORMATION_LEVEL { SystemPowerPolicyAc, SystemPowerPolicyDc, VerifySystemPolicyAc, VerifySystemPolicyDc, SystemPowerCapabilities, SystemBatteryState, SystemPowerStateHandler, ProcessorStateHandler, SystemPowerPolicyCurrent, AdministratorPowerPolicy, SystemReserveHiberFile, ProcessorInformation, SystemPowerInformation, ProcessorStateHandler2, LastWakeTime, LastSleepTime, SystemExecutionState, SystemPowerStateNotifyHandler, ProcessorPowerPolicyAc, ProcessorPowerPolicyDc, VerifyProcessorPowerPolicyAc, VerifyProcessorPowerPolicyDc, ProcessorPowerPolicyCurrent } POWER_INFORMATION_LEVEL; typedef struct _SYSTEM_POWER_INFORMATION { ULONG MaxIdlenessAllowed; ULONG Idleness; ULONG TimeRemaining; UCHAR CoolingMode; } SYSTEM_POWER_INFORMATION,*PSYSTEM_POWER_INFORMATION; # 3812 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef struct _PROCESSOR_POWER_POLICY_INFO { ULONG TimeCheck; ULONG DemoteLimit; ULONG PromoteLimit; UCHAR DemotePercent; UCHAR PromotePercent; UCHAR Spare[2]; ULONG AllowDemotion : 1; ULONG AllowPromotion : 1; ULONG Reserved : 30; } PROCESSOR_POWER_POLICY_INFO, *PPROCESSOR_POWER_POLICY_INFO; typedef struct _PROCESSOR_POWER_POLICY { ULONG Revision; UCHAR DynamicThrottle; UCHAR Spare[3]; ULONG Reserved; ULONG PolicyCount; PROCESSOR_POWER_POLICY_INFO Policy[3]; } PROCESSOR_POWER_POLICY, *PPROCESSOR_POWER_POLICY; typedef struct _ADMINISTRATOR_POWER_POLICY { SYSTEM_POWER_STATE MinSleep; SYSTEM_POWER_STATE MaxSleep; ULONG MinVideoTimeout; ULONG MaxVideoTimeout; ULONG MinSpindownTimeout; ULONG MaxSpindownTimeout; } ADMINISTRATOR_POWER_POLICY, *PADMINISTRATOR_POWER_POLICY; # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/poppack.h" 1 3 #pragma pack(pop) # 3840 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 2 3 # 3850 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 typedef OSVERSIONINFOA OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO; typedef OSVERSIONINFOEXA OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX; # 3865 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h" 3 static __inline__ PVOID GetCurrentFiber(void) { void* ret; __asm__ __volatile__ ( "mov{l} {%%fs:0x10,%0|%0,%%fs:0x10}" : "=r" (ret) ); return ret; } static __inline__ PVOID GetFiberData(void) { void* ret; __asm__ __volatile__ ( "mov{l} {%%fs:0x10,%0|%0,%%fs:0x10}\n\t" "mov{l} {(%0),%0|%0,[%0]}" : "=r" (ret) ); return ret; } static __inline__ struct _TEB * NtCurrentTeb(void) { struct _TEB *ret; __asm__ __volatile__ ( "mov{l} {%%fs:0x18,%0|%0,%%fs:0x18}\n" : "=r" (ret) : ); return ret; } # 254 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windef.h" 2 3 typedef UINT_PTR WPARAM; typedef LONG_PTR LPARAM; typedef LONG_PTR LRESULT; typedef LONG HRESULT; typedef WORD ATOM; typedef HANDLE HGLOBAL; typedef HANDLE HLOCAL; typedef HANDLE GLOBALHANDLE; typedef HANDLE LOCALHANDLE; typedef void *HGDIOBJ; typedef struct HACCEL__{int i;}*HACCEL; typedef struct HBITMAP__{int i;}*HBITMAP; typedef struct HBRUSH__{int i;}*HBRUSH; typedef struct HCOLORSPACE__{int i;}*HCOLORSPACE; typedef struct HDC__{int i;}*HDC; typedef struct HGLRC__{int i;}*HGLRC; typedef struct HDESK__{int i;}*HDESK; typedef struct HENHMETAFILE__{int i;}*HENHMETAFILE; typedef struct HFONT__{int i;}*HFONT; typedef struct HICON__{int i;}*HICON; typedef struct HKEY__{int i;}*HKEY; typedef struct HMONITOR__{int i;}*HMONITOR; typedef struct HTERMINAL__{int i;}*HTERMINAL; typedef struct HWINEVENTHOOK__{int i;}*HWINEVENTHOOK; typedef HKEY *PHKEY; typedef struct HMENU__{int i;}*HMENU; typedef struct HMETAFILE__{int i;}*HMETAFILE; typedef struct HINSTANCE__{int i;}*HINSTANCE; typedef HINSTANCE HMODULE; typedef struct HPALETTE__{int i;}*HPALETTE; typedef struct HPEN__{int i;}*HPEN; typedef struct HRGN__{int i;}*HRGN; typedef struct HRSRC__{int i;}*HRSRC; typedef struct HSTR__{int i;}*HSTR; typedef struct HTASK__{int i;}*HTASK; typedef struct HWND__{int i;}*HWND; typedef struct HWINSTA__{int i;}*HWINSTA; typedef struct HKL__{int i;}*HKL; typedef int HFILE; typedef HICON HCURSOR; typedef DWORD COLORREF; typedef int (__attribute__((__stdcall__)) *FARPROC)(); typedef int (__attribute__((__stdcall__)) *NEARPROC)(); typedef int (__attribute__((__stdcall__)) *PROC)(); typedef struct tagRECT { LONG left; LONG top; LONG right; LONG bottom; } RECT,*PRECT,*LPRECT; typedef const RECT *LPCRECT; typedef struct tagRECTL { LONG left; LONG top; LONG right; LONG bottom; } RECTL,*PRECTL,*LPRECTL; typedef const RECTL *LPCRECTL; typedef struct tagPOINT { LONG x; LONG y; } POINT,POINTL,*PPOINT,*LPPOINT,*PPOINTL,*LPPOINTL; typedef struct tagSIZE { LONG cx; LONG cy; } SIZE,SIZEL,*PSIZE,*LPSIZE,*PSIZEL,*LPSIZEL; typedef struct tagPOINTS { SHORT x; SHORT y; } POINTS,*PPOINTS,*LPPOINTS; # 49 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wincon.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wincon.h" 3 # 62 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wincon.h" 3 typedef struct _CHAR_INFO { union { WCHAR UnicodeChar; CHAR AsciiChar; } Char; WORD Attributes; } CHAR_INFO, *PCHAR_INFO; typedef struct _SMALL_RECT { SHORT Left; SHORT Top; SHORT Right; SHORT Bottom; } SMALL_RECT, *PSMALL_RECT; typedef struct _CONSOLE_CURSOR_INFO { DWORD dwSize; BOOL bVisible; } CONSOLE_CURSOR_INFO,*PCONSOLE_CURSOR_INFO; typedef struct _COORD { SHORT X; SHORT Y; } COORD, *PCOORD; typedef struct _CONSOLE_FONT_INFO { DWORD nFont; COORD dwFontSize; } CONSOLE_FONT_INFO, *PCONSOLE_FONT_INFO; typedef struct _CONSOLE_SCREEN_BUFFER_INFO { COORD dwSize; COORD dwCursorPosition; WORD wAttributes; SMALL_RECT srWindow; COORD dwMaximumWindowSize; } CONSOLE_SCREEN_BUFFER_INFO,*PCONSOLE_SCREEN_BUFFER_INFO; typedef BOOL(__attribute__((__stdcall__)) *PHANDLER_ROUTINE)(DWORD); typedef struct _KEY_EVENT_RECORD { BOOL bKeyDown; WORD wRepeatCount; WORD wVirtualKeyCode; WORD wVirtualScanCode; union { WCHAR UnicodeChar; CHAR AsciiChar; } uChar; DWORD dwControlKeyState; } __attribute__((packed)) KEY_EVENT_RECORD; typedef struct _MOUSE_EVENT_RECORD { COORD dwMousePosition; DWORD dwButtonState; DWORD dwControlKeyState; DWORD dwEventFlags; } MOUSE_EVENT_RECORD; typedef struct _WINDOW_BUFFER_SIZE_RECORD { COORD dwSize; } WINDOW_BUFFER_SIZE_RECORD; typedef struct _MENU_EVENT_RECORD { UINT dwCommandId; } MENU_EVENT_RECORD,*PMENU_EVENT_RECORD; typedef struct _FOCUS_EVENT_RECORD { BOOL bSetFocus; } FOCUS_EVENT_RECORD; typedef struct _INPUT_RECORD { WORD EventType; union { KEY_EVENT_RECORD KeyEvent; MOUSE_EVENT_RECORD MouseEvent; WINDOW_BUFFER_SIZE_RECORD WindowBufferSizeEvent; MENU_EVENT_RECORD MenuEvent; FOCUS_EVENT_RECORD FocusEvent; } Event; } INPUT_RECORD,*PINPUT_RECORD; BOOL __attribute__((__stdcall__)) AllocConsole(void); HANDLE __attribute__((__stdcall__)) CreateConsoleScreenBuffer(DWORD,DWORD,const SECURITY_ATTRIBUTES*,DWORD,LPVOID); BOOL __attribute__((__stdcall__)) FillConsoleOutputAttribute(HANDLE,WORD,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) FillConsoleOutputCharacterA(HANDLE,CHAR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) FillConsoleOutputCharacterW(HANDLE,WCHAR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) FlushConsoleInputBuffer(HANDLE); BOOL __attribute__((__stdcall__)) FreeConsole(void); BOOL __attribute__((__stdcall__)) GenerateConsoleCtrlEvent(DWORD,DWORD); UINT __attribute__((__stdcall__)) GetConsoleCP(void); BOOL __attribute__((__stdcall__)) GetConsoleCursorInfo(HANDLE,PCONSOLE_CURSOR_INFO); BOOL __attribute__((__stdcall__)) GetConsoleMode(HANDLE,PDWORD); UINT __attribute__((__stdcall__)) GetConsoleOutputCP(void); BOOL __attribute__((__stdcall__)) GetConsoleScreenBufferInfo(HANDLE,PCONSOLE_SCREEN_BUFFER_INFO); DWORD __attribute__((__stdcall__)) GetConsoleTitleA(LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetConsoleTitleW(LPWSTR,DWORD); COORD __attribute__((__stdcall__)) GetLargestConsoleWindowSize(HANDLE); BOOL __attribute__((__stdcall__)) GetNumberOfConsoleInputEvents(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetNumberOfConsoleMouseButtons(PDWORD); BOOL __attribute__((__stdcall__)) PeekConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) PeekConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleA(HANDLE,PVOID,DWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) ReadConsoleW(HANDLE,PVOID,DWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) ReadConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleOutputAttribute(HANDLE,LPWORD,DWORD,COORD,LPDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleOutputCharacterW(HANDLE,LPWSTR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleOutputA(HANDLE,PCHAR_INFO,COORD,COORD,PSMALL_RECT); BOOL __attribute__((__stdcall__)) ReadConsoleOutputW(HANDLE,PCHAR_INFO,COORD,COORD,PSMALL_RECT); BOOL __attribute__((__stdcall__)) ScrollConsoleScreenBufferA(HANDLE,const SMALL_RECT*,const SMALL_RECT*,COORD,const CHAR_INFO*); BOOL __attribute__((__stdcall__)) ScrollConsoleScreenBufferW(HANDLE,const SMALL_RECT*,const SMALL_RECT*,COORD,const CHAR_INFO*); BOOL __attribute__((__stdcall__)) SetConsoleActiveScreenBuffer(HANDLE); BOOL __attribute__((__stdcall__)) SetConsoleCP(UINT); BOOL __attribute__((__stdcall__)) SetConsoleCtrlHandler(PHANDLER_ROUTINE,BOOL); BOOL __attribute__((__stdcall__)) SetConsoleCursorInfo(HANDLE,const CONSOLE_CURSOR_INFO*); BOOL __attribute__((__stdcall__)) SetConsoleCursorPosition(HANDLE,COORD); BOOL __attribute__((__stdcall__)) SetConsoleMode(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetConsoleOutputCP(UINT); BOOL __attribute__((__stdcall__)) SetConsoleScreenBufferSize(HANDLE,COORD); BOOL __attribute__((__stdcall__)) SetConsoleTextAttribute(HANDLE,WORD); BOOL __attribute__((__stdcall__)) SetConsoleTitleA(LPCSTR); BOOL __attribute__((__stdcall__)) SetConsoleTitleW(LPCWSTR); BOOL __attribute__((__stdcall__)) SetConsoleWindowInfo(HANDLE,BOOL,const SMALL_RECT*); BOOL __attribute__((__stdcall__)) WriteConsoleA(HANDLE,PCVOID,DWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) WriteConsoleW(HANDLE,PCVOID,DWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) WriteConsoleInputA(HANDLE,const INPUT_RECORD*,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteConsoleInputW(HANDLE,const INPUT_RECORD*,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteConsoleOutputA(HANDLE,const CHAR_INFO*,COORD,COORD,PSMALL_RECT); BOOL __attribute__((__stdcall__)) WriteConsoleOutputW(HANDLE,const CHAR_INFO*,COORD,COORD,PSMALL_RECT); BOOL __attribute__((__stdcall__)) WriteConsoleOutputAttribute(HANDLE,const WORD*,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteConsoleOutputCharacterA(HANDLE,LPCSTR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteConsoleOutputCharacterW(HANDLE,LPCWSTR,DWORD,COORD,PDWORD); # 50 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 # 573 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 typedef struct _FILETIME { DWORD dwLowDateTime; DWORD dwHighDateTime; } FILETIME,*PFILETIME,*LPFILETIME; typedef struct _BY_HANDLE_FILE_INFORMATION { DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD dwVolumeSerialNumber; DWORD nFileSizeHigh; DWORD nFileSizeLow; DWORD nNumberOfLinks; DWORD nFileIndexHigh; DWORD nFileIndexLow; } BY_HANDLE_FILE_INFORMATION,*LPBY_HANDLE_FILE_INFORMATION; typedef struct _DCB { DWORD DCBlength; DWORD BaudRate; DWORD fBinary:1; DWORD fParity:1; DWORD fOutxCtsFlow:1; DWORD fOutxDsrFlow:1; DWORD fDtrControl:2; DWORD fDsrSensitivity:1; DWORD fTXContinueOnXoff:1; DWORD fOutX:1; DWORD fInX:1; DWORD fErrorChar:1; DWORD fNull:1; DWORD fRtsControl:2; DWORD fAbortOnError:1; DWORD fDummy2:17; WORD wReserved; WORD XonLim; WORD XoffLim; BYTE ByteSize; BYTE Parity; BYTE StopBits; char XonChar; char XoffChar; char ErrorChar; char EofChar; char EvtChar; WORD wReserved1; } DCB,*LPDCB; typedef struct _COMM_CONFIG { DWORD dwSize; WORD wVersion; WORD wReserved; DCB dcb; DWORD dwProviderSubType; DWORD dwProviderOffset; DWORD dwProviderSize; WCHAR wcProviderData[1]; } COMMCONFIG,*LPCOMMCONFIG; typedef struct _COMMPROP { WORD wPacketLength; WORD wPacketVersion; DWORD dwServiceMask; DWORD dwReserved1; DWORD dwMaxTxQueue; DWORD dwMaxRxQueue; DWORD dwMaxBaud; DWORD dwProvSubType; DWORD dwProvCapabilities; DWORD dwSettableParams; DWORD dwSettableBaud; WORD wSettableData; WORD wSettableStopParity; DWORD dwCurrentTxQueue; DWORD dwCurrentRxQueue; DWORD dwProvSpec1; DWORD dwProvSpec2; WCHAR wcProvChar[1]; } COMMPROP,*LPCOMMPROP; typedef struct _COMMTIMEOUTS { DWORD ReadIntervalTimeout; DWORD ReadTotalTimeoutMultiplier; DWORD ReadTotalTimeoutConstant; DWORD WriteTotalTimeoutMultiplier; DWORD WriteTotalTimeoutConstant; } COMMTIMEOUTS,*LPCOMMTIMEOUTS; typedef struct _COMSTAT { DWORD fCtsHold:1; DWORD fDsrHold:1; DWORD fRlsdHold:1; DWORD fXoffHold:1; DWORD fXoffSent:1; DWORD fEof:1; DWORD fTxim:1; DWORD fReserved:25; DWORD cbInQue; DWORD cbOutQue; } COMSTAT,*LPCOMSTAT; typedef DWORD (__attribute__((__stdcall__)) *LPTHREAD_START_ROUTINE)(LPVOID); typedef struct _CREATE_PROCESS_DEBUG_INFO { HANDLE hFile; HANDLE hProcess; HANDLE hThread; LPVOID lpBaseOfImage; DWORD dwDebugInfoFileOffset; DWORD nDebugInfoSize; LPVOID lpThreadLocalBase; LPTHREAD_START_ROUTINE lpStartAddress; LPVOID lpImageName; WORD fUnicode; } CREATE_PROCESS_DEBUG_INFO,*LPCREATE_PROCESS_DEBUG_INFO; typedef struct _CREATE_THREAD_DEBUG_INFO { HANDLE hThread; LPVOID lpThreadLocalBase; LPTHREAD_START_ROUTINE lpStartAddress; } CREATE_THREAD_DEBUG_INFO,*LPCREATE_THREAD_DEBUG_INFO; typedef struct _EXCEPTION_DEBUG_INFO { EXCEPTION_RECORD ExceptionRecord; DWORD dwFirstChance; } EXCEPTION_DEBUG_INFO,*LPEXCEPTION_DEBUG_INFO; typedef struct _EXIT_THREAD_DEBUG_INFO { DWORD dwExitCode; } EXIT_THREAD_DEBUG_INFO,*LPEXIT_THREAD_DEBUG_INFO; typedef struct _EXIT_PROCESS_DEBUG_INFO { DWORD dwExitCode; } EXIT_PROCESS_DEBUG_INFO,*LPEXIT_PROCESS_DEBUG_INFO; typedef struct _LOAD_DLL_DEBUG_INFO { HANDLE hFile; LPVOID lpBaseOfDll; DWORD dwDebugInfoFileOffset; DWORD nDebugInfoSize; LPVOID lpImageName; WORD fUnicode; } LOAD_DLL_DEBUG_INFO,*LPLOAD_DLL_DEBUG_INFO; typedef struct _UNLOAD_DLL_DEBUG_INFO { LPVOID lpBaseOfDll; } UNLOAD_DLL_DEBUG_INFO,*LPUNLOAD_DLL_DEBUG_INFO; typedef struct _OUTPUT_DEBUG_STRING_INFO { LPSTR lpDebugStringData; WORD fUnicode; WORD nDebugStringLength; } OUTPUT_DEBUG_STRING_INFO,*LPOUTPUT_DEBUG_STRING_INFO; typedef struct _RIP_INFO { DWORD dwError; DWORD dwType; } RIP_INFO,*LPRIP_INFO; typedef struct _DEBUG_EVENT { DWORD dwDebugEventCode; DWORD dwProcessId; DWORD dwThreadId; union { EXCEPTION_DEBUG_INFO Exception; CREATE_THREAD_DEBUG_INFO CreateThread; CREATE_PROCESS_DEBUG_INFO CreateProcessInfo; EXIT_THREAD_DEBUG_INFO ExitThread; EXIT_PROCESS_DEBUG_INFO ExitProcess; LOAD_DLL_DEBUG_INFO LoadDll; UNLOAD_DLL_DEBUG_INFO UnloadDll; OUTPUT_DEBUG_STRING_INFO DebugString; RIP_INFO RipInfo; } u; } DEBUG_EVENT,*LPDEBUG_EVENT; typedef struct _OVERLAPPED { ULONG_PTR Internal; ULONG_PTR InternalHigh; DWORD Offset; DWORD OffsetHigh; HANDLE hEvent; } OVERLAPPED,*POVERLAPPED,*LPOVERLAPPED; typedef struct _STARTUPINFOA { DWORD cb; LPSTR lpReserved; LPSTR lpDesktop; LPSTR lpTitle; DWORD dwX; DWORD dwY; DWORD dwXSize; DWORD dwYSize; DWORD dwXCountChars; DWORD dwYCountChars; DWORD dwFillAttribute; DWORD dwFlags; WORD wShowWindow; WORD cbReserved2; PBYTE lpReserved2; HANDLE hStdInput; HANDLE hStdOutput; HANDLE hStdError; } STARTUPINFOA,*LPSTARTUPINFOA; typedef struct _STARTUPINFOW { DWORD cb; LPWSTR lpReserved; LPWSTR lpDesktop; LPWSTR lpTitle; DWORD dwX; DWORD dwY; DWORD dwXSize; DWORD dwYSize; DWORD dwXCountChars; DWORD dwYCountChars; DWORD dwFillAttribute; DWORD dwFlags; WORD wShowWindow; WORD cbReserved2; PBYTE lpReserved2; HANDLE hStdInput; HANDLE hStdOutput; HANDLE hStdError; } STARTUPINFOW,*LPSTARTUPINFOW; typedef struct _PROCESS_INFORMATION { HANDLE hProcess; HANDLE hThread; DWORD dwProcessId; DWORD dwThreadId; } PROCESS_INFORMATION,*PPROCESS_INFORMATION,*LPPROCESS_INFORMATION; typedef struct _CRITICAL_SECTION_DEBUG { WORD Type; WORD CreatorBackTraceIndex; struct _CRITICAL_SECTION *CriticalSection; LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; DWORD Spare [2]; } CRITICAL_SECTION_DEBUG,*PCRITICAL_SECTION_DEBUG; typedef struct _CRITICAL_SECTION { PCRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; DWORD SpinCount; } CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION; typedef struct _SYSTEMTIME { WORD wYear; WORD wMonth; WORD wDayOfWeek; WORD wDay; WORD wHour; WORD wMinute; WORD wSecond; WORD wMilliseconds; } SYSTEMTIME,*LPSYSTEMTIME; typedef struct _WIN32_FILE_ATTRIBUTE_DATA { DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; } WIN32_FILE_ATTRIBUTE_DATA,*LPWIN32_FILE_ATTRIBUTE_DATA; typedef struct _WIN32_FIND_DATAA { DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; DWORD dwReserved0; DWORD dwReserved1; CHAR cFileName[260]; CHAR cAlternateFileName[14]; } WIN32_FIND_DATAA,*PWIN32_FIND_DATAA,*LPWIN32_FIND_DATAA; typedef struct _WIN32_FIND_DATAW { DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; DWORD dwReserved0; DWORD dwReserved1; WCHAR cFileName[260]; WCHAR cAlternateFileName[14]; } WIN32_FIND_DATAW,*PWIN32_FIND_DATAW,*LPWIN32_FIND_DATAW; typedef struct _WIN32_STREAM_ID { DWORD dwStreamId; DWORD dwStreamAttributes; LARGE_INTEGER Size; DWORD dwStreamNameSize; WCHAR cStreamName[1]; } WIN32_STREAM_ID, *LPWIN32_STREAM_ID; typedef enum _FINDEX_INFO_LEVELS { FindExInfoStandard, FindExInfoMaxInfoLevel } FINDEX_INFO_LEVELS; typedef enum _FINDEX_SEARCH_OPS { FindExSearchNameMatch, FindExSearchLimitToDirectories, FindExSearchLimitToDevices, FindExSearchMaxSearchOp } FINDEX_SEARCH_OPS; typedef enum _ACL_INFORMATION_CLASS { AclRevisionInformation=1, AclSizeInformation } ACL_INFORMATION_CLASS; typedef struct tagHW_PROFILE_INFOA { DWORD dwDockInfo; CHAR szHwProfileGuid[39]; CHAR szHwProfileName[80]; } HW_PROFILE_INFOA,*LPHW_PROFILE_INFOA; typedef struct tagHW_PROFILE_INFOW { DWORD dwDockInfo; WCHAR szHwProfileGuid[39]; WCHAR szHwProfileName[80]; } HW_PROFILE_INFOW,*LPHW_PROFILE_INFOW; typedef enum _GET_FILEEX_INFO_LEVELS { GetFileExInfoStandard, GetFileExMaxInfoLevel } GET_FILEEX_INFO_LEVELS; typedef struct _SYSTEM_INFO { __extension__ union { DWORD dwOemId; __extension__ struct { WORD wProcessorArchitecture; WORD wReserved; } ; } ; DWORD dwPageSize; PVOID lpMinimumApplicationAddress; PVOID lpMaximumApplicationAddress; DWORD dwActiveProcessorMask; DWORD dwNumberOfProcessors; DWORD dwProcessorType; DWORD dwAllocationGranularity; WORD wProcessorLevel; WORD wProcessorRevision; } SYSTEM_INFO,*LPSYSTEM_INFO; typedef struct _SYSTEM_POWER_STATUS { BYTE ACLineStatus; BYTE BatteryFlag; BYTE BatteryLifePercent; BYTE Reserved1; DWORD BatteryLifeTime; DWORD BatteryFullLifeTime; } SYSTEM_POWER_STATUS,*LPSYSTEM_POWER_STATUS; typedef struct _TIME_ZONE_INFORMATION { LONG Bias; WCHAR StandardName[32]; SYSTEMTIME StandardDate; LONG StandardBias; WCHAR DaylightName[32]; SYSTEMTIME DaylightDate; LONG DaylightBias; } TIME_ZONE_INFORMATION,*LPTIME_ZONE_INFORMATION; typedef struct _MEMORYSTATUS { DWORD dwLength; DWORD dwMemoryLoad; DWORD dwTotalPhys; DWORD dwAvailPhys; DWORD dwTotalPageFile; DWORD dwAvailPageFile; DWORD dwTotalVirtual; DWORD dwAvailVirtual; } MEMORYSTATUS,*LPMEMORYSTATUS; # 949 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 typedef struct _LDT_ENTRY { WORD LimitLow; WORD BaseLow; union { struct { BYTE BaseMid; BYTE Flags1; BYTE Flags2; BYTE BaseHi; } Bytes; struct { DWORD BaseMid:8; DWORD Type:5; DWORD Dpl:2; DWORD Pres:1; DWORD LimitHi:4; DWORD Sys:1; DWORD Reserved_0:1; DWORD Default_Big:1; DWORD Granularity:1; DWORD BaseHi:8; } Bits; } HighWord; } LDT_ENTRY,*PLDT_ENTRY,*LPLDT_ENTRY; typedef struct _PROCESS_HEAP_ENTRY { PVOID lpData; DWORD cbData; BYTE cbOverhead; BYTE iRegionIndex; WORD wFlags; __extension__ union { struct { HANDLE hMem; DWORD dwReserved[3]; } Block; struct { DWORD dwCommittedSize; DWORD dwUnCommittedSize; LPVOID lpFirstBlock; LPVOID lpLastBlock; } Region; } ; } PROCESS_HEAP_ENTRY,*LPPROCESS_HEAP_ENTRY; typedef struct _OFSTRUCT { BYTE cBytes; BYTE fFixedDisk; WORD nErrCode; WORD Reserved1; WORD Reserved2; CHAR szPathName[128]; } OFSTRUCT,*LPOFSTRUCT,*POFSTRUCT; typedef struct _WIN_CERTIFICATE { DWORD dwLength; WORD wRevision; WORD wCertificateType; BYTE bCertificate[1]; } WIN_CERTIFICATE, *LPWIN_CERTIFICATE; # 1074 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 typedef DWORD(__attribute__((__stdcall__)) *LPPROGRESS_ROUTINE)(LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,DWORD,DWORD,HANDLE,HANDLE,LPVOID); typedef void(__attribute__((__stdcall__)) *LPFIBER_START_ROUTINE)(PVOID); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESLANGPROCA)(HMODULE,LPCSTR,LPCSTR,WORD,LONG); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESLANGPROCW)(HMODULE,LPCWSTR,LPCWSTR,WORD,LONG); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESNAMEPROCA)(HMODULE,LPCSTR,LPSTR,LONG); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESNAMEPROCW)(HMODULE,LPCWSTR,LPWSTR,LONG); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESTYPEPROCA)(HMODULE,LPSTR,LONG); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESTYPEPROCW)(HMODULE,LPWSTR,LONG); typedef void(__attribute__((__stdcall__)) *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED); typedef LONG(__attribute__((__stdcall__)) *PTOP_LEVEL_EXCEPTION_FILTER)(LPEXCEPTION_POINTERS); typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER; typedef void(__attribute__((__stdcall__)) *PAPCFUNC)(ULONG_PTR); typedef void(__attribute__((__stdcall__)) *PTIMERAPCROUTINE)(PVOID,DWORD,DWORD); int __attribute__((__stdcall__)) WinMain(HINSTANCE,HINSTANCE,LPSTR,int); int __attribute__((__stdcall__)) wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int); long __attribute__((__stdcall__)) _hread(HFILE,LPVOID,long); long __attribute__((__stdcall__)) _hwrite(HFILE,LPCSTR,long); HFILE __attribute__((__stdcall__)) _lclose(HFILE); HFILE __attribute__((__stdcall__)) _lcreat(LPCSTR,int); LONG __attribute__((__stdcall__)) _llseek(HFILE,LONG,int); HFILE __attribute__((__stdcall__)) _lopen(LPCSTR,int); UINT __attribute__((__stdcall__)) _lread(HFILE,LPVOID,UINT); UINT __attribute__((__stdcall__)) _lwrite(HFILE,LPCSTR,UINT); BOOL __attribute__((__stdcall__)) AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,PDWORD,PDWORD,PBOOL); BOOL __attribute__((__stdcall__)) AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL); BOOL __attribute__((__stdcall__)) AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL); BOOL __attribute__((__stdcall__)) AddAccessAllowedAce(PACL,DWORD,DWORD,PSID); BOOL __attribute__((__stdcall__)) AddAccessDeniedAce(PACL,DWORD,DWORD,PSID); BOOL __attribute__((__stdcall__)) AddAce(PACL,DWORD,DWORD,PVOID,DWORD); ATOM __attribute__((__stdcall__)) AddAtomA(LPCSTR); ATOM __attribute__((__stdcall__)) AddAtomW(LPCWSTR); BOOL __attribute__((__stdcall__)) AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL); BOOL __attribute__((__stdcall__)) AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD); BOOL __attribute__((__stdcall__)) AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD); BOOL __attribute__((__stdcall__)) AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID*); BOOL __attribute__((__stdcall__)) AllocateLocallyUniqueId(PLUID); BOOL __attribute__((__stdcall__)) AreAllAccessesGranted(DWORD,DWORD); BOOL __attribute__((__stdcall__)) AreAnyAccessesGranted(DWORD,DWORD); BOOL __attribute__((__stdcall__)) AreFileApisANSI(void); BOOL __attribute__((__stdcall__)) BackupEventLogA(HANDLE,LPCSTR); BOOL __attribute__((__stdcall__)) BackupEventLogW(HANDLE,LPCWSTR); BOOL __attribute__((__stdcall__)) BackupRead(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*); BOOL __attribute__((__stdcall__)) BackupSeek(HANDLE,DWORD,DWORD,LPDWORD,LPDWORD,LPVOID*); BOOL __attribute__((__stdcall__)) BackupWrite(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID*); BOOL __attribute__((__stdcall__)) Beep(DWORD,DWORD); HANDLE __attribute__((__stdcall__)) BeginUpdateResourceA(LPCSTR,BOOL); HANDLE __attribute__((__stdcall__)) BeginUpdateResourceW(LPCWSTR,BOOL); BOOL __attribute__((__stdcall__)) BuildCommDCBA(LPCSTR,LPDCB); BOOL __attribute__((__stdcall__)) BuildCommDCBW(LPCWSTR,LPDCB); BOOL __attribute__((__stdcall__)) BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS); BOOL __attribute__((__stdcall__)) BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS); BOOL __attribute__((__stdcall__)) CallNamedPipeA(LPCSTR,PVOID,DWORD,PVOID,DWORD,PDWORD,DWORD); BOOL __attribute__((__stdcall__)) CallNamedPipeW(LPCWSTR,PVOID,DWORD,PVOID,DWORD,PDWORD,DWORD); BOOL __attribute__((__stdcall__)) CancelDeviceWakeupRequest(HANDLE); BOOL __attribute__((__stdcall__)) CancelIo(HANDLE); BOOL __attribute__((__stdcall__)) CancelWaitableTimer(HANDLE); # 1179 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 BOOL __attribute__((__stdcall__)) ClearCommBreak(HANDLE); BOOL __attribute__((__stdcall__)) ClearCommError(HANDLE,PDWORD,LPCOMSTAT); BOOL __attribute__((__stdcall__)) ClearEventLogA(HANDLE,LPCSTR); BOOL __attribute__((__stdcall__)) ClearEventLogW(HANDLE,LPCWSTR); BOOL __attribute__((__stdcall__)) CloseEventLog(HANDLE); BOOL __attribute__((__stdcall__)) CloseHandle(HANDLE); BOOL __attribute__((__stdcall__)) CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG); BOOL __attribute__((__stdcall__)) CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG); LONG __attribute__((__stdcall__)) CompareFileTime(const FILETIME*,const FILETIME*); BOOL __attribute__((__stdcall__)) ConnectNamedPipe(HANDLE,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) ContinueDebugEvent(DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) ConvertFiberToThread(void); PVOID __attribute__((__stdcall__)) ConvertThreadToFiber(PVOID); BOOL __attribute__((__stdcall__)) CopyFileA(LPCSTR,LPCSTR,BOOL); BOOL __attribute__((__stdcall__)) CopyFileW(LPCWSTR,LPCWSTR,BOOL); BOOL __attribute__((__stdcall__)) CopyFileExA(LPCSTR,LPCSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD); BOOL __attribute__((__stdcall__)) CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD); # 1206 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 BOOL __attribute__((__stdcall__)) CopySid(DWORD,PSID,PSID); BOOL __attribute__((__stdcall__)) CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES); BOOL __attribute__((__stdcall__)) CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES); BOOL __attribute__((__stdcall__)) CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES); BOOL __attribute__((__stdcall__)) CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR); LPVOID __attribute__((__stdcall__)) CreateFiber(SIZE_T,LPFIBER_START_ROUTINE,LPVOID); LPVOID __attribute__((__stdcall__)) CreateFiberEx(SIZE_T,SIZE_T,DWORD,LPFIBER_START_ROUTINE,LPVOID); HANDLE __attribute__((__stdcall__)) CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); HANDLE __attribute__((__stdcall__)) CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); HANDLE __attribute__((__stdcall__)) CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR); HANDLE __attribute__((__stdcall__)) CreateIoCompletionPort(HANDLE,HANDLE,ULONG_PTR,DWORD); # 1238 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 HANDLE __attribute__((__stdcall__)) CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); HANDLE __attribute__((__stdcall__)) CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); BOOL __attribute__((__stdcall__)) CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD); BOOL __attribute__((__stdcall__)) CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING); BOOL __attribute__((__stdcall__)) CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); BOOL __attribute__((__stdcall__)) CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); BOOL __attribute__((__stdcall__)) CreateProcessAsUserA(HANDLE,LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); BOOL __attribute__((__stdcall__)) CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); # 1261 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 HANDLE __attribute__((__stdcall__)) CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD); HANDLE __attribute__((__stdcall__)) CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR); DWORD __attribute__((__stdcall__)) CreateTapePartition(HANDLE,DWORD,DWORD,DWORD); HANDLE __attribute__((__stdcall__)) CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,PVOID,DWORD,PDWORD); HANDLE __attribute__((__stdcall__)) CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); BOOL __attribute__((__stdcall__)) DebugActiveProcess(DWORD); void __attribute__((__stdcall__)) DebugBreak(void); BOOL __attribute__((__stdcall__)) DefineDosDeviceA(DWORD,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) DefineDosDeviceW(DWORD,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) DeleteAce(PACL,DWORD); ATOM __attribute__((__stdcall__)) DeleteAtom(ATOM); void __attribute__((__stdcall__)) DeleteCriticalSection(PCRITICAL_SECTION); void __attribute__((__stdcall__)) DeleteFiber(PVOID); BOOL __attribute__((__stdcall__)) DeleteFileA(LPCSTR); BOOL __attribute__((__stdcall__)) DeleteFileW(LPCWSTR); BOOL __attribute__((__stdcall__)) DeregisterEventSource(HANDLE); BOOL __attribute__((__stdcall__)) DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*); BOOL __attribute__((__stdcall__)) DeviceIoControl(HANDLE,DWORD,PVOID,DWORD,PVOID,DWORD,PDWORD,POVERLAPPED); BOOL __attribute__((__stdcall__)) DisableThreadLibraryCalls(HMODULE); BOOL __attribute__((__stdcall__)) DisconnectNamedPipe(HANDLE); BOOL __attribute__((__stdcall__)) DosDateTimeToFileTime(WORD,WORD,LPFILETIME); BOOL __attribute__((__stdcall__)) DuplicateHandle(HANDLE,HANDLE,HANDLE,PHANDLE,DWORD,BOOL,DWORD); BOOL __attribute__((__stdcall__)) DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE); BOOL __attribute__((__stdcall__)) DuplicateTokenEx(HANDLE,DWORD,LPSECURITY_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE); BOOL __attribute__((__stdcall__)) EncryptFileA(LPCSTR); BOOL __attribute__((__stdcall__)) EncryptFileW(LPCWSTR); BOOL __attribute__((__stdcall__)) EndUpdateResourceA(HANDLE,BOOL); BOOL __attribute__((__stdcall__)) EndUpdateResourceW(HANDLE,BOOL); void __attribute__((__stdcall__)) EnterCriticalSection(LPCRITICAL_SECTION); BOOL __attribute__((__stdcall__)) EnumResourceLanguagesA(HMODULE,LPCSTR,LPCSTR,ENUMRESLANGPROCA,LONG_PTR); BOOL __attribute__((__stdcall__)) EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,ENUMRESLANGPROCA,LONG_PTR); BOOL __attribute__((__stdcall__)) EnumResourceNamesA(HMODULE,LPCSTR,ENUMRESNAMEPROCA,LONG_PTR); BOOL __attribute__((__stdcall__)) EnumResourceNamesW(HMODULE,LPCWSTR,ENUMRESNAMEPROCA,LONG_PTR); BOOL __attribute__((__stdcall__)) EnumResourceTypesA(HMODULE,ENUMRESTYPEPROCA,LONG_PTR); BOOL __attribute__((__stdcall__)) EnumResourceTypesW(HMODULE,ENUMRESTYPEPROCA,LONG_PTR); BOOL __attribute__((__stdcall__)) EqualPrefixSid(PSID,PSID); BOOL __attribute__((__stdcall__)) EqualSid(PSID,PSID); DWORD __attribute__((__stdcall__)) EraseTape(HANDLE,DWORD,BOOL); BOOL __attribute__((__stdcall__)) EscapeCommFunction(HANDLE,DWORD); __attribute__((noreturn)) void __attribute__((__stdcall__)) ExitProcess(UINT); __attribute__((noreturn)) void __attribute__((__stdcall__)) ExitThread(DWORD); DWORD __attribute__((__stdcall__)) ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD); void __attribute__((__stdcall__)) FatalAppExitA(UINT,LPCSTR); void __attribute__((__stdcall__)) FatalAppExitW(UINT,LPCWSTR); void __attribute__((__stdcall__)) FatalExit(int); BOOL __attribute__((__stdcall__)) FileEncryptionStatusA(LPCSTR,LPDWORD); BOOL __attribute__((__stdcall__)) FileEncryptionStatusW(LPCWSTR,LPDWORD); BOOL __attribute__((__stdcall__)) FileTimeToDosDateTime(const FILETIME *,LPWORD,LPWORD); BOOL __attribute__((__stdcall__)) FileTimeToLocalFileTime(const FILETIME *,LPFILETIME); BOOL __attribute__((__stdcall__)) FileTimeToSystemTime(const FILETIME *,LPSYSTEMTIME); ATOM __attribute__((__stdcall__)) FindAtomA(LPCSTR); ATOM __attribute__((__stdcall__)) FindAtomW(LPCWSTR); BOOL __attribute__((__stdcall__)) FindClose(HANDLE); BOOL __attribute__((__stdcall__)) FindCloseChangeNotification(HANDLE); HANDLE __attribute__((__stdcall__)) FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD); HANDLE __attribute__((__stdcall__)) FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD); HANDLE __attribute__((__stdcall__)) FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA); HANDLE __attribute__((__stdcall__)) FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW); HANDLE __attribute__((__stdcall__)) FindFirstFileExA(LPCSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD); HANDLE __attribute__((__stdcall__)) FindFirstFileExW(LPCWSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD); BOOL __attribute__((__stdcall__)) FindFirstFreeAce(PACL,PVOID*); BOOL __attribute__((__stdcall__)) FindNextChangeNotification(HANDLE); BOOL __attribute__((__stdcall__)) FindNextFileA(HANDLE,LPWIN32_FIND_DATAA); BOOL __attribute__((__stdcall__)) FindNextFileW(HANDLE,LPWIN32_FIND_DATAW); # 1373 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 HRSRC __attribute__((__stdcall__)) FindResourceA(HMODULE,LPCSTR,LPCSTR); HRSRC __attribute__((__stdcall__)) FindResourceW(HINSTANCE,LPCWSTR,LPCWSTR); HRSRC __attribute__((__stdcall__)) FindResourceExA(HINSTANCE,LPCSTR,LPCSTR,WORD); HRSRC __attribute__((__stdcall__)) FindResourceExW(HINSTANCE,LPCWSTR,LPCWSTR,WORD); BOOL __attribute__((__stdcall__)) FlushFileBuffers(HANDLE); BOOL __attribute__((__stdcall__)) FlushInstructionCache(HANDLE,PCVOID,DWORD); BOOL __attribute__((__stdcall__)) FlushViewOfFile(PCVOID,DWORD); DWORD __attribute__((__stdcall__)) FormatMessageA(DWORD,PCVOID,DWORD,DWORD,LPSTR,DWORD,va_list*); DWORD __attribute__((__stdcall__)) FormatMessageW(DWORD,PCVOID,DWORD,DWORD,LPWSTR,DWORD,va_list*); BOOL __attribute__((__stdcall__)) FreeEnvironmentStringsA(LPSTR); BOOL __attribute__((__stdcall__)) FreeEnvironmentStringsW(LPWSTR); BOOL __attribute__((__stdcall__)) FreeLibrary(HMODULE); __attribute__((noreturn)) void __attribute__((__stdcall__)) FreeLibraryAndExitThread(HMODULE,DWORD); BOOL __attribute__((__stdcall__)) FreeResource(HGLOBAL); PVOID __attribute__((__stdcall__)) FreeSid(PSID); BOOL __attribute__((__stdcall__)) GetAce(PACL,DWORD,LPVOID*); BOOL __attribute__((__stdcall__)) GetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS); UINT __attribute__((__stdcall__)) GetAtomNameA(ATOM,LPSTR,int); UINT __attribute__((__stdcall__)) GetAtomNameW(ATOM,LPWSTR,int); BOOL __attribute__((__stdcall__)) GetBinaryTypeA(LPCSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetBinaryTypeW(LPCWSTR,PDWORD); LPSTR __attribute__((__stdcall__)) GetCommandLineA(void); LPWSTR __attribute__((__stdcall__)) GetCommandLineW(void); BOOL __attribute__((__stdcall__)) GetCommConfig(HANDLE,LPCOMMCONFIG,PDWORD); BOOL __attribute__((__stdcall__)) GetCommMask(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetCommModemStatus(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetCommProperties(HANDLE,LPCOMMPROP); BOOL __attribute__((__stdcall__)) GetCommState(HANDLE,LPDCB); BOOL __attribute__((__stdcall__)) GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS); DWORD __attribute__((__stdcall__)) GetCompressedFileSizeA(LPCSTR,PDWORD); DWORD __attribute__((__stdcall__)) GetCompressedFileSizeW(LPCWSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetComputerNameA(LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetComputerNameW(LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) GetCurrentDirectoryA(DWORD,LPSTR); DWORD __attribute__((__stdcall__)) GetCurrentDirectoryW(DWORD,LPWSTR); BOOL __attribute__((__stdcall__)) GetCurrentHwProfileA(LPHW_PROFILE_INFOA); BOOL __attribute__((__stdcall__)) GetCurrentHwProfileW(LPHW_PROFILE_INFOW); HANDLE __attribute__((__stdcall__)) GetCurrentProcess(void); DWORD __attribute__((__stdcall__)) GetCurrentProcessId(void); HANDLE __attribute__((__stdcall__)) GetCurrentThread(void); DWORD __attribute__((__stdcall__)) GetCurrentThreadId(void); BOOL __attribute__((__stdcall__)) GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,PDWORD); BOOL __attribute__((__stdcall__)) GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,PDWORD); BOOL __attribute__((__stdcall__)) GetDevicePowerState(HANDLE, BOOL*); BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceA(LPCSTR,PDWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceW(LPCWSTR,PDWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); UINT __attribute__((__stdcall__)) GetDriveTypeA(LPCSTR); UINT __attribute__((__stdcall__)) GetDriveTypeW(LPCWSTR); LPSTR __attribute__((__stdcall__)) GetEnvironmentStrings(void); LPSTR __attribute__((__stdcall__)) GetEnvironmentStringsA(void); LPWSTR __attribute__((__stdcall__)) GetEnvironmentStringsW(void); DWORD __attribute__((__stdcall__)) GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) GetExitCodeProcess(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetExitCodeThread(HANDLE,PDWORD); DWORD __attribute__((__stdcall__)) GetFileAttributesA(LPCSTR); DWORD __attribute__((__stdcall__)) GetFileAttributesW(LPCWSTR); BOOL __attribute__((__stdcall__)) GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,PVOID); BOOL __attribute__((__stdcall__)) GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,PVOID); BOOL __attribute__((__stdcall__)) GetFileInformationByHandle(HANDLE,LPBY_HANDLE_FILE_INFORMATION); BOOL __attribute__((__stdcall__)) GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetFileSize(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME); DWORD __attribute__((__stdcall__)) GetFileType(HANDLE); DWORD __attribute__((__stdcall__)) GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*); DWORD __attribute__((__stdcall__)) GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*); BOOL __attribute__((__stdcall__)) GetHandleInformation(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetLastError(void); DWORD __attribute__((__stdcall__)) GetLengthSid(PSID); void __attribute__((__stdcall__)) GetLocalTime(LPSYSTEMTIME); DWORD __attribute__((__stdcall__)) GetLogicalDrives(void); DWORD __attribute__((__stdcall__)) GetLogicalDriveStringsA(DWORD,LPSTR); DWORD __attribute__((__stdcall__)) GetLogicalDriveStringsW(DWORD,LPWSTR); BOOL __attribute__((__stdcall__)) GetMailslotInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetModuleFileNameA(HINSTANCE,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetModuleFileNameW(HINSTANCE,LPWSTR,DWORD); HMODULE __attribute__((__stdcall__)) GetModuleHandleA(LPCSTR); HMODULE __attribute__((__stdcall__)) GetModuleHandleW(LPCWSTR); BOOL __attribute__((__stdcall__)) GetNamedPipeHandleStateA(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD); BOOL __attribute__((__stdcall__)) GetNamedPipeHandleStateW(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) GetNamedPipeInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetNumberOfEventLogRecords(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetOldestEventLogRecord(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetOverlappedResult(HANDLE,LPOVERLAPPED,PDWORD,BOOL); DWORD __attribute__((__stdcall__)) GetPriorityClass(HANDLE); BOOL __attribute__((__stdcall__)) GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); UINT __attribute__((__stdcall__)) GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR); UINT __attribute__((__stdcall__)) GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD,LPCSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR); BOOL __attribute__((__stdcall__)) GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR); FARPROC __attribute__((__stdcall__)) GetProcAddress(HINSTANCE,LPCSTR); BOOL __attribute__((__stdcall__)) GetProcessAffinityMask(HANDLE,PDWORD,PDWORD); HANDLE __attribute__((__stdcall__)) GetProcessHeap(void); DWORD __attribute__((__stdcall__)) GetProcessHeaps(DWORD,PHANDLE); BOOL __attribute__((__stdcall__)) GetProcessPriorityBoost(HANDLE,PBOOL); BOOL __attribute__((__stdcall__)) GetProcessShutdownParameters(PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); DWORD __attribute__((__stdcall__)) GetProcessVersion(DWORD); HWINSTA __attribute__((__stdcall__)) GetProcessWindowStation(void); BOOL __attribute__((__stdcall__)) GetProcessWorkingSetSize(HANDLE,PSIZE_T,PSIZE_T); UINT __attribute__((__stdcall__)) GetProfileIntA(LPCSTR,LPCSTR,INT); UINT __attribute__((__stdcall__)) GetProfileIntW(LPCWSTR,LPCWSTR,INT); DWORD __attribute__((__stdcall__)) GetProfileSectionA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetProfileSectionW(LPCWSTR,LPWSTR,DWORD); DWORD __attribute__((__stdcall__)) GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) GetQueuedCompletionStatus(HANDLE,PDWORD,PULONG_PTR,LPOVERLAPPED*,DWORD); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,PDWORD); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID*,LPBOOL); DWORD __attribute__((__stdcall__)) GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID*,LPBOOL); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL); DWORD __attribute__((__stdcall__)) GetShortPathNameA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetShortPathNameW(LPCWSTR,LPWSTR,DWORD); PSID_IDENTIFIER_AUTHORITY __attribute__((__stdcall__)) GetSidIdentifierAuthority(PSID); DWORD __attribute__((__stdcall__)) GetSidLengthRequired(UCHAR); PDWORD __attribute__((__stdcall__)) GetSidSubAuthority(PSID,DWORD); PUCHAR __attribute__((__stdcall__)) GetSidSubAuthorityCount(PSID); void __attribute__((__stdcall__)) GetStartupInfoA(LPSTARTUPINFOA); void __attribute__((__stdcall__)) GetStartupInfoW(LPSTARTUPINFOW); HANDLE __attribute__((__stdcall__)) GetStdHandle(DWORD); UINT __attribute__((__stdcall__)) GetSystemDirectoryA(LPSTR,UINT); UINT __attribute__((__stdcall__)) GetSystemDirectoryW(LPWSTR,UINT); void __attribute__((__stdcall__)) GetSystemInfo(LPSYSTEM_INFO); BOOL __attribute__((__stdcall__)) GetSystemPowerStatus(LPSYSTEM_POWER_STATUS); void __attribute__((__stdcall__)) GetSystemTime(LPSYSTEMTIME); BOOL __attribute__((__stdcall__)) GetSystemTimeAdjustment(PDWORD,PDWORD,PBOOL); void __attribute__((__stdcall__)) GetSystemTimeAsFileTime(LPFILETIME); # 1580 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 DWORD __attribute__((__stdcall__)) GetTapeParameters(HANDLE,DWORD,PDWORD,PVOID); DWORD __attribute__((__stdcall__)) GetTapePosition(HANDLE,DWORD,PDWORD,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetTapeStatus(HANDLE); UINT __attribute__((__stdcall__)) GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR); UINT __attribute__((__stdcall__)) GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR); DWORD __attribute__((__stdcall__)) GetTempPathA(DWORD,LPSTR); DWORD __attribute__((__stdcall__)) GetTempPathW(DWORD,LPWSTR); BOOL __attribute__((__stdcall__)) GetThreadContext(HANDLE,LPCONTEXT); int __attribute__((__stdcall__)) GetThreadPriority(HANDLE); BOOL __attribute__((__stdcall__)) GetThreadPriorityBoost(HANDLE,PBOOL); BOOL __attribute__((__stdcall__)) GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY); BOOL __attribute__((__stdcall__)) GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); DWORD __attribute__((__stdcall__)) GetTickCount(void); DWORD __attribute__((__stdcall__)) GetTimeZoneInformation(LPTIME_ZONE_INFORMATION); BOOL __attribute__((__stdcall__)) GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetUserNameA (LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetUserNameW(LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) GetVersion(void); BOOL __attribute__((__stdcall__)) GetVersionExA(LPOSVERSIONINFOA); BOOL __attribute__((__stdcall__)) GetVersionExW(LPOSVERSIONINFOW); BOOL __attribute__((__stdcall__)) GetVolumeInformationA(LPCSTR,LPSTR,DWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD); BOOL __attribute__((__stdcall__)) GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD); # 1615 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 UINT __attribute__((__stdcall__)) GetWindowsDirectoryA(LPSTR,UINT); UINT __attribute__((__stdcall__)) GetWindowsDirectoryW(LPWSTR,UINT); DWORD __attribute__((__stdcall__)) GetWindowThreadProcessId(HWND,PDWORD); UINT __attribute__((__stdcall__)) GetWriteWatch(DWORD,PVOID,SIZE_T,PVOID*,PULONG_PTR,PULONG); ATOM __attribute__((__stdcall__)) GlobalAddAtomA(LPCSTR); ATOM __attribute__((__stdcall__)) GlobalAddAtomW( LPCWSTR); HGLOBAL __attribute__((__stdcall__)) GlobalAlloc(UINT,DWORD); SIZE_T __attribute__((__stdcall__)) GlobalCompact(DWORD); ATOM __attribute__((__stdcall__)) GlobalDeleteAtom(ATOM); ATOM __attribute__((__stdcall__)) GlobalFindAtomA(LPCSTR); ATOM __attribute__((__stdcall__)) GlobalFindAtomW(LPCWSTR); void __attribute__((__stdcall__)) GlobalFix(HGLOBAL); UINT __attribute__((__stdcall__)) GlobalFlags(HGLOBAL); HGLOBAL __attribute__((__stdcall__)) GlobalFree(HGLOBAL); UINT __attribute__((__stdcall__)) GlobalGetAtomNameA(ATOM,LPSTR,int); UINT __attribute__((__stdcall__)) GlobalGetAtomNameW(ATOM,LPWSTR,int); HGLOBAL __attribute__((__stdcall__)) GlobalHandle(PCVOID); LPVOID __attribute__((__stdcall__)) GlobalLock(HGLOBAL); void __attribute__((__stdcall__)) GlobalMemoryStatus(LPMEMORYSTATUS); HGLOBAL __attribute__((__stdcall__)) GlobalReAlloc(HGLOBAL,DWORD,UINT); DWORD __attribute__((__stdcall__)) GlobalSize(HGLOBAL); void __attribute__((__stdcall__)) GlobalUnfix(HGLOBAL); BOOL __attribute__((__stdcall__)) GlobalUnlock(HGLOBAL); BOOL __attribute__((__stdcall__)) GlobalUnWire(HGLOBAL); PVOID __attribute__((__stdcall__)) GlobalWire(HGLOBAL); PVOID __attribute__((__stdcall__)) HeapAlloc(HANDLE,DWORD,DWORD); SIZE_T __attribute__((__stdcall__)) HeapCompact(HANDLE,DWORD); HANDLE __attribute__((__stdcall__)) HeapCreate(DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) HeapDestroy(HANDLE); BOOL __attribute__((__stdcall__)) HeapFree(HANDLE,DWORD,PVOID); BOOL __attribute__((__stdcall__)) HeapLock(HANDLE); PVOID __attribute__((__stdcall__)) HeapReAlloc(HANDLE,DWORD,PVOID,DWORD); DWORD __attribute__((__stdcall__)) HeapSize(HANDLE,DWORD,PCVOID); BOOL __attribute__((__stdcall__)) HeapUnlock(HANDLE); BOOL __attribute__((__stdcall__)) HeapValidate(HANDLE,DWORD,PCVOID); BOOL __attribute__((__stdcall__)) HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY); BOOL __attribute__((__stdcall__)) ImpersonateLoggedOnUser(HANDLE); BOOL __attribute__((__stdcall__)) ImpersonateNamedPipeClient(HANDLE); BOOL __attribute__((__stdcall__)) ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL); BOOL __attribute__((__stdcall__)) InitAtomTable(DWORD); BOOL __attribute__((__stdcall__)) InitializeAcl(PACL,DWORD,DWORD); void __attribute__((__stdcall__)) InitializeCriticalSection(LPCRITICAL_SECTION); BOOL __attribute__((__stdcall__)) InitializeCriticalSectionAndSpinCount(LPCRITICAL_SECTION,DWORD); DWORD __attribute__((__stdcall__)) SetCriticalSectionSpinCount(LPCRITICAL_SECTION,DWORD); BOOL __attribute__((__stdcall__)) InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD); BOOL __attribute__((__stdcall__)) InitializeSid (PSID,PSID_IDENTIFIER_AUTHORITY,BYTE); # 1681 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 LONG __attribute__((__stdcall__)) InterlockedCompareExchange(LONG volatile *,LONG,LONG); LONG __attribute__((__stdcall__)) InterlockedDecrement(LONG volatile *); LONG __attribute__((__stdcall__)) InterlockedExchange(LONG volatile *,LONG); LONG __attribute__((__stdcall__)) InterlockedExchangeAdd(LONG volatile *,LONG); LONG __attribute__((__stdcall__)) InterlockedIncrement(LONG volatile *); BOOL __attribute__((__stdcall__)) IsBadCodePtr(FARPROC); BOOL __attribute__((__stdcall__)) IsBadHugeReadPtr(PCVOID,UINT); BOOL __attribute__((__stdcall__)) IsBadHugeWritePtr(PVOID,UINT); BOOL __attribute__((__stdcall__)) IsBadReadPtr(PCVOID,UINT); BOOL __attribute__((__stdcall__)) IsBadStringPtrA(LPCSTR,UINT); BOOL __attribute__((__stdcall__)) IsBadStringPtrW(LPCWSTR,UINT); BOOL __attribute__((__stdcall__)) IsBadWritePtr(PVOID,UINT); BOOL __attribute__((__stdcall__)) IsDebuggerPresent(void); BOOL __attribute__((__stdcall__)) IsProcessorFeaturePresent(DWORD); BOOL __attribute__((__stdcall__)) IsSystemResumeAutomatic(void); BOOL __attribute__((__stdcall__)) IsTextUnicode(PCVOID,int,LPINT); BOOL __attribute__((__stdcall__)) IsValidAcl(PACL); BOOL __attribute__((__stdcall__)) IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) IsValidSid(PSID); void __attribute__((__stdcall__)) LeaveCriticalSection(LPCRITICAL_SECTION); HINSTANCE __attribute__((__stdcall__)) LoadLibraryA(LPCSTR); HINSTANCE __attribute__((__stdcall__)) LoadLibraryExA(LPCSTR,HANDLE,DWORD); HINSTANCE __attribute__((__stdcall__)) LoadLibraryExW(LPCWSTR,HANDLE,DWORD); HINSTANCE __attribute__((__stdcall__)) LoadLibraryW(LPCWSTR); DWORD __attribute__((__stdcall__)) LoadModule(LPCSTR,PVOID); HGLOBAL __attribute__((__stdcall__)) LoadResource(HINSTANCE,HRSRC); HLOCAL __attribute__((__stdcall__)) LocalAlloc(UINT,SIZE_T); SIZE_T __attribute__((__stdcall__)) LocalCompact(UINT); HLOCAL LocalDiscard(HLOCAL); BOOL __attribute__((__stdcall__)) LocalFileTimeToFileTime(const FILETIME *,LPFILETIME); UINT __attribute__((__stdcall__)) LocalFlags(HLOCAL); HLOCAL __attribute__((__stdcall__)) LocalFree(HLOCAL); HLOCAL __attribute__((__stdcall__)) LocalHandle(LPCVOID); PVOID __attribute__((__stdcall__)) LocalLock(HLOCAL); HLOCAL __attribute__((__stdcall__)) LocalReAlloc(HLOCAL,SIZE_T,UINT); SIZE_T __attribute__((__stdcall__)) LocalShrink(HLOCAL,UINT); UINT __attribute__((__stdcall__)) LocalSize(HLOCAL); BOOL __attribute__((__stdcall__)) LocalUnlock(HLOCAL); BOOL __attribute__((__stdcall__)) LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) LockFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPOVERLAPPED); PVOID __attribute__((__stdcall__)) LockResource(HGLOBAL); BOOL __attribute__((__stdcall__)) LogonUserA(LPSTR,LPSTR,LPSTR,DWORD,DWORD,PHANDLE); BOOL __attribute__((__stdcall__)) LogonUserW(LPWSTR,LPWSTR,LPWSTR,DWORD,DWORD,PHANDLE); BOOL __attribute__((__stdcall__)) LookupAccountNameA(LPCSTR,LPCSTR,PSID,PDWORD,LPSTR,PDWORD,PSID_NAME_USE); BOOL __attribute__((__stdcall__)) LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE); BOOL __attribute__((__stdcall__)) LookupAccountSidA(LPCSTR,PSID,LPSTR,PDWORD,LPSTR,PDWORD,PSID_NAME_USE); BOOL __attribute__((__stdcall__)) LookupAccountSidW(LPCWSTR,PSID,LPWSTR,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE); BOOL __attribute__((__stdcall__)) LookupPrivilegeDisplayNameA(LPCSTR,LPCSTR,LPSTR,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) LookupPrivilegeDisplayNameW(LPCWSTR,LPCWSTR,LPWSTR,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) LookupPrivilegeNameA(LPCSTR,PLUID,LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) LookupPrivilegeNameW(LPCWSTR,PLUID,LPWSTR,PDWORD); BOOL __attribute__((__stdcall__)) LookupPrivilegeValueA(LPCSTR,LPCSTR,PLUID); BOOL __attribute__((__stdcall__)) LookupPrivilegeValueW(LPCWSTR,LPCWSTR,PLUID); LPSTR __attribute__((__stdcall__)) lstrcatA(LPSTR,LPCSTR); LPWSTR __attribute__((__stdcall__)) lstrcatW(LPWSTR,LPCWSTR); int __attribute__((__stdcall__)) lstrcmpA(LPCSTR,LPCSTR); int __attribute__((__stdcall__)) lstrcmpiA(LPCSTR,LPCSTR); int __attribute__((__stdcall__)) lstrcmpiW( LPCWSTR,LPCWSTR); int __attribute__((__stdcall__)) lstrcmpW(LPCWSTR,LPCWSTR); LPSTR __attribute__((__stdcall__)) lstrcpyA(LPSTR,LPCSTR); LPSTR __attribute__((__stdcall__)) lstrcpynA(LPSTR,LPCSTR,int); LPWSTR __attribute__((__stdcall__)) lstrcpynW(LPWSTR,LPCWSTR,int); LPWSTR __attribute__((__stdcall__)) lstrcpyW(LPWSTR,LPCWSTR); int __attribute__((__stdcall__)) lstrlenA(LPCSTR); int __attribute__((__stdcall__)) lstrlenW(LPCWSTR); BOOL __attribute__((__stdcall__)) MakeAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD,PACL,PDWORD,PACL,PDWORD,PSID,PDWORD,PSID,PDWORD); BOOL __attribute__((__stdcall__)) MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD); void __attribute__((__stdcall__)) MapGenericMask(PDWORD,PGENERIC_MAPPING); PVOID __attribute__((__stdcall__)) MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,DWORD); PVOID __attribute__((__stdcall__)) MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,PVOID); BOOL __attribute__((__stdcall__)) MoveFileA(LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) MoveFileExA(LPCSTR,LPCSTR,DWORD); BOOL __attribute__((__stdcall__)) MoveFileExW(LPCWSTR,LPCWSTR,DWORD); BOOL __attribute__((__stdcall__)) MoveFileW(LPCWSTR,LPCWSTR); int __attribute__((__stdcall__)) MulDiv(int,int,int); BOOL __attribute__((__stdcall__)) NotifyChangeEventLog(HANDLE,HANDLE); BOOL __attribute__((__stdcall__)) ObjectCloseAuditAlarmA(LPCSTR,PVOID,BOOL); BOOL __attribute__((__stdcall__)) ObjectCloseAuditAlarmW(LPCWSTR,PVOID,BOOL); BOOL __attribute__((__stdcall__)) ObjectDeleteAuditAlarmA(LPCSTR,PVOID,BOOL); BOOL __attribute__((__stdcall__)) ObjectDeleteAuditAlarmW(LPCWSTR,PVOID,BOOL); BOOL __attribute__((__stdcall__)) ObjectOpenAuditAlarmA(LPCSTR,PVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,PBOOL); BOOL __attribute__((__stdcall__)) ObjectOpenAuditAlarmW(LPCWSTR,PVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,PBOOL); BOOL __attribute__((__stdcall__)) ObjectPrivilegeAuditAlarmA(LPCSTR,PVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL); BOOL __attribute__((__stdcall__)) ObjectPrivilegeAuditAlarmW(LPCWSTR,PVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL); HANDLE __attribute__((__stdcall__)) OpenBackupEventLogA(LPCSTR,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenBackupEventLogW(LPCWSTR,LPCWSTR); HANDLE __attribute__((__stdcall__)) OpenEventA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenEventLogA (LPCSTR,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenEventLogW(LPCWSTR,LPCWSTR); HANDLE __attribute__((__stdcall__)) OpenEventW(DWORD,BOOL,LPCWSTR); HFILE __attribute__((__stdcall__)) OpenFile(LPCSTR,LPOFSTRUCT,UINT); HANDLE __attribute__((__stdcall__)) OpenFileMappingA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenFileMappingW(DWORD,BOOL,LPCWSTR); HANDLE __attribute__((__stdcall__)) OpenMutexA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenMutexW(DWORD,BOOL,LPCWSTR); HANDLE __attribute__((__stdcall__)) OpenProcess(DWORD,BOOL,DWORD); BOOL __attribute__((__stdcall__)) OpenProcessToken(HANDLE,DWORD,PHANDLE); HANDLE __attribute__((__stdcall__)) OpenSemaphoreA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenSemaphoreW(DWORD,BOOL,LPCWSTR); BOOL __attribute__((__stdcall__)) OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE); HANDLE __attribute__((__stdcall__)) OpenWaitableTimerA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenWaitableTimerW(DWORD,BOOL,LPCWSTR); void __attribute__((__stdcall__)) OutputDebugStringA(LPCSTR); void __attribute__((__stdcall__)) OutputDebugStringW(LPCWSTR); BOOL __attribute__((__stdcall__)) PeekNamedPipe(HANDLE,PVOID,DWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) PostQueuedCompletionStatus(HANDLE,DWORD,ULONG_PTR,LPOVERLAPPED); DWORD __attribute__((__stdcall__)) PrepareTape(HANDLE,DWORD,BOOL); BOOL __attribute__((__stdcall__)) PrivilegeCheck (HANDLE,PPRIVILEGE_SET,PBOOL); BOOL __attribute__((__stdcall__)) PrivilegedServiceAuditAlarmA(LPCSTR,LPCSTR,HANDLE,PPRIVILEGE_SET,BOOL); BOOL __attribute__((__stdcall__)) PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDLE,PPRIVILEGE_SET,BOOL); BOOL __attribute__((__stdcall__)) PulseEvent(HANDLE); BOOL __attribute__((__stdcall__)) PurgeComm(HANDLE,DWORD); DWORD __attribute__((__stdcall__)) QueryDosDeviceA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) QueryPerformanceCounter(PLARGE_INTEGER); BOOL __attribute__((__stdcall__)) QueryPerformanceFrequency(PLARGE_INTEGER); DWORD __attribute__((__stdcall__)) QueueUserAPC(PAPCFUNC,HANDLE,ULONG_PTR); void __attribute__((__stdcall__)) RaiseException(DWORD,DWORD,DWORD,const DWORD*); BOOL __attribute__((__stdcall__)) ReadDirectoryChangesW(HANDLE,PVOID,DWORD,BOOL,DWORD,PDWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); BOOL __attribute__((__stdcall__)) ReadEventLogA(HANDLE,DWORD,DWORD,PVOID,DWORD,DWORD *,DWORD *); BOOL __attribute__((__stdcall__)) ReadEventLogW(HANDLE,DWORD,DWORD,PVOID,DWORD,DWORD *,DWORD *); BOOL __attribute__((__stdcall__)) ReadFile(HANDLE,PVOID,DWORD,PDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) ReadFileEx(HANDLE,PVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); BOOL __attribute__((__stdcall__)) ReadFileScatter(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) ReadProcessMemory(HANDLE,PCVOID,PVOID,DWORD,PDWORD); HANDLE __attribute__((__stdcall__)) RegisterEventSourceA (LPCSTR,LPCSTR); HANDLE __attribute__((__stdcall__)) RegisterEventSourceW(LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) ReleaseMutex(HANDLE); BOOL __attribute__((__stdcall__)) ReleaseSemaphore(HANDLE,LONG,LPLONG); BOOL __attribute__((__stdcall__)) RemoveDirectoryA(LPCSTR); BOOL __attribute__((__stdcall__)) RemoveDirectoryW(LPCWSTR); # 1869 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 BOOL __attribute__((__stdcall__)) ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR*,PVOID); BOOL __attribute__((__stdcall__)) ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR*,PVOID); BOOL __attribute__((__stdcall__)) ResetEvent(HANDLE); UINT __attribute__((__stdcall__)) ResetWriteWatch(LPVOID,SIZE_T); DWORD __attribute__((__stdcall__)) ResumeThread(HANDLE); BOOL __attribute__((__stdcall__)) RevertToSelf(void); DWORD __attribute__((__stdcall__)) SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*); DWORD __attribute__((__stdcall__)) SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*); BOOL __attribute__((__stdcall__)) SetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS); BOOL __attribute__((__stdcall__)) SetCommBreak(HANDLE); BOOL __attribute__((__stdcall__)) SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD); BOOL __attribute__((__stdcall__)) SetCommMask(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetCommState(HANDLE,LPDCB); BOOL __attribute__((__stdcall__)) SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS); BOOL __attribute__((__stdcall__)) SetComputerNameA(LPCSTR); BOOL __attribute__((__stdcall__)) SetComputerNameW(LPCWSTR); BOOL __attribute__((__stdcall__)) SetCurrentDirectoryA(LPCSTR); BOOL __attribute__((__stdcall__)) SetCurrentDirectoryW(LPCWSTR); BOOL __attribute__((__stdcall__)) SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD); BOOL __attribute__((__stdcall__)) SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD); BOOL __attribute__((__stdcall__)) SetEndOfFile(HANDLE); BOOL __attribute__((__stdcall__)) SetEnvironmentVariableA(LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) SetEnvironmentVariableW(LPCWSTR,LPCWSTR); UINT __attribute__((__stdcall__)) SetErrorMode(UINT); BOOL __attribute__((__stdcall__)) SetEvent(HANDLE); void __attribute__((__stdcall__)) SetFileApisToANSI(void); void __attribute__((__stdcall__)) SetFileApisToOEM(void); BOOL __attribute__((__stdcall__)) SetFileAttributesA(LPCSTR,DWORD); BOOL __attribute__((__stdcall__)) SetFileAttributesW(LPCWSTR,DWORD); DWORD __attribute__((__stdcall__)) SetFilePointer(HANDLE,LONG,PLONG,DWORD); BOOL __attribute__((__stdcall__)) SetFilePointerEx(HANDLE,LARGE_INTEGER,PLARGE_INTEGER,DWORD); BOOL __attribute__((__stdcall__)) SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) SetFileTime(HANDLE,const FILETIME*,const FILETIME*,const FILETIME*); UINT __attribute__((__stdcall__)) SetHandleCount(UINT); BOOL __attribute__((__stdcall__)) SetHandleInformation(HANDLE,DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); void __attribute__((__stdcall__)) SetLastError(DWORD); void __attribute__((__stdcall__)) SetLastErrorEx(DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetLocalTime(const SYSTEMTIME*); BOOL __attribute__((__stdcall__)) SetMailslotInfo(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetNamedPipeHandleState(HANDLE,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) SetPriorityClass(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetPrivateObjectSecurity(SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR *,PGENERIC_MAPPING,HANDLE); BOOL __attribute__((__stdcall__)) SetProcessAffinityMask(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetProcessPriorityBoost(HANDLE,BOOL); BOOL __attribute__((__stdcall__)) SetProcessShutdownParameters(DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetProcessWorkingSetSize(HANDLE,SIZE_T,SIZE_T); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL,SECURITY_DESCRIPTOR_CONTROL); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); BOOL __attribute__((__stdcall__)) SetStdHandle(DWORD,HANDLE); BOOL __attribute__((__stdcall__)) SetSystemPowerState(BOOL,BOOL); BOOL __attribute__((__stdcall__)) SetSystemTime(const SYSTEMTIME*); BOOL __attribute__((__stdcall__)) SetSystemTimeAdjustment(DWORD,BOOL); DWORD __attribute__((__stdcall__)) SetTapeParameters(HANDLE,DWORD,PVOID); DWORD __attribute__((__stdcall__)) SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL); DWORD __attribute__((__stdcall__)) SetThreadAffinityMask(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetThreadContext(HANDLE,const CONTEXT*); DWORD __attribute__((__stdcall__)) SetThreadIdealProcessor(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetThreadPriority(HANDLE,int); BOOL __attribute__((__stdcall__)) SetThreadPriorityBoost(HANDLE,BOOL); BOOL __attribute__((__stdcall__)) SetThreadToken (PHANDLE,HANDLE); BOOL __attribute__((__stdcall__)) SetTimeZoneInformation(const TIME_ZONE_INFORMATION *); BOOL __attribute__((__stdcall__)) SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD); LPTOP_LEVEL_EXCEPTION_FILTER __attribute__((__stdcall__)) SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER); BOOL __attribute__((__stdcall__)) SetupComm(HANDLE,DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetVolumeLabelA(LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) SetVolumeLabelW(LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,PVOID,BOOL); DWORD __attribute__((__stdcall__)) SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL); DWORD __attribute__((__stdcall__)) SizeofResource(HINSTANCE,HRSRC); void __attribute__((__stdcall__)) Sleep(DWORD); DWORD __attribute__((__stdcall__)) SleepEx(DWORD,BOOL); DWORD __attribute__((__stdcall__)) SuspendThread(HANDLE); void __attribute__((__stdcall__)) SwitchToFiber(PVOID); BOOL __attribute__((__stdcall__)) SwitchToThread(void); BOOL __attribute__((__stdcall__)) SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME); BOOL __attribute__((__stdcall__)) SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME); BOOL __attribute__((__stdcall__)) TerminateProcess(HANDLE,UINT); BOOL __attribute__((__stdcall__)) TerminateThread(HANDLE,DWORD); DWORD __attribute__((__stdcall__)) TlsAlloc(void); BOOL __attribute__((__stdcall__)) TlsFree(DWORD); PVOID __attribute__((__stdcall__)) TlsGetValue(DWORD); BOOL __attribute__((__stdcall__)) TlsSetValue(DWORD,PVOID); BOOL __attribute__((__stdcall__)) TransactNamedPipe(HANDLE,PVOID,DWORD,PVOID,DWORD,PDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) TransmitCommChar(HANDLE,char); BOOL __attribute__((__stdcall__)) TryEnterCriticalSection(LPCRITICAL_SECTION); LONG __attribute__((__stdcall__)) UnhandledExceptionFilter(LPEXCEPTION_POINTERS); BOOL __attribute__((__stdcall__)) UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) UnmapViewOfFile(PVOID); BOOL __attribute__((__stdcall__)) UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,PVOID,DWORD); BOOL __attribute__((__stdcall__)) UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,PVOID,DWORD); BOOL __attribute__((__stdcall__)) VerifyVersionInfoA(LPOSVERSIONINFOEXA,DWORD,DWORDLONG); BOOL __attribute__((__stdcall__)) VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDLONG); PVOID __attribute__((__stdcall__)) VirtualAlloc(PVOID,DWORD,DWORD,DWORD); PVOID __attribute__((__stdcall__)) VirtualAllocEx(HANDLE,PVOID,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) VirtualFree(PVOID,DWORD,DWORD); BOOL __attribute__((__stdcall__)) VirtualFreeEx(HANDLE,PVOID,DWORD,DWORD); BOOL __attribute__((__stdcall__)) VirtualLock(PVOID,DWORD); BOOL __attribute__((__stdcall__)) VirtualProtect(PVOID,DWORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) VirtualProtectEx(HANDLE,PVOID,DWORD,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) VirtualQuery(LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD); DWORD __attribute__((__stdcall__)) VirtualQueryEx(HANDLE,LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD); BOOL __attribute__((__stdcall__)) VirtualUnlock(PVOID,DWORD); BOOL __attribute__((__stdcall__)) WaitCommEvent(HANDLE,PDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) WaitForDebugEvent(LPDEBUG_EVENT,DWORD); DWORD __attribute__((__stdcall__)) WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD); DWORD __attribute__((__stdcall__)) WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL); DWORD __attribute__((__stdcall__)) WaitForSingleObject(HANDLE,DWORD); DWORD __attribute__((__stdcall__)) WaitForSingleObjectEx(HANDLE,DWORD,BOOL); BOOL __attribute__((__stdcall__)) WaitNamedPipeA(LPCSTR,DWORD); BOOL __attribute__((__stdcall__)) WaitNamedPipeW(LPCWSTR,DWORD); BOOL __attribute__((__stdcall__)) WinLoadTrustProvider(GUID*); BOOL __attribute__((__stdcall__)) WriteFile(HANDLE,PCVOID,DWORD,PDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) WriteFileEx(HANDLE,PCVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); BOOL __attribute__((__stdcall__)) WriteFileGather(HANDLE,FILE_SEGMENT_ELEMENT*,DWORD,LPDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR); BOOL __attribute__((__stdcall__)) WriteProcessMemory(HANDLE,LPVOID,LPCVOID,SIZE_T,SIZE_T*); BOOL __attribute__((__stdcall__)) WriteProfileSectionA(LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) WriteProfileSectionW(LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR); DWORD __attribute__((__stdcall__)) WriteTapemark(HANDLE,DWORD,DWORD,BOOL); # 2256 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h" 3 typedef STARTUPINFOA STARTUPINFO,*LPSTARTUPINFO; typedef WIN32_FIND_DATAA WIN32_FIND_DATA,*PWIN32_FIND_DATA,*LPWIN32_FIND_DATA; typedef HW_PROFILE_INFOA HW_PROFILE_INFO,*LPHW_PROFILE_INFO; # 51 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wingdi.h" 1 3 # 6 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wingdi.h" 3 # 1335 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wingdi.h" 3 typedef struct _ABC { int abcA; UINT abcB; int abcC; } ABC,*LPABC; typedef struct _ABCFLOAT { FLOAT abcfA; FLOAT abcfB; FLOAT abcfC; } ABCFLOAT,*LPABCFLOAT; typedef struct tagBITMAP { LONG bmType; LONG bmWidth; LONG bmHeight; LONG bmWidthBytes; WORD bmPlanes; WORD bmBitsPixel; LPVOID bmBits; } BITMAP,*PBITMAP,*LPBITMAP; typedef struct tagBITMAPCOREHEADER { DWORD bcSize; WORD bcWidth; WORD bcHeight; WORD bcPlanes; WORD bcBitCount; } BITMAPCOREHEADER,*LPBITMAPCOREHEADER,*PBITMAPCOREHEADER; #pragma pack(push,1) typedef struct tagRGBTRIPLE { BYTE rgbtBlue; BYTE rgbtGreen; BYTE rgbtRed; } RGBTRIPLE,*LPRGBTRIPLE; #pragma pack(pop) #pragma pack(push,2) typedef struct tagBITMAPFILEHEADER { WORD bfType; DWORD bfSize; WORD bfReserved1; WORD bfReserved2; DWORD bfOffBits; } BITMAPFILEHEADER,*LPBITMAPFILEHEADER,*PBITMAPFILEHEADER; #pragma pack(pop) typedef struct _BITMAPCOREINFO { BITMAPCOREHEADER bmciHeader; RGBTRIPLE bmciColors[1]; } BITMAPCOREINFO,*LPBITMAPCOREINFO,*PBITMAPCOREINFO; typedef struct tagBITMAPINFOHEADER{ DWORD biSize; LONG biWidth; LONG biHeight; WORD biPlanes; WORD biBitCount; DWORD biCompression; DWORD biSizeImage; LONG biXPelsPerMeter; LONG biYPelsPerMeter; DWORD biClrUsed; DWORD biClrImportant; } BITMAPINFOHEADER,*LPBITMAPINFOHEADER,*PBITMAPINFOHEADER; typedef struct tagRGBQUAD { BYTE rgbBlue; BYTE rgbGreen; BYTE rgbRed; BYTE rgbReserved; } RGBQUAD,*LPRGBQUAD; typedef struct tagBITMAPINFO { BITMAPINFOHEADER bmiHeader; RGBQUAD bmiColors[1]; } BITMAPINFO,*LPBITMAPINFO,*PBITMAPINFO; typedef long FXPT16DOT16,*LPFXPT16DOT16; typedef long FXPT2DOT30,*LPFXPT2DOT30; typedef struct tagCIEXYZ { FXPT2DOT30 ciexyzX; FXPT2DOT30 ciexyzY; FXPT2DOT30 ciexyzZ; } CIEXYZ,*LPCIEXYZ; typedef struct tagCIEXYZTRIPLE { CIEXYZ ciexyzRed; CIEXYZ ciexyzGreen; CIEXYZ ciexyzBlue; } CIEXYZTRIPLE,*LPCIEXYZTRIPLE; typedef struct { DWORD bV4Size; LONG bV4Width; LONG bV4Height; WORD bV4Planes; WORD bV4BitCount; DWORD bV4V4Compression; DWORD bV4SizeImage; LONG bV4XPelsPerMeter; LONG bV4YPelsPerMeter; DWORD bV4ClrUsed; DWORD bV4ClrImportant; DWORD bV4RedMask; DWORD bV4GreenMask; DWORD bV4BlueMask; DWORD bV4AlphaMask; DWORD bV4CSType; CIEXYZTRIPLE bV4Endpoints; DWORD bV4GammaRed; DWORD bV4GammaGreen; DWORD bV4GammaBlue; } BITMAPV4HEADER,*LPBITMAPV4HEADER,*PBITMAPV4HEADER; typedef struct { DWORD bV5Size; LONG bV5Width; LONG bV5Height; WORD bV5Planes; WORD bV5BitCount; DWORD bV5Compression; DWORD bV5SizeImage; LONG bV5XPelsPerMeter; LONG bV5YPelsPerMeter; DWORD bV5ClrUsed; DWORD bV5ClrImportant; DWORD bV5RedMask; DWORD bV5GreenMask; DWORD bV5BlueMask; DWORD bV5AlphaMask; DWORD bV5CSType; CIEXYZTRIPLE bV5Endpoints; DWORD bV5GammaRed; DWORD bV5GammaGreen; DWORD bV5GammaBlue; DWORD bV5Intent; DWORD bV5ProfileData; DWORD bV5ProfileSize; DWORD bV5Reserved; } BITMAPV5HEADER,*LPBITMAPV5HEADER,*PBITMAPV5HEADER; typedef struct tagFONTSIGNATURE { DWORD fsUsb[4]; DWORD fsCsb[2]; } FONTSIGNATURE,*LPFONTSIGNATURE; typedef struct { UINT ciCharset; UINT ciACP; FONTSIGNATURE fs; } CHARSETINFO,*LPCHARSETINFO; typedef struct tagCOLORADJUSTMENT { WORD caSize; WORD caFlags; WORD caIlluminantIndex; WORD caRedGamma; WORD caGreenGamma; WORD caBlueGamma; WORD caReferenceBlack; WORD caReferenceWhite; SHORT caContrast; SHORT caBrightness; SHORT caColorfulness; SHORT caRedGreenTint; } COLORADJUSTMENT,*LPCOLORADJUSTMENT; typedef struct _devicemodeA { BYTE dmDeviceName[32]; WORD dmSpecVersion; WORD dmDriverVersion; WORD dmSize; WORD dmDriverExtra; DWORD dmFields; __extension__ union { __extension__ struct { short dmOrientation; short dmPaperSize; short dmPaperLength; short dmPaperWidth; short dmScale; short dmCopies; short dmDefaultSource; short dmPrintQuality; } ; POINTL dmPosition; DWORD dmDisplayOrientation; DWORD dmDisplayFixedOutput; } ; short dmColor; short dmDuplex; short dmYResolution; short dmTTOption; short dmCollate; BYTE dmFormName[32]; WORD dmLogPixels; DWORD dmBitsPerPel; DWORD dmPelsWidth; DWORD dmPelsHeight; __extension__ union { DWORD dmDisplayFlags; DWORD dmNup; } ; DWORD dmDisplayFrequency; DWORD dmICMMethod; DWORD dmICMIntent; DWORD dmMediaType; DWORD dmDitherType; DWORD dmReserved1; DWORD dmReserved2; DWORD dmPanningWidth; DWORD dmPanningHeight; } DEVMODEA,*LPDEVMODEA,*PDEVMODEA; typedef struct _devicemodeW { WCHAR dmDeviceName[32]; WORD dmSpecVersion; WORD dmDriverVersion; WORD dmSize; WORD dmDriverExtra; DWORD dmFields; __extension__ union { __extension__ struct { short dmOrientation; short dmPaperSize; short dmPaperLength; short dmPaperWidth; short dmScale; short dmCopies; short dmDefaultSource; short dmPrintQuality; } ; POINTL dmPosition; DWORD dmDisplayOrientation; DWORD dmDisplayFixedOutput; } ; short dmColor; short dmDuplex; short dmYResolution; short dmTTOption; short dmCollate; WCHAR dmFormName[32]; WORD dmLogPixels; DWORD dmBitsPerPel; DWORD dmPelsWidth; DWORD dmPelsHeight; __extension__ union { DWORD dmDisplayFlags; DWORD dmNup; } ; DWORD dmDisplayFrequency; DWORD dmICMMethod; DWORD dmICMIntent; DWORD dmMediaType; DWORD dmDitherType; DWORD dmReserved1; DWORD dmReserved2; DWORD dmPanningWidth; DWORD dmPanningHeight; } DEVMODEW,*LPDEVMODEW,*PDEVMODEW; typedef struct tagDIBSECTION { BITMAP dsBm; BITMAPINFOHEADER dsBmih; DWORD dsBitfields[3]; HANDLE dshSection; DWORD dsOffset; } DIBSECTION; typedef struct _DOCINFOA { int cbSize; LPCSTR lpszDocName; LPCSTR lpszOutput; LPCSTR lpszDatatype; DWORD fwType; } DOCINFOA,*LPDOCINFOA; typedef struct _DOCINFOW { int cbSize; LPCWSTR lpszDocName; LPCWSTR lpszOutput; LPCWSTR lpszDatatype; DWORD fwType; } DOCINFOW,*LPDOCINFOW; typedef struct tagEMR { DWORD iType; DWORD nSize; } EMR,*PEMR; typedef struct tagEMRANGLEARC { EMR emr; POINTL ptlCenter; DWORD nRadius; FLOAT eStartAngle; FLOAT eSweepAngle; } EMRANGLEARC,*PEMRANGLEARC; typedef struct tagEMRARC { EMR emr; RECTL rclBox; POINTL ptlStart; POINTL ptlEnd; } EMRARC,*PEMRARC,EMRARCTO,*PEMRARCTO,EMRCHORD,*PEMRCHORD,EMRPIE,*PEMRPIE; typedef struct _XFORM { FLOAT eM11; FLOAT eM12; FLOAT eM21; FLOAT eM22; FLOAT eDx; FLOAT eDy; } XFORM,*PXFORM,*LPXFORM; typedef struct tagEMRBITBLT { EMR emr; RECTL rclBounds; LONG xDest; LONG yDest; LONG cxDest; LONG cyDest; DWORD dwRop; LONG xSrc; LONG ySrc; XFORM xformSrc; COLORREF crBkColorSrc; DWORD iUsageSrc; DWORD offBmiSrc; DWORD offBitsSrc; DWORD cbBitsSrc; } EMRBITBLT,*PEMRBITBLT; typedef struct tagLOGBRUSH { UINT lbStyle; COLORREF lbColor; LONG lbHatch; } LOGBRUSH,*PLOGBRUSH,*LPLOGBRUSH; typedef LOGBRUSH PATTERN,*PPATTERN,*LPPATTERN; typedef struct tagEMRCREATEBRUSHINDIRECT { EMR emr; DWORD ihBrush; LOGBRUSH lb; } EMRCREATEBRUSHINDIRECT,*PEMRCREATEBRUSHINDIRECT; typedef LONG LCSCSTYPE; typedef LONG LCSGAMUTMATCH; typedef struct tagLOGCOLORSPACEA { DWORD lcsSignature; DWORD lcsVersion; DWORD lcsSize; LCSCSTYPE lcsCSType; LCSGAMUTMATCH lcsIntent; CIEXYZTRIPLE lcsEndpoints; DWORD lcsGammaRed; DWORD lcsGammaGreen; DWORD lcsGammaBlue; CHAR lcsFilename[260]; } LOGCOLORSPACEA,*LPLOGCOLORSPACEA; typedef struct tagLOGCOLORSPACEW { DWORD lcsSignature; DWORD lcsVersion; DWORD lcsSize; LCSCSTYPE lcsCSType; LCSGAMUTMATCH lcsIntent; CIEXYZTRIPLE lcsEndpoints; DWORD lcsGammaRed; DWORD lcsGammaGreen; DWORD lcsGammaBlue; WCHAR lcsFilename[260]; } LOGCOLORSPACEW,*LPLOGCOLORSPACEW; typedef struct tagEMRCREATECOLORSPACE { EMR emr; DWORD ihCS; LOGCOLORSPACEW lcs; } EMRCREATECOLORSPACE,*PEMRCREATECOLORSPACE; typedef struct tagEMRCREATEDIBPATTERNBRUSHPT { EMR emr; DWORD ihBrush; DWORD iUsage; DWORD offBmi; DWORD cbBmi; DWORD offBits; DWORD cbBits; } EMRCREATEDIBPATTERNBRUSHPT,*PEMRCREATEDIBPATTERNBRUSHPT; typedef struct tagEMRCREATEMONOBRUSH { EMR emr; DWORD ihBrush; DWORD iUsage; DWORD offBmi; DWORD cbBmi; DWORD offBits; DWORD cbBits; } EMRCREATEMONOBRUSH,*PEMRCREATEMONOBRUSH; typedef struct tagPALETTEENTRY { BYTE peRed; BYTE peGreen; BYTE peBlue; BYTE peFlags; } PALETTEENTRY,*LPPALETTEENTRY,*PPALETTEENTRY; typedef struct tagLOGPALETTE { WORD palVersion; WORD palNumEntries; PALETTEENTRY palPalEntry[1]; } LOGPALETTE,*NPLOGPALETTE,*PLOGPALETTE,*LPLOGPALETTE; typedef struct tagEMRCREATEPALETTE { EMR emr; DWORD ihPal; LOGPALETTE lgpl; } EMRCREATEPALETTE,*PEMRCREATEPALETTE; typedef struct tagLOGPEN { UINT lopnStyle; POINT lopnWidth; COLORREF lopnColor; } LOGPEN,*PLOGPEN,*LPLOGPEN; typedef struct tagEMRCREATEPEN { EMR emr; DWORD ihPen; LOGPEN lopn; } EMRCREATEPEN,*PEMRCREATEPEN; typedef struct tagEMRELLIPSE { EMR emr; RECTL rclBox; } EMRELLIPSE,*PEMRELLIPSE,EMRRECTANGLE,*PEMRRECTANGLE; typedef struct tagEMREOF { EMR emr; DWORD nPalEntries; DWORD offPalEntries; DWORD nSizeLast; } EMREOF,*PEMREOF; typedef struct tagEMREXCLUDECLIPRECT { EMR emr; RECTL rclClip; } EMREXCLUDECLIPRECT,*PEMREXCLUDECLIPRECT,EMRINTERSECTCLIPRECT,*PEMRINTERSECTCLIPRECT; typedef struct tagPANOSE { BYTE bFamilyType; BYTE bSerifStyle; BYTE bWeight; BYTE bProportion; BYTE bContrast; BYTE bStrokeVariation; BYTE bArmStyle; BYTE bLetterform; BYTE bMidline; BYTE bXHeight; } PANOSE; typedef struct tagLOGFONTA { LONG lfHeight; LONG lfWidth; LONG lfEscapement; LONG lfOrientation; LONG lfWeight; BYTE lfItalic; BYTE lfUnderline; BYTE lfStrikeOut; BYTE lfCharSet; BYTE lfOutPrecision; BYTE lfClipPrecision; BYTE lfQuality; BYTE lfPitchAndFamily; CHAR lfFaceName[32]; } LOGFONTA,*PLOGFONTA,*LPLOGFONTA; typedef struct tagLOGFONTW { LONG lfHeight; LONG lfWidth; LONG lfEscapement; LONG lfOrientation; LONG lfWeight; BYTE lfItalic; BYTE lfUnderline; BYTE lfStrikeOut; BYTE lfCharSet; BYTE lfOutPrecision; BYTE lfClipPrecision; BYTE lfQuality; BYTE lfPitchAndFamily; WCHAR lfFaceName[32]; } LOGFONTW,*PLOGFONTW,*LPLOGFONTW; typedef struct tagEXTLOGFONTA { LOGFONTA elfLogFont; BYTE elfFullName[64]; BYTE elfStyle[32]; DWORD elfVersion; DWORD elfStyleSize; DWORD elfMatch; DWORD elfReserved; BYTE elfVendorId[4]; DWORD elfCulture; PANOSE elfPanose; } EXTLOGFONTA,*PEXTLOGFONTA,*LPEXTLOGFONTA; typedef struct tagEXTLOGFONTW { LOGFONTW elfLogFont; WCHAR elfFullName[64]; WCHAR elfStyle[32]; DWORD elfVersion; DWORD elfStyleSize; DWORD elfMatch; DWORD elfReserved; BYTE elfVendorId[4]; DWORD elfCulture; PANOSE elfPanose; } EXTLOGFONTW,*PEXTLOGFONTW,*LPEXTLOGFONTW; typedef struct tagEMREXTCREATEFONTINDIRECTW { EMR emr; DWORD ihFont; EXTLOGFONTW elfw; } EMREXTCREATEFONTINDIRECTW,*PEMREXTCREATEFONTINDIRECTW; typedef struct tagEXTLOGPEN { UINT elpPenStyle; UINT elpWidth; UINT elpBrushStyle; COLORREF elpColor; LONG elpHatch; DWORD elpNumEntries; DWORD elpStyleEntry[1]; } EXTLOGPEN,*PEXTLOGPEN,*LPEXTLOGPEN; typedef struct tagEMREXTCREATEPEN { EMR emr; DWORD ihPen; DWORD offBmi; DWORD cbBmi; DWORD offBits; DWORD cbBits; EXTLOGPEN elp; } EMREXTCREATEPEN,*PEMREXTCREATEPEN; typedef struct tagEMREXTFLOODFILL { EMR emr; POINTL ptlStart; COLORREF crColor; DWORD iMode; } EMREXTFLOODFILL,*PEMREXTFLOODFILL; typedef struct tagEMREXTSELECTCLIPRGN { EMR emr; DWORD cbRgnData; DWORD iMode; BYTE RgnData[1]; } EMREXTSELECTCLIPRGN,*PEMREXTSELECTCLIPRGN; typedef struct tagEMRTEXT { POINTL ptlReference; DWORD nChars; DWORD offString; DWORD fOptions; RECTL rcl; DWORD offDx; } EMRTEXT,*PEMRTEXT; typedef struct tagEMREXTTEXTOUTA { EMR emr; RECTL rclBounds; DWORD iGraphicsMode; FLOAT exScale; FLOAT eyScale; EMRTEXT emrtext; } EMREXTTEXTOUTA,*PEMREXTTEXTOUTA,EMREXTTEXTOUTW,*PEMREXTTEXTOUTW; typedef struct tagEMRFILLPATH { EMR emr; RECTL rclBounds; } EMRFILLPATH,*PEMRFILLPATH,EMRSTROKEANDFILLPATH,*PEMRSTROKEANDFILLPATH,EMRSTROKEPATH,*PEMRSTROKEPATH; typedef struct tagEMRFILLRGN { EMR emr; RECTL rclBounds; DWORD cbRgnData; DWORD ihBrush; BYTE RgnData[1]; } EMRFILLRGN,*PEMRFILLRGN; typedef struct tagEMRFORMAT { DWORD dSignature; DWORD nVersion; DWORD cbData; DWORD offData; } EMRFORMAT; typedef struct tagEMRFRAMERGN { EMR emr; RECTL rclBounds; DWORD cbRgnData; DWORD ihBrush; SIZEL szlStroke; BYTE RgnData[1]; } EMRFRAMERGN,*PEMRFRAMERGN; typedef struct tagEMRGDICOMMENT { EMR emr; DWORD cbData; BYTE Data[1]; } EMRGDICOMMENT,*PEMRGDICOMMENT; typedef struct tagEMRINVERTRGN { EMR emr; RECTL rclBounds; DWORD cbRgnData; BYTE RgnData[1]; } EMRINVERTRGN,*PEMRINVERTRGN,EMRPAINTRGN,*PEMRPAINTRGN; typedef struct tagEMRLINETO { EMR emr; POINTL ptl; } EMRLINETO,*PEMRLINETO,EMRMOVETOEX,*PEMRMOVETOEX; typedef struct tagEMRMASKBLT { EMR emr; RECTL rclBounds; LONG xDest; LONG yDest; LONG cxDest; LONG cyDest; DWORD dwRop; LONG xSrc; LONG ySrc; XFORM xformSrc; COLORREF crBkColorSrc; DWORD iUsageSrc; DWORD offBmiSrc; DWORD cbBmiSrc; DWORD offBitsSrc; DWORD cbBitsSrc; LONG xMask; LONG yMask; DWORD iUsageMask; DWORD offBmiMask; DWORD cbBmiMask; DWORD offBitsMask; DWORD cbBitsMask; } EMRMASKBLT,*PEMRMASKBLT; typedef struct tagEMRMODIFYWORLDTRANSFORM { EMR emr; XFORM xform; DWORD iMode; } EMRMODIFYWORLDTRANSFORM,*PEMRMODIFYWORLDTRANSFORM; typedef struct tagEMROFFSETCLIPRGN { EMR emr; POINTL ptlOffset; } EMROFFSETCLIPRGN,*PEMROFFSETCLIPRGN; typedef struct tagEMRPLGBLT { EMR emr; RECTL rclBounds; POINTL aptlDest[3]; LONG xSrc; LONG ySrc; LONG cxSrc; LONG cySrc; XFORM xformSrc; COLORREF crBkColorSrc; DWORD iUsageSrc; DWORD offBmiSrc; DWORD cbBmiSrc; DWORD offBitsSrc; DWORD cbBitsSrc; LONG xMask; LONG yMask; DWORD iUsageMask; DWORD offBmiMask; DWORD cbBmiMask; DWORD offBitsMask; DWORD cbBitsMask; } EMRPLGBLT,*PEMRPLGBLT; typedef struct tagEMRPOLYDRAW { EMR emr; RECTL rclBounds; DWORD cptl; POINTL aptl[1]; BYTE abTypes[1]; } EMRPOLYDRAW,*PEMRPOLYDRAW; typedef struct tagEMRPOLYDRAW16 { EMR emr; RECTL rclBounds; DWORD cpts; POINTS apts[1]; BYTE abTypes[1]; } EMRPOLYDRAW16,*PEMRPOLYDRAW16; typedef struct tagEMRPOLYLINE { EMR emr; RECTL rclBounds; DWORD cptl; POINTL aptl[1]; } EMRPOLYLINE,*PEMRPOLYLINE,EMRPOLYBEZIER,*PEMRPOLYBEZIER,EMRPOLYGON,*PEMRPOLYGON,EMRPOLYBEZIERTO,*PEMRPOLYBEZIERTO,EMRPOLYLINETO,*PEMRPOLYLINETO; typedef struct tagEMRPOLYLINE16 { EMR emr; RECTL rclBounds; DWORD cpts; POINTL apts[1]; } EMRPOLYLINE16,*PEMRPOLYLINE16,EMRPOLYBEZIER16,*PEMRPOLYBEZIER16,EMRPOLYGON16,*PEMRPOLYGON16,EMRPOLYBEZIERTO16,*PEMRPOLYBEZIERTO16,EMRPOLYLINETO16,*PEMRPOLYLINETO16; typedef struct tagEMRPOLYPOLYLINE { EMR emr; RECTL rclBounds; DWORD nPolys; DWORD cptl; DWORD aPolyCounts[1]; POINTL aptl[1]; } EMRPOLYPOLYLINE,*PEMRPOLYPOLYLINE,EMRPOLYPOLYGON,*PEMRPOLYPOLYGON; typedef struct tagEMRPOLYPOLYLINE16 { EMR emr; RECTL rclBounds; DWORD nPolys; DWORD cpts; DWORD aPolyCounts[1]; POINTS apts[1]; } EMRPOLYPOLYLINE16,*PEMRPOLYPOLYLINE16,EMRPOLYPOLYGON16,*PEMRPOLYPOLYGON16; typedef struct tagEMRPOLYTEXTOUTA { EMR emr; RECTL rclBounds; DWORD iGraphicsMode; FLOAT exScale; FLOAT eyScale; LONG cStrings; EMRTEXT aemrtext[1]; } EMRPOLYTEXTOUTA,*PEMRPOLYTEXTOUTA,EMRPOLYTEXTOUTW,*PEMRPOLYTEXTOUTW; typedef struct tagEMRRESIZEPALETTE { EMR emr; DWORD ihPal; DWORD cEntries; } EMRRESIZEPALETTE,*PEMRRESIZEPALETTE; typedef struct tagEMRRESTOREDC { EMR emr; LONG iRelative; } EMRRESTOREDC,*PEMRRESTOREDC; typedef struct tagEMRROUNDRECT { EMR emr; RECTL rclBox; SIZEL szlCorner; } EMRROUNDRECT,*PEMRROUNDRECT; typedef struct tagEMRSCALEVIEWPORTEXTEX { EMR emr; LONG xNum; LONG xDenom; LONG yNum; LONG yDenom; } EMRSCALEVIEWPORTEXTEX,*PEMRSCALEVIEWPORTEXTEX,EMRSCALEWINDOWEXTEX,*PEMRSCALEWINDOWEXTEX; typedef struct tagEMRSELECTCOLORSPACE { EMR emr; DWORD ihCS; } EMRSELECTCOLORSPACE,*PEMRSELECTCOLORSPACE,EMRDELETECOLORSPACE,*PEMRDELETECOLORSPACE; typedef struct tagEMRSELECTOBJECT { EMR emr; DWORD ihObject; } EMRSELECTOBJECT,*PEMRSELECTOBJECT,EMRDELETEOBJECT,*PEMRDELETEOBJECT; typedef struct tagEMRSELECTPALETTE { EMR emr; DWORD ihPal; } EMRSELECTPALETTE,*PEMRSELECTPALETTE; typedef struct tagEMRSETARCDIRECTION { EMR emr; DWORD iArcDirection; } EMRSETARCDIRECTION,*PEMRSETARCDIRECTION; typedef struct tagEMRSETTEXTCOLOR { EMR emr; COLORREF crColor; } EMRSETBKCOLOR,*PEMRSETBKCOLOR,EMRSETTEXTCOLOR,*PEMRSETTEXTCOLOR; typedef struct tagEMRSETCOLORADJUSTMENT { EMR emr; COLORADJUSTMENT ColorAdjustment; } EMRSETCOLORADJUSTMENT,*PEMRSETCOLORADJUSTMENT; typedef struct tagEMRSETDIBITSTODEVICE { EMR emr; RECTL rclBounds; LONG xDest; LONG yDest; LONG xSrc; LONG ySrc; LONG cxSrc; LONG cySrc; DWORD offBmiSrc; DWORD cbBmiSrc; DWORD offBitsSrc; DWORD cbBitsSrc; DWORD iUsageSrc; DWORD iStartScan; DWORD cScans; } EMRSETDIBITSTODEVICE,*PEMRSETDIBITSTODEVICE; typedef struct tagEMRSETMAPPERFLAGS { EMR emr; DWORD dwFlags; } EMRSETMAPPERFLAGS,*PEMRSETMAPPERFLAGS; typedef struct tagEMRSETMITERLIMIT { EMR emr; FLOAT eMiterLimit; } EMRSETMITERLIMIT,*PEMRSETMITERLIMIT; typedef struct tagEMRSETPALETTEENTRIES { EMR emr; DWORD ihPal; DWORD iStart; DWORD cEntries; PALETTEENTRY aPalEntries[1]; } EMRSETPALETTEENTRIES,*PEMRSETPALETTEENTRIES; typedef struct tagEMRSETPIXELV { EMR emr; POINTL ptlPixel; COLORREF crColor; } EMRSETPIXELV,*PEMRSETPIXELV; typedef struct tagEMRSETVIEWPORTEXTEX { EMR emr; SIZEL szlExtent; } EMRSETVIEWPORTEXTEX,*PEMRSETVIEWPORTEXTEX,EMRSETWINDOWEXTEX,*PEMRSETWINDOWEXTEX; typedef struct tagEMRSETVIEWPORTORGEX { EMR emr; POINTL ptlOrigin; } EMRSETVIEWPORTORGEX,*PEMRSETVIEWPORTORGEX,EMRSETWINDOWORGEX,*PEMRSETWINDOWORGEX,EMRSETBRUSHORGEX,*PEMRSETBRUSHORGEX; typedef struct tagEMRSETWORLDTRANSFORM { EMR emr; XFORM xform; } EMRSETWORLDTRANSFORM,*PEMRSETWORLDTRANSFORM; typedef struct tagEMRSTRETCHBLT { EMR emr; RECTL rclBounds; LONG xDest; LONG yDest; LONG cxDest; LONG cyDest; DWORD dwRop; LONG xSrc; LONG ySrc; XFORM xformSrc; COLORREF crBkColorSrc; DWORD iUsageSrc; DWORD offBmiSrc; DWORD cbBmiSrc; DWORD offBitsSrc; DWORD cbBitsSrc; LONG cxSrc; LONG cySrc; } EMRSTRETCHBLT,*PEMRSTRETCHBLT; typedef struct tagEMRSTRETCHDIBITS { EMR emr; RECTL rclBounds; LONG xDest; LONG yDest; LONG xSrc; LONG ySrc; LONG cxSrc; LONG cySrc; DWORD offBmiSrc; DWORD cbBmiSrc; DWORD offBitsSrc; DWORD cbBitsSrc; DWORD iUsageSrc; DWORD dwRop; LONG cxDest; LONG cyDest; } EMRSTRETCHDIBITS,*PEMRSTRETCHDIBITS; typedef struct tagABORTPATH { EMR emr; } EMRABORTPATH,*PEMRABORTPATH,EMRBEGINPATH,*PEMRBEGINPATH,EMRENDPATH,*PEMRENDPATH,EMRCLOSEFIGURE,*PEMRCLOSEFIGURE,EMRFLATTENPATH,*PEMRFLATTENPATH,EMRWIDENPATH,*PEMRWIDENPATH,EMRSETMETARGN,*PEMRSETMETARGN,EMRSAVEDC,*PEMRSAVEDC,EMRREALIZEPALETTE,*PEMRREALIZEPALETTE; typedef struct tagEMRSELECTCLIPPATH { EMR emr; DWORD iMode; } EMRSELECTCLIPPATH,*PEMRSELECTCLIPPATH,EMRSETBKMODE,*PEMRSETBKMODE,EMRSETMAPMODE,*PEMRSETMAPMODE,EMRSETPOLYFILLMODE,*PEMRSETPOLYFILLMODE,EMRSETROP2,*PEMRSETROP2,EMRSETSTRETCHBLTMODE,*PEMRSETSTRETCHBLTMODE,EMRSETTEXTALIGN,*PEMRSETTEXTALIGN,EMRENABLEICM,*PEMRENABLEICM; #pragma pack(push,2) typedef struct tagMETAHEADER { WORD mtType; WORD mtHeaderSize; WORD mtVersion; DWORD mtSize; WORD mtNoObjects; DWORD mtMaxRecord; WORD mtNoParameters; } METAHEADER,*PMETAHEADER,*LPMETAHEADER; #pragma pack(pop) typedef struct tagENHMETAHEADER { DWORD iType; DWORD nSize; RECTL rclBounds; RECTL rclFrame; DWORD dSignature; DWORD nVersion; DWORD nBytes; DWORD nRecords; WORD nHandles; WORD sReserved; DWORD nDescription; DWORD offDescription; DWORD nPalEntries; SIZEL szlDevice; SIZEL szlMillimeters; DWORD cbPixelFormat; DWORD offPixelFormat; DWORD bOpenGL; } ENHMETAHEADER,*LPENHMETAHEADER; typedef struct tagMETARECORD { DWORD rdSize; WORD rdFunction; WORD rdParm[1]; } METARECORD,*PMETARECORD,*LPMETARECORD; typedef struct tagENHMETARECORD { DWORD iType; DWORD nSize; DWORD dParm[1]; } ENHMETARECORD,*LPENHMETARECORD; typedef struct tagHANDLETABLE { HGDIOBJ objectHandle[1]; } HANDLETABLE,*LPHANDLETABLE; typedef struct tagTEXTMETRICA { LONG tmHeight; LONG tmAscent; LONG tmDescent; LONG tmInternalLeading; LONG tmExternalLeading; LONG tmAveCharWidth; LONG tmMaxCharWidth; LONG tmWeight; LONG tmOverhang; LONG tmDigitizedAspectX; LONG tmDigitizedAspectY; BYTE tmFirstChar; BYTE tmLastChar; BYTE tmDefaultChar; BYTE tmBreakChar; BYTE tmItalic; BYTE tmUnderlined; BYTE tmStruckOut; BYTE tmPitchAndFamily; BYTE tmCharSet; } TEXTMETRICA,*PTEXTMETRICA,*LPTEXTMETRICA; typedef struct tagTEXTMETRICW { LONG tmHeight; LONG tmAscent; LONG tmDescent; LONG tmInternalLeading; LONG tmExternalLeading; LONG tmAveCharWidth; LONG tmMaxCharWidth; LONG tmWeight; LONG tmOverhang; LONG tmDigitizedAspectX; LONG tmDigitizedAspectY; WCHAR tmFirstChar; WCHAR tmLastChar; WCHAR tmDefaultChar; WCHAR tmBreakChar; BYTE tmItalic; BYTE tmUnderlined; BYTE tmStruckOut; BYTE tmPitchAndFamily; BYTE tmCharSet; } TEXTMETRICW,*PTEXTMETRICW,*LPTEXTMETRICW; typedef struct _RGNDATAHEADER { DWORD dwSize; DWORD iType; DWORD nCount; DWORD nRgnSize; RECT rcBound; } RGNDATAHEADER; typedef struct _RGNDATA { RGNDATAHEADER rdh; char Buffer[1]; } RGNDATA,*PRGNDATA, *LPRGNDATA; typedef struct tagGCP_RESULTSA { DWORD lStructSize; LPSTR lpOutString; UINT *lpOrder; INT *lpDx; INT *lpCaretPos; LPSTR lpClass; LPWSTR lpGlyphs; UINT nGlyphs; UINT nMaxFit; } GCP_RESULTSA,*LPGCP_RESULTSA; typedef struct tagGCP_RESULTSW { DWORD lStructSize; LPWSTR lpOutString; UINT *lpOrder; INT *lpDx; INT *lpCaretPos; LPWSTR lpClass; LPWSTR lpGlyphs; UINT nGlyphs; UINT nMaxFit; } GCP_RESULTSW,*LPGCP_RESULTSW; typedef struct _GLYPHMETRICS { UINT gmBlackBoxX; UINT gmBlackBoxY; POINT gmptGlyphOrigin; short gmCellIncX; short gmCellIncY; } GLYPHMETRICS,*LPGLYPHMETRICS; # 2308 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wingdi.h" 3 typedef struct tagKERNINGPAIR { WORD wFirst; WORD wSecond; int iKernAmount; } KERNINGPAIR,*LPKERNINGPAIR; typedef struct _FIXED { WORD fract; short value; } FIXED; typedef struct _MAT2 { FIXED eM11; FIXED eM12; FIXED eM21; FIXED eM22; } MAT2,*LPMAT2; typedef struct _OUTLINETEXTMETRICA { UINT otmSize; TEXTMETRICA otmTextMetrics; BYTE otmFiller; PANOSE otmPanoseNumber; UINT otmfsSelection; UINT otmfsType; int otmsCharSlopeRise; int otmsCharSlopeRun; int otmItalicAngle; UINT otmEMSquare; int otmAscent; int otmDescent; UINT otmLineGap; UINT otmsCapEmHeight; UINT otmsXHeight; RECT otmrcFontBox; int otmMacAscent; int otmMacDescent; UINT otmMacLineGap; UINT otmusMinimumPPEM; POINT otmptSubscriptSize; POINT otmptSubscriptOffset; POINT otmptSuperscriptSize; POINT otmptSuperscriptOffset; UINT otmsStrikeoutSize; int otmsStrikeoutPosition; int otmsUnderscoreSize; int otmsUnderscorePosition; PSTR otmpFamilyName; PSTR otmpFaceName; PSTR otmpStyleName; PSTR otmpFullName; } OUTLINETEXTMETRICA,*POUTLINETEXTMETRICA,*LPOUTLINETEXTMETRICA; typedef struct _OUTLINETEXTMETRICW { UINT otmSize; TEXTMETRICW otmTextMetrics; BYTE otmFiller; PANOSE otmPanoseNumber; UINT otmfsSelection; UINT otmfsType; int otmsCharSlopeRise; int otmsCharSlopeRun; int otmItalicAngle; UINT otmEMSquare; int otmAscent; int otmDescent; UINT otmLineGap; UINT otmsCapEmHeight; UINT otmsXHeight; RECT otmrcFontBox; int otmMacAscent; int otmMacDescent; UINT otmMacLineGap; UINT otmusMinimumPPEM; POINT otmptSubscriptSize; POINT otmptSubscriptOffset; POINT otmptSuperscriptSize; POINT otmptSuperscriptOffset; UINT otmsStrikeoutSize; int otmsStrikeoutPosition; int otmsUnderscoreSize; int otmsUnderscorePosition; PSTR otmpFamilyName; PSTR otmpFaceName; PSTR otmpStyleName; PSTR otmpFullName; } OUTLINETEXTMETRICW,*POUTLINETEXTMETRICW,*LPOUTLINETEXTMETRICW; typedef struct _RASTERIZER_STATUS { short nSize; short wFlags; short nLanguageID; } RASTERIZER_STATUS,*LPRASTERIZER_STATUS; typedef struct _POLYTEXTA { int x; int y; UINT n; LPCSTR lpstr; UINT uiFlags; RECT rcl; int *pdx; } POLYTEXTA, *PPOLYTEXTA, *LPPOLYTEXTA; typedef struct _POLYTEXTW { int x; int y; UINT n; LPCWSTR lpstr; UINT uiFlags; RECT rcl; int *pdx; } POLYTEXTW, *PPOLYTEXTW, *LPPOLYTEXTW; typedef struct tagPIXELFORMATDESCRIPTOR { WORD nSize; WORD nVersion; DWORD dwFlags; BYTE iPixelType; BYTE cColorBits; BYTE cRedBits; BYTE cRedShift; BYTE cGreenBits; BYTE cGreenShift; BYTE cBlueBits; BYTE cBlueShift; BYTE cAlphaBits; BYTE cAlphaShift; BYTE cAccumBits; BYTE cAccumRedBits; BYTE cAccumGreenBits; BYTE cAccumBlueBits; BYTE cAccumAlphaBits; BYTE cDepthBits; BYTE cStencilBits; BYTE cAuxBuffers; BYTE iLayerType; BYTE bReserved; DWORD dwLayerMask; DWORD dwVisibleMask; DWORD dwDamageMask; } PIXELFORMATDESCRIPTOR,*PPIXELFORMATDESCRIPTOR,*LPPIXELFORMATDESCRIPTOR; typedef struct tagMETAFILEPICT { LONG mm; LONG xExt; LONG yExt; HMETAFILE hMF; } METAFILEPICT,*LPMETAFILEPICT; typedef struct tagLOCALESIGNATURE { DWORD lsUsb[4]; DWORD lsCsbDefault[2]; DWORD lsCsbSupported[2]; } LOCALESIGNATURE,*PLOCALESIGNATURE,*LPLOCALESIGNATURE; typedef LONG LCSTYPE; #pragma pack(push,4) typedef struct tagNEWTEXTMETRICA { LONG tmHeight; LONG tmAscent; LONG tmDescent; LONG tmInternalLeading; LONG tmExternalLeading; LONG tmAveCharWidth; LONG tmMaxCharWidth; LONG tmWeight; LONG tmOverhang; LONG tmDigitizedAspectX; LONG tmDigitizedAspectY; BYTE tmFirstChar; BYTE tmLastChar; BYTE tmDefaultChar; BYTE tmBreakChar; BYTE tmItalic; BYTE tmUnderlined; BYTE tmStruckOut; BYTE tmPitchAndFamily; BYTE tmCharSet; DWORD ntmFlags; UINT ntmSizeEM; UINT ntmCellHeight; UINT ntmAvgWidth; } NEWTEXTMETRICA,*PNEWTEXTMETRICA,*LPNEWTEXTMETRICA; typedef struct tagNEWTEXTMETRICW { LONG tmHeight; LONG tmAscent; LONG tmDescent; LONG tmInternalLeading; LONG tmExternalLeading; LONG tmAveCharWidth; LONG tmMaxCharWidth; LONG tmWeight; LONG tmOverhang; LONG tmDigitizedAspectX; LONG tmDigitizedAspectY; WCHAR tmFirstChar; WCHAR tmLastChar; WCHAR tmDefaultChar; WCHAR tmBreakChar; BYTE tmItalic; BYTE tmUnderlined; BYTE tmStruckOut; BYTE tmPitchAndFamily; BYTE tmCharSet; DWORD ntmFlags; UINT ntmSizeEM; UINT ntmCellHeight; UINT ntmAvgWidth; } NEWTEXTMETRICW,*PNEWTEXTMETRICW,*LPNEWTEXTMETRICW; #pragma pack(pop) typedef struct tagNEWTEXTMETRICEXA { NEWTEXTMETRICA ntmTm; FONTSIGNATURE ntmFontSig; } NEWTEXTMETRICEXA; typedef struct tagNEWTEXTMETRICEXW { NEWTEXTMETRICW ntmTm; FONTSIGNATURE ntmFontSig; } NEWTEXTMETRICEXW; typedef struct tagPELARRAY { LONG paXCount; LONG paYCount; LONG paXExt; LONG paYExt; BYTE paRGBs; } PELARRAY,*PPELARRAY,*LPPELARRAY; typedef struct tagENUMLOGFONTA { LOGFONTA elfLogFont; BYTE elfFullName[64]; BYTE elfStyle[32]; } ENUMLOGFONTA,*LPENUMLOGFONTA; typedef struct tagENUMLOGFONTW { LOGFONTW elfLogFont; WCHAR elfFullName[64]; WCHAR elfStyle[32]; } ENUMLOGFONTW,*LPENUMLOGFONTW; typedef struct tagENUMLOGFONTEXA { LOGFONTA elfLogFont; BYTE elfFullName[64]; BYTE elfStyle[32]; BYTE elfScript[32]; } ENUMLOGFONTEXA,*LPENUMLOGFONTEXA; typedef struct tagENUMLOGFONTEXW { LOGFONTW elfLogFont; WCHAR elfFullName[64]; WCHAR elfStyle[32]; WCHAR elfScript[32]; } ENUMLOGFONTEXW,*LPENUMLOGFONTEXW; typedef struct tagPOINTFX { FIXED x; FIXED y; } POINTFX,*LPPOINTFX; typedef struct tagTTPOLYCURVE { WORD wType; WORD cpfx; POINTFX apfx[1]; } TTPOLYCURVE,*LPTTPOLYCURVE; typedef struct tagTTPOLYGONHEADER { DWORD cb; DWORD dwType; POINTFX pfxStart; } TTPOLYGONHEADER,*LPTTPOLYGONHEADER; typedef struct _POINTFLOAT { FLOAT x; FLOAT y; } POINTFLOAT,*PPOINTFLOAT; typedef struct _GLYPHMETRICSFLOAT { FLOAT gmfBlackBoxX; FLOAT gmfBlackBoxY; POINTFLOAT gmfptGlyphOrigin; FLOAT gmfCellIncX; FLOAT gmfCellIncY; } GLYPHMETRICSFLOAT,*PGLYPHMETRICSFLOAT,*LPGLYPHMETRICSFLOAT; typedef struct tagLAYERPLANEDESCRIPTOR { WORD nSize; WORD nVersion; DWORD dwFlags; BYTE iPixelType; BYTE cColorBits; BYTE cRedBits; BYTE cRedShift; BYTE cGreenBits; BYTE cGreenShift; BYTE cBlueBits; BYTE cBlueShift; BYTE cAlphaBits; BYTE cAlphaShift; BYTE cAccumBits; BYTE cAccumRedBits; BYTE cAccumGreenBits; BYTE cAccumBlueBits; BYTE cAccumAlphaBits; BYTE cDepthBits; BYTE cStencilBits; BYTE cAuxBuffers; BYTE iLayerPlane; BYTE bReserved; COLORREF crTransparent; } LAYERPLANEDESCRIPTOR,*PLAYERPLANEDESCRIPTOR,*LPLAYERPLANEDESCRIPTOR; typedef struct _BLENDFUNCTION { BYTE BlendOp; BYTE BlendFlags; BYTE SourceConstantAlpha; BYTE AlphaFormat; } BLENDFUNCTION,*PBLENDFUNCTION,*LPBLENDFUNCTION; typedef struct _DESIGNVECTOR { DWORD dvReserved; DWORD dvNumAxes; LONG dvValues[16]; } DESIGNVECTOR, *PDESIGNVECTOR, *LPDESIGNVECTOR; # 2620 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wingdi.h" 3 typedef USHORT COLOR16; typedef struct _TRIVERTEX { LONG x; LONG y; COLOR16 Red; COLOR16 Green; COLOR16 Blue; COLOR16 Alpha; } TRIVERTEX, *PTRIVERTEX, *LPTRIVERTEX; typedef struct _GRADIENT_TRIANGLE { ULONG Vertex1; ULONG Vertex2; ULONG Vertex3; } GRADIENT_TRIANGLE,*PGRADIENT_TRIANGLE,*LPGRADIENT_TRIANGLE; typedef struct _GRADIENT_RECT { ULONG UpperLeft; ULONG LowerRight; }GRADIENT_RECT,*PGRADIENT_RECT,*LPGRADIENT_RECT; typedef struct _DISPLAY_DEVICEA { DWORD cb; CHAR DeviceName[32]; CHAR DeviceString[128]; DWORD StateFlags; CHAR DeviceID[128]; CHAR DeviceKey[128]; } DISPLAY_DEVICEA, *PDISPLAY_DEVICEA, *LPDISPLAY_DEVICEA; typedef struct _DISPLAY_DEVICEW { DWORD cb; WCHAR DeviceName[32]; WCHAR DeviceString[128]; DWORD StateFlags; WCHAR DeviceID[128]; WCHAR DeviceKey[128]; } DISPLAY_DEVICEW, *PDISPLAY_DEVICEW, *LPDISPLAY_DEVICEW; typedef BOOL (__attribute__((__stdcall__)) *ABORTPROC)(HDC,int); typedef int (__attribute__((__stdcall__)) *MFENUMPROC)(HDC,HANDLETABLE*,METARECORD*,int,LPARAM); typedef int (__attribute__((__stdcall__)) *ENHMFENUMPROC)(HDC,HANDLETABLE*,ENHMETARECORD*,int,LPARAM); typedef int (__attribute__((__stdcall__)) *OLDFONTENUMPROCA)(const LOGFONTA*,const TEXTMETRICA*,DWORD,LPARAM); typedef int (__attribute__((__stdcall__)) *OLDFONTENUMPROCW)(const LOGFONTW*,const TEXTMETRICW*,DWORD,LPARAM); typedef OLDFONTENUMPROCA FONTENUMPROCA; typedef OLDFONTENUMPROCW FONTENUMPROCW; typedef int (__attribute__((__stdcall__)) *ICMENUMPROCA)(LPSTR,LPARAM); typedef int (__attribute__((__stdcall__)) *ICMENUMPROCW)(LPWSTR,LPARAM); typedef void (__attribute__((__stdcall__)) *GOBJENUMPROC)(LPVOID,LPARAM); typedef void (__attribute__((__stdcall__)) *LINEDDAPROC)(int,int,LPARAM); typedef UINT (__attribute__((__stdcall__)) *LPFNDEVMODE)(HWND,HMODULE,LPDEVMODEA,LPSTR,LPSTR,LPDEVMODEA,LPSTR,UINT); typedef DWORD (__attribute__((__stdcall__)) *LPFNDEVCAPS)(LPSTR,LPSTR,UINT,LPSTR,LPDEVMODEA); # 2686 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wingdi.h" 3 int __attribute__((__stdcall__)) AbortDoc(HDC); BOOL __attribute__((__stdcall__)) AbortPath(HDC); int __attribute__((__stdcall__)) AddFontResourceA(LPCSTR); int __attribute__((__stdcall__)) AddFontResourceW(LPCWSTR); BOOL __attribute__((__stdcall__)) AngleArc(HDC,int,int,DWORD,FLOAT,FLOAT); BOOL __attribute__((__stdcall__)) AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*); BOOL __attribute__((__stdcall__)) Arc(HDC,int,int,int,int,int,int,int,int); BOOL __attribute__((__stdcall__)) ArcTo(HDC,int,int,int,int,int,int,int,int); BOOL __attribute__((__stdcall__)) BeginPath(HDC); BOOL __attribute__((__stdcall__)) BitBlt(HDC,int,int,int,int,HDC,int,int,DWORD); BOOL __attribute__((__stdcall__)) CancelDC(HDC); BOOL __attribute__((__stdcall__)) CheckColorsInGamut(HDC,PVOID,PVOID,DWORD); BOOL __attribute__((__stdcall__)) Chord(HDC,int,int,int,int,int,int,int,int); int __attribute__((__stdcall__)) ChoosePixelFormat(HDC,const PIXELFORMATDESCRIPTOR*); HENHMETAFILE __attribute__((__stdcall__)) CloseEnhMetaFile(HDC); BOOL __attribute__((__stdcall__)) CloseFigure(HDC); HMETAFILE __attribute__((__stdcall__)) CloseMetaFile(HDC); int __attribute__((__stdcall__)) CombineRgn(HRGN,HRGN,HRGN,int); BOOL __attribute__((__stdcall__)) CombineTransform(LPXFORM,const XFORM*,const XFORM*); HENHMETAFILE __attribute__((__stdcall__)) CopyEnhMetaFileA(HENHMETAFILE,LPCSTR); HENHMETAFILE __attribute__((__stdcall__)) CopyEnhMetaFileW(HENHMETAFILE,LPCWSTR); HMETAFILE __attribute__((__stdcall__)) CopyMetaFileA(HMETAFILE,LPCSTR); HMETAFILE __attribute__((__stdcall__)) CopyMetaFileW(HMETAFILE,LPCWSTR); HBITMAP __attribute__((__stdcall__)) CreateBitmap(int,int,UINT,UINT,PCVOID); HBITMAP __attribute__((__stdcall__)) CreateBitmapIndirect(const BITMAP*); HBRUSH __attribute__((__stdcall__)) CreateBrushIndirect(const LOGBRUSH*); HCOLORSPACE __attribute__((__stdcall__)) CreateColorSpaceA(LPLOGCOLORSPACEA); HCOLORSPACE __attribute__((__stdcall__)) CreateColorSpaceW(LPLOGCOLORSPACEW); HBITMAP __attribute__((__stdcall__)) CreateCompatibleBitmap(HDC,int,int); HDC __attribute__((__stdcall__)) CreateCompatibleDC(HDC); HDC __attribute__((__stdcall__)) CreateDCA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); HDC __attribute__((__stdcall__)) CreateDCW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); HBITMAP __attribute__((__stdcall__)) CreateDIBitmap(HDC,const BITMAPINFOHEADER*,DWORD,PCVOID,const BITMAPINFO*,UINT); HBRUSH __attribute__((__stdcall__)) CreateDIBPatternBrush(HGLOBAL,UINT); HBRUSH __attribute__((__stdcall__)) CreateDIBPatternBrushPt(PCVOID,UINT); HBITMAP __attribute__((__stdcall__)) CreateDIBSection(HDC,const BITMAPINFO*,UINT,void**,HANDLE,DWORD); HBITMAP __attribute__((__stdcall__)) CreateDiscardableBitmap(HDC,int,int); HRGN __attribute__((__stdcall__)) CreateEllipticRgn(int,int,int,int); HRGN __attribute__((__stdcall__)) CreateEllipticRgnIndirect(LPCRECT); HDC __attribute__((__stdcall__)) CreateEnhMetaFileA(HDC,LPCSTR,LPCRECT,LPCSTR); HDC __attribute__((__stdcall__)) CreateEnhMetaFileW(HDC,LPCWSTR,LPCRECT,LPCWSTR); HFONT __attribute__((__stdcall__)) CreateFontA(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCSTR); HFONT __attribute__((__stdcall__)) CreateFontW(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCWSTR); HFONT __attribute__((__stdcall__)) CreateFontIndirectA(const LOGFONTA*); HFONT __attribute__((__stdcall__)) CreateFontIndirectW(const LOGFONTW*); HPALETTE __attribute__((__stdcall__)) CreateHalftonePalette(HDC); HBRUSH __attribute__((__stdcall__)) CreateHatchBrush(int,COLORREF); HDC __attribute__((__stdcall__)) CreateICA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); HDC __attribute__((__stdcall__)) CreateICW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); HDC __attribute__((__stdcall__)) CreateMetaFileA(LPCSTR); HDC __attribute__((__stdcall__)) CreateMetaFileW(LPCWSTR); HPALETTE __attribute__((__stdcall__)) CreatePalette(const LOGPALETTE*); HBRUSH __attribute__((__stdcall__)) CreatePatternBrush(HBITMAP); HPEN __attribute__((__stdcall__)) CreatePen(int,int,COLORREF); HPEN __attribute__((__stdcall__)) CreatePenIndirect(const LOGPEN*); HRGN __attribute__((__stdcall__)) CreatePolygonRgn(const POINT*,int,int); HRGN __attribute__((__stdcall__)) CreatePolyPolygonRgn(const POINT*,const INT*,int,int); HRGN __attribute__((__stdcall__)) CreateRectRgn(int,int,int,int); HRGN __attribute__((__stdcall__)) CreateRectRgnIndirect(LPCRECT); HRGN __attribute__((__stdcall__)) CreateRoundRectRgn(int,int,int,int,int,int); BOOL __attribute__((__stdcall__)) CreateScalableFontResourceA(DWORD,LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) CreateScalableFontResourceW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR); HBRUSH __attribute__((__stdcall__)) CreateSolidBrush(COLORREF); BOOL __attribute__((__stdcall__)) DeleteColorSpace(HCOLORSPACE); BOOL __attribute__((__stdcall__)) DeleteDC(HDC); BOOL __attribute__((__stdcall__)) DeleteEnhMetaFile(HENHMETAFILE); BOOL __attribute__((__stdcall__)) DeleteMetaFile(HMETAFILE); BOOL __attribute__((__stdcall__)) DeleteObject(HGDIOBJ); int __attribute__((__stdcall__)) DescribePixelFormat(HDC,int,UINT,LPPIXELFORMATDESCRIPTOR); DWORD __attribute__((__stdcall__)) DeviceCapabilitiesA(LPCSTR,LPCSTR,WORD,LPSTR,const DEVMODEA*); DWORD __attribute__((__stdcall__)) DeviceCapabilitiesW(LPCWSTR,LPCWSTR,WORD,LPWSTR,const DEVMODEW*); BOOL __attribute__((__stdcall__)) DPtoLP(HDC,LPPOINT,int); int __attribute__((__stdcall__)) DrawEscape(HDC,int,int,LPCSTR); BOOL __attribute__((__stdcall__)) Ellipse(HDC,int,int,int,int); int __attribute__((__stdcall__)) EndDoc(HDC); int __attribute__((__stdcall__)) EndPage(HDC); BOOL __attribute__((__stdcall__)) EndPath(HDC); BOOL __attribute__((__stdcall__)) EnumEnhMetaFile(HDC,HENHMETAFILE,ENHMFENUMPROC,PVOID,LPCRECT); int __attribute__((__stdcall__)) EnumFontFamiliesA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); int __attribute__((__stdcall__)) EnumFontFamiliesW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); int __attribute__((__stdcall__)) EnumFontFamiliesExA(HDC,PLOGFONTA,FONTENUMPROCA,LPARAM,DWORD); int __attribute__((__stdcall__)) EnumFontFamiliesExW(HDC,PLOGFONTW,FONTENUMPROCW,LPARAM,DWORD); int __attribute__((__stdcall__)) EnumFontsA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); int __attribute__((__stdcall__)) EnumFontsW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); int __attribute__((__stdcall__)) EnumICMProfilesA(HDC,ICMENUMPROCA,LPARAM); int __attribute__((__stdcall__)) EnumICMProfilesW(HDC,ICMENUMPROCW,LPARAM); BOOL __attribute__((__stdcall__)) EnumMetaFile(HDC,HMETAFILE,MFENUMPROC,LPARAM); int __attribute__((__stdcall__)) EnumObjects(HDC,int,GOBJENUMPROC,LPARAM); BOOL __attribute__((__stdcall__)) EqualRgn(HRGN,HRGN); int __attribute__((__stdcall__)) Escape(HDC,int,int,LPCSTR,PVOID); int __attribute__((__stdcall__)) ExcludeClipRect(HDC,int,int,int,int); int __attribute__((__stdcall__)) ExcludeUpdateRgn(HDC,HWND); HPEN __attribute__((__stdcall__)) ExtCreatePen(DWORD,DWORD,const LOGBRUSH*,DWORD,const DWORD*); HRGN __attribute__((__stdcall__)) ExtCreateRegion(const XFORM*,DWORD,const RGNDATA*); int __attribute__((__stdcall__)) ExtEscape(HDC,int,int,LPCSTR,int,LPSTR); BOOL __attribute__((__stdcall__)) ExtFloodFill(HDC,int,int,COLORREF,UINT); int __attribute__((__stdcall__)) ExtSelectClipRgn(HDC,HRGN,int); BOOL __attribute__((__stdcall__)) ExtTextOutA(HDC,int,int,UINT,LPCRECT,LPCSTR,UINT,const INT*); BOOL __attribute__((__stdcall__)) ExtTextOutW(HDC,int,int,UINT,LPCRECT,LPCWSTR,UINT,const INT*); BOOL __attribute__((__stdcall__)) FillPath(HDC); int __attribute__((__stdcall__)) FillRect(HDC,LPCRECT,HBRUSH); int __attribute__((__stdcall__)) FillRgn(HDC,HRGN,HBRUSH); BOOL __attribute__((__stdcall__)) FixBrushOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) FlattenPath(HDC); BOOL __attribute__((__stdcall__)) FloodFill(HDC,int,int,COLORREF); BOOL __attribute__((__stdcall__)) GdiComment(HDC,UINT,const BYTE*); BOOL __attribute__((__stdcall__)) GdiFlush(void); DWORD __attribute__((__stdcall__)) GdiGetBatchLimit(void); DWORD __attribute__((__stdcall__)) GdiSetBatchLimit(DWORD); int __attribute__((__stdcall__)) GetArcDirection(HDC); BOOL __attribute__((__stdcall__)) GetAspectRatioFilterEx(HDC,LPSIZE); LONG __attribute__((__stdcall__)) GetBitmapBits(HBITMAP,LONG,PVOID); BOOL __attribute__((__stdcall__)) GetBitmapDimensionEx(HBITMAP,LPSIZE); COLORREF __attribute__((__stdcall__)) GetBkColor(HDC); int __attribute__((__stdcall__)) GetBkMode(HDC); UINT __attribute__((__stdcall__)) GetBoundsRect(HDC,LPRECT,UINT); BOOL __attribute__((__stdcall__)) GetBrushOrgEx(HDC,LPPOINT); BOOL __attribute__((__stdcall__)) GetCharABCWidthsA(HDC,UINT,UINT,LPABC); BOOL __attribute__((__stdcall__)) GetCharABCWidthsW(HDC,UINT,UINT,LPABC); BOOL __attribute__((__stdcall__)) GetCharABCWidthsFloatA(HDC,UINT,UINT,LPABCFLOAT); BOOL __attribute__((__stdcall__)) GetCharABCWidthsFloatW(HDC,UINT,UINT,LPABCFLOAT); DWORD __attribute__((__stdcall__)) GetCharacterPlacementA(HDC,LPCSTR,int,int,LPGCP_RESULTSA,DWORD); DWORD __attribute__((__stdcall__)) GetCharacterPlacementW(HDC,LPCWSTR,int,int,LPGCP_RESULTSW,DWORD); BOOL __attribute__((__stdcall__)) GetCharWidth32A(HDC,UINT,UINT,LPINT); BOOL __attribute__((__stdcall__)) GetCharWidth32W(HDC,UINT,UINT,LPINT); BOOL __attribute__((__stdcall__)) GetCharWidthA(HDC,UINT,UINT,LPINT); BOOL __attribute__((__stdcall__)) GetCharWidthW(HDC,UINT,UINT,LPINT); BOOL __attribute__((__stdcall__)) GetCharWidthFloatA(HDC,UINT,UINT,PFLOAT); BOOL __attribute__((__stdcall__)) GetCharWidthFloatW(HDC,UINT,UINT,PFLOAT); int __attribute__((__stdcall__)) GetClipBox(HDC,LPRECT); int __attribute__((__stdcall__)) GetClipRgn(HDC,HRGN); BOOL __attribute__((__stdcall__)) GetColorAdjustment(HDC,LPCOLORADJUSTMENT); HANDLE __attribute__((__stdcall__)) GetColorSpace(HDC); HGDIOBJ __attribute__((__stdcall__)) GetCurrentObject(HDC,UINT); BOOL __attribute__((__stdcall__)) GetCurrentPositionEx(HDC,LPPOINT); HCURSOR __attribute__((__stdcall__)) GetCursor(void); BOOL __attribute__((__stdcall__)) GetDCOrgEx(HDC,LPPOINT); int __attribute__((__stdcall__)) GetDeviceCaps(HDC,int); BOOL __attribute__((__stdcall__)) GetDeviceGammaRamp(HDC,PVOID); UINT __attribute__((__stdcall__)) GetDIBColorTable(HDC,UINT,UINT,RGBQUAD*); int __attribute__((__stdcall__)) GetDIBits(HDC,HBITMAP,UINT,UINT,PVOID,LPBITMAPINFO,UINT); HENHMETAFILE __attribute__((__stdcall__)) GetEnhMetaFileA(LPCSTR); HENHMETAFILE __attribute__((__stdcall__)) GetEnhMetaFileW(LPCWSTR); UINT __attribute__((__stdcall__)) GetEnhMetaFileBits(HENHMETAFILE,UINT,LPBYTE); UINT __attribute__((__stdcall__)) GetEnhMetaFileDescriptionA(HENHMETAFILE,UINT,LPSTR); UINT __attribute__((__stdcall__)) GetEnhMetaFileDescriptionW(HENHMETAFILE,UINT,LPWSTR); UINT __attribute__((__stdcall__)) GetEnhMetaFileHeader(HENHMETAFILE,UINT,LPENHMETAHEADER); UINT __attribute__((__stdcall__)) GetEnhMetaFilePaletteEntries(HENHMETAFILE,UINT,LPPALETTEENTRY); UINT __attribute__((__stdcall__)) GetEnhMetaFilePixelFormat(HENHMETAFILE,DWORD,const PIXELFORMATDESCRIPTOR*); DWORD __attribute__((__stdcall__)) GetFontData(HDC,DWORD,DWORD,PVOID,DWORD); DWORD __attribute__((__stdcall__)) GetFontLanguageInfo(HDC); DWORD __attribute__((__stdcall__)) GetGlyphOutlineA(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,PVOID,const MAT2*); DWORD __attribute__((__stdcall__)) GetGlyphOutlineW(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,PVOID,const MAT2*); int __attribute__((__stdcall__)) GetGraphicsMode(HDC); BOOL __attribute__((__stdcall__)) GetICMProfileA(HDC,LPDWORD,LPSTR); BOOL __attribute__((__stdcall__)) GetICMProfileW(HDC,LPDWORD,LPWSTR); DWORD __attribute__((__stdcall__)) GetKerningPairsA(HDC,DWORD,LPKERNINGPAIR); DWORD __attribute__((__stdcall__)) GetKerningPairsW(HDC,DWORD,LPKERNINGPAIR); BOOL __attribute__((__stdcall__)) GetLogColorSpaceA(HCOLORSPACE,LPLOGCOLORSPACEA,DWORD); BOOL __attribute__((__stdcall__)) GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACEW,DWORD); int __attribute__((__stdcall__)) GetMapMode(HDC); HMETAFILE __attribute__((__stdcall__)) GetMetaFileA(LPCSTR); HMETAFILE __attribute__((__stdcall__)) GetMetaFileW(LPCWSTR); UINT __attribute__((__stdcall__)) GetMetaFileBitsEx(HMETAFILE,UINT,PVOID); int __attribute__((__stdcall__)) GetMetaRgn(HDC,HRGN); BOOL __attribute__((__stdcall__)) GetMiterLimit(HDC,PFLOAT); COLORREF __attribute__((__stdcall__)) GetNearestColor(HDC,COLORREF); UINT __attribute__((__stdcall__)) GetNearestPaletteIndex(HPALETTE,COLORREF); int __attribute__((__stdcall__)) GetObjectA(HGDIOBJ,int,PVOID); int __attribute__((__stdcall__)) GetObjectW(HGDIOBJ,int,PVOID); DWORD __attribute__((__stdcall__)) GetObjectType(HGDIOBJ); UINT __attribute__((__stdcall__)) GetOutlineTextMetricsA(HDC,UINT,LPOUTLINETEXTMETRICA); UINT __attribute__((__stdcall__)) GetOutlineTextMetricsW(HDC,UINT,LPOUTLINETEXTMETRICW); UINT __attribute__((__stdcall__)) GetPaletteEntries(HPALETTE,UINT,UINT,LPPALETTEENTRY); int __attribute__((__stdcall__)) GetPath(HDC,LPPOINT,PBYTE,int); COLORREF __attribute__((__stdcall__)) GetPixel(HDC,int,int); int __attribute__((__stdcall__)) GetPixelFormat(HDC); int __attribute__((__stdcall__)) GetPolyFillMode(HDC); BOOL __attribute__((__stdcall__)) GetRasterizerCaps(LPRASTERIZER_STATUS,UINT); int __attribute__((__stdcall__)) GetRandomRgn (HDC,HRGN,INT); DWORD __attribute__((__stdcall__)) GetRegionData(HRGN,DWORD,LPRGNDATA); int __attribute__((__stdcall__)) GetRgnBox(HRGN,LPRECT); int __attribute__((__stdcall__)) GetROP2(HDC); HGDIOBJ __attribute__((__stdcall__)) GetStockObject(int); int __attribute__((__stdcall__)) GetStretchBltMode(HDC); UINT __attribute__((__stdcall__)) GetSystemPaletteEntries(HDC,UINT,UINT,LPPALETTEENTRY); UINT __attribute__((__stdcall__)) GetSystemPaletteUse(HDC); UINT __attribute__((__stdcall__)) GetTextAlign(HDC); int __attribute__((__stdcall__)) GetTextCharacterExtra(HDC); int __attribute__((__stdcall__)) GetTextCharset(HDC); int __attribute__((__stdcall__)) GetTextCharsetInfo(HDC,LPFONTSIGNATURE,DWORD); COLORREF __attribute__((__stdcall__)) GetTextColor(HDC); BOOL __attribute__((__stdcall__)) GetTextExtentExPointA(HDC,LPCSTR,int,int,LPINT,LPINT,LPSIZE); BOOL __attribute__((__stdcall__)) GetTextExtentExPointW( HDC,LPCWSTR,int,int,LPINT,LPINT,LPSIZE ); BOOL __attribute__((__stdcall__)) GetTextExtentPointA(HDC,LPCSTR,int,LPSIZE); BOOL __attribute__((__stdcall__)) GetTextExtentPointW(HDC,LPCWSTR,int,LPSIZE); BOOL __attribute__((__stdcall__)) GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE); BOOL __attribute__((__stdcall__)) GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE); int __attribute__((__stdcall__)) GetTextFaceA(HDC,int,LPSTR); int __attribute__((__stdcall__)) GetTextFaceW(HDC,int,LPWSTR); BOOL __attribute__((__stdcall__)) GetTextMetricsA(HDC,LPTEXTMETRICA); BOOL __attribute__((__stdcall__)) GetTextMetricsW(HDC,LPTEXTMETRICW); BOOL __attribute__((__stdcall__)) GetViewportExtEx(HDC,LPSIZE); BOOL __attribute__((__stdcall__)) GetViewportOrgEx(HDC,LPPOINT); BOOL __attribute__((__stdcall__)) GetWindowExtEx(HDC,LPSIZE); BOOL __attribute__((__stdcall__)) GetWindowOrgEx(HDC,LPPOINT); UINT __attribute__((__stdcall__)) GetWinMetaFileBits(HENHMETAFILE,UINT,LPBYTE,INT,HDC); BOOL __attribute__((__stdcall__)) GetWorldTransform(HDC,LPXFORM); int __attribute__((__stdcall__)) IntersectClipRect(HDC,int,int,int,int); BOOL __attribute__((__stdcall__)) InvertRgn(HDC,HRGN); BOOL __attribute__((__stdcall__)) LineDDA(int,int,int,int,LINEDDAPROC,LPARAM); BOOL __attribute__((__stdcall__)) LineTo(HDC,int,int); BOOL __attribute__((__stdcall__)) LPtoDP(HDC,LPPOINT,int); BOOL __attribute__((__stdcall__)) MaskBlt(HDC,int,int,int,int,HDC,int,int,HBITMAP,int,int,DWORD); BOOL __attribute__((__stdcall__)) ModifyWorldTransform(HDC,const XFORM*,DWORD); BOOL __attribute__((__stdcall__)) MoveToEx(HDC,int,int,LPPOINT); int __attribute__((__stdcall__)) OffsetClipRgn(HDC,int,int); int __attribute__((__stdcall__)) OffsetRgn(HRGN,int,int); BOOL __attribute__((__stdcall__)) OffsetViewportOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) OffsetWindowOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) PaintRgn(HDC,HRGN); BOOL __attribute__((__stdcall__)) PatBlt(HDC,int,int,int,int,DWORD); HRGN __attribute__((__stdcall__)) PathToRegion(HDC); BOOL __attribute__((__stdcall__)) Pie(HDC,int,int,int,int,int,int,int,int); BOOL __attribute__((__stdcall__)) PlayEnhMetaFile(HDC,HENHMETAFILE,LPCRECT); BOOL __attribute__((__stdcall__)) PlayEnhMetaFileRecord(HDC,LPHANDLETABLE,const ENHMETARECORD*,UINT); BOOL __attribute__((__stdcall__)) PlayMetaFile(HDC,HMETAFILE); BOOL __attribute__((__stdcall__)) PlayMetaFileRecord(HDC,LPHANDLETABLE,LPMETARECORD,UINT); BOOL __attribute__((__stdcall__)) PlgBlt(HDC,const POINT*,HDC,int,int,int,int,HBITMAP,int,int); BOOL __attribute__((__stdcall__)) PolyBezier(HDC,const POINT*,DWORD); BOOL __attribute__((__stdcall__)) PolyBezierTo(HDC,const POINT*,DWORD); BOOL __attribute__((__stdcall__)) PolyDraw(HDC,const POINT*,const BYTE*,int); BOOL __attribute__((__stdcall__)) Polygon(HDC,const POINT*,int); BOOL __attribute__((__stdcall__)) Polyline(HDC,const POINT*,int); BOOL __attribute__((__stdcall__)) PolylineTo(HDC,const POINT*,DWORD); BOOL __attribute__((__stdcall__)) PolyPolygon(HDC,const POINT*,const INT*,int); BOOL __attribute__((__stdcall__)) PolyPolyline(HDC,const POINT*,const DWORD*,DWORD); BOOL __attribute__((__stdcall__)) PolyTextOutA(HDC,const POLYTEXTA*,int); BOOL __attribute__((__stdcall__)) PolyTextOutW(HDC,const POLYTEXTW*,int); BOOL __attribute__((__stdcall__)) PtInRegion(HRGN,int,int); BOOL __attribute__((__stdcall__)) PtVisible(HDC,int,int); UINT __attribute__((__stdcall__)) RealizePalette(HDC); BOOL __attribute__((__stdcall__)) Rectangle(HDC,int,int,int,int); BOOL __attribute__((__stdcall__)) RectInRegion(HRGN,LPCRECT); BOOL __attribute__((__stdcall__)) RectVisible(HDC,LPCRECT); BOOL __attribute__((__stdcall__)) RemoveFontResourceA(LPCSTR); BOOL __attribute__((__stdcall__)) RemoveFontResourceW(LPCWSTR); HDC __attribute__((__stdcall__)) ResetDCA(HDC,const DEVMODEA*); HDC __attribute__((__stdcall__)) ResetDCW(HDC,const DEVMODEW*); BOOL __attribute__((__stdcall__)) ResizePalette(HPALETTE,UINT); BOOL __attribute__((__stdcall__)) RestoreDC(HDC,int); BOOL __attribute__((__stdcall__)) RoundRect(HDC,int,int,int,int,int,int); int __attribute__((__stdcall__)) SaveDC(HDC); BOOL __attribute__((__stdcall__)) ScaleViewportExtEx(HDC,int,int,int,int,LPSIZE); BOOL __attribute__((__stdcall__)) ScaleWindowExtEx(HDC,int,int,int,int,LPSIZE); BOOL __attribute__((__stdcall__)) SelectClipPath(HDC,int); int __attribute__((__stdcall__)) SelectClipRgn(HDC,HRGN); HGDIOBJ __attribute__((__stdcall__)) SelectObject(HDC,HGDIOBJ); HPALETTE __attribute__((__stdcall__)) SelectPalette(HDC,HPALETTE,BOOL); int __attribute__((__stdcall__)) SetAbortProc(HDC,ABORTPROC); int __attribute__((__stdcall__)) SetArcDirection(HDC,int); LONG __attribute__((__stdcall__)) SetBitmapBits(HBITMAP,DWORD,PCVOID); BOOL __attribute__((__stdcall__)) SetBitmapDimensionEx(HBITMAP,int,int,LPSIZE); COLORREF __attribute__((__stdcall__)) SetBkColor(HDC,COLORREF); int __attribute__((__stdcall__)) SetBkMode(HDC,int); UINT __attribute__((__stdcall__)) SetBoundsRect(HDC,LPCRECT,UINT); BOOL __attribute__((__stdcall__)) SetBrushOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) SetColorAdjustment(HDC,const COLORADJUSTMENT*); BOOL __attribute__((__stdcall__)) SetColorSpace(HDC,HCOLORSPACE); BOOL __attribute__((__stdcall__)) SetDeviceGammaRamp(HDC,PVOID); UINT __attribute__((__stdcall__)) SetDIBColorTable(HDC,UINT,UINT,const RGBQUAD*); int __attribute__((__stdcall__)) SetDIBits(HDC,HBITMAP,UINT,UINT,PCVOID,const BITMAPINFO*,UINT); int __attribute__((__stdcall__)) SetDIBitsToDevice(HDC,int,int,DWORD,DWORD,int,int,UINT,UINT,PCVOID,const BITMAPINFO*,UINT); HENHMETAFILE __attribute__((__stdcall__)) SetEnhMetaFileBits(UINT,const BYTE*); int __attribute__((__stdcall__)) SetGraphicsMode(HDC,int); int __attribute__((__stdcall__)) SetICMMode(HDC,int); BOOL __attribute__((__stdcall__)) SetICMProfileA(HDC,LPSTR); BOOL __attribute__((__stdcall__)) SetICMProfileW(HDC,LPWSTR); int __attribute__((__stdcall__)) SetMapMode(HDC,int); DWORD __attribute__((__stdcall__)) SetMapperFlags(HDC,DWORD); HMETAFILE __attribute__((__stdcall__)) SetMetaFileBitsEx(UINT,const BYTE *); int __attribute__((__stdcall__)) SetMetaRgn(HDC); BOOL __attribute__((__stdcall__)) SetMiterLimit(HDC,FLOAT,PFLOAT); UINT __attribute__((__stdcall__)) SetPaletteEntries(HPALETTE,UINT,UINT,const PALETTEENTRY*); COLORREF __attribute__((__stdcall__)) SetPixel(HDC,int,int,COLORREF); BOOL __attribute__((__stdcall__)) SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR*); BOOL __attribute__((__stdcall__)) SetPixelV(HDC,int,int,COLORREF); int __attribute__((__stdcall__)) SetPolyFillMode(HDC,int); BOOL __attribute__((__stdcall__)) SetRectRgn(HRGN,int,int,int,int); int __attribute__((__stdcall__)) SetROP2(HDC,int); int __attribute__((__stdcall__)) SetStretchBltMode(HDC,int); UINT __attribute__((__stdcall__)) SetSystemPaletteUse(HDC,UINT); UINT __attribute__((__stdcall__)) SetTextAlign(HDC,UINT); int __attribute__((__stdcall__)) SetTextCharacterExtra(HDC,int); COLORREF __attribute__((__stdcall__)) SetTextColor(HDC,COLORREF); BOOL __attribute__((__stdcall__)) SetTextJustification(HDC,int,int); BOOL __attribute__((__stdcall__)) SetViewportExtEx(HDC,int,int,LPSIZE); BOOL __attribute__((__stdcall__)) SetViewportOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) SetWindowExtEx(HDC,int,int,LPSIZE); BOOL __attribute__((__stdcall__)) SetWindowOrgEx(HDC,int,int,LPPOINT); HENHMETAFILE __attribute__((__stdcall__)) SetWinMetaFileBits(UINT,const BYTE*,HDC,const METAFILEPICT*); BOOL __attribute__((__stdcall__)) SetWorldTransform(HDC,const XFORM *); int __attribute__((__stdcall__)) StartDocA(HDC,const DOCINFOA*); int __attribute__((__stdcall__)) StartDocW(HDC,const DOCINFOW*); int __attribute__((__stdcall__)) StartPage(HDC); BOOL __attribute__((__stdcall__)) StretchBlt(HDC,int,int,int,int,HDC,int,int,int,int,DWORD); int __attribute__((__stdcall__)) StretchDIBits(HDC,int,int,int,int,int,int,int,int,const void *,const BITMAPINFO *,UINT,DWORD); BOOL __attribute__((__stdcall__)) StrokeAndFillPath(HDC); BOOL __attribute__((__stdcall__)) StrokePath(HDC); BOOL __attribute__((__stdcall__)) SwapBuffers(HDC); BOOL __attribute__((__stdcall__)) TextOutA(HDC,int,int,LPCSTR,int); BOOL __attribute__((__stdcall__)) TextOutW(HDC,int,int,LPCWSTR,int); BOOL __attribute__((__stdcall__)) TranslateCharsetInfo(PDWORD,LPCHARSETINFO,DWORD); BOOL __attribute__((__stdcall__)) UnrealizeObject(HGDIOBJ); BOOL __attribute__((__stdcall__)) UpdateColors(HDC); BOOL __attribute__((__stdcall__)) UpdateICMRegKeyA(DWORD,DWORD,LPSTR,UINT); BOOL __attribute__((__stdcall__)) UpdateICMRegKeyW(DWORD,DWORD,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) WidenPath(HDC); BOOL __attribute__((__stdcall__)) wglCopyContext(HGLRC,HGLRC,UINT); HGLRC __attribute__((__stdcall__)) wglCreateContext(HDC); HGLRC __attribute__((__stdcall__)) wglCreateLayerContext(HDC,int); BOOL __attribute__((__stdcall__)) wglDeleteContext(HGLRC); BOOL __attribute__((__stdcall__)) wglDescribeLayerPlane(HDC,int,int,UINT,LPLAYERPLANEDESCRIPTOR); HGLRC __attribute__((__stdcall__)) wglGetCurrentContext(void); HDC __attribute__((__stdcall__)) wglGetCurrentDC(void); int __attribute__((__stdcall__)) wglGetLayerPaletteEntries(HDC,int,int,int,COLORREF*); PROC __attribute__((__stdcall__)) wglGetProcAddress(LPCSTR); BOOL __attribute__((__stdcall__)) wglMakeCurrent(HDC,HGLRC); BOOL __attribute__((__stdcall__)) wglRealizeLayerPalette(HDC,int,BOOL); int __attribute__((__stdcall__)) wglSetLayerPaletteEntries(HDC,int,int,int,const COLORREF*); BOOL __attribute__((__stdcall__)) wglShareLists(HGLRC,HGLRC); BOOL __attribute__((__stdcall__)) wglSwapLayerBuffers(HDC,UINT); BOOL __attribute__((__stdcall__)) wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT); BOOL __attribute__((__stdcall__)) wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT); # 3146 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wingdi.h" 3 typedef BYTE BCHAR; typedef DOCINFOA DOCINFO, *LPDOCINFO; typedef LOGFONTA LOGFONT,*PLOGFONT,*LPLOGFONT; typedef TEXTMETRICA TEXTMETRIC,*PTEXTMETRIC,*LPTEXTMETRIC; typedef DEVMODEA DEVMODE,*PDEVMODE,*LPDEVMODE; typedef EXTLOGFONTA EXTLOGFONT,*PEXTLOGFONT,*LPEXTLOGFONT; typedef GCP_RESULTSA GCP_RESULTS,*LPGCP_RESULTS; typedef OUTLINETEXTMETRICA OUTLINETEXTMETRIC,*POUTLINETEXTMETRIC,*LPOUTLINETEXTMETRIC; typedef POLYTEXTA POLYTEXT,*PPOLYTEXT,*LPPOLYTEXT; typedef LOGCOLORSPACEA LOGCOLORSPACE,*LPLOGCOLORSPACE; typedef NEWTEXTMETRICA NEWTEXTMETRIC,*PNEWTEXTMETRIC,*LPNEWTEXTMETRIC; typedef NEWTEXTMETRICEXA NEWTEXTMETRICEX; typedef ENUMLOGFONTA ENUMLOGFONT,*LPENUMLOGFONT; typedef ENUMLOGFONTEXA ENUMLOGFONTEX,*LPENUMLOGFONTEX; typedef DISPLAY_DEVICEA DISPLAY_DEVICE, *PDISPLAY_DEVICE, *LPDISPLAY_DEVICE; # 53 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 # 2469 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 typedef BOOL(__attribute__((__stdcall__)) *DLGPROC)(HWND,UINT,WPARAM,LPARAM); typedef void(__attribute__((__stdcall__)) *TIMERPROC)(HWND,UINT,UINT,DWORD); typedef BOOL(__attribute__((__stdcall__)) *GRAYSTRINGPROC)(HDC,LPARAM,int); typedef LRESULT(__attribute__((__stdcall__)) *HOOKPROC)(int,WPARAM,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *PROPENUMPROCA)(HWND,LPCSTR,HANDLE); typedef BOOL(__attribute__((__stdcall__)) *PROPENUMPROCW)(HWND,LPCWSTR,HANDLE); typedef BOOL(__attribute__((__stdcall__)) *PROPENUMPROCEXA)(HWND,LPSTR,HANDLE,DWORD); typedef BOOL(__attribute__((__stdcall__)) *PROPENUMPROCEXW)(HWND,LPWSTR,HANDLE,DWORD); typedef int(__attribute__((__stdcall__)) *EDITWORDBREAKPROCA)(LPSTR,int,int,int); typedef int(__attribute__((__stdcall__)) *EDITWORDBREAKPROCW)(LPWSTR,int,int,int); typedef LRESULT(__attribute__((__stdcall__)) *WNDPROC)(HWND,UINT,WPARAM,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,int,int); typedef BOOL(__attribute__((__stdcall__)) *WNDENUMPROC)(HWND,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *ENUMWINDOWSPROC)(HWND,LPARAM); typedef BOOL(__attribute__((__stdcall__))* MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *NAMEENUMPROCA)(LPSTR,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *NAMEENUMPROCW)(LPWSTR,LPARAM); typedef NAMEENUMPROCA DESKTOPENUMPROCA; typedef NAMEENUMPROCW DESKTOPENUMPROCW; typedef NAMEENUMPROCA WINSTAENUMPROCA; typedef NAMEENUMPROCW WINSTAENUMPROCW; typedef void(__attribute__((__stdcall__)) *SENDASYNCPROC)(HWND,UINT,DWORD,LRESULT); typedef struct HHOOK__{int i;}*HHOOK; typedef struct HDWP__{int i;}*HDWP; typedef struct HDEVNOTIFY__{int i;}*HDEVNOTIFY; typedef struct tagMENUGETOBJECTINFO { DWORD dwFlags; UINT uPos; HMENU hmenu; PVOID riid; PVOID pvObj; } MENUGETOBJECTINFO, *PMENUGETOBJECTINFO; typedef struct tagACCEL { BYTE fVirt; WORD key; WORD cmd; } ACCEL,*LPACCEL; typedef struct tagACCESSTIMEOUT { UINT cbSize; DWORD dwFlags; DWORD iTimeOutMSec; } ACCESSTIMEOUT, *LPACCESSTIMEOUT; typedef struct tagANIMATIONINFO { UINT cbSize; int iMinAnimate; } ANIMATIONINFO,*LPANIMATIONINFO; typedef struct tagCREATESTRUCTA { LPVOID lpCreateParams; HINSTANCE hInstance; HMENU hMenu; HWND hwndParent; int cy; int cx; int y; int x; LONG style; LPCSTR lpszName; LPCSTR lpszClass; DWORD dwExStyle; } CREATESTRUCTA,*LPCREATESTRUCTA; typedef struct tagCREATESTRUCTW { LPVOID lpCreateParams; HINSTANCE hInstance; HMENU hMenu; HWND hwndParent; int cy; int cx; int y; int x; LONG style; LPCWSTR lpszName; LPCWSTR lpszClass; DWORD dwExStyle; } CREATESTRUCTW,*LPCREATESTRUCTW; typedef struct tagCBT_CREATEWNDA { LPCREATESTRUCTA lpcs; HWND hwndInsertAfter; } CBT_CREATEWNDA, *LPCBT_CREATEWNDA; typedef struct tagCBT_CREATEWNDW { LPCREATESTRUCTW lpcs; HWND hwndInsertAfter; } CBT_CREATEWNDW, *LPCBT_CREATEWNDW; typedef struct tagCBTACTIVATESTRUCT { BOOL fMouse; HWND hWndActive; } CBTACTIVATESTRUCT,*LPCBTACTIVATESTRUCT; typedef struct tagCLIENTCREATESTRUCT { HANDLE hWindowMenu; UINT idFirstChild; } CLIENTCREATESTRUCT,*LPCLIENTCREATESTRUCT; typedef struct tagCOMPAREITEMSTRUCT { UINT CtlType; UINT CtlID; HWND hwndItem; UINT itemID1; DWORD itemData1; UINT itemID2; DWORD itemData2; DWORD dwLocaleId; } COMPAREITEMSTRUCT,*LPCOMPAREITEMSTRUCT; typedef struct tagCOPYDATASTRUCT { DWORD dwData; DWORD cbData; PVOID lpData; } COPYDATASTRUCT,*PCOPYDATASTRUCT; typedef struct tagCURSORSHAPE { int xHotSpot; int yHotSpot; int cx; int cy; int cbWidth; BYTE Planes; BYTE BitsPixel; } CURSORSHAPE,*LPCURSORSHAPE; typedef struct tagCWPRETSTRUCT { LRESULT lResult; LPARAM lParam; WPARAM wParam; DWORD message; HWND hwnd; } CWPRETSTRUCT; typedef struct tagCWPSTRUCT { LPARAM lParam; WPARAM wParam; UINT message; HWND hwnd; } CWPSTRUCT,*PCWPSTRUCT; typedef struct tagDEBUGHOOKINFO { DWORD idThread; DWORD idThreadInstaller; LPARAM lParam; WPARAM wParam; int code; } DEBUGHOOKINFO,*PDEBUGHOOKINFO,*LPDEBUGHOOKINFO; typedef struct tagDELETEITEMSTRUCT { UINT CtlType; UINT CtlID; UINT itemID; HWND hwndItem; UINT itemData; } DELETEITEMSTRUCT,*PDELETEITEMSTRUCT,*LPDELETEITEMSTRUCT; #pragma pack(push,2) typedef struct { DWORD style; DWORD dwExtendedStyle; short x; short y; short cx; short cy; WORD id; } DLGITEMTEMPLATE,*LPDLGITEMTEMPLATE; typedef struct { DWORD style; DWORD dwExtendedStyle; WORD cdit; short x; short y; short cx; short cy; } DLGTEMPLATE,*LPDLGTEMPLATE,*LPDLGTEMPLATEA,*LPDLGTEMPLATEW; typedef const DLGTEMPLATE *LPCDLGTEMPLATE; #pragma pack(pop) typedef struct tagDRAWITEMSTRUCT { UINT CtlType; UINT CtlID; UINT itemID; UINT itemAction; UINT itemState; HWND hwndItem; HDC hDC; RECT rcItem; DWORD itemData; } DRAWITEMSTRUCT,*LPDRAWITEMSTRUCT,*PDRAWITEMSTRUCT; typedef struct { UINT cbSize; int iTabLength; int iLeftMargin; int iRightMargin; UINT uiLengthDrawn; } DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS; typedef struct tagPAINTSTRUCT { HDC hdc; BOOL fErase; RECT rcPaint; BOOL fRestore; BOOL fIncUpdate; BYTE rgbReserved[32]; } PAINTSTRUCT,*LPPAINTSTRUCT; typedef struct tagMSG { HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; } MSG,*LPMSG,*PMSG; typedef struct _ICONINFO { BOOL fIcon; DWORD xHotspot; DWORD yHotspot; HBITMAP hbmMask; HBITMAP hbmColor; } ICONINFO,*PICONINFO; typedef struct tagNMHDR { HWND hwndFrom; UINT idFrom; UINT code; } NMHDR,*LPNMHDR; typedef struct _WNDCLASSA { UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCSTR lpszMenuName; LPCSTR lpszClassName; } WNDCLASSA,*LPWNDCLASSA,*PWNDCLASSA; typedef struct _WNDCLASSW { UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCWSTR lpszMenuName; LPCWSTR lpszClassName; } WNDCLASSW,*LPWNDCLASSW,*PWNDCLASSW; typedef struct _WNDCLASSEXA { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCSTR lpszMenuName; LPCSTR lpszClassName; HICON hIconSm; } WNDCLASSEXA,*LPWNDCLASSEXA,*PWNDCLASSEXA; typedef struct _WNDCLASSEXW { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCWSTR lpszMenuName; LPCWSTR lpszClassName; HICON hIconSm; } WNDCLASSEXW,*LPWNDCLASSEXW,*PWNDCLASSEXW; typedef struct tagMENUITEMINFOA { UINT cbSize; UINT fMask; UINT fType; UINT fState; UINT wID; HMENU hSubMenu; HBITMAP hbmpChecked; HBITMAP hbmpUnchecked; DWORD dwItemData; LPSTR dwTypeData; UINT cch; } MENUITEMINFOA,*LPMENUITEMINFOA; typedef const MENUITEMINFOA *LPCMENUITEMINFOA; typedef struct tagMENUITEMINFOW { UINT cbSize; UINT fMask; UINT fType; UINT fState; UINT wID; HMENU hSubMenu; HBITMAP hbmpChecked; HBITMAP hbmpUnchecked; DWORD dwItemData; LPWSTR dwTypeData; UINT cch; } MENUITEMINFOW,*LPMENUITEMINFOW; typedef const MENUITEMINFOW *LPCMENUITEMINFOW; typedef struct tagSCROLLINFO { UINT cbSize; UINT fMask; int nMin; int nMax; UINT nPage; int nPos; int nTrackPos; } SCROLLINFO,*LPSCROLLINFO; typedef const SCROLLINFO *LPCSCROLLINFO; typedef struct _WINDOWPLACEMENT { UINT length; UINT flags; UINT showCmd; POINT ptMinPosition; POINT ptMaxPosition; RECT rcNormalPosition; } WINDOWPLACEMENT,*LPWINDOWPLACEMENT,*PWINDOWPLACEMENT; typedef struct { WORD versionNumber; WORD offset; } MENUITEMTEMPLATEHEADER; typedef struct { WORD mtOption; WORD mtID; WCHAR mtString[1]; } MENUITEMTEMPLATE; typedef void MENUTEMPLATE,MENUTEMPLATEA,MENUTEMPLATEW,*LPMENUTEMPLATEA,*LPMENUTEMPLATEW,*LPMENUTEMPLATE; typedef struct tagHELPINFO { UINT cbSize; int iContextType; int iCtrlId; HANDLE hItemHandle; DWORD dwContextId; POINT MousePos; } HELPINFO,*LPHELPINFO; typedef void(__attribute__((__stdcall__)) *MSGBOXCALLBACK)(LPHELPINFO); typedef struct { UINT cbSize; HWND hwndOwner; HINSTANCE hInstance; LPCSTR lpszText; LPCSTR lpszCaption; DWORD dwStyle; LPCSTR lpszIcon; DWORD dwContextHelpId; MSGBOXCALLBACK lpfnMsgBoxCallback; DWORD dwLanguageId; } MSGBOXPARAMSA,*PMSGBOXPARAMSA,*LPMSGBOXPARAMSA; typedef struct { UINT cbSize; HWND hwndOwner; HINSTANCE hInstance; LPCWSTR lpszText; LPCWSTR lpszCaption; DWORD dwStyle; LPCWSTR lpszIcon; DWORD dwContextHelpId; MSGBOXCALLBACK lpfnMsgBoxCallback; DWORD dwLanguageId; } MSGBOXPARAMSW,*PMSGBOXPARAMSW,*LPMSGBOXPARAMSW; typedef struct tagUSEROBJECTFLAGS { BOOL fInherit; BOOL fReserved; DWORD dwFlags; } USEROBJECTFLAGS; typedef struct tagFILTERKEYS { UINT cbSize; DWORD dwFlags; DWORD iWaitMSec; DWORD iDelayMSec; DWORD iRepeatMSec; DWORD iBounceMSec; } FILTERKEYS; typedef struct tagHIGHCONTRASTA { UINT cbSize; DWORD dwFlags; LPSTR lpszDefaultScheme; } HIGHCONTRASTA,*LPHIGHCONTRASTA; typedef struct tagHIGHCONTRASTW { UINT cbSize; DWORD dwFlags; LPWSTR lpszDefaultScheme; } HIGHCONTRASTW,*LPHIGHCONTRASTW; typedef struct tagICONMETRICSA { UINT cbSize; int iHorzSpacing; int iVertSpacing; int iTitleWrap; LOGFONTA lfFont; } ICONMETRICSA,*LPICONMETRICSA; typedef struct tagICONMETRICSW { UINT cbSize; int iHorzSpacing; int iVertSpacing; int iTitleWrap; LOGFONTW lfFont; } ICONMETRICSW,*LPICONMETRICSW; typedef struct tagMINIMIZEDMETRICS { UINT cbSize; int iWidth; int iHorzGap; int iVertGap; int iArrange; } MINIMIZEDMETRICS,*LPMINIMIZEDMETRICS; typedef struct tagMOUSEKEYS{ UINT cbSize; DWORD dwFlags; DWORD iMaxSpeed; DWORD iTimeToMaxSpeed; DWORD iCtrlSpeed; DWORD dwReserved1; DWORD dwReserved2; } MOUSEKEYS,*LPMOUSEKEYS; typedef struct tagNONCLIENTMETRICSA { UINT cbSize; int iBorderWidth; int iScrollWidth; int iScrollHeight; int iCaptionWidth; int iCaptionHeight; LOGFONTA lfCaptionFont; int iSmCaptionWidth; int iSmCaptionHeight; LOGFONTA lfSmCaptionFont; int iMenuWidth; int iMenuHeight; LOGFONTA lfMenuFont; LOGFONTA lfStatusFont; LOGFONTA lfMessageFont; } NONCLIENTMETRICSA,*LPNONCLIENTMETRICSA; typedef struct tagNONCLIENTMETRICSW { UINT cbSize; int iBorderWidth; int iScrollWidth; int iScrollHeight; int iCaptionWidth; int iCaptionHeight; LOGFONTW lfCaptionFont; int iSmCaptionWidth; int iSmCaptionHeight; LOGFONTW lfSmCaptionFont; int iMenuWidth; int iMenuHeight; LOGFONTW lfMenuFont; LOGFONTW lfStatusFont; LOGFONTW lfMessageFont; } NONCLIENTMETRICSW,*LPNONCLIENTMETRICSW; typedef struct tagSERIALKEYSA { UINT cbSize; DWORD dwFlags; LPSTR lpszActivePort; LPSTR lpszPort; UINT iBaudRate; UINT iPortState; UINT iActive; } SERIALKEYSA,*LPSERIALKEYSA; typedef struct tagSERIALKEYSW { UINT cbSize; DWORD dwFlags; LPWSTR lpszActivePort; LPWSTR lpszPort; UINT iBaudRate; UINT iPortState; UINT iActive; } SERIALKEYSW,*LPSERIALKEYSW; typedef struct tagSOUNDSENTRYA { UINT cbSize; DWORD dwFlags; DWORD iFSTextEffect; DWORD iFSTextEffectMSec; DWORD iFSTextEffectColorBits; DWORD iFSGrafEffect; DWORD iFSGrafEffectMSec; DWORD iFSGrafEffectColor; DWORD iWindowsEffect; DWORD iWindowsEffectMSec; LPSTR lpszWindowsEffectDLL; DWORD iWindowsEffectOrdinal; } SOUNDSENTRYA,*LPSOUNDSENTRYA; typedef struct tagSOUNDSENTRYW { UINT cbSize; DWORD dwFlags; DWORD iFSTextEffect; DWORD iFSTextEffectMSec; DWORD iFSTextEffectColorBits; DWORD iFSGrafEffect; DWORD iFSGrafEffectMSec; DWORD iFSGrafEffectColor; DWORD iWindowsEffect; DWORD iWindowsEffectMSec; LPWSTR lpszWindowsEffectDLL; DWORD iWindowsEffectOrdinal; } SOUNDSENTRYW,*LPSOUNDSENTRYW; typedef struct tagSTICKYKEYS { DWORD cbSize; DWORD dwFlags; } STICKYKEYS,*LPSTICKYKEYS; typedef struct tagTOGGLEKEYS { DWORD cbSize; DWORD dwFlags; } TOGGLEKEYS; typedef struct tagMOUSEHOOKSTRUCT { POINT pt; HWND hwnd; UINT wHitTestCode; DWORD dwExtraInfo; } MOUSEHOOKSTRUCT,*LPMOUSEHOOKSTRUCT,*PMOUSEHOOKSTRUCT; typedef struct tagTRACKMOUSEEVENT { DWORD cbSize; DWORD dwFlags; HWND hwndTrack; DWORD dwHoverTime; } TRACKMOUSEEVENT,*LPTRACKMOUSEEVENT; typedef struct tagTPMPARAMS { UINT cbSize; RECT rcExclude; } TPMPARAMS,*LPTPMPARAMS; typedef struct tagEVENTMSG { UINT message; UINT paramL; UINT paramH; DWORD time; HWND hwnd; } EVENTMSG,*PEVENTMSGMSG,*LPEVENTMSGMSG,*PEVENTMSG,*LPEVENTMSG; typedef struct _WINDOWPOS { HWND hwnd; HWND hwndInsertAfter; int x; int y; int cx; int cy; UINT flags; } WINDOWPOS,*PWINDOWPOS,*LPWINDOWPOS; typedef struct tagNCCALCSIZE_PARAMS { RECT rgrc[3]; PWINDOWPOS lppos; } NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS; typedef struct tagMDICREATESTRUCTA { LPCSTR szClass; LPCSTR szTitle; HANDLE hOwner; int x; int y; int cx; int cy; DWORD style; LPARAM lParam; } MDICREATESTRUCTA,*LPMDICREATESTRUCTA; typedef struct tagMDICREATESTRUCTW { LPCWSTR szClass; LPCWSTR szTitle; HANDLE hOwner; int x; int y; int cx; int cy; DWORD style; LPARAM lParam; } MDICREATESTRUCTW,*LPMDICREATESTRUCTW; typedef struct tagMINMAXINFO { POINT ptReserved; POINT ptMaxSize; POINT ptMaxPosition; POINT ptMinTrackSize; POINT ptMaxTrackSize; } MINMAXINFO,*PMINMAXINFO,*LPMINMAXINFO; typedef struct tagMDINEXTMENU { HMENU hmenuIn; HMENU hmenuNext; HWND hwndNext; } MDINEXTMENU,*PMDINEXTMENU,*LPMDINEXTMENU; typedef struct tagMEASUREITEMSTRUCT { UINT CtlType; UINT CtlID; UINT itemID; UINT itemWidth; UINT itemHeight; DWORD itemData; } MEASUREITEMSTRUCT,*PMEASUREITEMSTRUCT,*LPMEASUREITEMSTRUCT; typedef struct tagDROPSTRUCT { HWND hwndSource; HWND hwndSink; DWORD wFmt; DWORD dwData; POINT ptDrop; DWORD dwControlData; } DROPSTRUCT,*PDROPSTRUCT,*LPDROPSTRUCT; typedef DWORD HELPPOLY; typedef struct tagMULTIKEYHELPA { DWORD mkSize; CHAR mkKeylist; CHAR szKeyphrase[1]; } MULTIKEYHELPA,*PMULTIKEYHELPA,*LPMULTIKEYHELPA; typedef struct tagMULTIKEYHELPW { DWORD mkSize; WCHAR mkKeylist; WCHAR szKeyphrase[1]; } MULTIKEYHELPW,*PMULTIKEYHELPW,*LPMULTIKEYHELPW; typedef struct tagHELPWININFOA { int wStructSize; int x; int y; int dx; int dy; int wMax; CHAR rgchMember[2]; } HELPWININFOA,*PHELPWININFOA,*LPHELPWININFOA; typedef struct tagHELPWININFOW { int wStructSize; int x; int y; int dx; int dy; int wMax; WCHAR rgchMember[2]; } HELPWININFOW,*PHELPWININFOW,*LPHELPWININFOW; typedef struct tagSTYLESTRUCT { DWORD styleOld; DWORD styleNew; } STYLESTRUCT,*LPSTYLESTRUCT; typedef struct tagALTTABINFO { DWORD cbSize; int cItems; int cColumns; int cRows; int iColFocus; int iRowFocus; int cxItem; int cyItem; POINT ptStart; } ALTTABINFO,*PALTTABINFO,*LPALTTABINFO; typedef struct tagCOMBOBOXINFO { DWORD cbSize; RECT rcItem; RECT rcButton; DWORD stateButton; HWND hwndCombo; HWND hwndItem; HWND hwndList; } COMBOBOXINFO,*PCOMBOBOXINFO,*LPCOMBOBOXINFO; typedef struct tagCURSORINFO { DWORD cbSize; DWORD flags; HCURSOR hCursor; POINT ptScreenPos; } CURSORINFO,*PCURSORINFO,*LPCURSORINFO; typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; HMENU hMenu; HWND hwndMenu; BOOL fBarFocused:1; BOOL fFocused:1; } MENUBARINFO,*PMENUBARINFO; typedef struct tagMENUINFO { DWORD cbSize; DWORD fMask; DWORD dwStyle; UINT cyMax; HBRUSH hbrBack; DWORD dwContextHelpID; ULONG_PTR dwMenuData; } MENUINFO,*LPMENUINFO; typedef MENUINFO const *LPCMENUINFO; typedef struct tagSCROLLBARINFO { DWORD cbSize; RECT rcScrollBar; int dxyLineButton; int xyThumbTop; int xyThumbBottom; int reserved; DWORD rgstate[5 +1]; } SCROLLBARINFO,*PSCROLLBARINFO,*LPSCROLLBARINFO; # 3150 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 typedef struct tagWINDOWINFO { DWORD cbSize; RECT rcWindow; RECT rcClient; DWORD dwStyle; DWORD dwExStyle; DWORD dwWindowStatus; UINT cxWindowBorders; UINT cyWindowBorders; ATOM atomWindowType; WORD wCreatorVersion; } WINDOWINFO,*PWINDOWINFO,*LPWINDOWINFO; typedef struct tagLASTINPUTINFO { UINT cbSize; DWORD dwTime; } LASTINPUTINFO,*PLASTINPUTINFO; typedef struct tagMONITORINFO { DWORD cbSize; RECT rcMonitor; RECT rcWork; DWORD dwFlags; } MONITORINFO,*LPMONITORINFO; # 3183 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 typedef struct tagMONITORINFOEXA { DWORD cbSize; RECT rcMonitor; RECT rcWork; DWORD dwFlags; CHAR szDevice[32]; } MONITORINFOEXA,*LPMONITORINFOEXA; typedef struct tagMONITORINFOEXW { DWORD cbSize; RECT rcMonitor; RECT rcWork; DWORD dwFlags; WCHAR szDevice[32]; } MONITORINFOEXW,*LPMONITORINFOEXW; typedef struct tagKBDLLHOOKSTRUCT { DWORD vkCode; DWORD scanCode; DWORD flags; DWORD time; DWORD dwExtraInfo; } KBDLLHOOKSTRUCT,*LPKBDLLHOOKSTRUCT,*PKBDLLHOOKSTRUCT; # 3358 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 typedef struct { POINT pt; DWORD mouseData; DWORD flags; DWORD time; ULONG_PTR dwExtraInfo; } MSLLHOOKSTRUCT, *PMSLLHOOKSTRUCT; # 3387 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 typedef const GUID *LPCGUID; # 3410 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 HKL __attribute__((__stdcall__)) ActivateKeyboardLayout(HKL,UINT); BOOL __attribute__((__stdcall__)) AdjustWindowRect(LPRECT,DWORD,BOOL); BOOL __attribute__((__stdcall__)) AdjustWindowRectEx(LPRECT,DWORD,BOOL,DWORD); BOOL __attribute__((__stdcall__)) AnyPopup(void); BOOL __attribute__((__stdcall__)) AppendMenuA(HMENU,UINT,UINT_PTR,LPCSTR); BOOL __attribute__((__stdcall__)) AppendMenuW(HMENU,UINT,UINT_PTR,LPCWSTR); UINT __attribute__((__stdcall__)) ArrangeIconicWindows(HWND); BOOL __attribute__((__stdcall__)) AttachThreadInput(DWORD,DWORD,BOOL); HDWP __attribute__((__stdcall__)) BeginDeferWindowPos(int); HDC __attribute__((__stdcall__)) BeginPaint(HWND,LPPAINTSTRUCT); BOOL __attribute__((__stdcall__)) BringWindowToTop(HWND); long __attribute__((__stdcall__)) BroadcastSystemMessage(DWORD,LPDWORD,UINT,WPARAM,LPARAM); long __attribute__((__stdcall__)) BroadcastSystemMessageA(DWORD,LPDWORD,UINT,WPARAM,LPARAM); long __attribute__((__stdcall__)) BroadcastSystemMessageW(DWORD,LPDWORD,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) CallMsgFilterA(LPMSG,INT); BOOL __attribute__((__stdcall__)) CallMsgFilterW(LPMSG,INT); LRESULT __attribute__((__stdcall__)) CallNextHookEx(HHOOK,int,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) CallWindowProcA(WNDPROC,HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) CallWindowProcW(WNDPROC,HWND,UINT,WPARAM,LPARAM); WORD __attribute__((__stdcall__)) CascadeWindows(HWND,UINT,LPCRECT,UINT,const HWND*); BOOL __attribute__((__stdcall__)) ChangeClipboardChain(HWND,HWND); LONG __attribute__((__stdcall__)) ChangeDisplaySettingsA(PDEVMODEA,DWORD); LONG __attribute__((__stdcall__)) ChangeDisplaySettingsW(PDEVMODEW,DWORD); LONG __attribute__((__stdcall__)) ChangeDisplaySettingsExA(LPCSTR,LPDEVMODEA,HWND,DWORD,LPVOID); LONG __attribute__((__stdcall__)) ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,DWORD,LPVOID); BOOL __attribute__((__stdcall__)) ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT); BOOL __attribute__((__stdcall__)) ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT); LPSTR __attribute__((__stdcall__)) CharLowerA(LPSTR); LPWSTR __attribute__((__stdcall__)) CharLowerW(LPWSTR); DWORD __attribute__((__stdcall__)) CharLowerBuffA(LPSTR,DWORD); DWORD __attribute__((__stdcall__)) CharLowerBuffW(LPWSTR,DWORD); LPSTR __attribute__((__stdcall__)) CharNextA(LPCSTR); LPWSTR __attribute__((__stdcall__)) CharNextW(LPCWSTR); LPSTR __attribute__((__stdcall__)) CharNextExA(WORD,LPCSTR,DWORD); LPSTR __attribute__((__stdcall__)) CharPrevA(LPCSTR,LPCSTR); LPWSTR __attribute__((__stdcall__)) CharPrevW(LPCWSTR,LPCWSTR); LPSTR __attribute__((__stdcall__)) CharPrevExA(WORD,LPCSTR,LPCSTR,DWORD); BOOL __attribute__((__stdcall__)) CharToOemA(LPCSTR,LPSTR); BOOL __attribute__((__stdcall__)) CharToOemW(LPCWSTR,LPSTR); BOOL __attribute__((__stdcall__)) CharToOemBuffA(LPCSTR,LPSTR,DWORD); BOOL __attribute__((__stdcall__)) CharToOemBuffW(LPCWSTR,LPSTR,DWORD); LPSTR __attribute__((__stdcall__)) CharUpperA(LPSTR); LPWSTR __attribute__((__stdcall__)) CharUpperW(LPWSTR); DWORD __attribute__((__stdcall__)) CharUpperBuffA(LPSTR,DWORD); DWORD __attribute__((__stdcall__)) CharUpperBuffW(LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) CheckDlgButton(HWND,int,UINT); DWORD __attribute__((__stdcall__)) CheckMenuItem(HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT); BOOL __attribute__((__stdcall__)) CheckRadioButton(HWND,int,int,int); HWND __attribute__((__stdcall__)) ChildWindowFromPoint(HWND,POINT); HWND __attribute__((__stdcall__)) ChildWindowFromPointEx(HWND,POINT,UINT); BOOL __attribute__((__stdcall__)) ClientToScreen(HWND,LPPOINT); BOOL __attribute__((__stdcall__)) ClipCursor(LPCRECT); BOOL __attribute__((__stdcall__)) CloseClipboard(void); BOOL __attribute__((__stdcall__)) CloseDesktop(HDESK); BOOL __attribute__((__stdcall__)) CloseWindow(HWND); BOOL __attribute__((__stdcall__)) CloseWindowStation(HWINSTA); int __attribute__((__stdcall__)) CopyAcceleratorTableA(HACCEL,LPACCEL,int); int __attribute__((__stdcall__)) CopyAcceleratorTableW(HACCEL,LPACCEL,int); HICON __attribute__((__stdcall__)) CopyIcon(HICON); HANDLE __attribute__((__stdcall__)) CopyImage(HANDLE,UINT,int,int,UINT); BOOL __attribute__((__stdcall__)) CopyRect(LPRECT,LPCRECT); int __attribute__((__stdcall__)) CountClipboardFormats(void); HACCEL __attribute__((__stdcall__)) CreateAcceleratorTableA(LPACCEL,int); HACCEL __attribute__((__stdcall__)) CreateAcceleratorTableW(LPACCEL,int); BOOL __attribute__((__stdcall__)) CreateCaret(HWND,HBITMAP,int,int); HCURSOR __attribute__((__stdcall__)) CreateCursor(HINSTANCE,int,int,int,int,PCVOID,PCVOID); HDESK __attribute__((__stdcall__)) CreateDesktopA(LPCSTR,LPCSTR,LPDEVMODEA,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); HDESK __attribute__((__stdcall__)) CreateDesktopW(LPCWSTR,LPCWSTR,LPDEVMODEW,DWORD,ACCESS_MASK,LPSECURITY_ATTRIBUTES); HWND __attribute__((__stdcall__)) CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); HWND __attribute__((__stdcall__)) CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); HWND __attribute__((__stdcall__)) CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); HWND __attribute__((__stdcall__)) CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); HICON __attribute__((__stdcall__)) CreateIcon(HINSTANCE,int,int,BYTE,BYTE,const BYTE*,const BYTE*); HICON __attribute__((__stdcall__)) CreateIconFromResource(PBYTE,DWORD,BOOL,DWORD); HICON __attribute__((__stdcall__)) CreateIconFromResourceEx(PBYTE,DWORD,BOOL,DWORD,int,int,UINT); HICON __attribute__((__stdcall__)) CreateIconIndirect(PICONINFO); HWND __attribute__((__stdcall__)) CreateMDIWindowA(LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM); HWND __attribute__((__stdcall__)) CreateMDIWindowW(LPCWSTR,LPCWSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM); HMENU __attribute__((__stdcall__)) CreateMenu(void); HMENU __attribute__((__stdcall__)) CreatePopupMenu(void); HWND __attribute__((__stdcall__)) CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID); HWND __attribute__((__stdcall__)) CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID); HWINSTA __attribute__((__stdcall__)) CreateWindowStationA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HWINSTA __attribute__((__stdcall__)) CreateWindowStationW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); LRESULT __attribute__((__stdcall__)) DefDlgProcA(HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefDlgProcW(HWND,UINT,WPARAM,LPARAM); HDWP __attribute__((__stdcall__)) DeferWindowPos(HDWP,HWND,HWND,int,int,int,int,UINT); LRESULT __attribute__((__stdcall__)) DefFrameProcA(HWND,HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefFrameProcW(HWND,HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefMDIChildProcA(HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefMDIChildProcW(HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefWindowProcA(HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefWindowProcW(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) DeleteMenu(HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) DeregisterShellHookWindow(HWND); BOOL __attribute__((__stdcall__)) DestroyAcceleratorTable(HACCEL); BOOL __attribute__((__stdcall__)) DestroyCaret(void); BOOL __attribute__((__stdcall__)) DestroyCursor(HCURSOR); BOOL __attribute__((__stdcall__)) DestroyIcon(HICON); BOOL __attribute__((__stdcall__)) DestroyMenu(HMENU); BOOL __attribute__((__stdcall__)) DestroyWindow(HWND); int __attribute__((__stdcall__)) DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); int __attribute__((__stdcall__)) DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); int __attribute__((__stdcall__)) DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); int __attribute__((__stdcall__)) DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); LONG __attribute__((__stdcall__)) DispatchMessageA(const MSG*); LONG __attribute__((__stdcall__)) DispatchMessageW(const MSG*); int __attribute__((__stdcall__)) DlgDirListA(HWND,LPSTR,int,int,UINT); int __attribute__((__stdcall__)) DlgDirListW(HWND,LPWSTR,int,int,UINT); int __attribute__((__stdcall__)) DlgDirListComboBoxA(HWND,LPSTR,int,int,UINT); int __attribute__((__stdcall__)) DlgDirListComboBoxW(HWND,LPWSTR,int,int,UINT); BOOL __attribute__((__stdcall__)) DlgDirSelectComboBoxExA(HWND,LPSTR,int,int); BOOL __attribute__((__stdcall__)) DlgDirSelectComboBoxExW(HWND,LPWSTR,int,int); BOOL __attribute__((__stdcall__)) DlgDirSelectExA(HWND,LPSTR,int,int); BOOL __attribute__((__stdcall__)) DlgDirSelectExW(HWND,LPWSTR,int,int); BOOL __attribute__((__stdcall__)) DragDetect(HWND,POINT); DWORD __attribute__((__stdcall__)) DragObject(HWND,HWND,UINT,DWORD,HCURSOR); BOOL __attribute__((__stdcall__)) DrawAnimatedRects(HWND,int,LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) DrawCaption(HWND,HDC,LPCRECT,UINT); BOOL __attribute__((__stdcall__)) DrawEdge(HDC,LPRECT,UINT,UINT); BOOL __attribute__((__stdcall__)) DrawFocusRect(HDC,LPCRECT); BOOL __attribute__((__stdcall__)) DrawFrameControl(HDC,LPRECT,UINT,UINT); BOOL __attribute__((__stdcall__)) DrawIcon(HDC,int,int,HICON); BOOL __attribute__((__stdcall__)) DrawIconEx(HDC,int,int,HICON,int,int,UINT,HBRUSH,UINT); BOOL __attribute__((__stdcall__)) DrawMenuBar(HWND); BOOL __attribute__((__stdcall__)) DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT); BOOL __attribute__((__stdcall__)) DrawStateW(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT); int __attribute__((__stdcall__)) DrawTextA(HDC,LPCSTR,int,LPRECT,UINT); int __attribute__((__stdcall__)) DrawTextW(HDC,LPCWSTR,int,LPRECT,UINT); int __attribute__((__stdcall__)) DrawTextExA(HDC,LPSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS); int __attribute__((__stdcall__)) DrawTextExW(HDC,LPWSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS); BOOL __attribute__((__stdcall__)) EmptyClipboard(void); BOOL __attribute__((__stdcall__)) EnableMenuItem(HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) EnableScrollBar(HWND,UINT,UINT); BOOL __attribute__((__stdcall__)) EnableWindow(HWND,BOOL); BOOL __attribute__((__stdcall__)) EndDeferWindowPos(HDWP); BOOL __attribute__((__stdcall__)) EndDialog(HWND,int); BOOL __attribute__((__stdcall__)) EndMenu(void); BOOL __attribute__((__stdcall__)) EndPaint(HWND,const PAINTSTRUCT*); BOOL __attribute__((__stdcall__)) EnumChildWindows(HWND,ENUMWINDOWSPROC,LPARAM); UINT __attribute__((__stdcall__)) EnumClipboardFormats(UINT); BOOL __attribute__((__stdcall__)) EnumDesktopsA(HWINSTA,DESKTOPENUMPROCA,LPARAM); BOOL __attribute__((__stdcall__)) EnumDesktopsW(HWINSTA,DESKTOPENUMPROCW,LPARAM); BOOL __attribute__((__stdcall__)) EnumDesktopWindows(HDESK,ENUMWINDOWSPROC,LPARAM); BOOL __attribute__((__stdcall__)) EnumDisplayMonitors(HDC,LPCRECT,MONITORENUMPROC,LPARAM); BOOL __attribute__((__stdcall__)) EnumDisplaySettingsA(LPCSTR,DWORD,PDEVMODEA); BOOL __attribute__((__stdcall__)) EnumDisplaySettingsW(LPCWSTR,DWORD,PDEVMODEW); BOOL __attribute__((__stdcall__)) EnumDisplayDevicesA(LPCSTR,DWORD,PDISPLAY_DEVICEA,DWORD); BOOL __attribute__((__stdcall__)) EnumDisplayDevicesW(LPCWSTR,DWORD,PDISPLAY_DEVICEW,DWORD); int __attribute__((__stdcall__)) EnumPropsA(HWND,PROPENUMPROCA); int __attribute__((__stdcall__)) EnumPropsW(HWND,PROPENUMPROCW); int __attribute__((__stdcall__)) EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM); int __attribute__((__stdcall__)) EnumPropsExW(HWND,PROPENUMPROCEXW,LPARAM); BOOL __attribute__((__stdcall__)) EnumThreadWindows(DWORD,WNDENUMPROC,LPARAM); BOOL __attribute__((__stdcall__)) EnumWindows(WNDENUMPROC,LPARAM); BOOL __attribute__((__stdcall__)) EnumWindowStationsA(WINSTAENUMPROCA,LPARAM); BOOL __attribute__((__stdcall__)) EnumWindowStationsW(WINSTAENUMPROCW,LPARAM); BOOL __attribute__((__stdcall__)) EqualRect(LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) ExitWindowsEx(UINT,DWORD); HWND __attribute__((__stdcall__)) FindWindowA(LPCSTR,LPCSTR); HWND __attribute__((__stdcall__)) FindWindowExA(HWND,HWND,LPCSTR,LPCSTR); HWND __attribute__((__stdcall__)) FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR); HWND __attribute__((__stdcall__)) FindWindowW(LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) FlashWindow(HWND,BOOL); int __attribute__((__stdcall__)) FrameRect(HDC,LPCRECT,HBRUSH); BOOL __attribute__((__stdcall__)) FrameRgn(HDC,HRGN,HBRUSH,int,int); HWND __attribute__((__stdcall__)) GetActiveWindow(void); HWND __attribute__((__stdcall__)) GetAncestor(HWND,UINT); SHORT __attribute__((__stdcall__)) GetAsyncKeyState(int); HWND __attribute__((__stdcall__)) GetCapture(void); UINT __attribute__((__stdcall__)) GetCaretBlinkTime(void); BOOL __attribute__((__stdcall__)) GetCaretPos(LPPOINT); BOOL __attribute__((__stdcall__)) GetClassInfoA(HINSTANCE,LPCSTR,LPWNDCLASSA); BOOL __attribute__((__stdcall__)) GetClassInfoExA(HINSTANCE,LPCSTR,LPWNDCLASSEXA); BOOL __attribute__((__stdcall__)) GetClassInfoW(HINSTANCE,LPCWSTR,LPWNDCLASSW); BOOL __attribute__((__stdcall__)) GetClassInfoExW(HINSTANCE,LPCWSTR,LPWNDCLASSEXW); DWORD __attribute__((__stdcall__)) GetClassLongA(HWND,int); DWORD __attribute__((__stdcall__)) GetClassLongW(HWND,int); int __attribute__((__stdcall__)) GetClassNameA(HWND,LPSTR,int); int __attribute__((__stdcall__)) GetClassNameW(HWND,LPWSTR,int); WORD __attribute__((__stdcall__)) GetClassWord(HWND,int); BOOL __attribute__((__stdcall__)) GetClientRect(HWND,LPRECT); HANDLE __attribute__((__stdcall__)) GetClipboardData(UINT); int __attribute__((__stdcall__)) GetClipboardFormatNameA(UINT,LPSTR,int); int __attribute__((__stdcall__)) GetClipboardFormatNameW(UINT,LPWSTR,int); HWND __attribute__((__stdcall__)) GetClipboardOwner(void); HWND __attribute__((__stdcall__)) GetClipboardViewer(void); BOOL __attribute__((__stdcall__)) GetClipCursor(LPRECT); BOOL __attribute__((__stdcall__)) GetCursorPos(LPPOINT); HDC __attribute__((__stdcall__)) GetDC(HWND); HDC __attribute__((__stdcall__)) GetDCEx(HWND,HRGN,DWORD); HWND __attribute__((__stdcall__)) GetDesktopWindow(void); long __attribute__((__stdcall__)) GetDialogBaseUnits(void); int __attribute__((__stdcall__)) GetDlgCtrlID(HWND); HWND __attribute__((__stdcall__)) GetDlgItem(HWND,int); UINT __attribute__((__stdcall__)) GetDlgItemInt(HWND,int,PBOOL,BOOL); UINT __attribute__((__stdcall__)) GetDlgItemTextA(HWND,int,LPSTR,int); UINT __attribute__((__stdcall__)) GetDlgItemTextW(HWND,int,LPWSTR,int); UINT __attribute__((__stdcall__)) GetDoubleClickTime(void); HWND __attribute__((__stdcall__)) GetFocus(void); HWND __attribute__((__stdcall__)) GetForegroundWindow(void); BOOL __attribute__((__stdcall__)) GetIconInfo(HICON,PICONINFO); BOOL __attribute__((__stdcall__)) GetInputState(void); UINT __attribute__((__stdcall__)) GetKBCodePage(void); HKL __attribute__((__stdcall__)) GetKeyboardLayout(DWORD); UINT __attribute__((__stdcall__)) GetKeyboardLayoutList(int,HKL*); BOOL __attribute__((__stdcall__)) GetKeyboardLayoutNameA(LPSTR); BOOL __attribute__((__stdcall__)) GetKeyboardLayoutNameW(LPWSTR); BOOL __attribute__((__stdcall__)) GetKeyboardState(PBYTE); int __attribute__((__stdcall__)) GetKeyboardType(int); int __attribute__((__stdcall__)) GetKeyNameTextA(LONG,LPSTR,int); int __attribute__((__stdcall__)) GetKeyNameTextW(LONG,LPWSTR,int); SHORT __attribute__((__stdcall__)) GetKeyState(int); HWND __attribute__((__stdcall__)) GetLastActivePopup(HWND); HMENU __attribute__((__stdcall__)) GetMenu(HWND); LONG __attribute__((__stdcall__)) GetMenuCheckMarkDimensions(void); DWORD __attribute__((__stdcall__)) GetMenuContextHelpId(HMENU); UINT __attribute__((__stdcall__)) GetMenuDefaultItem(HMENU,UINT,UINT); int __attribute__((__stdcall__)) GetMenuItemCount(HMENU); UINT __attribute__((__stdcall__)) GetMenuItemID(HMENU,int); BOOL __attribute__((__stdcall__)) GetMenuItemInfoA(HMENU,UINT,BOOL,LPMENUITEMINFOA); BOOL __attribute__((__stdcall__)) GetMenuItemInfoW(HMENU,UINT,BOOL,LPMENUITEMINFOW); BOOL __attribute__((__stdcall__)) GetMenuItemRect(HWND,HMENU,UINT,LPRECT); UINT __attribute__((__stdcall__)) GetMenuState(HMENU,UINT,UINT); int __attribute__((__stdcall__)) GetMenuStringA(HMENU,UINT,LPSTR,int,UINT); int __attribute__((__stdcall__)) GetMenuStringW(HMENU,UINT,LPWSTR,int,UINT); BOOL __attribute__((__stdcall__)) GetMessageA(LPMSG,HWND,UINT,UINT); BOOL __attribute__((__stdcall__)) GetMessageW(LPMSG,HWND,UINT,UINT); LONG __attribute__((__stdcall__)) GetMessageExtraInfo(void); DWORD __attribute__((__stdcall__)) GetMessagePos(void); LONG __attribute__((__stdcall__)) GetMessageTime(void); HWND __attribute__((__stdcall__)) GetNextDlgGroupItem(HWND,HWND,BOOL); HWND __attribute__((__stdcall__)) GetNextDlgTabItem(HWND,HWND,BOOL); HWND __attribute__((__stdcall__)) GetOpenClipboardWindow(void); HWND __attribute__((__stdcall__)) GetParent(HWND); int __attribute__((__stdcall__)) GetPriorityClipboardFormat(UINT*,int); HANDLE __attribute__((__stdcall__)) GetPropA(HWND,LPCSTR); HANDLE __attribute__((__stdcall__)) GetPropW(HWND,LPCWSTR); # 3721 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 DWORD __attribute__((__stdcall__)) GetQueueStatus(UINT); BOOL __attribute__((__stdcall__)) GetScrollInfo(HWND,int,LPSCROLLINFO); int __attribute__((__stdcall__)) GetScrollPos(HWND,int); BOOL __attribute__((__stdcall__)) GetScrollRange(HWND,int,LPINT,LPINT); HMENU __attribute__((__stdcall__)) GetSubMenu(HMENU,int); DWORD __attribute__((__stdcall__)) GetSysColor(int); HBRUSH __attribute__((__stdcall__)) GetSysColorBrush(int); HMENU __attribute__((__stdcall__)) GetSystemMenu(HWND,BOOL); int __attribute__((__stdcall__)) GetSystemMetrics(int); DWORD __attribute__((__stdcall__)) GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT); DWORD __attribute__((__stdcall__)) GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT); LONG __attribute__((__stdcall__)) GetWindowLongA(HWND,int); LONG __attribute__((__stdcall__)) GetWindowLongW(HWND,int); HDESK __attribute__((__stdcall__)) GetThreadDesktop(DWORD); HWND __attribute__((__stdcall__)) GetTopWindow(HWND); BOOL __attribute__((__stdcall__)) GetUpdateRect(HWND,LPRECT,BOOL); int __attribute__((__stdcall__)) GetUpdateRgn(HWND,HRGN,BOOL); BOOL __attribute__((__stdcall__)) GetUserObjectInformationA(HANDLE,int,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetUserObjectInformationW(HANDLE,int,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); HWND __attribute__((__stdcall__)) GetWindow(HWND,UINT); DWORD __attribute__((__stdcall__)) GetWindowContextHelpId(HWND); HDC __attribute__((__stdcall__)) GetWindowDC(HWND); BOOL __attribute__((__stdcall__)) GetWindowPlacement(HWND,WINDOWPLACEMENT*); BOOL __attribute__((__stdcall__)) GetWindowRect(HWND,LPRECT); int __attribute__((__stdcall__)) GetWindowRgn(HWND,HRGN); int __attribute__((__stdcall__)) GetWindowTextA(HWND,LPSTR,int); int __attribute__((__stdcall__)) GetWindowTextLengthA(HWND); int __attribute__((__stdcall__)) GetWindowTextLengthW(HWND); int __attribute__((__stdcall__)) GetWindowTextW(HWND,LPWSTR,int); WORD __attribute__((__stdcall__)) GetWindowWord(HWND,int); BOOL __attribute__((__stdcall__)) GetAltTabInfoA(HWND,int,PALTTABINFO,LPSTR,UINT); BOOL __attribute__((__stdcall__)) GetAltTabInfoW(HWND,int,PALTTABINFO,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) GetComboBoxInfo(HWND,PCOMBOBOXINFO); BOOL __attribute__((__stdcall__)) GetCursorInfo(PCURSORINFO); BOOL __attribute__((__stdcall__)) GetLastInputInfo(PLASTINPUTINFO); DWORD __attribute__((__stdcall__)) GetListBoxInfo(HWND); BOOL __attribute__((__stdcall__)) GetMenuBarInfo(HWND,LONG,LONG,PMENUBARINFO); BOOL __attribute__((__stdcall__)) GetMenuInfo(HMENU,LPMENUINFO); BOOL __attribute__((__stdcall__)) GetScrollBarInfo(HWND,LONG,PSCROLLBARINFO); BOOL __attribute__((__stdcall__)) GetWindowInfo(HWND,PWINDOWINFO); BOOL __attribute__((__stdcall__)) GetMonitorInfoA(HMONITOR,LPMONITORINFO); BOOL __attribute__((__stdcall__)) GetMonitorInfoW(HMONITOR,LPMONITORINFO); UINT __attribute__((__stdcall__)) GetWindowModuleFileNameA(HWND,LPSTR,UINT); UINT __attribute__((__stdcall__)) GetWindowModuleFileNameW(HWND,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) GrayStringA(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int); BOOL __attribute__((__stdcall__)) GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int); BOOL __attribute__((__stdcall__)) HideCaret(HWND); BOOL __attribute__((__stdcall__)) HiliteMenuItem(HWND,HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) InflateRect(LPRECT,int,int); BOOL __attribute__((__stdcall__)) InSendMessage(void); BOOL __attribute__((__stdcall__)) InsertMenuA(HMENU,UINT,UINT,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) InsertMenuW(HMENU,UINT,UINT,UINT,LPCWSTR); BOOL __attribute__((__stdcall__)) InsertMenuItemA(HMENU,UINT,BOOL,LPCMENUITEMINFOA); BOOL __attribute__((__stdcall__)) InsertMenuItemW(HMENU,UINT,BOOL,LPCMENUITEMINFOW); INT __attribute__((__stdcall__)) InternalGetWindowText(HWND,LPWSTR,INT); BOOL __attribute__((__stdcall__)) IntersectRect(LPRECT,LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) InvalidateRect(HWND,LPCRECT,BOOL); BOOL __attribute__((__stdcall__)) InvalidateRgn(HWND,HRGN,BOOL); BOOL __attribute__((__stdcall__)) InvertRect(HDC,LPCRECT); BOOL __attribute__((__stdcall__)) IsCharAlphaA(CHAR ch); BOOL __attribute__((__stdcall__)) IsCharAlphaNumericA(CHAR); BOOL __attribute__((__stdcall__)) IsCharAlphaNumericW(WCHAR); BOOL __attribute__((__stdcall__)) IsCharAlphaW(WCHAR); BOOL __attribute__((__stdcall__)) IsCharLowerA(CHAR); BOOL __attribute__((__stdcall__)) IsCharLowerW(WCHAR); BOOL __attribute__((__stdcall__)) IsCharUpperA(CHAR); BOOL __attribute__((__stdcall__)) IsCharUpperW(WCHAR); BOOL __attribute__((__stdcall__)) IsChild(HWND,HWND); BOOL __attribute__((__stdcall__)) IsClipboardFormatAvailable(UINT); BOOL __attribute__((__stdcall__)) IsDialogMessageA(HWND,LPMSG); BOOL __attribute__((__stdcall__)) IsDialogMessageW(HWND,LPMSG); UINT __attribute__((__stdcall__)) IsDlgButtonChecked(HWND,int); BOOL __attribute__((__stdcall__)) IsIconic(HWND); BOOL __attribute__((__stdcall__)) IsMenu(HMENU); BOOL __attribute__((__stdcall__)) IsRectEmpty(LPCRECT); BOOL __attribute__((__stdcall__)) IsWindow(HWND); BOOL __attribute__((__stdcall__)) IsWindowEnabled(HWND); BOOL __attribute__((__stdcall__)) IsWindowUnicode(HWND); BOOL __attribute__((__stdcall__)) IsWindowVisible(HWND); BOOL __attribute__((__stdcall__)) IsZoomed(HWND); void __attribute__((__stdcall__)) keybd_event(BYTE,BYTE,DWORD,DWORD); BOOL __attribute__((__stdcall__)) KillTimer(HWND,UINT); HACCEL __attribute__((__stdcall__)) LoadAcceleratorsA(HINSTANCE,LPCSTR); HACCEL __attribute__((__stdcall__)) LoadAcceleratorsW(HINSTANCE,LPCWSTR); HBITMAP __attribute__((__stdcall__)) LoadBitmapA(HINSTANCE,LPCSTR); HBITMAP __attribute__((__stdcall__)) LoadBitmapW(HINSTANCE,LPCWSTR); HCURSOR __attribute__((__stdcall__)) LoadCursorA(HINSTANCE,LPCSTR); HCURSOR __attribute__((__stdcall__)) LoadCursorFromFileA(LPCSTR); HCURSOR __attribute__((__stdcall__)) LoadCursorFromFileW(LPCWSTR); HCURSOR __attribute__((__stdcall__)) LoadCursorW(HINSTANCE,LPCWSTR); HICON __attribute__((__stdcall__)) LoadIconA(HINSTANCE,LPCSTR); HICON __attribute__((__stdcall__)) LoadIconW(HINSTANCE,LPCWSTR); HANDLE __attribute__((__stdcall__)) LoadImageA(HINSTANCE,LPCSTR,UINT,int,int,UINT); HANDLE __attribute__((__stdcall__)) LoadImageW(HINSTANCE,LPCWSTR,UINT,int,int,UINT); HKL __attribute__((__stdcall__)) LoadKeyboardLayoutA(LPCSTR,UINT); HKL __attribute__((__stdcall__)) LoadKeyboardLayoutW(LPCWSTR,UINT); HMENU __attribute__((__stdcall__)) LoadMenuA(HINSTANCE,LPCSTR); HMENU __attribute__((__stdcall__)) LoadMenuIndirectA(const MENUTEMPLATE*); HMENU __attribute__((__stdcall__)) LoadMenuIndirectW(const MENUTEMPLATE*); HMENU __attribute__((__stdcall__)) LoadMenuW(HINSTANCE,LPCWSTR); int __attribute__((__stdcall__)) LoadStringA(HINSTANCE,UINT,LPSTR,int); int __attribute__((__stdcall__)) LoadStringW(HINSTANCE,UINT,LPWSTR,int); BOOL __attribute__((__stdcall__)) LockWindowUpdate(HWND); int __attribute__((__stdcall__)) LookupIconIdFromDirectory(PBYTE,BOOL); int __attribute__((__stdcall__)) LookupIconIdFromDirectoryEx(PBYTE,BOOL,int,int,UINT); BOOL __attribute__((__stdcall__)) MapDialogRect(HWND,LPRECT); UINT __attribute__((__stdcall__)) MapVirtualKeyA(UINT,UINT); UINT __attribute__((__stdcall__)) MapVirtualKeyExA(UINT,UINT,HKL); UINT __attribute__((__stdcall__)) MapVirtualKeyExW(UINT,UINT,HKL); UINT __attribute__((__stdcall__)) MapVirtualKeyW(UINT,UINT); int __attribute__((__stdcall__)) MapWindowPoints(HWND,HWND,LPPOINT,UINT); int __attribute__((__stdcall__)) MenuItemFromPoint(HWND,HMENU,POINT); BOOL __attribute__((__stdcall__)) MessageBeep(UINT); int __attribute__((__stdcall__)) MessageBoxA(HWND,LPCSTR,LPCSTR,UINT); int __attribute__((__stdcall__)) MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT); int __attribute__((__stdcall__)) MessageBoxExA(HWND,LPCSTR,LPCSTR,UINT,WORD); int __attribute__((__stdcall__)) MessageBoxExW(HWND,LPCWSTR,LPCWSTR,UINT,WORD); int __attribute__((__stdcall__)) MessageBoxIndirectA(const MSGBOXPARAMSA*); int __attribute__((__stdcall__)) MessageBoxIndirectW(const MSGBOXPARAMSW*); BOOL __attribute__((__stdcall__)) ModifyMenuA(HMENU,UINT,UINT,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) ModifyMenuW(HMENU,UINT,UINT,UINT,LPCWSTR); void __attribute__((__stdcall__)) mouse_event(DWORD,DWORD,DWORD,DWORD,ULONG_PTR); BOOL __attribute__((__stdcall__)) MoveWindow(HWND,int,int,int,int,BOOL); DWORD __attribute__((__stdcall__)) MsgWaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD,DWORD); DWORD __attribute__((__stdcall__)) MsgWaitForMultipleObjectsEx(DWORD,const HANDLE*,DWORD,DWORD,DWORD); DWORD __attribute__((__stdcall__)) OemKeyScan(WORD); BOOL __attribute__((__stdcall__)) OemToCharA(LPCSTR,LPSTR); BOOL __attribute__((__stdcall__)) OemToCharBuffA(LPCSTR,LPSTR,DWORD); BOOL __attribute__((__stdcall__)) OemToCharBuffW(LPCSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) OemToCharW(LPCSTR,LPWSTR); BOOL __attribute__((__stdcall__)) OffsetRect(LPRECT,int,int); BOOL __attribute__((__stdcall__)) OpenClipboard(HWND); HDESK __attribute__((__stdcall__)) OpenDesktopA(LPSTR,DWORD,BOOL,DWORD); HDESK __attribute__((__stdcall__)) OpenDesktopW(LPWSTR,DWORD,BOOL,DWORD); BOOL __attribute__((__stdcall__)) OpenIcon(HWND); HDESK __attribute__((__stdcall__)) OpenInputDesktop(DWORD,BOOL,DWORD); HWINSTA __attribute__((__stdcall__)) OpenWindowStationA(LPSTR,BOOL,DWORD); HWINSTA __attribute__((__stdcall__)) OpenWindowStationW(LPWSTR,BOOL,DWORD); BOOL __attribute__((__stdcall__)) PaintDesktop(HDC); BOOL __attribute__((__stdcall__)) PeekMessageA(LPMSG,HWND,UINT,UINT,UINT); BOOL __attribute__((__stdcall__)) PeekMessageW(LPMSG,HWND,UINT,UINT,UINT); BOOL __attribute__((__stdcall__)) PostMessageA(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) PostMessageW(HWND,UINT,WPARAM,LPARAM); void __attribute__((__stdcall__)) PostQuitMessage(int); BOOL __attribute__((__stdcall__)) PostThreadMessageA(DWORD,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) PostThreadMessageW(DWORD,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) PtInRect(LPCRECT,POINT); HWND __attribute__((__stdcall__)) RealChildWindowFromPoint(HWND,POINT); UINT __attribute__((__stdcall__)) RealGetWindowClassA(HWND,LPSTR,UINT); UINT __attribute__((__stdcall__)) RealGetWindowClassW(HWND,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) RedrawWindow(HWND,LPCRECT,HRGN,UINT); ATOM __attribute__((__stdcall__)) RegisterClassA(const WNDCLASSA*); ATOM __attribute__((__stdcall__)) RegisterClassW(const WNDCLASSW*); ATOM __attribute__((__stdcall__)) RegisterClassExA(const WNDCLASSEXA*); ATOM __attribute__((__stdcall__)) RegisterClassExW(const WNDCLASSEXW*); UINT __attribute__((__stdcall__)) RegisterClipboardFormatA(LPCSTR); UINT __attribute__((__stdcall__)) RegisterClipboardFormatW(LPCWSTR); BOOL __attribute__((__stdcall__)) RegisterHotKey(HWND,int,UINT,UINT); UINT __attribute__((__stdcall__)) RegisterWindowMessageA(LPCSTR); UINT __attribute__((__stdcall__)) RegisterWindowMessageW(LPCWSTR); BOOL __attribute__((__stdcall__)) ReleaseCapture(void); int __attribute__((__stdcall__)) ReleaseDC(HWND,HDC); BOOL __attribute__((__stdcall__)) RemoveMenu(HMENU,UINT,UINT); HANDLE __attribute__((__stdcall__)) RemovePropA(HWND,LPCSTR); HANDLE __attribute__((__stdcall__)) RemovePropW(HWND,LPCWSTR); BOOL __attribute__((__stdcall__)) ReplyMessage(LRESULT); BOOL __attribute__((__stdcall__)) ScreenToClient(HWND,LPPOINT); BOOL __attribute__((__stdcall__)) ScrollDC(HDC,int,int,LPCRECT,LPCRECT,HRGN,LPRECT); BOOL __attribute__((__stdcall__)) ScrollWindow(HWND,int,int,LPCRECT,LPCRECT); int __attribute__((__stdcall__)) ScrollWindowEx(HWND,int,int,LPCRECT,LPCRECT,HRGN,LPRECT,UINT); LONG __attribute__((__stdcall__)) SendDlgItemMessageA(HWND,int,UINT,WPARAM,LPARAM); LONG __attribute__((__stdcall__)) SendDlgItemMessageW(HWND,int,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) SendMessageA(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,DWORD); BOOL __attribute__((__stdcall__)) SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,DWORD); LRESULT __attribute__((__stdcall__)) SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD); LRESULT __attribute__((__stdcall__)) SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD); LRESULT __attribute__((__stdcall__)) SendMessageW(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) SendNotifyMessageW(HWND,UINT,WPARAM,LPARAM); HWND __attribute__((__stdcall__)) SetActiveWindow(HWND); HWND __attribute__((__stdcall__)) SetCapture(HWND hWnd); BOOL __attribute__((__stdcall__)) SetCaretBlinkTime(UINT); BOOL __attribute__((__stdcall__)) SetCaretPos(int,int); DWORD __attribute__((__stdcall__)) SetClassLongA(HWND,int,LONG); DWORD __attribute__((__stdcall__)) SetClassLongW(HWND,int,LONG); WORD __attribute__((__stdcall__)) SetClassWord(HWND,int,WORD); HANDLE __attribute__((__stdcall__)) SetClipboardData(UINT,HANDLE); HWND __attribute__((__stdcall__)) SetClipboardViewer(HWND); HCURSOR __attribute__((__stdcall__)) SetCursor(HCURSOR); BOOL __attribute__((__stdcall__)) SetCursorPos(int,int); void __attribute__((__stdcall__)) SetDebugErrorLevel(DWORD); BOOL __attribute__((__stdcall__)) SetDlgItemInt(HWND,int,UINT,BOOL); BOOL __attribute__((__stdcall__)) SetDlgItemTextA(HWND,int,LPCSTR); BOOL __attribute__((__stdcall__)) SetDlgItemTextW(HWND,int,LPCWSTR); BOOL __attribute__((__stdcall__)) SetDoubleClickTime(UINT); HWND __attribute__((__stdcall__)) SetFocus(HWND); BOOL __attribute__((__stdcall__)) SetForegroundWindow(HWND); BOOL __attribute__((__stdcall__)) SetKeyboardState(PBYTE); BOOL __attribute__((__stdcall__)) SetMenu(HWND,HMENU); BOOL __attribute__((__stdcall__)) SetMenuContextHelpId(HMENU,DWORD); BOOL __attribute__((__stdcall__)) SetMenuDefaultItem(HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) SetMenuInfo(HMENU,LPCMENUINFO); BOOL __attribute__((__stdcall__)) SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP); BOOL __attribute__((__stdcall__)) SetMenuItemInfoA(HMENU,UINT,BOOL,LPCMENUITEMINFOA); BOOL __attribute__((__stdcall__)) SetMenuItemInfoW( HMENU,UINT,BOOL,LPCMENUITEMINFOW); LPARAM __attribute__((__stdcall__)) SetMessageExtraInfo(LPARAM); BOOL __attribute__((__stdcall__)) SetMessageQueue(int); HWND __attribute__((__stdcall__)) SetParent(HWND,HWND); BOOL __attribute__((__stdcall__)) SetProcessWindowStation(HWINSTA); BOOL __attribute__((__stdcall__)) SetPropA(HWND,LPCSTR,HANDLE); BOOL __attribute__((__stdcall__)) SetPropW(HWND,LPCWSTR,HANDLE); BOOL __attribute__((__stdcall__)) SetRect(LPRECT,int,int,int,int); BOOL __attribute__((__stdcall__)) SetRectEmpty(LPRECT); int __attribute__((__stdcall__)) SetScrollInfo(HWND,int,LPCSCROLLINFO,BOOL); int __attribute__((__stdcall__)) SetScrollPos(HWND,int,int,BOOL); BOOL __attribute__((__stdcall__)) SetScrollRange(HWND,int,int,int,BOOL); BOOL __attribute__((__stdcall__)) SetSysColors(int,const INT *,const COLORREF *); BOOL __attribute__((__stdcall__)) SetSystemCursor(HCURSOR,DWORD); BOOL __attribute__((__stdcall__)) SetThreadDesktop(HDESK); UINT __attribute__((__stdcall__)) SetTimer(HWND,UINT,UINT,TIMERPROC); BOOL __attribute__((__stdcall__)) SetUserObjectInformationA(HANDLE,int,PVOID,DWORD); BOOL __attribute__((__stdcall__)) SetUserObjectInformationW(HANDLE,int,PVOID,DWORD); BOOL __attribute__((__stdcall__)) SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) SetWindowContextHelpId(HWND,DWORD); LONG __attribute__((__stdcall__)) SetWindowLongA(HWND,int,LONG); LONG __attribute__((__stdcall__)) SetWindowLongW(HWND,int,LONG); BOOL __attribute__((__stdcall__)) SetWindowPlacement(HWND hWnd,const WINDOWPLACEMENT*); BOOL __attribute__((__stdcall__)) SetWindowPos(HWND,HWND,int,int,int,int,UINT); int __attribute__((__stdcall__)) SetWindowRgn(HWND,HRGN,BOOL); HHOOK __attribute__((__stdcall__)) SetWindowsHookA(int,HOOKPROC); HHOOK __attribute__((__stdcall__)) SetWindowsHookW(int,HOOKPROC); HHOOK __attribute__((__stdcall__)) SetWindowsHookExA(int,HOOKPROC,HINSTANCE,DWORD); HHOOK __attribute__((__stdcall__)) SetWindowsHookExW(int,HOOKPROC,HINSTANCE,DWORD); BOOL __attribute__((__stdcall__)) SetWindowTextA(HWND,LPCSTR); BOOL __attribute__((__stdcall__)) SetWindowTextW(HWND,LPCWSTR); WORD __attribute__((__stdcall__)) SetWindowWord(HWND,int,WORD); BOOL __attribute__((__stdcall__)) ShowCaret(HWND); int __attribute__((__stdcall__)) ShowCursor(BOOL); BOOL __attribute__((__stdcall__)) ShowOwnedPopups(HWND,BOOL); BOOL __attribute__((__stdcall__)) ShowScrollBar(HWND,int,BOOL); BOOL __attribute__((__stdcall__)) ShowWindow(HWND,int); BOOL __attribute__((__stdcall__)) ShowWindowAsync(HWND,int); BOOL __attribute__((__stdcall__)) SubtractRect(LPRECT,LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) SwapMouseButton(BOOL); BOOL __attribute__((__stdcall__)) SwitchDesktop(HDESK); BOOL __attribute__((__stdcall__)) SystemParametersInfoA(UINT,UINT,PVOID,UINT); BOOL __attribute__((__stdcall__)) SystemParametersInfoW(UINT,UINT,PVOID,UINT); LONG __attribute__((__stdcall__)) TabbedTextOutA(HDC,int,int,LPCSTR,int,int,LPINT,int); LONG __attribute__((__stdcall__)) TabbedTextOutW(HDC,int,int,LPCWSTR,int,int,LPINT,int); WORD __attribute__((__stdcall__)) TileWindows(HWND,UINT,LPCRECT,UINT,const HWND *); int __attribute__((__stdcall__)) ToAscii(UINT,UINT,PBYTE,LPWORD,UINT); int __attribute__((__stdcall__)) ToAsciiEx(UINT,UINT,PBYTE,LPWORD,UINT,HKL); int __attribute__((__stdcall__)) ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT); int __attribute__((__stdcall__)) ToUnicodeEx(UINT,UINT,PBYTE,LPWSTR,int,UINT,HKL); BOOL __attribute__((__stdcall__)) TrackMouseEvent(LPTRACKMOUSEEVENT); BOOL __attribute__((__stdcall__)) TrackPopupMenu(HMENU,UINT,int,int,int,HWND,LPCRECT); BOOL __attribute__((__stdcall__)) TrackPopupMenuEx(HMENU,UINT,int,int,HWND,LPTPMPARAMS); int __attribute__((__stdcall__)) TranslateAcceleratorA(HWND,HACCEL,LPMSG); int __attribute__((__stdcall__)) TranslateAcceleratorW(HWND,HACCEL,LPMSG); BOOL __attribute__((__stdcall__)) TranslateMDISysAccel(HWND,LPMSG); BOOL __attribute__((__stdcall__)) TranslateMessage(const MSG*); BOOL __attribute__((__stdcall__)) UnhookWindowsHook(int,HOOKPROC); BOOL __attribute__((__stdcall__)) UnhookWindowsHookEx(HHOOK); BOOL __attribute__((__stdcall__)) UnionRect(LPRECT,LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) UnloadKeyboardLayout(HKL); BOOL __attribute__((__stdcall__)) UnregisterClassA(LPCSTR,HINSTANCE); BOOL __attribute__((__stdcall__)) UnregisterClassW(LPCWSTR,HINSTANCE); BOOL __attribute__((__stdcall__)) UnregisterHotKey(HWND,int); BOOL __attribute__((__stdcall__)) UpdateWindow(HWND); BOOL __attribute__((__stdcall__)) ValidateRect(HWND,LPCRECT); BOOL __attribute__((__stdcall__)) ValidateRgn(HWND,HRGN); SHORT __attribute__((__stdcall__)) VkKeyScanA(CHAR); SHORT __attribute__((__stdcall__)) VkKeyScanExA(CHAR,HKL); SHORT __attribute__((__stdcall__)) VkKeyScanExW(WCHAR,HKL); SHORT __attribute__((__stdcall__)) VkKeyScanW(WCHAR); DWORD __attribute__((__stdcall__)) WaitForInputIdle(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) WaitMessage(void); HWND __attribute__((__stdcall__)) WindowFromDC(HDC hDC); HWND __attribute__((__stdcall__)) WindowFromPoint(POINT); UINT __attribute__((__stdcall__)) WinExec(LPCSTR,UINT); BOOL __attribute__((__stdcall__)) WinHelpA(HWND,LPCSTR,UINT,DWORD); BOOL __attribute__((__stdcall__)) WinHelpW(HWND,LPCWSTR,UINT,DWORD); int __attribute__((__cdecl__)) wsprintfA(LPSTR,LPCSTR,...); int __attribute__((__cdecl__)) wsprintfW(LPWSTR,LPCWSTR,...); int __attribute__((__stdcall__)) wvsprintfA(LPSTR,LPCSTR,va_list arglist); int __attribute__((__stdcall__)) wvsprintfW(LPWSTR,LPCWSTR,va_list arglist); # 4294 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 typedef WNDCLASSA WNDCLASS,*LPWNDCLASS,*PWNDCLASS; typedef WNDCLASSEXA WNDCLASSEX,*LPWNDCLASSEX,*PWNDCLASSEX; typedef MENUITEMINFOA MENUITEMINFO,*LPMENUITEMINFO; typedef LPCMENUITEMINFOA LPCMENUITEMINFO; typedef MSGBOXPARAMSA MSGBOXPARAMS,*PMSGBOXPARAMS,*LPMSGBOXPARAMS; typedef HIGHCONTRASTA HIGHCONTRAST,*LPHIGHCONTRAST; typedef SERIALKEYSA SERIALKEYS,*LPSERIALKEYS; typedef SOUNDSENTRYA SOUNDSENTRY,*LPSOUNDSENTRY; typedef CREATESTRUCTA CREATESTRUCT, *LPCREATESTRUCT; typedef CBT_CREATEWNDA CBT_CREATEWND, *LPCBT_CREATEWND; typedef MDICREATESTRUCTA MDICREATESTRUCT,*LPMDICREATESTRUCT; typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP; typedef MONITORINFOEXA MONITORINFOEX, *LPMONITORINFOEX; # 4441 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winuser.h" 3 typedef ICONMETRICSA ICONMETRICS,*LPICONMETRICS; typedef NONCLIENTMETRICSA NONCLIENTMETRICS,*LPNONCLIENTMETRICS; # 56 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnls.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnls.h" 3 # 454 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnls.h" 3 typedef DWORD LCTYPE; typedef DWORD CALTYPE; typedef DWORD CALID; typedef DWORD LGRPID; typedef DWORD GEOID; typedef DWORD GEOTYPE; typedef DWORD GEOCLASS; typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCEXA)(LPSTR, CALID); typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCEXW)(LPWSTR, CALID); typedef BOOL (__attribute__((__stdcall__)) *LANGUAGEGROUP_ENUMPROCA)(LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR); typedef BOOL (__attribute__((__stdcall__)) *LANGUAGEGROUP_ENUMPROCW)(LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR); typedef BOOL (__attribute__((__stdcall__)) *LANGGROUPLOCALE_ENUMPROCA)(LGRPID, LCID, LPSTR, LONG_PTR); typedef BOOL (__attribute__((__stdcall__)) *LANGGROUPLOCALE_ENUMPROCW)(LGRPID, LCID, LPWSTR, LONG_PTR); typedef BOOL (__attribute__((__stdcall__)) *UILANGUAGE_ENUMPROCW)(LPWSTR, LONG_PTR); typedef BOOL (__attribute__((__stdcall__)) *UILANGUAGE_ENUMPROCA)(LPSTR, LONG_PTR); typedef BOOL (__attribute__((__stdcall__)) *LOCALE_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *LOCALE_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__)) *CODEPAGE_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *CODEPAGE_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCEXA)(LPSTR, CALID); typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCEXW)(LPWSTR, CALID); typedef BOOL (__attribute__((__stdcall__)) *TIMEFMT_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *TIMEFMT_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__)) *GEO_ENUMPROC)(GEOID); enum NLS_FUNCTION { COMPARE_STRING = 0x0001 }; typedef enum NLS_FUNCTION NLS_FUNCTION; enum SYSGEOCLASS { GEOCLASS_NATION = 16, GEOCLASS_REGION = 14 }; enum SYSGEOTYPE { GEO_NATION = 0x0001, GEO_LATITUDE = 0x0002, GEO_LONGITUDE = 0x0003, GEO_ISO2 = 0x0004, GEO_ISO3 = 0x0005, GEO_RFC1766 = 0x0006, GEO_LCID = 0x0007, GEO_FRIENDLYNAME = 0x0008, GEO_OFFICIALNAME = 0x0009, GEO_TIMEZONES = 0x000a, GEO_OFFICIALLANGUAGES = 0x000a }; typedef struct _cpinfo { UINT MaxCharSize; BYTE DefaultChar[2]; BYTE LeadByte[12]; } CPINFO,*LPCPINFO; typedef struct _cpinfoexA { UINT MaxCharSize; BYTE DefaultChar[2]; BYTE LeadByte[12]; WCHAR UnicodeDefaultChar; UINT CodePage; CHAR CodePageName[260]; } CPINFOEXA,*LPCPINFOEXA; typedef struct _cpinfoexW { UINT MaxCharSize; BYTE DefaultChar[2]; BYTE LeadByte[12]; WCHAR UnicodeDefaultChar; UINT CodePage; WCHAR CodePageName[260]; } CPINFOEXW,*LPCPINFOEXW; typedef struct _currencyfmtA { UINT NumDigits; UINT LeadingZero; UINT Grouping; LPSTR lpDecimalSep; LPSTR lpThousandSep; UINT NegativeOrder; UINT PositiveOrder; LPSTR lpCurrencySymbol; } CURRENCYFMTA,*LPCURRENCYFMTA; typedef struct _currencyfmtW { UINT NumDigits; UINT LeadingZero; UINT Grouping; LPWSTR lpDecimalSep; LPWSTR lpThousandSep; UINT NegativeOrder; UINT PositiveOrder; LPWSTR lpCurrencySymbol; } CURRENCYFMTW,*LPCURRENCYFMTW; typedef struct nlsversioninfo { DWORD dwNLSVersionInfoSize; DWORD dwNLSVersion; DWORD dwDefinedVersion; } NLSVERSIONINFO,*LPNLSVERSIONINFO; typedef struct _numberfmtA { UINT NumDigits; UINT LeadingZero; UINT Grouping; LPSTR lpDecimalSep; LPSTR lpThousandSep; UINT NegativeOrder; } NUMBERFMTA,*LPNUMBERFMTA; typedef struct _numberfmtW { UINT NumDigits; UINT LeadingZero; UINT Grouping; LPWSTR lpDecimalSep; LPWSTR lpThousandSep; UINT NegativeOrder; } NUMBERFMTW,*LPNUMBERFMTW; int __attribute__((__stdcall__)) CompareStringA(LCID,DWORD,LPCSTR,int,LPCSTR,int); int __attribute__((__stdcall__)) CompareStringW(LCID,DWORD,LPCWSTR,int,LPCWSTR,int); LCID __attribute__((__stdcall__)) ConvertDefaultLocale(LCID); BOOL __attribute__((__stdcall__)) EnumCalendarInfoA(CALINFO_ENUMPROCA,LCID,CALID,CALTYPE); BOOL __attribute__((__stdcall__)) EnumCalendarInfoW(CALINFO_ENUMPROCW,LCID,CALID,CALTYPE); BOOL __attribute__((__stdcall__)) EnumDateFormatsA(DATEFMT_ENUMPROCA,LCID,DWORD); BOOL __attribute__((__stdcall__)) EnumDateFormatsW(DATEFMT_ENUMPROCW,LCID,DWORD); BOOL __attribute__((__stdcall__)) EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD); BOOL __attribute__((__stdcall__)) EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD); BOOL __attribute__((__stdcall__)) EnumSystemGeoID(GEOCLASS,GEOID,GEO_ENUMPROC); BOOL __attribute__((__stdcall__)) EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD); BOOL __attribute__((__stdcall__)) EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD); BOOL __attribute__((__stdcall__)) EnumTimeFormatsA(TIMEFMT_ENUMPROCA,LCID,DWORD); BOOL __attribute__((__stdcall__)) EnumTimeFormatsW(TIMEFMT_ENUMPROCW,LCID,DWORD); int __attribute__((__stdcall__)) FoldStringA(DWORD,LPCSTR,int,LPSTR,int); int __attribute__((__stdcall__)) FoldStringW(DWORD,LPCWSTR,int,LPWSTR,int); UINT __attribute__((__stdcall__)) GetACP(void); int __attribute__((__stdcall__)) GetCalendarInfoA(LCID,CALID,CALTYPE,LPSTR,int,LPDWORD); int __attribute__((__stdcall__)) GetCalendarInfoW(LCID,CALID,CALTYPE,LPWSTR,int,LPDWORD); BOOL __attribute__((__stdcall__)) GetCPInfo(UINT,LPCPINFO); BOOL __attribute__((__stdcall__)) GetCPInfoExA(UINT,DWORD,LPCPINFOEXA); BOOL __attribute__((__stdcall__)) GetCPInfoExW(UINT,DWORD,LPCPINFOEXW); int __attribute__((__stdcall__)) GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,int); int __attribute__((__stdcall__)) GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,int); int __attribute__((__stdcall__)) GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,int); int __attribute__((__stdcall__)) GetDateFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,int); int __attribute__((__stdcall__)) GetGeoInfoA(GEOID,GEOTYPE,LPSTR,int,LANGID); int __attribute__((__stdcall__)) GetGeoInfoW(GEOID,GEOTYPE,LPWSTR,int,LANGID); int __attribute__((__stdcall__)) GetLocaleInfoA(LCID,LCTYPE,LPSTR,int); int __attribute__((__stdcall__)) GetLocaleInfoW(LCID,LCTYPE,LPWSTR,int); BOOL __attribute__((__stdcall__)) GetNLSVersion(NLS_FUNCTION,LCID,LPNLSVERSIONINFO); int __attribute__((__stdcall__)) GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,int); int __attribute__((__stdcall__)) GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,int); UINT __attribute__((__stdcall__)) GetOEMCP(void); BOOL __attribute__((__stdcall__)) GetStringTypeA(LCID,DWORD,LPCSTR,int,LPWORD); BOOL __attribute__((__stdcall__)) GetStringTypeW(DWORD,LPCWSTR,int,LPWORD); BOOL __attribute__((__stdcall__)) GetStringTypeExA(LCID,DWORD,LPCSTR,int,LPWORD); BOOL __attribute__((__stdcall__)) GetStringTypeExW(LCID,DWORD,LPCWSTR,int,LPWORD); LANGID __attribute__((__stdcall__)) GetSystemDefaultLangID(void); LCID __attribute__((__stdcall__)) GetSystemDefaultLCID(void); LCID __attribute__((__stdcall__)) GetThreadLocale(void); int __attribute__((__stdcall__)) GetTimeFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,int); int __attribute__((__stdcall__)) GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,int); LANGID __attribute__((__stdcall__)) GetUserDefaultLangID(void); LCID __attribute__((__stdcall__)) GetUserDefaultLCID(void); GEOID __attribute__((__stdcall__)) GetUserGeoID(GEOCLASS); BOOL __attribute__((__stdcall__)) IsDBCSLeadByte(BYTE); BOOL __attribute__((__stdcall__)) IsDBCSLeadByteEx(UINT,BYTE); BOOL __attribute__((__stdcall__)) IsNLSDefinedString(NLS_FUNCTION,DWORD,LPNLSVERSIONINFO,LPCWSTR,int); BOOL __attribute__((__stdcall__)) IsValidCodePage(UINT); BOOL __attribute__((__stdcall__)) IsValidLocale(LCID,DWORD); int __attribute__((__stdcall__)) LCMapStringA(LCID,DWORD,LPCSTR,int,LPSTR,int); int __attribute__((__stdcall__)) LCMapStringW(LCID,DWORD,LPCWSTR,int,LPWSTR,int); int __attribute__((__stdcall__)) MultiByteToWideChar(UINT,DWORD,LPCSTR,int,LPWSTR,int); int __attribute__((__stdcall__)) SetCalendarInfoA(LCID,CALID,CALTYPE,LPCSTR); int __attribute__((__stdcall__)) SetCalendarInfoW(LCID,CALID,CALTYPE,LPCWSTR); BOOL __attribute__((__stdcall__)) SetLocaleInfoA(LCID,LCTYPE,LPCSTR); BOOL __attribute__((__stdcall__)) SetLocaleInfoW(LCID,LCTYPE,LPCWSTR); BOOL __attribute__((__stdcall__)) SetThreadLocale(LCID); BOOL __attribute__((__stdcall__)) SetUserGeoID(GEOID); int __attribute__((__stdcall__)) WideCharToMultiByte(UINT,DWORD,LPCWSTR,int,LPSTR,int,LPCSTR,LPBOOL); # 698 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnls.h" 3 typedef CPINFOEXA CPINFOEX; typedef LPCPINFOEXA LPCPINFOEX; typedef CURRENCYFMTA CURRENCYFMT; typedef LPCURRENCYFMTA LPCURRENCYFMT; typedef NUMBERFMTA NUMBERFMT; typedef LPNUMBERFMTA LPNUMBERFMT; # 59 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winver.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winver.h" 3 # 85 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winver.h" 3 typedef struct tagVS_FIXEDFILEINFO { DWORD dwSignature; DWORD dwStrucVersion; DWORD dwFileVersionMS; DWORD dwFileVersionLS; DWORD dwProductVersionMS; DWORD dwProductVersionLS; DWORD dwFileFlagsMask; DWORD dwFileFlags; DWORD dwFileOS; DWORD dwFileType; DWORD dwFileSubtype; DWORD dwFileDateMS; DWORD dwFileDateLS; } VS_FIXEDFILEINFO; DWORD __attribute__((__stdcall__)) VerFindFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,PUINT,LPSTR,PUINT); DWORD __attribute__((__stdcall__)) VerFindFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT,LPWSTR,PUINT); DWORD __attribute__((__stdcall__)) VerInstallFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,PUINT); DWORD __attribute__((__stdcall__)) VerInstallFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT); DWORD __attribute__((__stdcall__)) GetFileVersionInfoSizeA(LPCSTR,PDWORD); DWORD __attribute__((__stdcall__)) GetFileVersionInfoSizeW(LPCWSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetFileVersionInfoA(LPCSTR,DWORD,DWORD,PVOID); BOOL __attribute__((__stdcall__)) GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,PVOID); DWORD __attribute__((__stdcall__)) VerLanguageNameA(DWORD,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) VerLanguageNameW(DWORD,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) VerQueryValueA(const LPVOID,LPSTR,LPVOID*,PUINT); BOOL __attribute__((__stdcall__)) VerQueryValueW(const LPVOID,LPWSTR,LPVOID*,PUINT); # 62 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnetwk.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnetwk.h" 3 # 160 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnetwk.h" 3 typedef struct _NETRESOURCEA { DWORD dwScope; DWORD dwType; DWORD dwDisplayType; DWORD dwUsage; LPSTR lpLocalName; LPSTR lpRemoteName; LPSTR lpComment ; LPSTR lpProvider; }NETRESOURCEA,*LPNETRESOURCEA; typedef struct _NETRESOURCEW { DWORD dwScope; DWORD dwType; DWORD dwDisplayType; DWORD dwUsage; LPWSTR lpLocalName; LPWSTR lpRemoteName; LPWSTR lpComment ; LPWSTR lpProvider; }NETRESOURCEW,*LPNETRESOURCEW; typedef struct _CONNECTDLGSTRUCTA{ DWORD cbStructure; HWND hwndOwner; LPNETRESOURCEA lpConnRes; DWORD dwFlags; DWORD dwDevNum; } CONNECTDLGSTRUCTA,*LPCONNECTDLGSTRUCTA; typedef struct _CONNECTDLGSTRUCTW{ DWORD cbStructure; HWND hwndOwner; LPNETRESOURCEW lpConnRes; DWORD dwFlags; DWORD dwDevNum; } CONNECTDLGSTRUCTW,*LPCONNECTDLGSTRUCTW; typedef struct _DISCDLGSTRUCTA{ DWORD cbStructure; HWND hwndOwner; LPSTR lpLocalName; LPSTR lpRemoteName; DWORD dwFlags; } DISCDLGSTRUCTA,*LPDISCDLGSTRUCTA; typedef struct _DISCDLGSTRUCTW{ DWORD cbStructure; HWND hwndOwner; LPWSTR lpLocalName; LPWSTR lpRemoteName; DWORD dwFlags; } DISCDLGSTRUCTW,*LPDISCDLGSTRUCTW; typedef struct _UNIVERSAL_NAME_INFOA { LPSTR lpUniversalName; }UNIVERSAL_NAME_INFOA,*LPUNIVERSAL_NAME_INFOA; typedef struct _UNIVERSAL_NAME_INFOW { LPWSTR lpUniversalName; }UNIVERSAL_NAME_INFOW,*LPUNIVERSAL_NAME_INFOW; typedef struct _REMOTE_NAME_INFOA { LPSTR lpUniversalName; LPSTR lpConnectionName; LPSTR lpRemainingPath; }REMOTE_NAME_INFOA,*LPREMOTE_NAME_INFOA; typedef struct _REMOTE_NAME_INFOW { LPWSTR lpUniversalName; LPWSTR lpConnectionName; LPWSTR lpRemainingPath; }REMOTE_NAME_INFOW,*LPREMOTE_NAME_INFOW; typedef struct _NETINFOSTRUCT{ DWORD cbStructure; DWORD dwProviderVersion; DWORD dwStatus; DWORD dwCharacteristics; DWORD dwHandle; WORD wNetType; DWORD dwPrinters; DWORD dwDrives; } NETINFOSTRUCT,*LPNETINFOSTRUCT; typedef UINT(__attribute__((__stdcall__)) *PFNGETPROFILEPATHA)(LPCSTR,LPSTR,UINT); typedef UINT(__attribute__((__stdcall__)) *PFNGETPROFILEPATHW)(LPCWSTR,LPWSTR,UINT); typedef UINT(__attribute__((__stdcall__)) *PFNRECONCILEPROFILEA)(LPCSTR,LPCSTR,DWORD); typedef UINT(__attribute__((__stdcall__)) *PFNRECONCILEPROFILEW)(LPCWSTR,LPCWSTR,DWORD); typedef BOOL(__attribute__((__stdcall__)) *PFNPROCESSPOLICIESA)(HWND,LPCSTR,LPCSTR,LPCSTR,DWORD); typedef BOOL(__attribute__((__stdcall__)) *PFNPROCESSPOLICIESW)(HWND,LPCWSTR,LPCWSTR,LPCWSTR,DWORD); typedef struct _NETCONNECTINFOSTRUCT{ DWORD cbStructure; DWORD dwFlags; DWORD dwSpeed; DWORD dwDelay; DWORD dwOptDataSize; } NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT; DWORD __attribute__((__stdcall__)) WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR); DWORD __attribute__((__stdcall__)) WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR); DWORD __attribute__((__stdcall__)) WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetCancelConnectionA(LPCSTR,BOOL); DWORD __attribute__((__stdcall__)) WNetCancelConnectionW(LPCWSTR,BOOL); DWORD __attribute__((__stdcall__)) WNetCancelConnection2A(LPCSTR,DWORD,BOOL); DWORD __attribute__((__stdcall__)) WNetCancelConnection2W(LPCWSTR,DWORD,BOOL); DWORD __attribute__((__stdcall__)) WNetGetConnectionA(LPCSTR,LPSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetConnectionW(LPCWSTR,LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetUseConnectionA(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD,LPSTR,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) WNetUseConnectionW(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD,LPWSTR,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) WNetSetConnectionA(LPCSTR,DWORD,PVOID); DWORD __attribute__((__stdcall__)) WNetSetConnectionW(LPCWSTR,DWORD,PVOID); DWORD __attribute__((__stdcall__)) WNetConnectionDialog(HWND,DWORD); DWORD __attribute__((__stdcall__)) WNetDisconnectDialog(HWND,DWORD); DWORD __attribute__((__stdcall__)) WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA); DWORD __attribute__((__stdcall__)) WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW); DWORD __attribute__((__stdcall__)) WNetDisconnectDialog1A(LPDISCDLGSTRUCTA); DWORD __attribute__((__stdcall__)) WNetDisconnectDialog1W(LPDISCDLGSTRUCTW); DWORD __attribute__((__stdcall__)) WNetOpenEnumA(DWORD,DWORD,DWORD,LPNETRESOURCEA,LPHANDLE); DWORD __attribute__((__stdcall__)) WNetOpenEnumW(DWORD,DWORD,DWORD,LPNETRESOURCEW,LPHANDLE); DWORD __attribute__((__stdcall__)) WNetEnumResourceA(HANDLE,PDWORD,PVOID,PDWORD); DWORD __attribute__((__stdcall__)) WNetEnumResourceW(HANDLE,PDWORD,PVOID,PDWORD); DWORD __attribute__((__stdcall__)) WNetCloseEnum(HANDLE); DWORD __attribute__((__stdcall__)) WNetGetUniversalNameA(LPCSTR,DWORD,PVOID,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetUniversalNameW(LPCWSTR,DWORD,PVOID,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetUserA(LPCSTR,LPSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetUserW(LPCWSTR,LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetProviderNameA(DWORD,LPSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetProviderNameW(DWORD,LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetNetworkInformationA(LPCSTR,LPNETINFOSTRUCT); DWORD __attribute__((__stdcall__)) WNetGetNetworkInformationW(LPCWSTR,LPNETINFOSTRUCT); DWORD __attribute__((__stdcall__)) WNetGetResourceInformationA(LPNETRESOURCEA,LPVOID,LPDWORD,LPSTR*); DWORD __attribute__((__stdcall__)) WNetGetResourceInformationW(LPNETRESOURCEW,LPVOID,LPDWORD,LPWSTR*); DWORD __attribute__((__stdcall__)) WNetGetResourceParentA(LPNETRESOURCEA,LPVOID,LPDWORD); DWORD __attribute__((__stdcall__)) WNetGetResourceParentW(LPNETRESOURCEW,LPVOID,LPDWORD); DWORD __attribute__((__stdcall__)) WNetGetLastErrorA(PDWORD,LPSTR,DWORD,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetGetLastErrorW(PDWORD,LPWSTR,DWORD,LPWSTR,DWORD); DWORD __attribute__((__stdcall__)) MultinetGetConnectionPerformanceA(LPNETRESOURCEA,LPNETCONNECTINFOSTRUCT); DWORD __attribute__((__stdcall__)) MultinetGetConnectionPerformanceW(LPNETRESOURCEW,LPNETCONNECTINFOSTRUCT); # 320 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnetwk.h" 3 typedef NETRESOURCEA NETRESOURCE,*LPNETRESOURCE; typedef CONNECTDLGSTRUCTA CONNECTDLGSTRUCT,*LPCONNECTDLGSTRUCT; typedef DISCDLGSTRUCTA DISCDLGSTRUCT,*LPDISCDLGSTRUCT; typedef UNIVERSAL_NAME_INFOA UNIVERSAL_NAME_INFO,*LPUNIVERSAL_NAME_INFO; typedef REMOTE_NAME_INFOA REMOTE_NAME_INFO,*LPREMOTE_NAME_INFO; # 65 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winreg.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winreg.h" 3 # 45 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winreg.h" 3 typedef ACCESS_MASK REGSAM; typedef struct value_entA { LPSTR ve_valuename; DWORD ve_valuelen; DWORD ve_valueptr; DWORD ve_type; } VALENTA,*PVALENTA; typedef struct value_entW { LPWSTR ve_valuename; DWORD ve_valuelen; DWORD ve_valueptr; DWORD ve_type; } VALENTW,*PVALENTW; BOOL __attribute__((__stdcall__)) AbortSystemShutdownA(LPCSTR); BOOL __attribute__((__stdcall__)) AbortSystemShutdownW(LPCWSTR); BOOL __attribute__((__stdcall__)) InitiateSystemShutdownA(LPSTR,LPSTR,DWORD,BOOL,BOOL); BOOL __attribute__((__stdcall__)) InitiateSystemShutdownW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL); LONG __attribute__((__stdcall__)) RegCloseKey(HKEY); LONG __attribute__((__stdcall__)) RegConnectRegistryA(LPCSTR,HKEY,PHKEY); LONG __attribute__((__stdcall__)) RegConnectRegistryW(LPCWSTR,HKEY,PHKEY); LONG __attribute__((__stdcall__)) RegCreateKeyA(HKEY,LPCSTR,PHKEY); LONG __attribute__((__stdcall__)) RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,PDWORD); LONG __attribute__((__stdcall__)) RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,PDWORD); LONG __attribute__((__stdcall__)) RegCreateKeyW(HKEY,LPCWSTR,PHKEY); LONG __attribute__((__stdcall__)) RegDeleteKeyA(HKEY,LPCSTR); LONG __attribute__((__stdcall__)) RegDeleteKeyW(HKEY,LPCWSTR); LONG __attribute__((__stdcall__)) RegDeleteValueA(HKEY,LPCSTR); LONG __attribute__((__stdcall__)) RegDeleteValueW(HKEY,LPCWSTR); LONG __attribute__((__stdcall__)) RegEnumKeyA(HKEY,DWORD,LPSTR,DWORD); LONG __attribute__((__stdcall__)) RegEnumKeyW(HKEY,DWORD,LPWSTR,DWORD); LONG __attribute__((__stdcall__)) RegEnumKeyExA(HKEY,DWORD,LPSTR,PDWORD,PDWORD,LPSTR,PDWORD,PFILETIME); LONG __attribute__((__stdcall__)) RegEnumKeyExW(HKEY,DWORD,LPWSTR,PDWORD,PDWORD,LPWSTR,PDWORD,PFILETIME); LONG __attribute__((__stdcall__)) RegEnumValueA(HKEY,DWORD,LPSTR,PDWORD,PDWORD,PDWORD,LPBYTE,PDWORD); LONG __attribute__((__stdcall__)) RegEnumValueW(HKEY,DWORD,LPWSTR,PDWORD,PDWORD,PDWORD,LPBYTE,PDWORD); LONG __attribute__((__stdcall__)) RegFlushKey(HKEY); LONG __attribute__((__stdcall__)) RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PDWORD); LONG __attribute__((__stdcall__)) RegLoadKeyA(HKEY,LPCSTR,LPCSTR); LONG __attribute__((__stdcall__)) RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR); LONG __attribute__((__stdcall__)) RegNotifyChangeKeyValue(HKEY,BOOL,DWORD,HANDLE,BOOL); LONG __attribute__((__stdcall__)) RegOpenKeyA(HKEY,LPCSTR,PHKEY); LONG __attribute__((__stdcall__)) RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,PHKEY); LONG __attribute__((__stdcall__)) RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY); LONG __attribute__((__stdcall__)) RegOpenKeyW(HKEY,LPCWSTR,PHKEY); LONG __attribute__((__stdcall__)) RegQueryInfoKeyA(HKEY,LPSTR,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PFILETIME); LONG __attribute__((__stdcall__)) RegQueryInfoKeyW(HKEY,LPWSTR,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PFILETIME); LONG __attribute__((__stdcall__)) RegQueryMultipleValuesA(HKEY,PVALENTA,DWORD,LPSTR,LPDWORD); LONG __attribute__((__stdcall__)) RegQueryMultipleValuesW(HKEY,PVALENTW,DWORD,LPWSTR,LPDWORD); LONG __attribute__((__stdcall__)) RegQueryValueA(HKEY,LPCSTR,LPSTR,PLONG); LONG __attribute__((__stdcall__)) RegQueryValueExA(HKEY,LPCSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); LONG __attribute__((__stdcall__)) RegQueryValueExW(HKEY,LPCWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); LONG __attribute__((__stdcall__)) RegQueryValueW(HKEY,LPCWSTR,LPWSTR,PLONG); LONG __attribute__((__stdcall__)) RegReplaceKeyA(HKEY,LPCSTR,LPCSTR,LPCSTR); LONG __attribute__((__stdcall__)) RegReplaceKeyW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR); LONG __attribute__((__stdcall__)) RegRestoreKeyA(HKEY,LPCSTR,DWORD); LONG __attribute__((__stdcall__)) RegRestoreKeyW(HKEY,LPCWSTR,DWORD); LONG __attribute__((__stdcall__)) RegSaveKeyA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES); LONG __attribute__((__stdcall__)) RegSaveKeyW(HKEY,LPCWSTR,LPSECURITY_ATTRIBUTES); LONG __attribute__((__stdcall__)) RegSetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); LONG __attribute__((__stdcall__)) RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD); LONG __attribute__((__stdcall__)) RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE*,DWORD); LONG __attribute__((__stdcall__)) RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE*,DWORD); LONG __attribute__((__stdcall__)) RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD); LONG __attribute__((__stdcall__)) RegUnLoadKeyA(HKEY,LPCSTR); LONG __attribute__((__stdcall__)) RegUnLoadKeyW(HKEY,LPCWSTR); # 143 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winreg.h" 3 typedef VALENTA VALENT,*PVALENT; # 68 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsvc.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsvc.h" 3 # 74 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsvc.h" 3 typedef struct _SERVICE_STATUS { DWORD dwServiceType; DWORD dwCurrentState; DWORD dwControlsAccepted; DWORD dwWin32ExitCode; DWORD dwServiceSpecificExitCode; DWORD dwCheckPoint; DWORD dwWaitHint; } SERVICE_STATUS,*LPSERVICE_STATUS; typedef struct _SERVICE_STATUS_PROCESS { DWORD dwServiceType; DWORD dwCurrentState; DWORD dwControlsAccepted; DWORD dwWin32ExitCode; DWORD dwServiceSpecificExitCode; DWORD dwCheckPoint; DWORD dwWaitHint; DWORD dwProcessId; DWORD dwServiceFlags; } SERVICE_STATUS_PROCESS, *LPSERVICE_STATUS_PROCESS; typedef enum _SC_STATUS_TYPE { SC_STATUS_PROCESS_INFO = 0 } SC_STATUS_TYPE; typedef enum _SC_ENUM_TYPE { SC_ENUM_PROCESS_INFO = 0 } SC_ENUM_TYPE; typedef struct _ENUM_SERVICE_STATUSA { LPSTR lpServiceName; LPSTR lpDisplayName; SERVICE_STATUS ServiceStatus; } ENUM_SERVICE_STATUSA,*LPENUM_SERVICE_STATUSA; typedef struct _ENUM_SERVICE_STATUSW { LPWSTR lpServiceName; LPWSTR lpDisplayName; SERVICE_STATUS ServiceStatus; } ENUM_SERVICE_STATUSW,*LPENUM_SERVICE_STATUSW; typedef struct _ENUM_SERVICE_STATUS_PROCESSA { LPSTR lpServiceName; LPSTR lpDisplayName; SERVICE_STATUS_PROCESS ServiceStatusProcess; } ENUM_SERVICE_STATUS_PROCESSA,*LPENUM_SERVICE_STATUS_PROCESSA; typedef struct _ENUM_SERVICE_STATUS_PROCESSW { LPWSTR lpServiceName; LPWSTR lpDisplayName; SERVICE_STATUS_PROCESS ServiceStatusProcess; } ENUM_SERVICE_STATUS_PROCESSW,*LPENUM_SERVICE_STATUS_PROCESSW; typedef struct _QUERY_SERVICE_CONFIGA { DWORD dwServiceType; DWORD dwStartType; DWORD dwErrorControl; LPSTR lpBinaryPathName; LPSTR lpLoadOrderGroup; DWORD dwTagId; LPSTR lpDependencies; LPSTR lpServiceStartName; LPSTR lpDisplayName; } QUERY_SERVICE_CONFIGA,*LPQUERY_SERVICE_CONFIGA; typedef struct _QUERY_SERVICE_CONFIGW { DWORD dwServiceType; DWORD dwStartType; DWORD dwErrorControl; LPWSTR lpBinaryPathName; LPWSTR lpLoadOrderGroup; DWORD dwTagId; LPWSTR lpDependencies; LPWSTR lpServiceStartName; LPWSTR lpDisplayName; } QUERY_SERVICE_CONFIGW,*LPQUERY_SERVICE_CONFIGW; typedef struct _QUERY_SERVICE_LOCK_STATUSA { DWORD fIsLocked; LPSTR lpLockOwner; DWORD dwLockDuration; } QUERY_SERVICE_LOCK_STATUSA,*LPQUERY_SERVICE_LOCK_STATUSA; typedef struct _QUERY_SERVICE_LOCK_STATUSW { DWORD fIsLocked; LPWSTR lpLockOwner; DWORD dwLockDuration; } QUERY_SERVICE_LOCK_STATUSW,*LPQUERY_SERVICE_LOCK_STATUSW; typedef void (__attribute__((__stdcall__)) *LPSERVICE_MAIN_FUNCTIONA)(DWORD,LPSTR*); typedef void (__attribute__((__stdcall__)) *LPSERVICE_MAIN_FUNCTIONW)(DWORD,LPWSTR*); typedef struct _SERVICE_TABLE_ENTRYA { LPSTR lpServiceName; LPSERVICE_MAIN_FUNCTIONA lpServiceProc; } SERVICE_TABLE_ENTRYA,*LPSERVICE_TABLE_ENTRYA; typedef struct _SERVICE_TABLE_ENTRYW { LPWSTR lpServiceName; LPSERVICE_MAIN_FUNCTIONW lpServiceProc; } SERVICE_TABLE_ENTRYW,*LPSERVICE_TABLE_ENTRYW; typedef struct SC_HANDLE__{int i;}*SC_HANDLE; typedef SC_HANDLE *LPSC_HANDLE; typedef PVOID SC_LOCK; typedef DWORD SERVICE_STATUS_HANDLE; typedef void(__attribute__((__stdcall__)) *LPHANDLER_FUNCTION)(DWORD); typedef DWORD (__attribute__((__stdcall__)) *LPHANDLER_FUNCTION_EX)(DWORD,DWORD,LPVOID,LPVOID); typedef struct _SERVICE_DESCRIPTIONA { LPSTR lpDescription; } SERVICE_DESCRIPTIONA,*LPSERVICE_DESCRIPTIONA; typedef struct _SERVICE_DESCRIPTIONW { LPWSTR lpDescription; } SERVICE_DESCRIPTIONW,*LPSERVICE_DESCRIPTIONW; typedef enum _SC_ACTION_TYPE { SC_ACTION_NONE = 0, SC_ACTION_RESTART = 1, SC_ACTION_REBOOT = 2, SC_ACTION_RUN_COMMAND = 3 } SC_ACTION_TYPE; typedef struct _SC_ACTION { SC_ACTION_TYPE Type; DWORD Delay; } SC_ACTION,*LPSC_ACTION; typedef struct _SERVICE_FAILURE_ACTIONSA { DWORD dwResetPeriod; LPSTR lpRebootMsg; LPSTR lpCommand; DWORD cActions; SC_ACTION * lpsaActions; } SERVICE_FAILURE_ACTIONSA,*LPSERVICE_FAILURE_ACTIONSA; typedef struct _SERVICE_FAILURE_ACTIONSW { DWORD dwResetPeriod; LPWSTR lpRebootMsg; LPWSTR lpCommand; DWORD cActions; SC_ACTION * lpsaActions; } SERVICE_FAILURE_ACTIONSW,*LPSERVICE_FAILURE_ACTIONSW; BOOL __attribute__((__stdcall__)) ChangeServiceConfigA(SC_HANDLE,DWORD,DWORD,DWORD,LPCSTR,LPCSTR,LPDWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) ChangeServiceConfigW(SC_HANDLE,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,LPDWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) ChangeServiceConfig2A(SC_HANDLE,DWORD,LPVOID); BOOL __attribute__((__stdcall__)) ChangeServiceConfig2W(SC_HANDLE,DWORD,LPVOID); BOOL __attribute__((__stdcall__)) CloseServiceHandle(SC_HANDLE); BOOL __attribute__((__stdcall__)) ControlService(SC_HANDLE,DWORD,LPSERVICE_STATUS); SC_HANDLE __attribute__((__stdcall__)) CreateServiceA(SC_HANDLE,LPCSTR,LPCSTR,DWORD,DWORD,DWORD,DWORD,LPCSTR,LPCSTR,PDWORD,LPCSTR,LPCSTR,LPCSTR); SC_HANDLE __attribute__((__stdcall__)) CreateServiceW(SC_HANDLE,LPCWSTR,LPCWSTR,DWORD,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,PDWORD,LPCWSTR,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) DeleteService(SC_HANDLE); BOOL __attribute__((__stdcall__)) EnumDependentServicesA(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUSA,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumDependentServicesW(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUSW,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumServicesStatusA(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUSA,DWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumServicesStatusW(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUSW,DWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumServicesStatusExA(SC_HANDLE,SC_ENUM_TYPE,DWORD,DWORD,LPBYTE,DWORD,LPDWORD,LPDWORD,LPDWORD,LPCSTR); BOOL __attribute__((__stdcall__)) EnumServicesStatusExW(SC_HANDLE,SC_ENUM_TYPE,DWORD,DWORD,LPBYTE,DWORD,LPDWORD,LPDWORD,LPDWORD,LPCWSTR); BOOL __attribute__((__stdcall__)) GetServiceDisplayNameA(SC_HANDLE,LPCSTR,LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetServiceDisplayNameW(SC_HANDLE,LPCWSTR,LPWSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetServiceKeyNameA(SC_HANDLE,LPCSTR,LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetServiceKeyNameW(SC_HANDLE,LPCWSTR,LPWSTR,PDWORD); SC_LOCK __attribute__((__stdcall__)) LockServiceDatabase(SC_HANDLE); BOOL __attribute__((__stdcall__)) NotifyBootConfigStatus(BOOL); SC_HANDLE __attribute__((__stdcall__)) OpenSCManagerA(LPCSTR,LPCSTR,DWORD); SC_HANDLE __attribute__((__stdcall__)) OpenSCManagerW(LPCWSTR,LPCWSTR,DWORD); SC_HANDLE __attribute__((__stdcall__)) OpenServiceA(SC_HANDLE,LPCSTR,DWORD); SC_HANDLE __attribute__((__stdcall__)) OpenServiceW(SC_HANDLE,LPCWSTR,DWORD); BOOL __attribute__((__stdcall__)) QueryServiceConfigA(SC_HANDLE,LPQUERY_SERVICE_CONFIGA,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) QueryServiceConfigW(SC_HANDLE,LPQUERY_SERVICE_CONFIGW,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) QueryServiceConfig2A(SC_HANDLE,DWORD,LPBYTE,DWORD,LPDWORD); BOOL __attribute__((__stdcall__)) QueryServiceConfig2W(SC_HANDLE,DWORD,LPBYTE,DWORD,LPDWORD); BOOL __attribute__((__stdcall__)) QueryServiceLockStatusA(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUSA,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) QueryServiceLockStatusW(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUSW,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) QueryServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); BOOL __attribute__((__stdcall__)) QueryServiceStatus(SC_HANDLE,LPSERVICE_STATUS); BOOL __attribute__((__stdcall__)) QueryServiceStatusEx(SC_HANDLE,SC_STATUS_TYPE,LPBYTE,DWORD,LPDWORD); SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerA(LPCSTR,LPHANDLER_FUNCTION); SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerW(LPCWSTR,LPHANDLER_FUNCTION); SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerExA(LPCSTR,LPHANDLER_FUNCTION_EX,LPVOID); SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerExW(LPCWSTR,LPHANDLER_FUNCTION_EX,LPVOID); BOOL __attribute__((__stdcall__)) SetServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) SetServiceStatus(SERVICE_STATUS_HANDLE,LPSERVICE_STATUS); BOOL __attribute__((__stdcall__)) StartServiceA(SC_HANDLE,DWORD,LPCSTR*); BOOL __attribute__((__stdcall__)) StartServiceCtrlDispatcherA(LPSERVICE_TABLE_ENTRYA); BOOL __attribute__((__stdcall__)) StartServiceCtrlDispatcherW(LPSERVICE_TABLE_ENTRYW); BOOL __attribute__((__stdcall__)) StartServiceW(SC_HANDLE,DWORD,LPCWSTR*); BOOL __attribute__((__stdcall__)) UnlockServiceDatabase(SC_LOCK); # 278 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsvc.h" 3 typedef ENUM_SERVICE_STATUSA ENUM_SERVICE_STATUS,*LPENUM_SERVICE_STATUS; typedef ENUM_SERVICE_STATUS_PROCESSA ENUM_SERVICE_STATUS_PROCESS; typedef LPENUM_SERVICE_STATUS_PROCESSA LPENUM_SERVICE_STATUS_PROCESS; typedef QUERY_SERVICE_CONFIGA QUERY_SERVICE_CONFIG,*LPQUERY_SERVICE_CONFIG; typedef QUERY_SERVICE_LOCK_STATUSA QUERY_SERVICE_LOCK_STATUS,*LPQUERY_SERVICE_LOCK_STATUS; typedef SERVICE_TABLE_ENTRYA SERVICE_TABLE_ENTRY,*LPSERVICE_TABLE_ENTRY; typedef LPSERVICE_MAIN_FUNCTIONA LPSERVICE_MAIN_FUNCTION; typedef SERVICE_DESCRIPTIONA SERVICE_DESCRIPTION; typedef LPSERVICE_DESCRIPTIONA LPSERVICE_DESCRIPTION; typedef SERVICE_FAILURE_ACTIONSA SERVICE_FAILURE_ACTIONS; typedef LPSERVICE_FAILURE_ACTIONSA LPSERVICE_FAILURE_ACTIONS; # 71 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/cderr.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/cderr.h" 3 # 75 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dde.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dde.h" 3 # 23 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dde.h" 3 typedef struct { unsigned short bAppReturnCode:8,reserved:6,fBusy:1,fAck:1; } DDEACK; typedef struct { unsigned short reserved:14,fDeferUpd:1,fAckReq:1; short cfFormat; } DDEADVISE; typedef struct { unsigned short unused:12,fResponse:1,fRelease:1,reserved:1,fAckReq:1; short cfFormat; BYTE Value[1]; } DDEDATA; typedef struct { unsigned short unused:13,fRelease:1,fReserved:2; short cfFormat; BYTE Value[1]; } DDEPOKE; typedef struct { unsigned short unused:13, fRelease:1, fDeferUpd:1, fAckReq:1; short cfFormat; } DDELN; typedef struct { unsigned short unused:12,fAck:1,fRelease:1,fReserved:1,fAckReq:1; short cfFormat; BYTE rgb[1]; } DDEUP; BOOL __attribute__((__stdcall__)) DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE*,PSECURITY_QUALITY_OF_SERVICE); BOOL __attribute__((__stdcall__)) ImpersonateDdeClientWindow(HWND,HWND); LPARAM __attribute__((__stdcall__)) PackDDElParam(UINT,UINT_PTR,UINT_PTR); BOOL __attribute__((__stdcall__)) UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR); BOOL __attribute__((__stdcall__)) FreeDDElParam(UINT,LPARAM); LPARAM __attribute__((__stdcall__)) ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR); # 76 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ddeml.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ddeml.h" 3 # 145 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ddeml.h" 3 typedef struct HCONVLIST__{int i;}*HCONVLIST; typedef struct HCONV__{int i;}*HCONV; typedef struct HSZ__{int i;}*HSZ; typedef struct HDDEDATA__{int i;}*HDDEDATA; typedef HDDEDATA __attribute__((__stdcall__)) FNCALLBACK(UINT,UINT,HCONV,HSZ,HSZ,HDDEDATA,DWORD,DWORD); typedef HDDEDATA(__attribute__((__stdcall__)) *PFNCALLBACK)(UINT,UINT,HCONV,HSZ,HSZ,HDDEDATA,DWORD,DWORD); typedef struct tagHSZPAIR { HSZ hszSvc; HSZ hszTopic; } HSZPAIR, *PHSZPAIR; typedef struct tagCONVCONTEXT { UINT cb; UINT wFlags; UINT wCountryID; int iCodePage; DWORD dwLangID; DWORD dwSecurity; SECURITY_QUALITY_OF_SERVICE qos; } CONVCONTEXT,*PCONVCONTEXT; typedef struct tagCONVINFO { DWORD cb; DWORD hUser; HCONV hConvPartner; HSZ hszSvcPartner; HSZ hszServiceReq; HSZ hszTopic; HSZ hszItem; UINT wFmt; UINT wType; UINT wStatus; UINT wConvst; UINT wLastError; HCONVLIST hConvList; CONVCONTEXT ConvCtxt; HWND hwnd; HWND hwndPartner; } CONVINFO,*PCONVINFO; typedef struct tagDDEML_MSG_HOOK_DATA { UINT uiLo; UINT uiHi; DWORD cbData; DWORD Data[8]; } DDEML_MSG_HOOK_DATA; typedef struct tagMONHSZSTRUCT { UINT cb; BOOL fsAction; DWORD dwTime; HSZ hsz; HANDLE hTask; TCHAR str[1]; } MONHSZSTRUCT, *PMONHSZSTRUCT; typedef struct tagMONLINKSTRUCT { UINT cb; DWORD dwTime; HANDLE hTask; BOOL fEstablished; BOOL fNoData; HSZ hszSvc; HSZ hszTopic; HSZ hszItem; UINT wFmt; BOOL fServer; HCONV hConvServer; HCONV hConvClient; } MONLINKSTRUCT, *PMONLINKSTRUCT; typedef struct tagMONCONVSTRUCT { UINT cb; BOOL fConnect; DWORD dwTime; HANDLE hTask; HSZ hszSvc; HSZ hszTopic; HCONV hConvClient; HCONV hConvServer; } MONCONVSTRUCT, *PMONCONVSTRUCT; typedef struct tagMONCBSTRUCT { UINT cb; DWORD dwTime; HANDLE hTask; DWORD dwRet; UINT wType; UINT wFmt; HCONV hConv; HSZ hsz1; HSZ hsz2; HDDEDATA hData; ULONG_PTR dwData1; ULONG_PTR dwData2; CONVCONTEXT cc; DWORD cbData; DWORD Data[8]; } MONCBSTRUCT, *PMONCBSTRUCT; typedef struct tagMONERRSTRUCT { UINT cb; UINT wLastError; DWORD dwTime; HANDLE hTask; } MONERRSTRUCT, *PMONERRSTRUCT; typedef struct tagMONMSGSTRUCT { UINT cb; HWND hwndTo; DWORD dwTime; HANDLE hTask; UINT wMsg; WPARAM wParam; LPARAM lParam; DDEML_MSG_HOOK_DATA dmhd; } MONMSGSTRUCT, *PMONMSGSTRUCT; BOOL __attribute__((__stdcall__)) DdeAbandonTransaction(DWORD,HCONV,DWORD); PBYTE __attribute__((__stdcall__)) DdeAccessData(HDDEDATA,PDWORD); HDDEDATA __attribute__((__stdcall__)) DdeAddData(HDDEDATA,PBYTE,DWORD,DWORD); HDDEDATA __attribute__((__stdcall__)) DdeClientTransaction(PBYTE,DWORD,HCONV,HSZ,UINT,UINT,DWORD,PDWORD); int __attribute__((__stdcall__)) DdeCmpStringHandles(HSZ,HSZ); HCONV __attribute__((__stdcall__)) DdeConnect(DWORD,HSZ,HSZ,PCONVCONTEXT); HCONVLIST __attribute__((__stdcall__)) DdeConnectList(DWORD,HSZ,HSZ,HCONVLIST,PCONVCONTEXT); HDDEDATA __attribute__((__stdcall__)) DdeCreateDataHandle(DWORD,PBYTE,DWORD,DWORD,HSZ,UINT,UINT); HSZ __attribute__((__stdcall__)) DdeCreateStringHandleA(DWORD,LPCSTR,int); HSZ __attribute__((__stdcall__)) DdeCreateStringHandleW(DWORD,LPCWSTR,int); BOOL __attribute__((__stdcall__)) DdeDisconnect(HCONV); BOOL __attribute__((__stdcall__)) DdeDisconnectList(HCONVLIST); BOOL __attribute__((__stdcall__)) DdeEnableCallback(DWORD,HCONV,UINT); BOOL __attribute__((__stdcall__)) DdeFreeDataHandle(HDDEDATA); BOOL __attribute__((__stdcall__)) DdeFreeStringHandle(DWORD,HSZ); DWORD __attribute__((__stdcall__)) DdeGetData(HDDEDATA,PBYTE,DWORD,DWORD); UINT __attribute__((__stdcall__)) DdeGetLastError(DWORD); BOOL __attribute__((__stdcall__)) DdeImpersonateClient(HCONV); UINT __attribute__((__stdcall__)) DdeInitializeA(PDWORD,PFNCALLBACK,DWORD,DWORD); UINT __attribute__((__stdcall__)) DdeInitializeW(PDWORD,PFNCALLBACK,DWORD,DWORD); BOOL __attribute__((__stdcall__)) DdeKeepStringHandle(DWORD,HSZ); HDDEDATA __attribute__((__stdcall__)) DdeNameService(DWORD,HSZ,HSZ,UINT); BOOL __attribute__((__stdcall__)) DdePostAdvise(DWORD,HSZ,HSZ); UINT __attribute__((__stdcall__)) DdeQueryConvInfo(HCONV,DWORD,PCONVINFO); HCONV __attribute__((__stdcall__)) DdeQueryNextServer(HCONVLIST,HCONV); DWORD __attribute__((__stdcall__)) DdeQueryStringA(DWORD,HSZ,LPSTR,DWORD,int); DWORD __attribute__((__stdcall__)) DdeQueryStringW(DWORD,HSZ,LPWSTR,DWORD,int); HCONV __attribute__((__stdcall__)) DdeReconnect(HCONV); BOOL __attribute__((__stdcall__)) DdeSetUserHandle(HCONV,DWORD,DWORD); BOOL __attribute__((__stdcall__)) DdeUnaccessData(HDDEDATA); BOOL __attribute__((__stdcall__)) DdeUninitialize(DWORD); # 77 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dlgs.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dlgs.h" 3 # 176 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dlgs.h" 3 typedef struct tagCRGB { BYTE bRed; BYTE bGreen; BYTE bBlue; BYTE bExtra; } CRGB; # 78 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/imm.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/imm.h" 3 # 249 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/imm.h" 3 typedef DWORD HIMC; typedef DWORD HIMCC; typedef HKL *LPHKL; typedef struct tagCOMPOSITIONFORM { DWORD dwStyle; POINT ptCurrentPos; RECT rcArea; } COMPOSITIONFORM,*PCOMPOSITIONFORM,*LPCOMPOSITIONFORM; typedef struct tagCANDIDATEFORM { DWORD dwIndex; DWORD dwStyle; POINT ptCurrentPos; RECT rcArea; } CANDIDATEFORM,*PCANDIDATEFORM,*LPCANDIDATEFORM; typedef struct tagCANDIDATELIST { DWORD dwSize; DWORD dwStyle; DWORD dwCount; DWORD dwSelection; DWORD dwPageStart; DWORD dwPageSize; DWORD dwOffset[1]; } CANDIDATELIST,*PCANDIDATELIST,*LPCANDIDATELIST; typedef struct tagIMECHARPOSITION { DWORD dwSize; DWORD dwCharPos; POINT pt; UINT cLineHeight; RECT rcDocument; } IMECHARPOSITION, *PIMECHARPOSITION; typedef struct tagRECONVERTSTRING { DWORD dwSize; DWORD dwVersion; DWORD dwStrLen; DWORD dwStrOffset; DWORD dwCompStrLen; DWORD dwCompStrOffset; DWORD dwTargetStrLen; DWORD dwTargetStrOffset; } RECONVERTSTRING, *PRECONVERTSTRING; typedef struct tagREGISTERWORDA { LPSTR lpReading; LPSTR lpWord; } REGISTERWORDA,*PREGISTERWORDA,*LPREGISTERWORDA; typedef struct tagREGISTERWORDW { LPWSTR lpReading; LPWSTR lpWord; } REGISTERWORDW,*PREGISTERWORDW,*LPREGISTERWORDW; typedef struct tagSTYLEBUFA { DWORD dwStyle; CHAR szDescription[32]; } STYLEBUFA,*PSTYLEBUFA,*LPSTYLEBUFA; typedef struct tagSTYLEBUFW { DWORD dwStyle; WCHAR szDescription[32]; } STYLEBUFW,*PSTYLEBUFW,*LPSTYLEBUFW; typedef struct tagIMEMENUITEMINFOA { UINT cbSize; UINT fType; UINT fState; UINT wID; HBITMAP hbmpChecked; HBITMAP hbmpUnchecked; DWORD dwItemData; CHAR szString[80]; HBITMAP hbmpItem; } IMEMENUITEMINFOA,*PIMEMENUITEMINFOA,*LPIMEMENUITEMINFOA; typedef struct tagIMEMENUITEMINFOW { UINT cbSize; UINT fType; UINT fState; UINT wID; HBITMAP hbmpChecked; HBITMAP hbmpUnchecked; DWORD dwItemData; WCHAR szString[80]; HBITMAP hbmpItem; } IMEMENUITEMINFOW,*PIMEMENUITEMINFOW,*LPIMEMENUITEMINFOW; typedef int (__attribute__((__stdcall__)) *REGISTERWORDENUMPROCA)(LPCSTR, DWORD, LPCSTR, LPVOID); typedef int (__attribute__((__stdcall__)) *REGISTERWORDENUMPROCW)(LPCWSTR, DWORD, LPCWSTR, LPVOID); typedef REGISTERWORDA REGISTERWORD,*PREGISTERWORD,*LPREGISTERWORD; typedef STYLEBUFA STYLEBUF,*PSTYLEBUF,*LPSTYLEBUF; typedef IMEMENUITEMINFOA IMEMENUITEMINFO,*PIMEMENUITEMINFO,*LPIMEMENUITEMINFO; HKL __attribute__((__stdcall__)) ImmInstallIMEA(LPCSTR,LPCSTR); HKL __attribute__((__stdcall__)) ImmInstallIMEW(LPCWSTR,LPCWSTR); HWND __attribute__((__stdcall__)) ImmGetDefaultIMEWnd(HWND); UINT __attribute__((__stdcall__)) ImmGetDescriptionA(HKL,LPSTR,UINT); UINT __attribute__((__stdcall__)) ImmGetDescriptionW(HKL,LPWSTR,UINT); UINT __attribute__((__stdcall__)) ImmGetIMEFileNameA(HKL,LPSTR,UINT); UINT __attribute__((__stdcall__)) ImmGetIMEFileNameW(HKL,LPWSTR,UINT); DWORD __attribute__((__stdcall__)) ImmGetProperty(HKL,DWORD); BOOL __attribute__((__stdcall__)) ImmIsIME(HKL); BOOL __attribute__((__stdcall__)) ImmSimulateHotKey(HWND,DWORD); HIMC __attribute__((__stdcall__)) ImmCreateContext(void); BOOL __attribute__((__stdcall__)) ImmDestroyContext(HIMC); HIMC __attribute__((__stdcall__)) ImmGetContext(HWND); BOOL __attribute__((__stdcall__)) ImmReleaseContext(HWND,HIMC); HIMC __attribute__((__stdcall__)) ImmAssociateContext(HWND,HIMC); LONG __attribute__((__stdcall__)) ImmGetCompositionStringA(HIMC,DWORD,PVOID,DWORD); LONG __attribute__((__stdcall__)) ImmGetCompositionStringW(HIMC,DWORD,PVOID,DWORD); BOOL __attribute__((__stdcall__)) ImmSetCompositionStringA(HIMC,DWORD,PCVOID,DWORD,PCVOID,DWORD); BOOL __attribute__((__stdcall__)) ImmSetCompositionStringW(HIMC,DWORD,PCVOID,DWORD,PCVOID,DWORD); DWORD __attribute__((__stdcall__)) ImmGetCandidateListCountA(HIMC,PDWORD); DWORD __attribute__((__stdcall__)) ImmGetCandidateListCountW(HIMC,PDWORD); DWORD __attribute__((__stdcall__)) ImmGetCandidateListA(HIMC,DWORD,PCANDIDATELIST,DWORD); DWORD __attribute__((__stdcall__)) ImmGetCandidateListW(HIMC,DWORD,PCANDIDATELIST,DWORD); DWORD __attribute__((__stdcall__)) ImmGetGuideLineA(HIMC,DWORD,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) ImmGetGuideLineW(HIMC,DWORD,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) ImmGetConversionStatus(HIMC,LPDWORD,PDWORD); BOOL __attribute__((__stdcall__)) ImmSetConversionStatus(HIMC,DWORD,DWORD); BOOL __attribute__((__stdcall__)) ImmGetOpenStatus(HIMC); BOOL __attribute__((__stdcall__)) ImmSetOpenStatus(HIMC,BOOL); BOOL __attribute__((__stdcall__)) ImmGetCompositionFontA(HIMC,LPLOGFONTA); BOOL __attribute__((__stdcall__)) ImmGetCompositionFontW(HIMC,LPLOGFONTW); BOOL __attribute__((__stdcall__)) ImmSetCompositionFontA(HIMC,LPLOGFONTA); BOOL __attribute__((__stdcall__)) ImmSetCompositionFontW(HIMC,LPLOGFONTW); BOOL __attribute__((__stdcall__)) ImmConfigureIMEA(HKL,HWND,DWORD,PVOID); BOOL __attribute__((__stdcall__)) ImmConfigureIMEW(HKL,HWND,DWORD,PVOID); LRESULT __attribute__((__stdcall__)) ImmEscapeA(HKL,HIMC,UINT,PVOID); LRESULT __attribute__((__stdcall__)) ImmEscapeW(HKL,HIMC,UINT,PVOID); DWORD __attribute__((__stdcall__)) ImmGetConversionListA(HKL,HIMC,LPCSTR,PCANDIDATELIST,DWORD,UINT); DWORD __attribute__((__stdcall__)) ImmGetConversionListW(HKL,HIMC,LPCWSTR,PCANDIDATELIST,DWORD,UINT); BOOL __attribute__((__stdcall__)) ImmNotifyIME(HIMC,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) ImmGetStatusWindowPos(HIMC,LPPOINT); BOOL __attribute__((__stdcall__)) ImmSetStatusWindowPos(HIMC,LPPOINT); BOOL __attribute__((__stdcall__)) ImmGetCompositionWindow(HIMC,PCOMPOSITIONFORM); BOOL __attribute__((__stdcall__)) ImmSetCompositionWindow(HIMC,PCOMPOSITIONFORM); BOOL __attribute__((__stdcall__)) ImmGetCandidateWindow(HIMC,DWORD,PCANDIDATEFORM); BOOL __attribute__((__stdcall__)) ImmSetCandidateWindow(HIMC,PCANDIDATEFORM); BOOL __attribute__((__stdcall__)) ImmIsUIMessageA(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) ImmIsUIMessageW(HWND,UINT,WPARAM,LPARAM); UINT __attribute__((__stdcall__)) ImmGetVirtualKey(HWND); BOOL __attribute__((__stdcall__)) ImmRegisterWordA(HKL,LPCSTR,DWORD,LPCSTR); BOOL __attribute__((__stdcall__)) ImmRegisterWordW(HKL,LPCWSTR,DWORD,LPCWSTR); BOOL __attribute__((__stdcall__)) ImmUnregisterWordA(HKL,LPCSTR,DWORD,LPCSTR); BOOL __attribute__((__stdcall__)) ImmUnregisterWordW(HKL,LPCWSTR,DWORD,LPCWSTR); UINT __attribute__((__stdcall__)) ImmGetRegisterWordStyleA(HKL,UINT,PSTYLEBUFA); UINT __attribute__((__stdcall__)) ImmGetRegisterWordStyleW(HKL,UINT,PSTYLEBUFW); UINT __attribute__((__stdcall__)) ImmEnumRegisterWordA(HKL,REGISTERWORDENUMPROCA,LPCSTR,DWORD,LPCSTR,PVOID); UINT __attribute__((__stdcall__)) ImmEnumRegisterWordW(HKL,REGISTERWORDENUMPROCW,LPCWSTR,DWORD,LPCWSTR,PVOID); BOOL __attribute__((__stdcall__)) EnableEUDC(BOOL); BOOL __attribute__((__stdcall__)) ImmDisableIME(DWORD); DWORD __attribute__((__stdcall__)) ImmGetImeMenuItemsA(HIMC,DWORD,DWORD,LPIMEMENUITEMINFOA,LPIMEMENUITEMINFOA,DWORD); DWORD __attribute__((__stdcall__)) ImmGetImeMenuItemsW(HIMC,DWORD,DWORD,LPIMEMENUITEMINFOW,LPIMEMENUITEMINFOW,DWORD); # 79 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/lzexpand.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/lzexpand.h" 3 # 18 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/lzexpand.h" 3 LONG __attribute__((__stdcall__)) CopyLZFile(INT,INT); INT __attribute__((__stdcall__)) GetExpandedNameA(LPSTR,LPSTR); INT __attribute__((__stdcall__)) GetExpandedNameW(LPWSTR,LPWSTR); void __attribute__((__stdcall__)) LZClose(INT); LONG __attribute__((__stdcall__)) LZCopy(INT,INT); void __attribute__((__stdcall__)) LZDone(void); INT __attribute__((__stdcall__)) LZInit(INT); INT __attribute__((__stdcall__)) LZOpenFileA(LPSTR,LPOFSTRUCT,WORD); INT __attribute__((__stdcall__)) LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD); INT __attribute__((__stdcall__)) LZRead(INT,LPSTR,INT); LONG __attribute__((__stdcall__)) LZSeek(INT,LONG,INT); INT __attribute__((__stdcall__)) LZStart(void); # 80 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/mmsystem.h" 1 3 # 6 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/mmsystem.h" 3 #pragma pack(push,1) # 905 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/mmsystem.h" 3 typedef DWORD MCIERROR; typedef UINT MCIDEVICEID; typedef UINT(__attribute__((__stdcall__)) *YIELDPROC)(MCIDEVICEID,DWORD); typedef UINT MMVERSION; typedef UINT MMRESULT; typedef struct mmtime_tag { UINT wType; union { DWORD ms; DWORD sample; DWORD cb; DWORD ticks; struct { BYTE hour; BYTE min; BYTE sec; BYTE frame; BYTE fps; BYTE dummy; BYTE pad[2]; } smpte; struct { DWORD songptrpos; } midi; } u; } MMTIME,*PMMTIME,*LPMMTIME; typedef struct HDRVR__{int i;}*HDRVR; typedef struct tagDRVCONFIGINFO { DWORD dwDCISize; LPCWSTR lpszDCISectionName; LPCWSTR lpszDCIAliasName; } DRVCONFIGINFO,*PDRVCONFIGINFO,*LPDRVCONFIGINFO; typedef struct DRVCONFIGINFOEX { DWORD dwDCISize; LPCWSTR lpszDCISectionName; LPCWSTR lpszDCIAliasName; DWORD dnDevNode; } DRVCONFIGINFOEX,*PDRVCONFIGINFOEX,*LPDRVCONFIGINFOEX; typedef LRESULT(__attribute__((__stdcall__))* DRIVERPROC)(DWORD,HDRVR,UINT,LPARAM,LPARAM); typedef void (__attribute__((__stdcall__)) DRVCALLBACK)(HDRVR,UINT,DWORD,DWORD,DWORD); typedef DRVCALLBACK *LPDRVCALLBACK; typedef DRVCALLBACK *PDRVCALLBACK; typedef struct HWAVE__{int i;}*HWAVE; typedef struct HWAVEIN__{int i;}*HWAVEIN; typedef struct HWAVEOUT__{int i;}*HWAVEOUT; typedef HWAVEIN *LPHWAVEIN; typedef HWAVEOUT *LPHWAVEOUT; typedef DRVCALLBACK WAVECALLBACK; typedef WAVECALLBACK *LPWAVECALLBACK; typedef struct wavehdr_tag { LPSTR lpData; DWORD dwBufferLength; DWORD dwBytesRecorded; DWORD dwUser; DWORD dwFlags; DWORD dwLoops; struct wavehdr_tag *lpNext; DWORD reserved; } WAVEHDR,*PWAVEHDR,*LPWAVEHDR; typedef struct tagWAVEOUTCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; DWORD dwFormats; WORD wChannels; WORD wReserved1; DWORD dwSupport; } WAVEOUTCAPSA,*PWAVEOUTCAPSA,*LPWAVEOUTCAPSA; typedef struct tagWAVEOUTCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; DWORD dwFormats; WORD wChannels; WORD wReserved1; DWORD dwSupport; } WAVEOUTCAPSW,*PWAVEOUTCAPSW,*LPWAVEOUTCAPSW; typedef struct tagWAVEINCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; DWORD dwFormats; WORD wChannels; WORD wReserved1; } WAVEINCAPSA,*PWAVEINCAPSA,*LPWAVEINCAPSA; typedef struct tagWAVEINCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; DWORD dwFormats; WORD wChannels; WORD wReserved1; } WAVEINCAPSW,*PWAVEINCAPSW,*LPWAVEINCAPSW; typedef struct waveformat_tag { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; } WAVEFORMAT,*PWAVEFORMAT,*LPWAVEFORMAT; typedef struct pcmwaveformat_tag { WAVEFORMAT wf; WORD wBitsPerSample; } PCMWAVEFORMAT, *PPCMWAVEFORMAT,*LPPCMWAVEFORMAT; typedef struct tWAVEFORMATEX { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; WORD wBitsPerSample; WORD cbSize; } WAVEFORMATEX,*PWAVEFORMATEX,*LPWAVEFORMATEX; typedef const WAVEFORMATEX *LPCWAVEFORMATEX; typedef struct HMIDI__{int i;}*HMIDI; typedef struct HMIDIIN__{int i;}*HMIDIIN; typedef struct HMIDIOUT__{int i;}*HMIDIOUT; typedef struct HMIDISTRM__{int i;}*HMIDISTRM; typedef HMIDI *LPHMIDI; typedef HMIDIIN *LPHMIDIIN; typedef HMIDIOUT *LPHMIDIOUT; typedef HMIDISTRM *LPHMIDISTRM; typedef DRVCALLBACK MIDICALLBACK; typedef MIDICALLBACK *LPMIDICALLBACK; typedef WORD PATCHARRAY[128]; typedef WORD *LPPATCHARRAY; typedef WORD KEYARRAY[128]; typedef WORD *LPKEYARRAY; typedef struct tagMIDIOUTCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; WORD wTechnology; WORD wVoices; WORD wNotes; WORD wChannelMask; DWORD dwSupport; } MIDIOUTCAPSA,*PMIDIOUTCAPSA,*LPMIDIOUTCAPSA; typedef struct tagMIDIOUTCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; WORD wTechnology; WORD wVoices; WORD wNotes; WORD wChannelMask; DWORD dwSupport; } MIDIOUTCAPSW,*PMIDIOUTCAPSW,*LPMIDIOUTCAPSW; typedef struct tagMIDIINCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; DWORD dwSupport; } MIDIINCAPSA,*PMIDIINCAPSA,*LPMIDIINCAPSA; typedef struct tagMIDIINCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; DWORD dwSupport; } MIDIINCAPSW,*PMIDIINCAPSW,*NPMIDIINCAPSW,*LPMIDIINCAPSW; typedef struct midihdr_tag { LPSTR lpData; DWORD dwBufferLength; DWORD dwBytesRecorded; DWORD dwUser; DWORD dwFlags; struct midihdr_tag *lpNext; DWORD reserved; DWORD dwOffset; DWORD dwReserved[8]; } MIDIHDR,*PMIDIHDR,*LPMIDIHDR; typedef struct midievent_tag { DWORD dwDeltaTime; DWORD dwStreamID; DWORD dwEvent; DWORD dwParms[1]; } MIDIEVENT; typedef struct midistrmbuffver_tag { DWORD dwVersion; DWORD dwMid; DWORD dwOEMVersion; } MIDISTRMBUFFVER; typedef struct midiproptimediv_tag { DWORD cbStruct; DWORD dwTimeDiv; } MIDIPROPTIMEDIV,*LPMIDIPROPTIMEDIV; typedef struct midiproptempo_tag { DWORD cbStruct; DWORD dwTempo; } MIDIPROPTEMPO,*LPMIDIPROPTEMPO; typedef struct tagAUXCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; WORD wTechnology; WORD wReserved1; DWORD dwSupport; } AUXCAPSA,*PAUXCAPSA,*LPAUXCAPSA; typedef struct tagAUXCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; WORD wTechnology; WORD wReserved1; DWORD dwSupport; } AUXCAPSW,*PAUXCAPSW,*LPAUXCAPSW; typedef struct HMIXEROBJ__{int i;}*HMIXEROBJ; typedef HMIXEROBJ *LPHMIXEROBJ; typedef struct HMIXER__{int i;}*HMIXER; typedef HMIXER *LPHMIXER; typedef struct tagMIXERCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; DWORD fdwSupport; DWORD cDestinations; } MIXERCAPSA,*PMIXERCAPSA,*LPMIXERCAPSA; typedef struct tagMIXERCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; DWORD fdwSupport; DWORD cDestinations; } MIXERCAPSW,*PMIXERCAPSW,*LPMIXERCAPSW; typedef struct tagMIXERLINEA { DWORD cbStruct; DWORD dwDestination; DWORD dwSource; DWORD dwLineID; DWORD fdwLine; DWORD dwUser; DWORD dwComponentType; DWORD cChannels; DWORD cConnections; DWORD cControls; CHAR szShortName[16]; CHAR szName[64]; struct { DWORD dwType; DWORD dwDeviceID; WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; } Target; } MIXERLINEA,*PMIXERLINEA,*LPMIXERLINEA; typedef struct tagMIXERLINEW { DWORD cbStruct; DWORD dwDestination; DWORD dwSource; DWORD dwLineID; DWORD fdwLine; DWORD dwUser; DWORD dwComponentType; DWORD cChannels; DWORD cConnections; DWORD cControls; WCHAR szShortName[16]; WCHAR szName[64]; struct { DWORD dwType; DWORD dwDeviceID; WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; } Target; } MIXERLINEW,*PMIXERLINEW,*LPMIXERLINEW; typedef struct tagMIXERCONTROLA { DWORD cbStruct; DWORD dwControlID; DWORD dwControlType; DWORD fdwControl; DWORD cMultipleItems; CHAR szShortName[16]; CHAR szName[64]; union { __extension__ struct { LONG lMinimum; LONG lMaximum; }; __extension__ struct { DWORD dwMinimum; DWORD dwMaximum; }; DWORD dwReserved[6]; } Bounds; union { DWORD cSteps; DWORD cbCustomData; DWORD dwReserved[6]; } Metrics; } MIXERCONTROLA,*PMIXERCONTROLA,*LPMIXERCONTROLA; typedef struct tagMIXERCONTROLW { DWORD cbStruct; DWORD dwControlID; DWORD dwControlType; DWORD fdwControl; DWORD cMultipleItems; WCHAR szShortName[16]; WCHAR szName[64]; union { __extension__ struct { LONG lMinimum; LONG lMaximum; }; __extension__ struct { DWORD dwMinimum; DWORD dwMaximum; }; DWORD dwReserved[6]; } Bounds; union { DWORD cSteps; DWORD cbCustomData; DWORD dwReserved[6]; } Metrics; } MIXERCONTROLW,*PMIXERCONTROLW,*LPMIXERCONTROLW; typedef struct tagMIXERLINECONTROLSA { DWORD cbStruct; DWORD dwLineID; __extension__ union { DWORD dwControlID; DWORD dwControlType; } ; DWORD cControls; DWORD cbmxctrl; LPMIXERCONTROLA pamxctrl; } MIXERLINECONTROLSA,*PMIXERLINECONTROLSA,*LPMIXERLINECONTROLSA; typedef struct tagMIXERLINECONTROLSW { DWORD cbStruct; DWORD dwLineID; __extension__ union { DWORD dwControlID; DWORD dwControlType; } ; DWORD cControls; DWORD cbmxctrl; LPMIXERCONTROLW pamxctrl; } MIXERLINECONTROLSW,*PMIXERLINECONTROLSW,*LPMIXERLINECONTROLSW; typedef struct tMIXERCONTROLDETAILS { DWORD cbStruct; DWORD dwControlID; DWORD cChannels; __extension__ union { HWND hwndOwner; DWORD cMultipleItems; } ; DWORD cbDetails; PVOID paDetails; } MIXERCONTROLDETAILS,*PMIXERCONTROLDETAILS,*LPMIXERCONTROLDETAILS; typedef struct tagMIXERCONTROLDETAILS_LISTTEXTA { DWORD dwParam1; DWORD dwParam2; CHAR szName[64]; } MIXERCONTROLDETAILS_LISTTEXTA,*PMIXERCONTROLDETAILS_LISTTEXTA,*LPMIXERCONTROLDETAILS_LISTTEXTA; typedef struct tagMIXERCONTROLDETAILS_LISTTEXTW { DWORD dwParam1; DWORD dwParam2; WCHAR szName[64]; } MIXERCONTROLDETAILS_LISTTEXTW,*PMIXERCONTROLDETAILS_LISTTEXTW,*LPMIXERCONTROLDETAILS_LISTTEXTW; typedef struct tMIXERCONTROLDETAILS_BOOLEAN { LONG fValue; } MIXERCONTROLDETAILS_BOOLEAN,*PMIXERCONTROLDETAILS_BOOLEAN,*LPMIXERCONTROLDETAILS_BOOLEAN; typedef struct tMIXERCONTROLDETAILS_SIGNED { LONG lValue; } MIXERCONTROLDETAILS_SIGNED,*PMIXERCONTROLDETAILS_SIGNED,*LPMIXERCONTROLDETAILS_SIGNED; typedef struct tMIXERCONTROLDETAILS_UNSIGNED { DWORD dwValue; } MIXERCONTROLDETAILS_UNSIGNED,*PMIXERCONTROLDETAILS_UNSIGNED,*LPMIXERCONTROLDETAILS_UNSIGNED; typedef void(__attribute__((__stdcall__)) TIMECALLBACK)(UINT,UINT,DWORD,DWORD,DWORD); typedef TIMECALLBACK *LPTIMECALLBACK; typedef struct timecaps_tag { UINT wPeriodMin; UINT wPeriodMax; } TIMECAPS,*PTIMECAPS,*LPTIMECAPS; typedef struct tagJOYCAPSA { WORD wMid; WORD wPid; CHAR szPname[32]; UINT wXmin; UINT wXmax; UINT wYmin; UINT wYmax; UINT wZmin; UINT wZmax; UINT wNumButtons; UINT wPeriodMin; UINT wPeriodMax; UINT wRmin; UINT wRmax; UINT wUmin; UINT wUmax; UINT wVmin; UINT wVmax; UINT wCaps; UINT wMaxAxes; UINT wNumAxes; UINT wMaxButtons; CHAR szRegKey[32]; CHAR szOEMVxD[260]; } JOYCAPSA,*PJOYCAPSA,*LPJOYCAPSA; typedef struct tagJOYCAPSW { WORD wMid; WORD wPid; WCHAR szPname[32]; UINT wXmin; UINT wXmax; UINT wYmin; UINT wYmax; UINT wZmin; UINT wZmax; UINT wNumButtons; UINT wPeriodMin; UINT wPeriodMax; UINT wRmin; UINT wRmax; UINT wUmin; UINT wUmax; UINT wVmin; UINT wVmax; UINT wCaps; UINT wMaxAxes; UINT wNumAxes; UINT wMaxButtons; WCHAR szRegKey[32]; WCHAR szOEMVxD[260]; } JOYCAPSW,*PJOYCAPSW,*LPJOYCAPSW; typedef struct joyinfo_tag { UINT wXpos; UINT wYpos; UINT wZpos; UINT wButtons; } JOYINFO,*PJOYINFO,*LPJOYINFO; typedef struct joyinfoex_tag { DWORD dwSize; DWORD dwFlags; DWORD dwXpos; DWORD dwYpos; DWORD dwZpos; DWORD dwRpos; DWORD dwUpos; DWORD dwVpos; DWORD dwButtons; DWORD dwButtonNumber; DWORD dwPOV; DWORD dwReserved1; DWORD dwReserved2; } JOYINFOEX,*PJOYINFOEX,*LPJOYINFOEX; typedef DWORD FOURCC; typedef char *HPSTR; typedef struct HMMIO__{int i;}*HMMIO; typedef LRESULT (__attribute__((__stdcall__)) MMIOPROC)(LPSTR,UINT,LPARAM,LPARAM); typedef MMIOPROC *LPMMIOPROC; typedef struct _MMIOINFO { DWORD dwFlags; FOURCC fccIOProc; LPMMIOPROC pIOProc; UINT wErrorRet; HTASK htask; LONG cchBuffer; HPSTR pchBuffer; HPSTR pchNext; HPSTR pchEndRead; HPSTR pchEndWrite; LONG lBufOffset; LONG lDiskOffset; DWORD adwInfo[3]; DWORD dwReserved1; DWORD dwReserved2; HMMIO hmmio; } MMIOINFO,*PMMIOINFO,*LPMMIOINFO; typedef const MMIOINFO *LPCMMIOINFO; typedef struct _MMCKINFO { FOURCC ckid; DWORD cksize; FOURCC fccType; DWORD dwDataOffset; DWORD dwFlags; } MMCKINFO,*PMMCKINFO,*LPMMCKINFO; typedef const MMCKINFO *LPCMMCKINFO; typedef struct tagMCI_GENERIC_PARMS { DWORD dwCallback; } MCI_GENERIC_PARMS,*PMCI_GENERIC_PARMS,*LPMCI_GENERIC_PARMS; typedef struct tagMCI_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; } MCI_OPEN_PARMSA,*PMCI_OPEN_PARMSA,*LPMCI_OPEN_PARMSA; typedef struct tagMCI_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias; } MCI_OPEN_PARMSW,*PMCI_OPEN_PARMSW,*LPMCI_OPEN_PARMSW; typedef struct tagMCI_PLAY_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; } MCI_PLAY_PARMS,*PMCI_PLAY_PARMS,*LPMCI_PLAY_PARMS; typedef struct tagMCI_SEEK_PARMS { DWORD dwCallback; DWORD dwTo; } MCI_SEEK_PARMS, *PMCI_SEEK_PARMS,*LPMCI_SEEK_PARMS; typedef struct tagMCI_STATUS_PARMS { DWORD dwCallback; DWORD dwReturn; DWORD dwItem; DWORD dwTrack; } MCI_STATUS_PARMS,*PMCI_STATUS_PARMS,*LPMCI_STATUS_PARMS; typedef struct tagMCI_INFO_PARMSA { DWORD dwCallback; LPSTR lpstrReturn; DWORD dwRetSize; } MCI_INFO_PARMSA,*LPMCI_INFO_PARMSA; typedef struct tagMCI_INFO_PARMSW { DWORD dwCallback; LPWSTR lpstrReturn; DWORD dwRetSize; } MCI_INFO_PARMSW,*LPMCI_INFO_PARMSW; typedef struct tagMCI_GETDEVCAPS_PARMS { DWORD dwCallback; DWORD dwReturn; DWORD dwItem; } MCI_GETDEVCAPS_PARMS,*PMCI_GETDEVCAPS_PARMS,*LPMCI_GETDEVCAPS_PARMS; typedef struct tagMCI_SYSINFO_PARMSA { DWORD dwCallback; LPSTR lpstrReturn; DWORD dwRetSize; DWORD dwNumber; UINT wDeviceType; } MCI_SYSINFO_PARMSA,*PMCI_SYSINFO_PARMSA,*LPMCI_SYSINFO_PARMSA; typedef struct tagMCI_SYSINFO_PARMSW { DWORD dwCallback; LPWSTR lpstrReturn; DWORD dwRetSize; DWORD dwNumber; UINT wDeviceType; } MCI_SYSINFO_PARMSW,*PMCI_SYSINFO_PARMSW,*LPMCI_SYSINFO_PARMSW; typedef struct tagMCI_SET_PARMS { DWORD dwCallback; DWORD dwTimeFormat; DWORD dwAudio; } MCI_SET_PARMS,*PMCI_SET_PARMS,*LPMCI_SET_PARMS; typedef struct tagMCI_BREAK_PARMS { DWORD dwCallback; int nVirtKey; HWND hwndBreak; } MCI_BREAK_PARMS,*PMCI_BREAK_PARMS,*LPMCI_BREAK_PARMS; typedef struct tagMCI_SAVE_PARMSA { DWORD dwCallback; LPCSTR lpfilename; } MCI_SAVE_PARMSA,*PMCI_SAVE_PARMSA,*LPMCI_SAVE_PARMSA; typedef struct tagMCI_SAVE_PARMSW { DWORD dwCallback; LPCWSTR lpfilename; } MCI_SAVE_PARMSW,*PMCI_SAVE_PARMSW,*LPMCI_SAVE_PARMSW; typedef struct tagMCI_LOAD_PARMSA { DWORD dwCallback; LPCSTR lpfilename; } MCI_LOAD_PARMSA,*PMCI_LOAD_PARMSA,*LPMCI_LOAD_PARMSA; typedef struct tagMCI_LOAD_PARMSW { DWORD dwCallback; LPCWSTR lpfilename; } MCI_LOAD_PARMSW,*PMCI_LOAD_PARMSW,*LPMCI_LOAD_PARMSW; typedef struct tagMCI_RECORD_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; } MCI_RECORD_PARMS,*LPMCI_RECORD_PARMS; typedef struct tagMCI_VD_PLAY_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; DWORD dwSpeed; } MCI_VD_PLAY_PARMS,*PMCI_VD_PLAY_PARMS,*LPMCI_VD_PLAY_PARMS; typedef struct tagMCI_VD_STEP_PARMS { DWORD dwCallback; DWORD dwFrames; } MCI_VD_STEP_PARMS,*PMCI_VD_STEP_PARMS,*LPMCI_VD_STEP_PARMS; typedef struct tagMCI_VD_ESCAPE_PARMSA { DWORD dwCallback; LPCSTR lpstrCommand; } MCI_VD_ESCAPE_PARMSA,*PMCI_VD_ESCAPE_PARMSA,*LPMCI_VD_ESCAPE_PARMSA; typedef struct tagMCI_VD_ESCAPE_PARMSW { DWORD dwCallback; LPCWSTR lpstrCommand; } MCI_VD_ESCAPE_PARMSW,*PMCI_VD_ESCAPE_PARMSW,*LPMCI_VD_ESCAPE_PARMSW; typedef struct tagMCI_WAVE_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; DWORD dwBufferSeconds; } MCI_WAVE_OPEN_PARMSA,*PMCI_WAVE_OPEN_PARMSA,*LPMCI_WAVE_OPEN_PARMSA; typedef struct tagMCI_WAVE_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias; DWORD dwBufferSeconds; } MCI_WAVE_OPEN_PARMSW,*PMCI_WAVE_OPEN_PARMSW,*LPMCI_WAVE_OPEN_PARMSW; typedef struct tagMCI_WAVE_DELETE_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; } MCI_WAVE_DELETE_PARMS, *PMCI_WAVE_DELETE_PARMS,*LPMCI_WAVE_DELETE_PARMS; typedef struct tagMCI_WAVE_SET_PARMS { DWORD dwCallback; DWORD dwTimeFormat; DWORD dwAudio; UINT wInput; UINT wOutput; WORD wFormatTag; WORD wReserved2; WORD nChannels; WORD wReserved3; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; WORD wReserved4; WORD wBitsPerSample; WORD wReserved5; } MCI_WAVE_SET_PARMS,*PMCI_WAVE_SET_PARMS,*LPMCI_WAVE_SET_PARMS; LRESULT __attribute__((__stdcall__)) CloseDriver(HDRVR,LONG,LONG); HDRVR __attribute__((__stdcall__)) OpenDriver(LPCWSTR,LPCWSTR,LONG); LRESULT __attribute__((__stdcall__)) SendDriverMessage(HDRVR,UINT,LONG,LONG); HMODULE __attribute__((__stdcall__)) DrvGetModuleHandle(HDRVR); HMODULE __attribute__((__stdcall__)) GetDriverModuleHandle(HDRVR); LRESULT __attribute__((__stdcall__)) DefDriverProc(DWORD,HDRVR,UINT,LPARAM,LPARAM); UINT __attribute__((__stdcall__)) mmsystemGetVersion(void); BOOL __attribute__((__stdcall__)) sndPlaySoundA(LPCSTR,UINT); BOOL __attribute__((__stdcall__)) sndPlaySoundW(LPCWSTR,UINT); BOOL __attribute__((__stdcall__)) PlaySoundA(LPCSTR,HMODULE,DWORD); BOOL __attribute__((__stdcall__)) PlaySoundW(LPCWSTR,HMODULE,DWORD); UINT __attribute__((__stdcall__)) waveOutGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) waveOutGetDevCapsA(UINT,LPWAVEOUTCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) waveOutGetDevCapsW(UINT,LPWAVEOUTCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) waveOutGetVolume(HWAVEOUT,PDWORD); MMRESULT __attribute__((__stdcall__)) waveOutSetVolume(HWAVEOUT,DWORD); MMRESULT __attribute__((__stdcall__)) waveOutGetErrorTextA(MMRESULT,LPSTR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutGetErrorTextW(MMRESULT,LPWSTR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutOpen(LPHWAVEOUT,UINT,LPCWAVEFORMATEX,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) waveOutClose(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutPrepareHeader(HWAVEOUT,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutUnprepareHeader(HWAVEOUT,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutWrite(HWAVEOUT,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutPause(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutRestart(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutReset(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutBreakLoop(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutGetPosition(HWAVEOUT,LPMMTIME,UINT); MMRESULT __attribute__((__stdcall__)) waveOutGetPitch(HWAVEOUT,PDWORD); MMRESULT __attribute__((__stdcall__)) waveOutSetPitch(HWAVEOUT,DWORD); MMRESULT __attribute__((__stdcall__)) waveOutGetPlaybackRate(HWAVEOUT,PDWORD); MMRESULT __attribute__((__stdcall__)) waveOutSetPlaybackRate(HWAVEOUT,DWORD); MMRESULT __attribute__((__stdcall__)) waveOutGetID(HWAVEOUT,LPUINT); MMRESULT __attribute__((__stdcall__)) waveOutMessage(HWAVEOUT,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) waveInGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) waveInGetDevCapsA(UINT,LPWAVEINCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) waveInGetDevCapsW(UINT,LPWAVEINCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) waveInGetErrorTextA(MMRESULT,LPSTR,UINT); MMRESULT __attribute__((__stdcall__)) waveInGetErrorTextW(MMRESULT,LPWSTR,UINT); MMRESULT __attribute__((__stdcall__)) waveInOpen(LPHWAVEIN,UINT,LPCWAVEFORMATEX,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) waveInClose(HWAVEIN); MMRESULT __attribute__((__stdcall__)) waveInPrepareHeader(HWAVEIN,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveInUnprepareHeader(HWAVEIN,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveInAddBuffer(HWAVEIN,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveInStart(HWAVEIN); MMRESULT __attribute__((__stdcall__)) waveInStop(HWAVEIN); MMRESULT __attribute__((__stdcall__)) waveInReset(HWAVEIN); MMRESULT __attribute__((__stdcall__)) waveInGetPosition(HWAVEIN,LPMMTIME,UINT); MMRESULT __attribute__((__stdcall__)) waveInGetID(HWAVEIN,LPUINT); MMRESULT __attribute__((__stdcall__)) waveInMessage(HWAVEIN,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) midiOutGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) midiStreamOpen(LPHMIDISTRM,LPUINT,DWORD,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) midiStreamClose(HMIDISTRM); MMRESULT __attribute__((__stdcall__)) midiStreamProperty(HMIDISTRM,LPBYTE,DWORD); MMRESULT __attribute__((__stdcall__)) midiStreamPosition(HMIDISTRM,LPMMTIME,UINT); MMRESULT __attribute__((__stdcall__)) midiStreamOut(HMIDISTRM,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiStreamPause(HMIDISTRM); MMRESULT __attribute__((__stdcall__)) midiStreamRestart(HMIDISTRM); MMRESULT __attribute__((__stdcall__)) midiStreamStop(HMIDISTRM); MMRESULT __attribute__((__stdcall__)) midiConnect(HMIDI,HMIDIOUT,PVOID); MMRESULT __attribute__((__stdcall__)) midiDisconnect(HMIDI,HMIDIOUT,PVOID); MMRESULT __attribute__((__stdcall__)) midiOutGetDevCapsA(UINT,LPMIDIOUTCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) midiOutGetDevCapsW(UINT,LPMIDIOUTCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) midiOutGetVolume(HMIDIOUT,PDWORD); MMRESULT __attribute__((__stdcall__)) midiOutSetVolume(HMIDIOUT,DWORD); MMRESULT __attribute__((__stdcall__)) midiOutGetErrorTextA(MMRESULT,LPSTR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutGetErrorTextW(MMRESULT,LPWSTR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutOpen(LPHMIDIOUT,UINT,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) midiOutClose(HMIDIOUT); MMRESULT __attribute__((__stdcall__)) midiOutPrepareHeader(HMIDIOUT,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutUnprepareHeader(HMIDIOUT,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutShortMsg(HMIDIOUT,DWORD); MMRESULT __attribute__((__stdcall__)) midiOutLongMsg(HMIDIOUT,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutReset(HMIDIOUT); MMRESULT __attribute__((__stdcall__)) midiOutCachePatches(HMIDIOUT,UINT,LPWORD,UINT); MMRESULT __attribute__((__stdcall__)) midiOutCacheDrumPatches(HMIDIOUT,UINT,LPWORD,UINT); MMRESULT __attribute__((__stdcall__)) midiOutGetID(HMIDIOUT,LPUINT); MMRESULT __attribute__((__stdcall__)) midiOutMessage(HMIDIOUT,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) midiInGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) midiInGetDevCapsA(UINT,LPMIDIINCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) midiInGetDevCapsW(UINT,LPMIDIINCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) midiInGetErrorTextA(MMRESULT,LPSTR,UINT); MMRESULT __attribute__((__stdcall__)) midiInGetErrorTextW(MMRESULT,LPWSTR,UINT); MMRESULT __attribute__((__stdcall__)) midiInOpen(LPHMIDIIN,UINT,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) midiInClose(HMIDIIN); MMRESULT __attribute__((__stdcall__)) midiInPrepareHeader(HMIDIIN,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiInUnprepareHeader(HMIDIIN,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiInAddBuffer(HMIDIIN,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiInStart(HMIDIIN); MMRESULT __attribute__((__stdcall__)) midiInStop(HMIDIIN); MMRESULT __attribute__((__stdcall__)) midiInReset(HMIDIIN); MMRESULT __attribute__((__stdcall__)) midiInGetID(HMIDIIN,LPUINT); MMRESULT __attribute__((__stdcall__)) midiInMessage(HMIDIIN,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) auxGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) auxGetDevCapsA(UINT,LPAUXCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) auxGetDevCapsW(UINT,LPAUXCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) auxSetVolume(UINT,DWORD); MMRESULT __attribute__((__stdcall__)) auxGetVolume(UINT,PDWORD); MMRESULT __attribute__((__stdcall__)) auxOutMessage(UINT,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) mixerGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) mixerGetDevCapsA(UINT,LPMIXERCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) mixerGetDevCapsW(UINT,LPMIXERCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) mixerOpen(LPHMIXER,UINT,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) mixerClose(HMIXER); DWORD __attribute__((__stdcall__)) mixerMessage(HMIXER,UINT,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetLineInfoA(HMIXEROBJ,LPMIXERLINEA,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetLineInfoW(HMIXEROBJ,LPMIXERLINEW,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetID(HMIXEROBJ,PUINT,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetLineControlsA(HMIXEROBJ,LPMIXERLINECONTROLSA,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetLineControlsW(HMIXEROBJ,LPMIXERLINECONTROLSW,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetControlDetailsA(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetControlDetailsW(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); MMRESULT __attribute__((__stdcall__)) mixerSetControlDetails(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); MMRESULT __attribute__((__stdcall__)) timeGetSystemTime(LPMMTIME,UINT); DWORD __attribute__((__stdcall__)) timeGetTime(void); MMRESULT __attribute__((__stdcall__)) timeSetEvent(UINT,UINT,LPTIMECALLBACK,DWORD,UINT); MMRESULT __attribute__((__stdcall__)) timeKillEvent(UINT); MMRESULT __attribute__((__stdcall__)) timeGetDevCaps(LPTIMECAPS,UINT); MMRESULT __attribute__((__stdcall__)) timeBeginPeriod(UINT); MMRESULT __attribute__((__stdcall__)) timeEndPeriod(UINT); UINT __attribute__((__stdcall__)) joyGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) joyGetDevCapsA(UINT,LPJOYCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) joyGetDevCapsW(UINT,LPJOYCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) joyGetPos(UINT,LPJOYINFO); MMRESULT __attribute__((__stdcall__)) joyGetPosEx(UINT,LPJOYINFOEX); MMRESULT __attribute__((__stdcall__)) joyGetThreshold(UINT,LPUINT); MMRESULT __attribute__((__stdcall__)) joyReleaseCapture(UINT); MMRESULT __attribute__((__stdcall__)) joySetCapture(HWND,UINT,UINT,BOOL); MMRESULT __attribute__((__stdcall__)) joySetThreshold(UINT,UINT); FOURCC __attribute__((__stdcall__)) mmioStringToFOURCCA(LPCSTR,UINT); FOURCC __attribute__((__stdcall__)) mmioStringToFOURCCW(LPCWSTR,UINT); LPMMIOPROC __attribute__((__stdcall__)) mmioInstallIOProcA(FOURCC,LPMMIOPROC,DWORD); LPMMIOPROC __attribute__((__stdcall__)) mmioInstallIOProcW(FOURCC,LPMMIOPROC,DWORD); HMMIO __attribute__((__stdcall__)) mmioOpenA(LPSTR,LPMMIOINFO,DWORD); HMMIO __attribute__((__stdcall__)) mmioOpenW(LPWSTR,LPMMIOINFO,DWORD); MMRESULT __attribute__((__stdcall__)) mmioRenameA(LPCSTR,LPCSTR,LPCMMIOINFO,DWORD); MMRESULT __attribute__((__stdcall__)) mmioRenameW(LPCWSTR,LPCWSTR,LPCMMIOINFO,DWORD); MMRESULT __attribute__((__stdcall__)) mmioClose(HMMIO,UINT); LONG __attribute__((__stdcall__)) mmioRead(HMMIO,HPSTR,LONG); LONG __attribute__((__stdcall__)) mmioWrite(HMMIO,LPCSTR,LONG); LONG __attribute__((__stdcall__)) mmioSeek(HMMIO,LONG,int); MMRESULT __attribute__((__stdcall__)) mmioGetInfo(HMMIO,LPMMIOINFO,UINT); MMRESULT __attribute__((__stdcall__)) mmioSetInfo(HMMIO,LPCMMIOINFO,UINT); MMRESULT __attribute__((__stdcall__)) mmioSetBuffer(HMMIO,LPSTR,LONG,UINT); MMRESULT __attribute__((__stdcall__)) mmioFlush(HMMIO,UINT); MMRESULT __attribute__((__stdcall__)) mmioAdvance(HMMIO,LPMMIOINFO,UINT); LRESULT __attribute__((__stdcall__)) mmioSendMessage(HMMIO,UINT,LPARAM,LPARAM); MMRESULT __attribute__((__stdcall__)) mmioDescend(HMMIO,LPMMCKINFO,const MMCKINFO*,UINT); MMRESULT __attribute__((__stdcall__)) mmioAscend(HMMIO,LPMMCKINFO,UINT); MMRESULT __attribute__((__stdcall__)) mmioCreateChunk(HMMIO,LPMMCKINFO,UINT); MCIERROR __attribute__((__stdcall__)) mciSendCommandA(MCIDEVICEID,UINT,DWORD,DWORD); MCIERROR __attribute__((__stdcall__)) mciSendCommandW(MCIDEVICEID,UINT,DWORD,DWORD); MCIERROR __attribute__((__stdcall__)) mciSendStringA(LPCSTR,LPSTR,UINT,HWND); MCIERROR __attribute__((__stdcall__)) mciSendStringW(LPCWSTR,LPWSTR,UINT,HWND); MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDA(LPCSTR); MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDW(LPCWSTR); MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDFromElementIDA(DWORD,LPCSTR); MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDFromElementIDW(DWORD,LPCWSTR); BOOL __attribute__((__stdcall__)) mciGetErrorStringA(MCIERROR,LPSTR,UINT); BOOL __attribute__((__stdcall__)) mciGetErrorStringW(MCIERROR,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) mciSetYieldProc(MCIDEVICEID,YIELDPROC,DWORD); HTASK __attribute__((__stdcall__)) mciGetCreatorTask(MCIDEVICEID); YIELDPROC __attribute__((__stdcall__)) mciGetYieldProc(MCIDEVICEID,PDWORD); typedef struct tagMCI_SEQ_SET_PARMS { DWORD dwCallback; DWORD dwTimeFormat; DWORD dwAudio; DWORD dwTempo; DWORD dwPort; DWORD dwSlave; DWORD dwMaster; DWORD dwOffset; } MCI_SEQ_SET_PARMS,*PMCI_SEQ_SET_PARMS,*LPMCI_SEQ_SET_PARMS; typedef struct tagMCI_ANIM_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; DWORD dwStyle; HWND hWndParent; } MCI_ANIM_OPEN_PARMSA,*PMCI_ANIM_OPEN_PARMSA,*LPMCI_ANIM_OPEN_PARMSA; typedef struct tagMCI_ANIM_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias; DWORD dwStyle; HWND hWndParent; } MCI_ANIM_OPEN_PARMSW,*PMCI_ANIM_OPEN_PARMSW,*LPMCI_ANIM_OPEN_PARMSW; typedef struct tagMCI_ANIM_PLAY_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; DWORD dwSpeed; } MCI_ANIM_PLAY_PARMS,*PMCI_ANIM_PLAY_PARMS,*LPMCI_ANIM_PLAY_PARMS; typedef struct tagMCI_ANIM_STEP_PARMS { DWORD dwCallback; DWORD dwFrames; } MCI_ANIM_STEP_PARMS,*PMCI_ANIM_STEP_PARMS,*LPMCI_ANIM_STEP_PARMS; typedef struct tagMCI_ANIM_WINDOW_PARMSA { DWORD dwCallback; HWND hWnd; UINT nCmdShow; LPCSTR lpstrText; } MCI_ANIM_WINDOW_PARMSA,*PMCI_ANIM_WINDOW_PARMSA,*LPMCI_ANIM_WINDOW_PARMSA; typedef struct tagMCI_ANIM_WINDOW_PARMSW { DWORD dwCallback; HWND hWnd; UINT nCmdShow; LPCWSTR lpstrText; } MCI_ANIM_WINDOW_PARMSW,*PMCI_ANIM_WINDOW_PARMSW,*LPMCI_ANIM_WINDOW_PARMSW; typedef struct tagMCI_ANIM_RECT_PARMS { DWORD dwCallback; RECT rc; } MCI_ANIM_RECT_PARMS,*PMCI_ANIM_RECT_PARMS,*LPMCI_ANIM_RECT_PARMS; typedef struct tagMCI_ANIM_UPDATE_PARMS { DWORD dwCallback; RECT rc; HDC hDC; } MCI_ANIM_UPDATE_PARMS,*PMCI_ANIM_UPDATE_PARMS,*LPMCI_ANIM_UPDATE_PARMS; typedef struct tagMCI_OVLY_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; DWORD dwStyle; HWND hWndParent; } MCI_OVLY_OPEN_PARMSA,*PMCI_OVLY_OPEN_PARMSA,*LPMCI_OVLY_OPEN_PARMSA; typedef struct tagMCI_OVLY_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias; DWORD dwStyle; HWND hWndParent; } MCI_OVLY_OPEN_PARMSW,*PMCI_OVLY_OPEN_PARMSW,*LPMCI_OVLY_OPEN_PARMSW; typedef struct tagMCI_OVLY_WINDOW_PARMSA { DWORD dwCallback; HWND hWnd; UINT nCmdShow; LPCSTR lpstrText; } MCI_OVLY_WINDOW_PARMSA,*PMCI_OVLY_WINDOW_PARMSA,*LPMCI_OVLY_WINDOW_PARMSA; typedef struct tagMCI_OVLY_WINDOW_PARMSW { DWORD dwCallback; HWND hWnd; UINT nCmdShow; LPCWSTR lpstrText; } MCI_OVLY_WINDOW_PARMSW,*PMCI_OVLY_WINDOW_PARMSW,*LPMCI_OVLY_WINDOW_PARMSW; typedef struct tagMCI_OVLY_RECT_PARMS { DWORD dwCallback; RECT rc; } MCI_OVLY_RECT_PARMS,*PMCI_OVLY_RECT_PARMS,*LPMCI_OVLY_RECT_PARMS; typedef struct tagMCI_OVLY_SAVE_PARMSA { DWORD dwCallback; LPCSTR lpfilename; RECT rc; } MCI_OVLY_SAVE_PARMSA,*PMCI_OVLY_SAVE_PARMSA,*LPMCI_OVLY_SAVE_PARMSA; typedef struct tagMCI_OVLY_SAVE_PARMSW { DWORD dwCallback; LPCWSTR lpfilename; RECT rc; } MCI_OVLY_SAVE_PARMSW,*PMCI_OVLY_SAVE_PARMSW,*LPMCI_OVLY_SAVE_PARMSW; typedef struct tagMCI_OVLY_LOAD_PARMSA { DWORD dwCallback; LPCSTR lpfilename; RECT rc; } MCI_OVLY_LOAD_PARMSA,*PMCI_OVLY_LOAD_PARMSA,*LPMCI_OVLY_LOAD_PARMSA; typedef struct tagMCI_OVLY_LOAD_PARMSW { DWORD dwCallback; LPCWSTR lpfilename; RECT rc; } MCI_OVLY_LOAD_PARMSW,*PMCI_OVLY_LOAD_PARMSW,*LPMCI_OVLY_LOAD_PARMSW; # 1890 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/mmsystem.h" 3 typedef WAVEOUTCAPSA WAVEOUTCAPS,*PWAVEOUTCAPS,*LPWAVEOUTCAPS; typedef WAVEINCAPSA WAVEINCAPS,*PWAVEINCAPS,*LPWAVEINCAPS; typedef MIDIOUTCAPSA MIDIOUTCAPS,*PMIDIOUTCAPS,*LPMIDIOUTCAPS; typedef MIDIINCAPSA MIDIINCAPS,*PMIDIINCAPS,*LPMIDIINCAPS; typedef AUXCAPSA AUXCAPS,*PAUXCAPS,*LPAUXCAPS; typedef MIXERCAPSA MIXERCAPS,*PMIXERCAPS,*LPMIXERCAPS; typedef MIXERLINEA MIXERLINE,*PMIXERLINE,*LPMIXERLINE; typedef MIXERCONTROLA MIXERCONTROL,*PMIXERCONTROL,*LPMIXERCONTROL; typedef MIXERLINECONTROLSA MIXERLINECONTROLS,*PMIXERLINECONTROLS,*LPMIXERLINECONTROLS; typedef MIXERCONTROLDETAILS_LISTTEXTA MIXERCONTROLDETAILS_LISTTEXT,*PMIXERCONTROLDETAILS_LISTTEXT,*LPMIXERCONTROLDETAILS_LISTTEXT; typedef JOYCAPSA JOYCAPS,*PJOYCAPS,*LPJOYCAPS; typedef MCI_OPEN_PARMSA MCI_OPEN_PARMS,*PMCI_OPEN_PARMS,*LPMCI_OPEN_PARMS; typedef MCI_INFO_PARMSA MCI_INFO_PARMS,*LPMCI_INFO_PARMS; typedef MCI_SYSINFO_PARMSA MCI_SYSINFO_PARMS,*PMCI_SYSINFO_PARMS,*LPMCI_SYSINFO_PARMS; typedef MCI_SAVE_PARMSA MCI_SAVE_PARMS,*PMCI_SAVE_PARMS,*LPMCI_SAVE_PARMS; typedef MCI_LOAD_PARMSA MCI_LOAD_PARMS,*PMCI_LOAD_PARMS,*LPMCI_LOAD_PARMS; typedef MCI_VD_ESCAPE_PARMSA MCI_VD_ESCAPE_PARMS,*PMCI_VD_ESCAPE_PARMS,*LPMCI_VD_ESCAPE_PARMS; typedef MCI_WAVE_OPEN_PARMSA MCI_WAVE_OPEN_PARMS,*PMCI_WAVE_OPEN_PARMS,*LPMCI_WAVE_OPEN_PARMS; typedef MCI_ANIM_OPEN_PARMSA MCI_ANIM_OPEN_PARMS,*PMCI_ANIM_OPEN_PARMS,*LPMCI_ANIM_OPEN_PARMS; typedef MCI_ANIM_WINDOW_PARMSA MCI_ANIM_WINDOW_PARMS,*PMCI_ANIM_WINDOW_PARMS,*LPMCI_ANIM_WINDOW_PARMS; typedef MCI_OVLY_OPEN_PARMSA MCI_OVLY_OPEN_PARMS,*PMCI_OVLY_OPEN_PARMS,*LPMCI_OVLY_OPEN_PARMS; typedef MCI_OVLY_WINDOW_PARMSA MCI_OVLY_WINDOW_PARMS,*PMCI_OVLY_WINDOW_PARMS,*LPMCI_OVLY_WINDOW_PARMS; typedef MCI_OVLY_SAVE_PARMSA MCI_OVLY_SAVE_PARMS,*PMCI_OVLY_SAVE_PARMS,*LPMCI_OVLY_SAVE_PARMS; # 1942 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/mmsystem.h" 3 #pragma pack(pop) # 81 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/nb30.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/nb30.h" 3 # 95 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/nb30.h" 3 typedef struct _ACTION_HEADER { ULONG transport_id; USHORT action_code; USHORT reserved; } ACTION_HEADER,*PACTION_HEADER; typedef struct _ADAPTER_STATUS { UCHAR adapter_address[6]; UCHAR rev_major; UCHAR reserved0; UCHAR adapter_type; UCHAR rev_minor; WORD duration; WORD frmr_recv; WORD frmr_xmit; WORD iframe_recv_err; WORD xmit_aborts; DWORD xmit_success; DWORD recv_success; WORD iframe_xmit_err; WORD recv_buff_unavail; WORD t1_timeouts; WORD ti_timeouts; DWORD reserved1; WORD free_ncbs; WORD max_cfg_ncbs; WORD max_ncbs; WORD xmit_buf_unavail; WORD max_dgram_size; WORD pending_sess; WORD max_cfg_sess; WORD max_sess; WORD max_sess_pkt_size; WORD name_count; } ADAPTER_STATUS,*PADAPTER_STATUS; typedef struct _FIND_NAME_BUFFER { UCHAR length; UCHAR access_control; UCHAR frame_control; UCHAR destination_addr[6]; UCHAR source_addr[6]; UCHAR routing_info[18]; } FIND_NAME_BUFFER,*PFIND_NAME_BUFFER; typedef struct _FIND_NAME_HEADER { WORD node_count; UCHAR reserved; UCHAR unique_group; } FIND_NAME_HEADER,*PFIND_NAME_HEADER; typedef struct _LANA_ENUM { UCHAR length; UCHAR lana[254 +1]; } LANA_ENUM,*PLANA_ENUM; typedef struct _NAME_BUFFER { UCHAR name[16]; UCHAR name_num; UCHAR name_flags; } NAME_BUFFER,*PNAME_BUFFER; typedef struct _NCB { UCHAR ncb_command; UCHAR ncb_retcode; UCHAR ncb_lsn; UCHAR ncb_num; PUCHAR ncb_buffer; WORD ncb_length; UCHAR ncb_callname[16]; UCHAR ncb_name[16]; UCHAR ncb_rto; UCHAR ncb_sto; void (__attribute__((__stdcall__)) *ncb_post)(struct _NCB*); UCHAR ncb_lana_num; UCHAR ncb_cmd_cplt; UCHAR ncb_reserve[10]; HANDLE ncb_event; } NCB,*PNCB; typedef struct _SESSION_BUFFER { UCHAR lsn; UCHAR state; UCHAR local_name[16]; UCHAR remote_name[16]; UCHAR rcvs_outstanding; UCHAR sends_outstanding; } SESSION_BUFFER,*PSESSION_BUFFER; typedef struct _SESSION_HEADER { UCHAR sess_name; UCHAR num_sess; UCHAR rcv_dg_outstanding; UCHAR rcv_any_outstanding; } SESSION_HEADER,*PSESSION_HEADER; UCHAR __attribute__((__stdcall__)) Netbios(PNCB); # 82 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 1 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 1 3 # 3 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 2 3 # 9 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 3 # 37 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 3 typedef void *I_RPC_HANDLE; typedef long RPC_STATUS; # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdce.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdce.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/basetyps.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/basetyps.h" 3 # 125 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/basetyps.h" 3 typedef GUID UUID; typedef GUID IID; typedef GUID CLSID; typedef CLSID *LPCLSID; typedef IID *LPIID; typedef IID *REFIID; typedef CLSID *REFCLSID; typedef GUID FMTID; typedef FMTID *REFFMTID; typedef unsigned long error_status_t; typedef unsigned long PROPID; # 11 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdce.h" 2 3 # 94 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdce.h" 3 typedef I_RPC_HANDLE RPC_BINDING_HANDLE; typedef RPC_BINDING_HANDLE handle_t; typedef struct _RPC_BINDING_VECTOR { unsigned long Count; RPC_BINDING_HANDLE BindingH[1]; } RPC_BINDING_VECTOR; typedef struct _UUID_VECTOR { unsigned long Count; UUID *Uuid[1]; } UUID_VECTOR; typedef void *RPC_IF_HANDLE; typedef struct _RPC_IF_ID { UUID Uuid; unsigned short VersMajor; unsigned short VersMinor; } RPC_IF_ID; typedef struct _RPC_POLICY { unsigned int Length ; unsigned long EndpointFlags ; unsigned long NICFlags ; } RPC_POLICY,*PRPC_POLICY ; typedef void __attribute__((__stdcall__)) RPC_OBJECT_INQ_FN(UUID*,UUID*,RPC_STATUS*); typedef RPC_STATUS RPC_IF_CALLBACK_FN(RPC_IF_HANDLE,void*); typedef struct { unsigned int Count; unsigned long Stats[1]; } RPC_STATS_VECTOR; typedef struct { unsigned long Count; RPC_IF_ID*IfId[1]; } RPC_IF_ID_VECTOR; typedef void *RPC_AUTH_IDENTITY_HANDLE; typedef void *RPC_AUTHZ_HANDLE; typedef struct _RPC_SECURITY_QOS { unsigned long Version; unsigned long Capabilities; unsigned long IdentityTracking; unsigned long ImpersonationType; } RPC_SECURITY_QOS,*PRPC_SECURITY_QOS; typedef struct _SEC_WINNT_AUTH_IDENTITY_W { unsigned short *User; unsigned long UserLength; unsigned short *Domain; unsigned long DomainLength; unsigned short *Password; unsigned long PasswordLength; unsigned long Flags; } SEC_WINNT_AUTH_IDENTITY_W,*PSEC_WINNT_AUTH_IDENTITY_W; typedef struct _SEC_WINNT_AUTH_IDENTITY_A { unsigned char *User; unsigned long UserLength; unsigned char *Domain; unsigned long DomainLength; unsigned char *Password; unsigned long PasswordLength; unsigned long Flags; } SEC_WINNT_AUTH_IDENTITY_A,*PSEC_WINNT_AUTH_IDENTITY_A; typedef struct { unsigned char *UserName; unsigned char *ComputerName; unsigned short Privilege; unsigned long AuthFlags; } RPC_CLIENT_INFORMATION1,* PRPC_CLIENT_INFORMATION1; typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE; typedef int(__attribute__((__stdcall__)) *RPC_MGMT_AUTHORIZATION_FN)(RPC_BINDING_HANDLE,unsigned long,RPC_STATUS*); typedef struct _RPC_PROTSEQ_VECTORA { unsigned int Count; unsigned char*Protseq[1]; } RPC_PROTSEQ_VECTORA; typedef struct _RPC_PROTSEQ_VECTORW { unsigned int Count; unsigned short*Protseq[1]; } RPC_PROTSEQ_VECTORW; RPC_STATUS __attribute__((__stdcall__)) RpcBindingFromStringBindingA(unsigned char *,RPC_BINDING_HANDLE *); RPC_STATUS __attribute__((__stdcall__)) RpcBindingFromStringBindingW(unsigned short *,RPC_BINDING_HANDLE *); RPC_STATUS __attribute__((__stdcall__)) RpcBindingToStringBindingA(RPC_BINDING_HANDLE,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcBindingToStringBindingW(RPC_BINDING_HANDLE,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcStringBindingComposeA(unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char **); RPC_STATUS __attribute__((__stdcall__)) RpcStringBindingComposeW(unsigned short *,unsigned short *,unsigned short *,unsigned short *,unsigned short *,unsigned short **); RPC_STATUS __attribute__((__stdcall__)) RpcStringBindingParseA(unsigned char *,unsigned char **,unsigned char **,unsigned char **,unsigned char **,unsigned char **); RPC_STATUS __attribute__((__stdcall__)) RpcStringBindingParseW(unsigned short *,unsigned short **,unsigned short **,unsigned short **,unsigned short **,unsigned short **); RPC_STATUS __attribute__((__stdcall__)) RpcStringFreeA(unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcStringFreeW(unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNetworkIsProtseqValidA(unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNetworkIsProtseqValidW(unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNetworkInqProtseqsA(RPC_PROTSEQ_VECTORA**); RPC_STATUS __attribute__((__stdcall__)) RpcNetworkInqProtseqsW(RPC_PROTSEQ_VECTORW**); RPC_STATUS __attribute__((__stdcall__)) RpcProtseqVectorFreeA(RPC_PROTSEQ_VECTORA**); RPC_STATUS __attribute__((__stdcall__)) RpcProtseqVectorFreeW(RPC_PROTSEQ_VECTORW**); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqA(unsigned char*,unsigned int,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqW(unsigned short*,unsigned int,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqExA(unsigned char*,unsigned int MaxCalls,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqExW(unsigned short*,unsigned int,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqEpA(unsigned char*,unsigned int,unsigned char*,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqEpExA(unsigned char*,unsigned int,unsigned char*,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqEpW(unsigned short*,unsigned int,unsigned short*,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqEpExW(unsigned short*,unsigned int,unsigned short*,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqIfA(unsigned char*,unsigned int,RPC_IF_HANDLE,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqIfExA(unsigned char*,unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqIfW(unsigned short*,unsigned int,RPC_IF_HANDLE,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqIfExW(unsigned short*,unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqServerPrincNameA(RPC_BINDING_HANDLE,unsigned long,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqServerPrincNameW(RPC_BINDING_HANDLE,unsigned long,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcServerInqDefaultPrincNameA(unsigned long,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcServerInqDefaultPrincNameW(unsigned long,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingInqEntryNameA(RPC_BINDING_HANDLE,unsigned long,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingInqEntryNameW(RPC_BINDING_HANDLE,unsigned long,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthClientA(RPC_BINDING_HANDLE,RPC_AUTHZ_HANDLE *,unsigned char**,unsigned long*,unsigned long*,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthClientW(RPC_BINDING_HANDLE,RPC_AUTHZ_HANDLE *,unsigned short**,unsigned long*,unsigned long*,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthInfoA(RPC_BINDING_HANDLE,unsigned char**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthInfoW(RPC_BINDING_HANDLE,unsigned short**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetAuthInfoA(RPC_BINDING_HANDLE,unsigned char*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetAuthInfoExA(RPC_BINDING_HANDLE,unsigned char*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long,RPC_SECURITY_QOS*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetAuthInfoW(RPC_BINDING_HANDLE,unsigned short*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetAuthInfoExW(RPC_BINDING_HANDLE,unsigned short*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long,RPC_SECURITY_QOS*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthInfoExA(RPC_BINDING_HANDLE,unsigned char**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*,unsigned long,RPC_SECURITY_QOS*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthInfoExW(RPC_BINDING_HANDLE,unsigned short ** , unsigned long *, unsigned long *, RPC_AUTH_IDENTITY_HANDLE *, unsigned long *, unsigned long , RPC_SECURITY_QOS *); typedef void(__attribute__((__stdcall__)) *RPC_AUTH_KEY_RETRIEVAL_FN)(void*,unsigned short*,unsigned long,void**,RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterAuthInfoA(unsigned char*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterAuthInfoW(unsigned short*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN,void*); RPC_STATUS __attribute__((__stdcall__)) UuidToStringA(UUID*,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) UuidFromStringA(unsigned char*,UUID*); RPC_STATUS __attribute__((__stdcall__)) UuidToStringW(UUID*,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) UuidFromStringW(unsigned short*,UUID*); RPC_STATUS __attribute__((__stdcall__)) RpcEpRegisterNoReplaceA(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcEpRegisterNoReplaceW(RPC_IF_HANDLE,RPC_BINDING_VECTOR*, UUID_VECTOR*,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcEpRegisterA(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcEpRegisterW(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) DceErrorInqTextA(RPC_STATUS,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) DceErrorInqTextW(RPC_STATUS,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpEltInqNextA(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpEltInqNextW(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned short**); # 332 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdce.h" 3 RPC_STATUS __attribute__((__stdcall__)) RpcBindingCopy(RPC_BINDING_HANDLE,RPC_BINDING_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingFree(RPC_BINDING_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqObject(RPC_BINDING_HANDLE,UUID *); RPC_STATUS __attribute__((__stdcall__)) RpcBindingReset(RPC_BINDING_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetObject(RPC_BINDING_HANDLE,UUID *); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqDefaultProtectLevel(unsigned long,unsigned long *); RPC_STATUS __attribute__((__stdcall__)) RpcBindingVectorFree(RPC_BINDING_VECTOR **); RPC_STATUS __attribute__((__stdcall__)) RpcIfInqId(RPC_IF_HANDLE,RPC_IF_ID *); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqComTimeout(RPC_BINDING_HANDLE,unsigned int*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetComTimeout(RPC_BINDING_HANDLE,unsigned int); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetCancelTimeout(long Timeout); RPC_STATUS __attribute__((__stdcall__)) RpcObjectInqType(UUID *,UUID *); RPC_STATUS __attribute__((__stdcall__)) RpcObjectSetInqFn(RPC_OBJECT_INQ_FN *); RPC_STATUS __attribute__((__stdcall__)) RpcObjectSetType(UUID *,UUID *); RPC_STATUS __attribute__((__stdcall__)) RpcProtseqVectorFreeA(RPC_PROTSEQ_VECTORA **); RPC_STATUS __attribute__((__stdcall__)) RpcServerInqIf(RPC_IF_HANDLE,UUID*,void**); RPC_STATUS __attribute__((__stdcall__)) RpcServerListen(unsigned int,unsigned int,unsigned int); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterIf(RPC_IF_HANDLE,UUID*,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterIfEx(RPC_IF_HANDLE,UUID*,void*,unsigned int,unsigned int,RPC_IF_CALLBACK_FN*); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterIf2(RPC_IF_HANDLE,UUID*,void*,unsigned int,unsigned int,unsigned int,RPC_IF_CALLBACK_FN*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUnregisterIf(RPC_IF_HANDLE,UUID*,unsigned int); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseAllProtseqs(unsigned int,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseAllProtseqsEx(unsigned int,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseAllProtseqsIf(unsigned int,RPC_IF_HANDLE,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseAllProtseqsIfEx(unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtStatsVectorFree(RPC_STATS_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqStats(RPC_BINDING_HANDLE,RPC_STATS_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtIsServerListening(RPC_BINDING_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtStopServerListening(RPC_BINDING_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtWaitServerListen(void); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetServerStackSize(unsigned long); void __attribute__((__stdcall__)) RpcSsDontSerializeContext(void); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEnableIdleCleanup(void); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqIfIds(RPC_BINDING_HANDLE,RPC_IF_ID_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcIfIdVectorFree(RPC_IF_ID_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcEpResolveBinding(RPC_BINDING_HANDLE,RPC_IF_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcBindingServerFromClient(RPC_BINDING_HANDLE,RPC_BINDING_HANDLE*); __attribute__((noreturn)) void __attribute__((__stdcall__)) RpcRaiseException(RPC_STATUS); RPC_STATUS __attribute__((__stdcall__)) RpcTestCancel(void); RPC_STATUS __attribute__((__stdcall__)) RpcCancelThread(void*); RPC_STATUS __attribute__((__stdcall__)) UuidCreate(UUID*); signed int __attribute__((__stdcall__)) UuidCompare(UUID*,UUID*, RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) UuidCreateNil(UUID*); int __attribute__((__stdcall__)) UuidEqual(UUID*,UUID*, RPC_STATUS*); unsigned short __attribute__((__stdcall__)) UuidHash(UUID*,RPC_STATUS*); int __attribute__((__stdcall__)) UuidIsNil(UUID*,RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) RpcEpUnregister(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpEltInqBegin(RPC_BINDING_HANDLE,unsigned long,RPC_IF_ID*,unsigned long,UUID*,RPC_EP_INQ_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpEltInqDone(RPC_EP_INQ_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpUnregister(RPC_BINDING_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE,UUID*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetAuthorizationFn(RPC_MGMT_AUTHORIZATION_FN); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqParameter(unsigned int,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetParameter(unsigned int,unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtBindingInqParameter(RPC_BINDING_HANDLE,unsigned int,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtBindingSetParameter(RPC_BINDING_HANDLE,unsigned int,unsigned long); # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdcep.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdcep.h" 3 # 22 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdcep.h" 3 typedef struct _RPC_VERSION { unsigned short MajorVersion; unsigned short MinorVersion; } RPC_VERSION; typedef struct _RPC_SYNTAX_IDENTIFIER { GUID SyntaxGUID; RPC_VERSION SyntaxVersion; } RPC_SYNTAX_IDENTIFIER, *PRPC_SYNTAX_IDENTIFIER; typedef struct _RPC_MESSAGE { HANDLE Handle; unsigned long DataRepresentation; void *Buffer; unsigned int BufferLength; unsigned int ProcNum; PRPC_SYNTAX_IDENTIFIER TransferSyntax; void *RpcInterfaceInformation; void *ReservedForRuntime; void *ManagerEpv; void *ImportContext; unsigned long RpcFlags; } RPC_MESSAGE,*PRPC_MESSAGE; typedef long __attribute__((__stdcall__)) RPC_FORWARD_FUNCTION(GUID*,RPC_VERSION*,GUID*,unsigned char*,void**); typedef void(__attribute__((__stdcall__)) *RPC_DISPATCH_FUNCTION) ( PRPC_MESSAGE Message); typedef struct { unsigned int DispatchTableCount; RPC_DISPATCH_FUNCTION *DispatchTable; int Reserved; } RPC_DISPATCH_TABLE,*PRPC_DISPATCH_TABLE; typedef struct _RPC_PROTSEQ_ENDPOINT { unsigned char *RpcProtocolSequence; unsigned char *Endpoint; } RPC_PROTSEQ_ENDPOINT,*PRPC_PROTSEQ_ENDPOINT; typedef struct _RPC_SERVER_INTERFACE { unsigned int Length; RPC_SYNTAX_IDENTIFIER InterfaceId; RPC_SYNTAX_IDENTIFIER TransferSyntax; PRPC_DISPATCH_TABLE DispatchTable; unsigned int RpcProtseqEndpointCount; PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint; void *DefaultManagerEpv; void const *InterpreterInfo; } RPC_SERVER_INTERFACE,*PRPC_SERVER_INTERFACE; typedef struct _RPC_CLIENT_INTERFACE { unsigned int Length; RPC_SYNTAX_IDENTIFIER InterfaceId; RPC_SYNTAX_IDENTIFIER TransferSyntax; PRPC_DISPATCH_TABLE DispatchTable; unsigned int RpcProtseqEndpointCount; PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint; unsigned long Reserved; void const *InterpreterInfo; } RPC_CLIENT_INTERFACE,*PRPC_CLIENT_INTERFACE; typedef void *I_RPC_MUTEX; typedef struct _RPC_TRANSFER_SYNTAX { GUID Uuid; unsigned short VersMajor; unsigned short VersMinor; } RPC_TRANSFER_SYNTAX; typedef RPC_STATUS (*RPC_BLOCKING_FN)(void*,void*,void*); long __attribute__((__stdcall__)) I_RpcGetBuffer(RPC_MESSAGE*); long __attribute__((__stdcall__)) I_RpcSendReceive(RPC_MESSAGE*); long __attribute__((__stdcall__)) I_RpcSend(RPC_MESSAGE*); long __attribute__((__stdcall__)) I_RpcFreeBuffer(RPC_MESSAGE*); void __attribute__((__stdcall__)) I_RpcRequestMutex(I_RPC_MUTEX*); void __attribute__((__stdcall__)) I_RpcClearMutex(I_RPC_MUTEX); void __attribute__((__stdcall__)) I_RpcDeleteMutex(I_RPC_MUTEX); __attribute__((__stdcall__)) void * I_RpcAllocate(unsigned int); void __attribute__((__stdcall__)) I_RpcFree(void*); void __attribute__((__stdcall__)) I_RpcPauseExecution(unsigned long); typedef void(__attribute__((__stdcall__)) *PRPC_RUNDOWN) (void*); long __attribute__((__stdcall__)) I_RpcMonitorAssociation(HANDLE,PRPC_RUNDOWN,void*); long __attribute__((__stdcall__)) I_RpcStopMonitorAssociation(HANDLE); HANDLE __attribute__((__stdcall__)) I_RpcGetCurrentCallHandle(void); long __attribute__((__stdcall__)) I_RpcGetAssociationContext(void**); long __attribute__((__stdcall__)) I_RpcSetAssociationContext(void*); long __attribute__((__stdcall__)) I_RpcNsBindingSetEntryName(HANDLE,unsigned long,unsigned short*); long __attribute__((__stdcall__)) I_RpcBindingInqDynamicEndpoint(HANDLE, unsigned short**); long __attribute__((__stdcall__)) I_RpcBindingInqTransportType(HANDLE,unsigned int*); long __attribute__((__stdcall__)) I_RpcIfInqTransferSyntaxes(HANDLE,RPC_TRANSFER_SYNTAX*,unsigned int,unsigned int*); long __attribute__((__stdcall__)) I_UuidCreate(GUID*); long __attribute__((__stdcall__)) I_RpcBindingCopy(HANDLE,HANDLE*); long __attribute__((__stdcall__)) I_RpcBindingIsClientLocal(HANDLE,unsigned int*); void __attribute__((__stdcall__)) I_RpcSsDontSerializeContext(void); long __attribute__((__stdcall__)) I_RpcServerRegisterForwardFunction(RPC_FORWARD_FUNCTION*); long __attribute__((__stdcall__)) I_RpcConnectionInqSockBuffSize(unsigned long*,unsigned long*); long __attribute__((__stdcall__)) I_RpcConnectionSetSockBuffSize(unsigned long,unsigned long); long __attribute__((__stdcall__)) I_RpcBindingSetAsync(HANDLE,RPC_BLOCKING_FN); long __attribute__((__stdcall__)) I_RpcAsyncSendReceive(RPC_MESSAGE*,void*); long __attribute__((__stdcall__)) I_RpcGetThreadWindowHandle(void**); long __attribute__((__stdcall__)) I_RpcServerThreadPauseListening(void); long __attribute__((__stdcall__)) I_RpcServerThreadContinueListening(void); long __attribute__((__stdcall__)) I_RpcServerUnregisterEndpointA(unsigned char*,unsigned char*); long __attribute__((__stdcall__)) I_RpcServerUnregisterEndpointW(unsigned short*,unsigned short*); # 393 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcdce.h" 2 3 # 41 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcnsi.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcnsi.h" 3 typedef void *RPC_NS_HANDLE; # 20 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcnsi.h" 3 RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingExportA(unsigned long,unsigned char*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingUnexportA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingLookupBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingLookupNext(RPC_NS_HANDLE,RPC_BINDING_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingLookupDone(RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupDeleteA(unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrAddA(unsigned long,unsigned char*,unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrRemoveA(unsigned long,unsigned char*,unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqNextA(RPC_NS_HANDLE,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqDone(RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileDeleteA(unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltAddA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*,unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltRemoveA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned char*,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqNextA(RPC_NS_HANDLE,RPC_IF_ID*,unsigned char**,unsigned long*,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqDone(RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryObjectInqNext( RPC_NS_HANDLE, UUID*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryObjectInqDone( RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryExpandNameA(unsigned long,unsigned char*,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtBindingUnexportA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryCreateA(unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryDeleteA(unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryInqIfIdsA(unsigned long,unsigned char*,RPC_IF_ID_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtHandleSetExpAge(RPC_NS_HANDLE,unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtInqExpAge(unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtSetExpAge(unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingImportNext(RPC_NS_HANDLE,RPC_BINDING_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingImportDone(RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingSelect(RPC_BINDING_VECTOR*,RPC_BINDING_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryObjectInqBeginA(unsigned long,unsigned char*,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingImportBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingExportW(unsigned long,unsigned short*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingUnexportW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingLookupBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupDeleteW(unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrAddW(unsigned long,unsigned short*,unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrRemoveW(unsigned long,unsigned short*,unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqBeginW(unsigned long,unsigned short*,unsigned long,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqNextW(RPC_NS_HANDLE,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileDeleteW(unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltAddW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*,unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltRemoveW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqBeginW(unsigned long,unsigned short*, unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned short*, RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqNextW(RPC_NS_HANDLE,RPC_IF_ID*, unsigned short**,unsigned long*,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryObjectInqBeginW(unsigned long,unsigned short*,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryExpandNameW(unsigned long,unsigned short*,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtBindingUnexportW(unsigned long,unsigned short*,RPC_IF_ID*,unsigned long,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryCreateW(unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryDeleteW(unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryInqIfIdsW(unsigned long,unsigned short , RPC_IF_ID_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingImportBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*); # 42 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcnterr.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcnterr.h" 3 # 43 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 2 3 # 59 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 3 RPC_STATUS __attribute__((__stdcall__)) RpcImpersonateClient(RPC_BINDING_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcRevertToSelf(void); long __attribute__((__stdcall__)) I_RpcMapWin32Status(RPC_STATUS); # 83 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/shellapi.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/shellapi.h" 3 # 145 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/shellapi.h" 3 typedef WORD FILEOP_FLAGS; typedef WORD PRINTEROP_FLAGS; # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/pshpack2.h" 1 3 #pragma pack(push,2) # 148 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/shellapi.h" 2 3 typedef struct _AppBarData { DWORD cbSize; HWND hWnd; UINT uCallbackMessage; UINT uEdge; RECT rc; LPARAM lParam; } APPBARDATA,*PAPPBARDATA; typedef struct HDROP__{int i;}*HDROP; typedef struct _NOTIFYICONDATAA { DWORD cbSize; HWND hWnd; UINT uID; UINT uFlags; UINT uCallbackMessage; HICON hIcon; # 177 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/shellapi.h" 3 CHAR szTip[64]; } NOTIFYICONDATAA,*PNOTIFYICONDATAA; typedef struct _NOTIFYICONDATAW { DWORD cbSize; HWND hWnd; UINT uID; UINT uFlags; UINT uCallbackMessage; HICON hIcon; # 206 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/shellapi.h" 3 WCHAR szTip[64]; } NOTIFYICONDATAW,*PNOTIFYICONDATAW; typedef struct _SHELLEXECUTEINFOA { DWORD cbSize; ULONG fMask; HWND hwnd; LPCSTR lpVerb; LPCSTR lpFile; LPCSTR lpParameters; LPCSTR lpDirectory; int nShow; HINSTANCE hInstApp; PVOID lpIDList; LPCSTR lpClass; HKEY hkeyClass; DWORD dwHotKey; HANDLE hIcon; HANDLE hProcess; } SHELLEXECUTEINFOA,*LPSHELLEXECUTEINFOA; typedef struct _SHELLEXECUTEINFOW { DWORD cbSize; ULONG fMask; HWND hwnd; LPCWSTR lpVerb; LPCWSTR lpFile; LPCWSTR lpParameters; LPCWSTR lpDirectory; int nShow; HINSTANCE hInstApp; PVOID lpIDList; LPCWSTR lpClass; HKEY hkeyClass; DWORD dwHotKey; HANDLE hIcon; HANDLE hProcess; } SHELLEXECUTEINFOW,*LPSHELLEXECUTEINFOW; typedef struct _SHFILEOPSTRUCTA { HWND hwnd; UINT wFunc; LPCSTR pFrom; LPCSTR pTo; FILEOP_FLAGS fFlags; BOOL fAnyOperationsAborted; PVOID hNameMappings; LPCSTR lpszProgressTitle; } SHFILEOPSTRUCTA,*LPSHFILEOPSTRUCTA; typedef struct _SHFILEOPSTRUCTW { HWND hwnd; UINT wFunc; LPCWSTR pFrom; LPCWSTR pTo; FILEOP_FLAGS fFlags; BOOL fAnyOperationsAborted; PVOID hNameMappings; LPCWSTR lpszProgressTitle; } SHFILEOPSTRUCTW,*LPSHFILEOPSTRUCTW; typedef struct _SHFILEINFOA { HICON hIcon; int iIcon; DWORD dwAttributes; CHAR szDisplayName[260]; CHAR szTypeName[80]; } SHFILEINFOA; typedef struct _SHFILEINFOW { HICON hIcon; int iIcon; DWORD dwAttributes; WCHAR szDisplayName[260]; WCHAR szTypeName[80]; } SHFILEINFOW; typedef struct _SHQUERYRBINFO { DWORD cbSize; long long i64Size; long long i64NumItems; } SHQUERYRBINFO, *LPSHQUERYRBINFO; # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/poppack.h" 1 3 #pragma pack(pop) # 290 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/shellapi.h" 2 3 LPWSTR * __attribute__((__stdcall__)) CommandLineToArgvW(LPCWSTR,int*); void __attribute__((__stdcall__)) DragAcceptFiles(HWND,BOOL); void __attribute__((__stdcall__)) DragFinish(HDROP); UINT __attribute__((__stdcall__)) DragQueryFileA(HDROP,UINT,LPSTR,UINT); UINT __attribute__((__stdcall__)) DragQueryFileW(HDROP,UINT,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) DragQueryPoint(HDROP,LPPOINT); HICON __attribute__((__stdcall__)) DuplicateIcon(HINSTANCE,HICON); HICON __attribute__((__stdcall__)) ExtractAssociatedIconA(HINSTANCE,LPCSTR,PWORD); HICON __attribute__((__stdcall__)) ExtractAssociatedIconW(HINSTANCE,LPCWSTR,PWORD); HICON __attribute__((__stdcall__)) ExtractIconA(HINSTANCE,LPCSTR,UINT); HICON __attribute__((__stdcall__)) ExtractIconW(HINSTANCE,LPCWSTR,UINT); UINT __attribute__((__stdcall__)) ExtractIconExA(LPCSTR,int,HICON*,HICON*,UINT); UINT __attribute__((__stdcall__)) ExtractIconExW(LPCWSTR,int,HICON*,HICON*,UINT); HINSTANCE __attribute__((__stdcall__)) FindExecutableA(LPCSTR,LPCSTR,LPSTR); HINSTANCE __attribute__((__stdcall__)) FindExecutableW(LPCWSTR,LPCWSTR,LPWSTR); UINT __attribute__((__stdcall__)) SHAppBarMessage(DWORD,PAPPBARDATA); BOOL __attribute__((__stdcall__)) Shell_NotifyIconA(DWORD,PNOTIFYICONDATAA); BOOL __attribute__((__stdcall__)) Shell_NotifyIconW(DWORD,PNOTIFYICONDATAW); int __attribute__((__stdcall__)) ShellAboutA(HWND,LPCSTR,LPCSTR,HICON); int __attribute__((__stdcall__)) ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON); HINSTANCE __attribute__((__stdcall__)) ShellExecuteA(HWND,LPCSTR,LPCSTR,LPCSTR,LPCSTR,INT); HINSTANCE __attribute__((__stdcall__)) ShellExecuteW(HWND,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,INT); BOOL __attribute__((__stdcall__)) ShellExecuteExA(LPSHELLEXECUTEINFOA); BOOL __attribute__((__stdcall__)) ShellExecuteExW(LPSHELLEXECUTEINFOW); int __attribute__((__stdcall__)) SHFileOperationA(LPSHFILEOPSTRUCTA); int __attribute__((__stdcall__)) SHFileOperationW(LPSHFILEOPSTRUCTW); void __attribute__((__stdcall__)) SHFreeNameMappings(HANDLE); DWORD __attribute__((__stdcall__)) SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT); DWORD __attribute__((__stdcall__)) SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT); HRESULT __attribute__((__stdcall__)) SHQueryRecycleBinA(LPCSTR, LPSHQUERYRBINFO); HRESULT __attribute__((__stdcall__)) SHQueryRecycleBinW(LPCWSTR, LPSHQUERYRBINFO); HRESULT __attribute__((__stdcall__)) SHEmptyRecycleBinA(HWND,LPCSTR,DWORD); HRESULT __attribute__((__stdcall__)) SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD); # 345 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/shellapi.h" 3 typedef NOTIFYICONDATAA NOTIFYICONDATA,*PNOTIFYICONDATA; typedef SHELLEXECUTEINFOA SHELLEXECUTEINFO,*LPSHELLEXECUTEINFO; typedef SHFILEOPSTRUCTA SHFILEOPSTRUCT,*LPSHFILEOPSTRUCT; typedef SHFILEINFOA SHFILEINFO; # 84 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winperf.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winperf.h" 3 # 78 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winperf.h" 3 typedef struct _PERF_DATA_BLOCK { WCHAR Signature[4]; DWORD LittleEndian; DWORD Version; DWORD Revision; DWORD TotalByteLength; DWORD HeaderLength; DWORD NumObjectTypes; LONG DefaultObject; SYSTEMTIME SystemTime; LARGE_INTEGER PerfTime; LARGE_INTEGER PerfFreq; LARGE_INTEGER PerfTime100nSec; DWORD SystemNameLength; DWORD SystemNameOffset; } PERF_DATA_BLOCK, *PPERF_DATA_BLOCK; typedef struct _PERF_OBJECT_TYPE { DWORD TotalByteLength; DWORD DefinitionLength; DWORD HeaderLength; DWORD ObjectNameTitleIndex; LPWSTR ObjectNameTitle; DWORD ObjectHelpTitleIndex; LPWSTR ObjectHelpTitle; DWORD DetailLevel; DWORD NumCounters; LONG DefaultCounter; LONG NumInstances; DWORD CodePage; LARGE_INTEGER PerfTime; LARGE_INTEGER PerfFreq; } PERF_OBJECT_TYPE, *PPERF_OBJECT_TYPE; typedef struct _PERF_COUNTER_DEFINITION { DWORD ByteLength; DWORD CounterNameTitleIndex; LPWSTR CounterNameTitle; DWORD CounterHelpTitleIndex; LPWSTR CounterHelpTitle; LONG DefaultScale; DWORD DetailLevel; DWORD CounterType; DWORD CounterSize; DWORD CounterOffset; } PERF_COUNTER_DEFINITION,*PPERF_COUNTER_DEFINITION; typedef struct _PERF_INSTANCE_DEFINITION { DWORD ByteLength; DWORD ParentObjectTitleIndex; DWORD ParentObjectInstance; LONG UniqueID; DWORD NameOffset; DWORD NameLength; } PERF_INSTANCE_DEFINITION,*PPERF_INSTANCE_DEFINITION; typedef struct _PERF_COUNTER_BLOCK { DWORD ByteLength; } PERF_COUNTER_BLOCK, *PPERF_COUNTER_BLOCK; typedef DWORD(__attribute__((__stdcall__)) PM_OPEN_PROC)(LPWSTR); typedef DWORD(__attribute__((__stdcall__)) PM_COLLECT_PROC)(LPWSTR,PVOID*,PDWORD,PDWORD); typedef DWORD(__attribute__((__stdcall__)) PM_CLOSE_PROC)(void); # 85 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/commdlg.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/commdlg.h" 3 #pragma pack(push,1) # 232 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/commdlg.h" 3 typedef UINT (__attribute__((__stdcall__)) *__CDHOOKPROC)(HWND,UINT,WPARAM,LPARAM); typedef __CDHOOKPROC LPCCHOOKPROC; typedef __CDHOOKPROC LPCFHOOKPROC; typedef __CDHOOKPROC LPFRHOOKPROC; typedef __CDHOOKPROC LPOFNHOOKPROC; typedef __CDHOOKPROC LPPAGEPAINTHOOK; typedef __CDHOOKPROC LPPAGESETUPHOOK; typedef __CDHOOKPROC LPSETUPHOOKPROC; typedef __CDHOOKPROC LPPRINTHOOKPROC; typedef struct tagCHOOSECOLORA { DWORD lStructSize; HWND hwndOwner; HWND hInstance; COLORREF rgbResult; COLORREF* lpCustColors; DWORD Flags; LPARAM lCustData; LPCCHOOKPROC lpfnHook; LPCSTR lpTemplateName; } CHOOSECOLORA,*LPCHOOSECOLORA; typedef struct tagCHOOSECOLORW { DWORD lStructSize; HWND hwndOwner; HWND hInstance; COLORREF rgbResult; COLORREF* lpCustColors; DWORD Flags; LPARAM lCustData; LPCCHOOKPROC lpfnHook; LPCWSTR lpTemplateName; } CHOOSECOLORW,*LPCHOOSECOLORW; typedef struct tagCHOOSEFONTA { DWORD lStructSize; HWND hwndOwner; HDC hDC; LPLOGFONTA lpLogFont; INT iPointSize; DWORD Flags; DWORD rgbColors; LPARAM lCustData; LPCFHOOKPROC lpfnHook; LPCSTR lpTemplateName; HINSTANCE hInstance; LPSTR lpszStyle; WORD nFontType; WORD ___MISSING_ALIGNMENT__; INT nSizeMin; INT nSizeMax; } CHOOSEFONTA,*LPCHOOSEFONTA; typedef struct tagCHOOSEFONTW { DWORD lStructSize; HWND hwndOwner; HDC hDC; LPLOGFONTW lpLogFont; INT iPointSize; DWORD Flags; DWORD rgbColors; LPARAM lCustData; LPCFHOOKPROC lpfnHook; LPCWSTR lpTemplateName; HINSTANCE hInstance; LPWSTR lpszStyle; WORD nFontType; WORD ___MISSING_ALIGNMENT__; INT nSizeMin; INT nSizeMax; } CHOOSEFONTW,*LPCHOOSEFONTW; typedef struct tagDEVNAMES { WORD wDriverOffset; WORD wDeviceOffset; WORD wOutputOffset; WORD wDefault; } DEVNAMES,*LPDEVNAMES; typedef struct { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; DWORD Flags; LPSTR lpstrFindWhat; LPSTR lpstrReplaceWith; WORD wFindWhatLen; WORD wReplaceWithLen; LPARAM lCustData; LPFRHOOKPROC lpfnHook; LPCSTR lpTemplateName; } FINDREPLACEA,*LPFINDREPLACEA; typedef struct { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; DWORD Flags; LPWSTR lpstrFindWhat; LPWSTR lpstrReplaceWith; WORD wFindWhatLen; WORD wReplaceWithLen; LPARAM lCustData; LPFRHOOKPROC lpfnHook; LPCWSTR lpTemplateName; } FINDREPLACEW,*LPFINDREPLACEW; typedef struct tagOFNA { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; LPCSTR lpstrFilter; LPSTR lpstrCustomFilter; DWORD nMaxCustFilter; DWORD nFilterIndex; LPSTR lpstrFile; DWORD nMaxFile; LPSTR lpstrFileTitle; DWORD nMaxFileTitle; LPCSTR lpstrInitialDir; LPCSTR lpstrTitle; DWORD Flags; WORD nFileOffset; WORD nFileExtension; LPCSTR lpstrDefExt; DWORD lCustData; LPOFNHOOKPROC lpfnHook; LPCSTR lpTemplateName; } OPENFILENAMEA,*LPOPENFILENAMEA; typedef struct tagOFNW { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; LPCWSTR lpstrFilter; LPWSTR lpstrCustomFilter; DWORD nMaxCustFilter; DWORD nFilterIndex; LPWSTR lpstrFile; DWORD nMaxFile; LPWSTR lpstrFileTitle; DWORD nMaxFileTitle; LPCWSTR lpstrInitialDir; LPCWSTR lpstrTitle; DWORD Flags; WORD nFileOffset; WORD nFileExtension; LPCWSTR lpstrDefExt; DWORD lCustData; LPOFNHOOKPROC lpfnHook; LPCWSTR lpTemplateName; } OPENFILENAMEW,*LPOPENFILENAMEW; typedef struct _OFNOTIFYA { NMHDR hdr; LPOPENFILENAMEA lpOFN; LPSTR pszFile; } OFNOTIFYA,*LPOFNOTIFYA; typedef struct _OFNOTIFYW { NMHDR hdr; LPOPENFILENAMEW lpOFN; LPWSTR pszFile; } OFNOTIFYW,*LPOFNOTIFYW; typedef struct tagPSDA { DWORD lStructSize; HWND hwndOwner; HGLOBAL hDevMode; HGLOBAL hDevNames; DWORD Flags; POINT ptPaperSize; RECT rtMinMargin; RECT rtMargin; HINSTANCE hInstance; LPARAM lCustData; LPPAGESETUPHOOK lpfnPageSetupHook; LPPAGEPAINTHOOK lpfnPagePaintHook; LPCSTR lpPageSetupTemplateName; HGLOBAL hPageSetupTemplate; } PAGESETUPDLGA,*LPPAGESETUPDLGA; typedef struct tagPSDW { DWORD lStructSize; HWND hwndOwner; HGLOBAL hDevMode; HGLOBAL hDevNames; DWORD Flags; POINT ptPaperSize; RECT rtMinMargin; RECT rtMargin; HINSTANCE hInstance; LPARAM lCustData; LPPAGESETUPHOOK lpfnPageSetupHook; LPPAGEPAINTHOOK lpfnPagePaintHook; LPCWSTR lpPageSetupTemplateName; HGLOBAL hPageSetupTemplate; } PAGESETUPDLGW,*LPPAGESETUPDLGW; typedef struct tagPDA { DWORD lStructSize; HWND hwndOwner; HANDLE hDevMode; HANDLE hDevNames; HDC hDC; DWORD Flags; WORD nFromPage; WORD nToPage; WORD nMinPage; WORD nMaxPage; WORD nCopies; HINSTANCE hInstance; DWORD lCustData; LPPRINTHOOKPROC lpfnPrintHook; LPSETUPHOOKPROC lpfnSetupHook; LPCSTR lpPrintTemplateName; LPCSTR lpSetupTemplateName; HANDLE hPrintTemplate; HANDLE hSetupTemplate; } PRINTDLGA,*LPPRINTDLGA; typedef struct tagPDW { DWORD lStructSize; HWND hwndOwner; HANDLE hDevMode; HANDLE hDevNames; HDC hDC; DWORD Flags; WORD nFromPage; WORD nToPage; WORD nMinPage; WORD nMaxPage; WORD nCopies; HINSTANCE hInstance; DWORD lCustData; LPPRINTHOOKPROC lpfnPrintHook; LPSETUPHOOKPROC lpfnSetupHook; LPCWSTR lpPrintTemplateName; LPCWSTR lpSetupTemplateName; HANDLE hPrintTemplate; HANDLE hSetupTemplate; } PRINTDLGW,*LPPRINTDLGW; # 524 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/commdlg.h" 3 BOOL __attribute__((__stdcall__)) ChooseColorA(LPCHOOSECOLORA); BOOL __attribute__((__stdcall__)) ChooseColorW(LPCHOOSECOLORW); BOOL __attribute__((__stdcall__)) ChooseFontA(LPCHOOSEFONTA); BOOL __attribute__((__stdcall__)) ChooseFontW(LPCHOOSEFONTW); DWORD __attribute__((__stdcall__)) CommDlgExtendedError(void); HWND __attribute__((__stdcall__)) FindTextA(LPFINDREPLACEA); HWND __attribute__((__stdcall__)) FindTextW(LPFINDREPLACEW); short __attribute__((__stdcall__)) GetFileTitleA(LPCSTR,LPSTR,WORD); short __attribute__((__stdcall__)) GetFileTitleW(LPCWSTR,LPWSTR,WORD); BOOL __attribute__((__stdcall__)) GetOpenFileNameA(LPOPENFILENAMEA); BOOL __attribute__((__stdcall__)) GetOpenFileNameW(LPOPENFILENAMEW); BOOL __attribute__((__stdcall__)) GetSaveFileNameA(LPOPENFILENAMEA); BOOL __attribute__((__stdcall__)) GetSaveFileNameW(LPOPENFILENAMEW); BOOL __attribute__((__stdcall__)) PageSetupDlgA(LPPAGESETUPDLGA); BOOL __attribute__((__stdcall__)) PageSetupDlgW(LPPAGESETUPDLGW); BOOL __attribute__((__stdcall__)) PrintDlgA(LPPRINTDLGA); BOOL __attribute__((__stdcall__)) PrintDlgW(LPPRINTDLGW); HWND __attribute__((__stdcall__)) ReplaceTextA(LPFINDREPLACEA); HWND __attribute__((__stdcall__)) ReplaceTextW(LPFINDREPLACEW); # 584 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/commdlg.h" 3 typedef CHOOSECOLORA CHOOSECOLOR,*LPCHOOSECOLOR; typedef CHOOSEFONTA CHOOSEFONT,*LPCHOOSEFONT; typedef FINDREPLACEA FINDREPLACE,*LPFINDREPLACE; typedef OPENFILENAMEA OPENFILENAME,*LPOPENFILENAME; typedef OFNOTIFYA OFNOTIFY,*LPOFNOTIFY; typedef PAGESETUPDLGA PAGESETUPDLG,*LPPAGESETUPDLG; typedef PRINTDLGA PRINTDLG,*LPPRINTDLG; # 605 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/commdlg.h" 3 #pragma pack(pop) # 87 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winspool.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winspool.h" 3 # 237 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winspool.h" 3 typedef struct _ADDJOB_INFO_1A { LPSTR Path; DWORD JobId; } ADDJOB_INFO_1A,*PADDJOB_INFO_1A,*LPADDJOB_INFO_1A; typedef struct _ADDJOB_INFO_1W { LPWSTR Path; DWORD JobId; } ADDJOB_INFO_1W,*PADDJOB_INFO_1W,*LPADDJOB_INFO_1W; typedef struct _DATATYPES_INFO_1A{LPSTR pName;} DATATYPES_INFO_1A,*PDATATYPES_INFO_1A,*LPDATATYPES_INFO_1A; typedef struct _DATATYPES_INFO_1W{LPWSTR pName;} DATATYPES_INFO_1W,*PDATATYPES_INFO_1W,*LPDATATYPES_INFO_1W; typedef struct _JOB_INFO_1A { DWORD JobId; LPSTR pPrinterName; LPSTR pMachineName; LPSTR pUserName; LPSTR pDocument; LPSTR pDatatype; LPSTR pStatus; DWORD Status; DWORD Priority; DWORD Position; DWORD TotalPages; DWORD PagesPrinted; SYSTEMTIME Submitted; } JOB_INFO_1A,*PJOB_INFO_1A,*LPJOB_INFO_1A; typedef struct _JOB_INFO_1W { DWORD JobId; LPWSTR pPrinterName; LPWSTR pMachineName; LPWSTR pUserName; LPWSTR pDocument; LPWSTR pDatatype; LPWSTR pStatus; DWORD Status; DWORD Priority; DWORD Position; DWORD TotalPages; DWORD PagesPrinted; SYSTEMTIME Submitted; } JOB_INFO_1W,*PJOB_INFO_1W,*LPJOB_INFO_1W; typedef struct _JOB_INFO_2A { DWORD JobId; LPSTR pPrinterName; LPSTR pMachineName; LPSTR pUserName; LPSTR pDocument; LPSTR pNotifyName; LPSTR pDatatype; LPSTR pPrintProcessor; LPSTR pParameters; LPSTR pDriverName; LPDEVMODEA pDevMode; LPSTR pStatus; PSECURITY_DESCRIPTOR pSecurityDescriptor; DWORD Status; DWORD Priority; DWORD Position; DWORD StartTime; DWORD UntilTime; DWORD TotalPages; DWORD Size; SYSTEMTIME Submitted; DWORD Time; DWORD PagesPrinted; } JOB_INFO_2A,*PJOB_INFO_2A,*LPJOB_INFO_2A; typedef struct _JOB_INFO_2W { DWORD JobId; LPWSTR pPrinterName; LPWSTR pMachineName; LPWSTR pUserName; LPWSTR pDocument; LPWSTR pNotifyName; LPWSTR pDatatype; LPWSTR pPrintProcessor; LPWSTR pParameters; LPWSTR pDriverName; LPDEVMODEW pDevMode; LPWSTR pStatus; PSECURITY_DESCRIPTOR pSecurityDescriptor; DWORD Status; DWORD Priority; DWORD Position; DWORD StartTime; DWORD UntilTime; DWORD TotalPages; DWORD Size; SYSTEMTIME Submitted; DWORD Time; DWORD PagesPrinted; } JOB_INFO_2W,*PJOB_INFO_2W,*LPJOB_INFO_2W; typedef struct _JOB_INFO_3 { DWORD JobId; DWORD NextJobId; DWORD Reserved; } JOB_INFO_3,*PJOB_INFO_3,*LPJOB_INFO_3; typedef struct _DOC_INFO_1A { LPSTR pDocName; LPSTR pOutputFile; LPSTR pDatatype; } DOC_INFO_1A,*PDOC_INFO_1A,*LPDOC_INFO_1A; typedef struct _DOC_INFO_1W { LPWSTR pDocName; LPWSTR pOutputFile; LPWSTR pDatatype; } DOC_INFO_1W,*PDOC_INFO_1W,*LPDOC_INFO_1W; typedef struct _DOC_INFO_2A { LPSTR pDocName; LPSTR pOutputFile; LPSTR pDatatype; DWORD dwMode; DWORD JobId; } DOC_INFO_2A,*PDOC_INFO_2A,*LPDOC_INFO_2A; typedef struct _DOC_INFO_2W { LPWSTR pDocName; LPWSTR pOutputFile; LPWSTR pDatatype; DWORD dwMode; DWORD JobId; } DOC_INFO_2W,*PDOC_INFO_2W,*LPDOC_INFO_2W; typedef struct _DRIVER_INFO_1A {LPSTR pName;} DRIVER_INFO_1A,*PDRIVER_INFO_1A,*LPDRIVER_INFO_1A; typedef struct _DRIVER_INFO_1W {LPWSTR pName;} DRIVER_INFO_1W,*PDRIVER_INFO_1W,*LPDRIVER_INFO_1W; typedef struct _DRIVER_INFO_2A { DWORD cVersion; LPSTR pName; LPSTR pEnvironment; LPSTR pDriverPath; LPSTR pDataFile; LPSTR pConfigFile; } DRIVER_INFO_2A,*PDRIVER_INFO_2A,*LPDRIVER_INFO_2A; typedef struct _DRIVER_INFO_2W { DWORD cVersion; LPWSTR pName; LPWSTR pEnvironment; LPWSTR pDriverPath; LPWSTR pDataFile; LPWSTR pConfigFile; } DRIVER_INFO_2W,*PDRIVER_INFO_2W,*LPDRIVER_INFO_2W; typedef struct _DRIVER_INFO_3A { DWORD cVersion; LPSTR pName; LPSTR pEnvironment; LPSTR pDriverPath; LPSTR pDataFile; LPSTR pConfigFile; LPSTR pHelpFile; LPSTR pDependentFiles; LPSTR pMonitorName; LPSTR pDefaultDataType; } DRIVER_INFO_3A,*PDRIVER_INFO_3A,*LPDRIVER_INFO_3A; typedef struct _DRIVER_INFO_3W { DWORD cVersion; LPWSTR pName; LPWSTR pEnvironment; LPWSTR pDriverPath; LPWSTR pDataFile; LPWSTR pConfigFile; LPWSTR pHelpFile; LPWSTR pDependentFiles; LPWSTR pMonitorName; LPWSTR pDefaultDataType; } DRIVER_INFO_3W,*PDRIVER_INFO_3W,*LPDRIVER_INFO_3W; # 486 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winspool.h" 3 typedef struct _MONITOR_INFO_1A{LPSTR pName;} MONITOR_INFO_1A,*PMONITOR_INFO_1A,*LPMONITOR_INFO_1A; typedef struct _MONITOR_INFO_1W{LPWSTR pName;} MONITOR_INFO_1W,*PMONITOR_INFO_1W,*LPMONITOR_INFO_1W; typedef struct _PORT_INFO_1A {LPSTR pName;} PORT_INFO_1A,*PPORT_INFO_1A,*LPPORT_INFO_1A; typedef struct _PORT_INFO_1W {LPWSTR pName;} PORT_INFO_1W,*PPORT_INFO_1W,*LPPORT_INFO_1W; typedef struct _MONITOR_INFO_2A{ LPSTR pName; LPSTR pEnvironment; LPSTR pDLLName; } MONITOR_INFO_2A,*PMONITOR_INFO_2A,*LPMONITOR_INFO_2A; typedef struct _MONITOR_INFO_2W{ LPWSTR pName; LPWSTR pEnvironment; LPWSTR pDLLName; } MONITOR_INFO_2W,*PMONITOR_INFO_2W,*LPMONITOR_INFO_2W; typedef struct _PORT_INFO_2A { LPSTR pPortName; LPSTR pMonitorName; LPSTR pDescription; DWORD fPortType; DWORD Reserved; } PORT_INFO_2A,*PPORT_INFO_2A,*LPPORT_INFO_2A; typedef struct _PORT_INFO_2W { LPWSTR pPortName; LPWSTR pMonitorName; LPWSTR pDescription; DWORD fPortType; DWORD Reserved; } PORT_INFO_2W,*PPORT_INFO_2W,*LPPORT_INFO_2W; typedef struct _PORT_INFO_3A { DWORD dwStatus; LPSTR pszStatus; DWORD dwSeverity; } PORT_INFO_3A,*PPORT_INFO_3A,*LPPORT_INFO_3A; typedef struct _PORT_INFO_3W { DWORD dwStatus; LPWSTR pszStatus; DWORD dwSeverity; } PORT_INFO_3W,*PPORT_INFO_3W,*LPPORT_INFO_3W; # 540 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winspool.h" 3 typedef struct _PRINTER_INFO_1A { DWORD Flags; LPSTR pDescription; LPSTR pName; LPSTR pComment; } PRINTER_INFO_1A,*PPRINTER_INFO_1A,*LPPRINTER_INFO_1A; typedef struct _PRINTER_INFO_1W { DWORD Flags; LPWSTR pDescription; LPWSTR pName; LPWSTR pComment; } PRINTER_INFO_1W,*PPRINTER_INFO_1W,*LPPRINTER_INFO_1W; typedef struct _PRINTER_INFO_2A { LPSTR pServerName; LPSTR pPrinterName; LPSTR pShareName; LPSTR pPortName; LPSTR pDriverName; LPSTR pComment; LPSTR pLocation; LPDEVMODEA pDevMode; LPSTR pSepFile; LPSTR pPrintProcessor; LPSTR pDatatype; LPSTR pParameters; PSECURITY_DESCRIPTOR pSecurityDescriptor; DWORD Attributes; DWORD Priority; DWORD DefaultPriority; DWORD StartTime; DWORD UntilTime; DWORD Status; DWORD cJobs; DWORD AveragePPM; } PRINTER_INFO_2A,*PPRINTER_INFO_2A,*LPPRINTER_INFO_2A; typedef struct _PRINTER_INFO_2W { LPWSTR pServerName; LPWSTR pPrinterName; LPWSTR pShareName; LPWSTR pPortName; LPWSTR pDriverName; LPWSTR pComment; LPWSTR pLocation; LPDEVMODEW pDevMode; LPWSTR pSepFile; LPWSTR pPrintProcessor; LPWSTR pDatatype; LPWSTR pParameters; PSECURITY_DESCRIPTOR pSecurityDescriptor; DWORD Attributes; DWORD Priority; DWORD DefaultPriority; DWORD StartTime; DWORD UntilTime; DWORD Status; DWORD cJobs; DWORD AveragePPM; } PRINTER_INFO_2W,*PPRINTER_INFO_2W,*LPPRINTER_INFO_2W; typedef struct _PRINTER_INFO_3 { PSECURITY_DESCRIPTOR pSecurityDescriptor; } PRINTER_INFO_3,*PPRINTER_INFO_3,*LPPRINTER_INFO_3; typedef struct _PRINTER_INFO_4A { LPSTR pPrinterName; LPSTR pServerName; DWORD Attributes; } PRINTER_INFO_4A,*PPRINTER_INFO_4A,*LPPRINTER_INFO_4A; typedef struct _PRINTER_INFO_4W { LPWSTR pPrinterName; LPWSTR pServerName; DWORD Attributes; } PRINTER_INFO_4W,*PPRINTER_INFO_4W,*LPPRINTER_INFO_4W; typedef struct _PRINTER_INFO_5A { LPSTR pPrinterName; LPSTR pPortName; DWORD Attributes; DWORD DeviceNotSelectedTimeout; DWORD TransmissionRetryTimeout; } PRINTER_INFO_5A,*PPRINTER_INFO_5A,*LPPRINTER_INFO_5A; typedef struct _PRINTER_INFO_5W { LPWSTR pPrinterName; LPWSTR pPortName; DWORD Attributes; DWORD DeviceNotSelectedTimeout; DWORD TransmissionRetryTimeout; } PRINTER_INFO_5W,*PPRINTER_INFO_5W,*LPPRINTER_INFO_5W; typedef struct _PRINTER_INFO_6 { DWORD dwStatus; } PRINTER_INFO_6,*PPRINTER_INFO_6,*LPPRINTER_INFO_6; # 644 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winspool.h" 3 typedef struct _PRINTPROCESSOR_INFO_1A {LPSTR pName;} PRINTPROCESSOR_INFO_1A,*PPRINTPROCESSOR_INFO_1A,*LPPRINTPROCESSOR_INFO_1A; typedef struct _PRINTPROCESSOR_INFO_1W {LPWSTR pName;} PRINTPROCESSOR_INFO_1W,*PPRINTPROCESSOR_INFO_1W,*LPPRINTPROCESSOR_INFO_1W; typedef struct _PRINTER_NOTIFY_INFO_DATA { WORD Type; WORD Field; DWORD Reserved; DWORD Id; union { DWORD adwData[2]; struct { DWORD cbBuf; PVOID pBuf; } Data; } NotifyData; } PRINTER_NOTIFY_INFO_DATA,*PPRINTER_NOTIFY_INFO_DATA,*LPPRINTER_NOTIFY_INFO_DATA; typedef struct _PRINTER_NOTIFY_INFO { DWORD Version; DWORD Flags; DWORD Count; PRINTER_NOTIFY_INFO_DATA aData[1]; } PRINTER_NOTIFY_INFO,*PPRINTER_NOTIFY_INFO,*LPPRINTER_NOTIFY_INFO; typedef struct _FORM_INFO_1A { DWORD Flags; LPSTR pName; SIZEL Size; RECTL ImageableArea; } FORM_INFO_1A,*PFORM_INFO_1A,*LPFORM_INFO_1A; typedef struct _FORM_INFO_1W { DWORD Flags; LPWSTR pName; SIZEL Size; RECTL ImageableArea; } FORM_INFO_1W,*PFORM_INFO_1W,*LPFORM_INFO_1W; typedef struct _PRINTER_DEFAULTSA { LPSTR pDatatype; LPDEVMODE pDevMode; ACCESS_MASK DesiredAccess; } PRINTER_DEFAULTSA,*PPRINTER_DEFAULTSA,*LPPRINTER_DEFAULTSA; typedef struct _PRINTER_DEFAULTSW { LPWSTR pDatatype; LPDEVMODE pDevMode; ACCESS_MASK DesiredAccess; } PRINTER_DEFAULTSW,*PPRINTER_DEFAULTSW,*LPPRINTER_DEFAULTSW; # 695 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winspool.h" 3 typedef struct _PROVIDOR_INFO_1A { LPSTR pName; LPSTR pEnvironment; LPSTR pDLLName; } PROVIDOR_INFO_1A,*PPROVIDOR_INFO_1A,*LPPROVIDOR_INFO_1A; typedef struct _PROVIDOR_INFO_1W { LPWSTR pName; LPWSTR pEnvironment; LPWSTR pDLLName; } PROVIDOR_INFO_1W,*PPROVIDOR_INFO_1W,*LPPROVIDOR_INFO_1W; typedef struct _PROVIDOR_INFO_2A { LPSTR pOrder; } PROVIDOR_INFO_2A,*PPROVIDOR_INFO_2A,*LPROVIDOR_INFO_2A; typedef struct _PROVIDOR_INFO_2W { LPWSTR pOrder; } PROVIDOR_INFO_2W,*PPROVIDOR_INFO_2W,*LPROVIDOR_INFO_2W; BOOL __attribute__((__stdcall__)) AbortPrinter(HANDLE); BOOL __attribute__((__stdcall__)) AddFormA(HANDLE,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddFormW(HANDLE,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddJobA(HANDLE,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) AddJobW(HANDLE,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) AddMonitorA(LPSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddMonitorW(LPWSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPortA(LPSTR,HWND,LPSTR); BOOL __attribute__((__stdcall__)) AddPortW(LPWSTR,HWND,LPWSTR); HANDLE __attribute__((__stdcall__)) AddPrinterA(LPSTR,DWORD,PBYTE); HANDLE __attribute__((__stdcall__)) AddPrinterW(LPWSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPrinterConnectionA(LPSTR); BOOL __attribute__((__stdcall__)) AddPrinterConnectionW(LPWSTR); BOOL __attribute__((__stdcall__)) AddPrinterDriverA(LPSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPrinterDriverW(LPWSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPrintProcessorA(LPSTR,LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) AddPrintProcessorW(LPWSTR,LPWSTR,LPWSTR,LPWSTR); BOOL __attribute__((__stdcall__)) AddPrintProvidorA(LPSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPrintProvidorW(LPWSTR,DWORD,PBYTE); LONG __attribute__((__stdcall__)) AdvancedDocumentPropertiesA(HWND,HANDLE,LPSTR,PDEVMODE,PDEVMODEA); LONG __attribute__((__stdcall__)) AdvancedDocumentPropertiesW(HWND,HANDLE,LPWSTR,PDEVMODE,PDEVMODEW); BOOL __attribute__((__stdcall__)) ClosePrinter(HANDLE); BOOL __attribute__((__stdcall__)) ConfigurePortA(LPSTR,HWND,LPSTR); BOOL __attribute__((__stdcall__)) ConfigurePortW(LPWSTR,HWND,LPWSTR); HANDLE __attribute__((__stdcall__)) ConnectToPrinterDlg(HWND,DWORD); BOOL __attribute__((__stdcall__)) DeleteFormA(HANDLE,LPSTR); BOOL __attribute__((__stdcall__)) DeleteFormW(HANDLE,LPWSTR); BOOL __attribute__((__stdcall__)) DeleteMonitorA(LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) DeleteMonitorW(LPWSTR,LPWSTR,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePortA(LPSTR,HWND,LPSTR); BOOL __attribute__((__stdcall__)) DeletePortW(LPWSTR,HWND,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePrinter(HANDLE); BOOL __attribute__((__stdcall__)) DeletePrinterConnectionA(LPSTR); BOOL __attribute__((__stdcall__)) DeletePrinterConnectionW(LPWSTR); DWORD __attribute__((__stdcall__)) DeletePrinterDataA(HANDLE,LPSTR); DWORD __attribute__((__stdcall__)) DeletePrinterDataW(HANDLE,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePrinterDriverA(LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) DeletePrinterDriverW(LPWSTR,LPWSTR,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePrintProcessorA(LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) DeletePrintProcessorW(LPWSTR,LPWSTR,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePrintProvidorA(LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) DeletePrintProvidorW(LPWSTR,LPWSTR,LPWSTR); LONG __attribute__((__stdcall__)) DocumentPropertiesA(HWND,HANDLE,LPSTR,PDEVMODEA,PDEVMODEA,DWORD); LONG __attribute__((__stdcall__)) DocumentPropertiesW(HWND,HANDLE,LPWSTR,PDEVMODEW,PDEVMODEW,DWORD); BOOL __attribute__((__stdcall__)) EndDocPrinter(HANDLE); BOOL __attribute__((__stdcall__)) EndPagePrinter(HANDLE); BOOL __attribute__((__stdcall__)) EnumFormsA(HANDLE,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumFormsW(HANDLE,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumJobsA(HANDLE,DWORD,DWORD,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumJobsW(HANDLE,DWORD,DWORD,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumMonitorsA(LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumMonitorsW(LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPortsA(LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPortsW(LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) EnumPrinterDataA(HANDLE,DWORD,LPSTR,DWORD,PDWORD,PDWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) EnumPrinterDataW(HANDLE,DWORD,LPWSTR,DWORD,PDWORD,PDWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrinterDriversA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrinterDriversW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintersA(DWORD,LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintersW(DWORD,LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintProcessorDatatypesA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintProcessorDatatypesW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintProcessorsA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintProcessorsW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) FindClosePrinterChangeNotification(HANDLE); HANDLE __attribute__((__stdcall__)) FindFirstPrinterChangeNotification(HANDLE,DWORD,DWORD,PVOID); HANDLE __attribute__((__stdcall__)) FindNextPrinterChangeNotification(HANDLE,PDWORD,PVOID,PVOID*); BOOL __attribute__((__stdcall__)) FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO); BOOL __attribute__((__stdcall__)) GetFormA(HANDLE,LPSTR,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetFormW(HANDLE,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetJobA(HANDLE,DWORD,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetJobW(HANDLE,DWORD,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetPrinterA(HANDLE,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetPrinterW(HANDLE,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDataA(HANDLE,LPSTR,PDWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDataW(HANDLE,LPWSTR,PDWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDriverA(HANDLE,LPSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDriverW(HANDLE,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDriverDirectoryA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDriverDirectoryW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrintProcessorDirectoryA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrintProcessorDirectoryW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) OpenPrinterA(LPSTR,PHANDLE,LPPRINTER_DEFAULTSA); BOOL __attribute__((__stdcall__)) OpenPrinterW(LPWSTR,PHANDLE,LPPRINTER_DEFAULTSW); DWORD __attribute__((__stdcall__)) PrinterMessageBoxA(HANDLE,DWORD,HWND,LPSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) PrinterMessageBoxW(HANDLE,DWORD,HWND,LPWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) PrinterProperties(HWND,HANDLE); BOOL __attribute__((__stdcall__)) ReadPrinter(HANDLE,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) ResetPrinterA(HANDLE,LPPRINTER_DEFAULTSA); BOOL __attribute__((__stdcall__)) ResetPrinterW(HANDLE,LPPRINTER_DEFAULTSW); BOOL __attribute__((__stdcall__)) ScheduleJob(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetFormA(HANDLE,LPSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) SetFormW(HANDLE,LPWSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) SetJobA(HANDLE,DWORD,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetJobW(HANDLE,DWORD,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetPrinterA(HANDLE,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetPrinterW(HANDLE,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetPrinterDataA(HANDLE,LPSTR,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetPrinterDataW(HANDLE,LPWSTR,DWORD,PBYTE,DWORD); DWORD __attribute__((__stdcall__)) StartDocPrinterA(HANDLE,DWORD,PBYTE); DWORD __attribute__((__stdcall__)) StartDocPrinterW(HANDLE,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) StartPagePrinter(HANDLE); DWORD __attribute__((__stdcall__)) WaitForPrinterChange(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) WritePrinter(HANDLE,PVOID,DWORD,PDWORD); # 900 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winspool.h" 3 typedef JOB_INFO_1A JOB_INFO_1,*PJOB_INFO_1,*LPJOB_INFO_1; typedef JOB_INFO_2A JOB_INFO_2,*PJOB_INFO_2,*LPJOB_INFO_2; typedef ADDJOB_INFO_1A ADDJOB_INFO_1,*PADDJOB_INFO_1,*LPADDJOB_INFO_1; typedef DATATYPES_INFO_1A DATATYPES_INFO_1,*PDATATYPES_INFO_1,*LPDATATYPES_INFO_1; typedef MONITOR_INFO_1A MONITOR_INFO_1,*PMONITOR_INFO_1,*LPMONITOR_INFO_1; typedef MONITOR_INFO_2A MONITOR_INFO_2,*PMONITOR_INFO_2,*LPMONITOR_INFO_2; typedef DOC_INFO_1A DOC_INFO_1,*PDOC_INFO_1,*LPDOC_INFO_1; typedef DOC_INFO_2A DOC_INFO_2,*PDOC_INFO_2,*LPDOC_INFO_2; typedef PORT_INFO_1A PORT_INFO_1,*PPORT_INFO_1,*LPPORT_INFO_1; typedef PORT_INFO_2A PORT_INFO_2,*PPORT_INFO_2,*LPPORT_INFO_2; typedef PORT_INFO_3A PORT_INFO_3,*PPORT_INFO_3,*LPPORT_INFO_3; typedef DRIVER_INFO_1A DRIVER_INFO_1,*PDRIVER_INFO_1,*LPDRIVER_INFO_1; typedef DRIVER_INFO_2A DRIVER_INFO_2,*PDRIVER_INFO_2,*LPDRIVER_INFO_2; typedef DRIVER_INFO_3A DRIVER_INFO_3,*PDRIVER_INFO_3,*LPDRIVER_INFO_3; typedef PRINTER_INFO_1A PRINTER_INFO_1,*PPRINTER_INFO_1,*LPPRINTER_INFO_1; typedef PRINTER_INFO_2A PRINTER_INFO_2,*PPRINTER_INFO_2,*LPPRINTER_INFO_2; typedef PRINTER_INFO_4A PRINTER_INFO_4,*PPRINTER_INFO_4,*LPPRINTER_INFO_4; typedef PRINTER_INFO_5A PRINTER_INFO_5,*PPRINTER_INFO_5,*LPPRINTER_INFO_5; typedef PRINTPROCESSOR_INFO_1A PRINTPROCESSOR_INFO_1,*PPRINTPROCESSOR_INFO_1,*LPPRINTPROCESSOR_INFO_1; typedef FORM_INFO_1A FORM_INFO_1,*PFORM_INFO_1,*LPFORM_INFO_1; typedef PRINTER_DEFAULTSA PRINTER_DEFAULTS,*PPRINTER_DEFAULTS,*LPPRINTER_DEFAULTS; typedef PROVIDOR_INFO_1A PROVIDOR_INFO_1,*PPROVIDOR_INFO_1,*LPROVIDOR_INFO_1; typedef PROVIDOR_INFO_2A PROVIDOR_INFO_2,*PPROVIDOR_INFO_2,*LPROVIDOR_INFO_2; # 88 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 98 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 1 3 # 99 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 114 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h" 3 #pragma pack(push,8) # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 1 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 1 3 # 4 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h" 1 3 # 6 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcnsip.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcnsip.h" 3 typedef struct { RPC_NS_HANDLE LookupContext; RPC_BINDING_HANDLE ProposedHandle; RPC_BINDING_VECTOR *Bindings; } RPC_IMPORT_CONTEXT_P,*PRPC_IMPORT_CONTEXT_P; RPC_STATUS __attribute__((__stdcall__)) I_RpcNsGetBuffer( PRPC_MESSAGE); RPC_STATUS __attribute__((__stdcall__)) I_RpcNsSendReceive( PRPC_MESSAGE, RPC_BINDING_HANDLE*); void __attribute__((__stdcall__)) I_RpcNsRaiseException( PRPC_MESSAGE, RPC_STATUS); RPC_STATUS __attribute__((__stdcall__)) I_RpcReBindBuffer( PRPC_MESSAGE); RPC_STATUS __attribute__((__stdcall__)) I_NsServerBindSearch(void); RPC_STATUS __attribute__((__stdcall__)) I_NsClientBindSearch(void); void __attribute__((__stdcall__)) I_NsClientBindDone(void); # 12 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objfwd.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objfwd.h" 3 typedef struct IMoniker *LPMONIKER; typedef struct IStream *LPSTREAM; typedef struct IMarshal *LPMARSHAL; typedef struct IMalloc *LPMALLOC; typedef struct IMallocSpy *LPMALLOCSPY; typedef struct IMessageFilter *LPMESSAGEFILTER; typedef struct IPersist *LPPERSIST; typedef struct IPersistStream *LPPERSISTSTREAM; typedef struct IRunningObjectTable *LPRUNNINGOBJECTTABLE; typedef struct IBindCtx *LPBINDCTX,*LPBC; typedef struct IAdviseSink *LPADVISESINK; typedef struct IAdviseSink2 *LPADVISESINK2; typedef struct IDataObject *LPDATAOBJECT; typedef struct IDataAdviseHolder *LPDATAADVISEHOLDER; typedef struct IEnumMoniker *LPENUMMONIKER; typedef struct IEnumFORMATETC *LPENUMFORMATETC; typedef struct IEnumSTATDATA *LPENUMSTATDATA; typedef struct IEnumSTATSTG *LPENUMSTATSTG; typedef struct IEnumSTATPROPSTG LPENUMSTATPROPSTG; typedef struct IEnumString *LPENUMSTRING; typedef struct IEnumUnknown *LPENUMUNKNOWN; typedef struct IStorage *LPSTORAGE; typedef struct IPersistStorage *LPPERSISTSTORAGE; typedef struct ILockBytes *LPLOCKBYTES; typedef struct IStdMarshalInfo *LPSTDMARSHALINFO; typedef struct IExternalConnection *LPEXTERNALCONNECTION; typedef struct IRunnableObject *LPRUNNABLEOBJECT; typedef struct IROTData *LPROTDATA; typedef struct IPersistFile *LPPERSISTFILE; typedef struct IRootStorage *LPROOTSTORAGE; typedef struct IRpcChannelBuffer *LPRPCCHANNELBUFFER; typedef struct IRpcProxyBuffer *LPRPCPROXYBUFFER; typedef struct IRpcStubBuffer *LPRPCSTUBBUFFER; typedef struct IPropertyStorage *LPPROPERTYSTORAGE; typedef struct IEnumSTATPROPSETSTG *LPENUMSTATPROPSETSTG; typedef struct IPropertySetStorage *LPPROPERTYSETSTORAGE; typedef struct IClientSecurity *LPCLIENTSECURITY; typedef struct IServerSecurity *LPSERVERSECURITY; typedef struct IClassActivator *LPCLASSACTIVATOR; typedef struct IFillLockBytes *LPFILLLOCKBYTES; typedef struct IProgressNotify *LPPROGRESSNOTIFY; typedef struct ILayoutStorage *LPLAYOUTSTORAGE; # 16 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h" 2 3 # 51 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h" 3 typedef unsigned char byte; typedef unsigned char boolean; # 96 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h" 3 typedef void *NDR_CCONTEXT; typedef struct { void *pad[2]; void *userContext; } *NDR_SCONTEXT; typedef void (__attribute__((__stdcall__)) *NDR_RUNDOWN)(void*); typedef struct _SCONTEXT_QUEUE { unsigned long NumberOfObjects; NDR_SCONTEXT *ArrayOfObjects; } SCONTEXT_QUEUE,*PSCONTEXT_QUEUE; struct _MIDL_STUB_MESSAGE; struct _MIDL_STUB_DESC; struct _FULL_PTR_XLAT_TABLES; typedef unsigned char *RPC_BUFPTR; typedef unsigned long RPC_LENGTH; typedef void(__attribute__((__stdcall__)) *EXPR_EVAL)(struct _MIDL_STUB_MESSAGE*); typedef const unsigned char *PFORMAT_STRING; typedef struct { long Dimension; unsigned long *BufferConformanceMark; unsigned long *BufferVarianceMark; unsigned long *MaxCountArray; unsigned long *OffsetArray; unsigned long *ActualCountArray; } ARRAY_INFO,*PARRAY_INFO; RPC_BINDING_HANDLE __attribute__((__stdcall__)) NDRCContextBinding(NDR_CCONTEXT); void __attribute__((__stdcall__)) NDRCContextMarshall(NDR_CCONTEXT,void*); void __attribute__((__stdcall__)) NDRCContextUnmarshall(NDR_CCONTEXT*,RPC_BINDING_HANDLE,void*,unsigned long); void __attribute__((__stdcall__)) NDRSContextMarshall(NDR_SCONTEXT,void*,NDR_RUNDOWN); NDR_SCONTEXT __attribute__((__stdcall__)) NDRSContextUnmarshall(void*pBuff,unsigned long); void __attribute__((__stdcall__)) RpcSsDestroyClientContext(void**); void __attribute__((__stdcall__)) NDRcopy(void*,void*,unsigned int); unsigned int __attribute__((__stdcall__)) MIDL_wchar_strlen(wchar_t*); void __attribute__((__stdcall__)) MIDL_wchar_strcpy(void*,wchar_t*); void __attribute__((__stdcall__)) char_from_ndr(PRPC_MESSAGE,unsigned char*); void __attribute__((__stdcall__)) char_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,unsigned char*); void __attribute__((__stdcall__)) short_from_ndr(PRPC_MESSAGE,unsigned short*); void __attribute__((__stdcall__)) short_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,unsigned short*); void __attribute__((__stdcall__)) short_from_ndr_temp(unsigned char**,unsigned short*,unsigned long); void __attribute__((__stdcall__)) long_from_ndr(PRPC_MESSAGE,unsigned long*); void __attribute__((__stdcall__)) long_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,unsigned long*); void __attribute__((__stdcall__)) long_from_ndr_temp(unsigned char**,unsigned long*,unsigned long); void __attribute__((__stdcall__)) enum_from_ndr(PRPC_MESSAGE,unsigned int*); void __attribute__((__stdcall__)) float_from_ndr(PRPC_MESSAGE,void*); void __attribute__((__stdcall__)) float_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,void*); void __attribute__((__stdcall__)) double_from_ndr(PRPC_MESSAGE,void*); void __attribute__((__stdcall__)) double_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,void*); void __attribute__((__stdcall__)) hyper_from_ndr(PRPC_MESSAGE,long long*); void __attribute__((__stdcall__)) hyper_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,long long*); void __attribute__((__stdcall__)) hyper_from_ndr_temp(unsigned char**,long long*,unsigned long); void __attribute__((__stdcall__)) data_from_ndr(PRPC_MESSAGE,void*,char*,unsigned char); void __attribute__((__stdcall__)) data_into_ndr(void*,PRPC_MESSAGE,char*,unsigned char); void __attribute__((__stdcall__)) tree_into_ndr(void*,PRPC_MESSAGE,char*,unsigned char); void __attribute__((__stdcall__)) data_size_ndr(void*,PRPC_MESSAGE,char*,unsigned char); void __attribute__((__stdcall__)) tree_size_ndr(void*,PRPC_MESSAGE,char*,unsigned char); void __attribute__((__stdcall__)) tree_peek_ndr(PRPC_MESSAGE,unsigned char**,char*,unsigned char); void *__attribute__((__stdcall__)) midl_allocate(int); #pragma pack(push,4) typedef struct _MIDL_STUB_MESSAGE { PRPC_MESSAGE RpcMsg; unsigned char *Buffer; unsigned char *BufferStart; unsigned char *BufferEnd; unsigned char *BufferMark; unsigned long BufferLength; unsigned long MemorySize; unsigned char *Memory; int IsClient; int ReuseBuffer; unsigned char *AllocAllNodesMemory; unsigned char *AllocAllNodesMemoryEnd; int IgnoreEmbeddedPointers; unsigned char *PointerBufferMark; unsigned char fBufferValid; unsigned char Unused; unsigned long MaxCount; unsigned long Offset; unsigned long ActualCount; void*(__attribute__((__stdcall__)) *pfnAllocate)(unsigned int); void(__attribute__((__stdcall__)) *pfnFree)(void*); unsigned char *StackTop; unsigned char *pPresentedType; unsigned char *pTransmitType; handle_t SavedHandle; const struct _MIDL_STUB_DESC *StubDesc; struct _FULL_PTR_XLAT_TABLES *FullPtrXlatTables; unsigned long FullPtrRefId; int fCheckBounds; int fInDontFree :1; int fDontCallFreeInst :1; int fInOnlyParam :1; int fHasReturn :1; unsigned long dwDestContext; void*pvDestContext; NDR_SCONTEXT *SavedContextHandles; long ParamNumber; struct IRpcChannelBuffer *pRpcChannelBuffer; PARRAY_INFO pArrayInfo; unsigned long *SizePtrCountArray; unsigned long *SizePtrOffsetArray; unsigned long *SizePtrLengthArray; void*pArgQueue; unsigned long dwStubPhase; unsigned long w2kReserved[5]; } MIDL_STUB_MESSAGE,*PMIDL_STUB_MESSAGE; #pragma pack(pop) typedef void*(__attribute__((__stdcall__)) *GENERIC_BINDING_ROUTINE)(void*); typedef void (__attribute__((__stdcall__)) *GENERIC_UNBIND_ROUTINE)(void*,unsigned char*); typedef struct _GENERIC_BINDING_ROUTINE_PAIR { GENERIC_BINDING_ROUTINE pfnBind; GENERIC_UNBIND_ROUTINE pfnUnbind; } GENERIC_BINDING_ROUTINE_PAIR,*PGENERIC_BINDING_ROUTINE_PAIR; typedef struct __GENERIC_BINDING_INFO { void *pObj; unsigned int Size; GENERIC_BINDING_ROUTINE pfnBind; GENERIC_UNBIND_ROUTINE pfnUnbind; } GENERIC_BINDING_INFO,*PGENERIC_BINDING_INFO; typedef void(__attribute__((__stdcall__)) *XMIT_HELPER_ROUTINE)(PMIDL_STUB_MESSAGE); typedef struct _XMIT_ROUTINE_QUINTUPLE { XMIT_HELPER_ROUTINE pfnTranslateToXmit; XMIT_HELPER_ROUTINE pfnTranslateFromXmit; XMIT_HELPER_ROUTINE pfnFreeXmit; XMIT_HELPER_ROUTINE pfnFreeInst; } XMIT_ROUTINE_QUINTUPLE,*PXMIT_ROUTINE_QUINTUPLE; typedef struct _MALLOC_FREE_STRUCT { void*(__attribute__((__stdcall__)) *pfnAllocate)(unsigned int); void(__attribute__((__stdcall__)) *pfnFree)(void*); } MALLOC_FREE_STRUCT; typedef struct _COMM_FAULT_OFFSETS { short CommOffset; short FaultOffset; } COMM_FAULT_OFFSETS; typedef unsigned long (__attribute__((__stdcall__)) *USER_MARSHAL_SIZING_ROUTINE)(unsigned long *,unsigned long,void *); typedef unsigned char *(__attribute__((__stdcall__)) *USER_MARSHAL_MARSHALLING_ROUTINE)(unsigned long *,unsigned char *,void *); typedef unsigned char *(__attribute__((__stdcall__)) *USER_MARSHAL_UNMARSHALLING_ROUTINE)(unsigned long *,unsigned char *,void *); typedef void (__attribute__((__stdcall__)) *USER_MARSHAL_FREEING_ROUTINE)(unsigned long *,void *); typedef struct _USER_MARSHAL_ROUTINE_QUADRUPLE { USER_MARSHAL_SIZING_ROUTINE pfnBufferSize; USER_MARSHAL_MARSHALLING_ROUTINE pfnMarshall; USER_MARSHAL_UNMARSHALLING_ROUTINE pfnUnmarshall; USER_MARSHAL_FREEING_ROUTINE pfnFree; } USER_MARSHAL_ROUTINE_QUADRUPLE; typedef void (__attribute__((__stdcall__)) *NDR_NOTIFY_ROUTINE)(void); typedef enum _IDL_CS_CONVERT { IDL_CS_NO_CONVERT, IDL_CS_IN_PLACE_CONVERT, IDL_CS_NEW_BUFFER_CONVERT } IDL_CS_CONVERT; typedef void (__attribute__((__stdcall__)) *CS_TYPE_NET_SIZE_ROUTINE)(RPC_BINDING_HANDLE,unsigned long,unsigned long,IDL_CS_CONVERT*,unsigned long*,error_status_t*); typedef void (__attribute__((__stdcall__)) *CS_TYPE_LOCAL_SIZE_ROUTINE)(RPC_BINDING_HANDLE,unsigned long,unsigned long,IDL_CS_CONVERT*,unsigned long*,error_status_t*); typedef void (__attribute__((__stdcall__)) *CS_TYPE_TO_NETCS_ROUTINE)(RPC_BINDING_HANDLE,unsigned long,void*,unsigned long,byte*,unsigned long*,error_status_t*); typedef void (__attribute__((__stdcall__)) *CS_TYPE_FROM_NETCS_ROUTINE)(RPC_BINDING_HANDLE,unsigned long,byte*,unsigned long,unsigned long,void*,unsigned long*,error_status_t*); typedef void (__attribute__((__stdcall__)) *CS_TAG_GETTING_ROUTINE)(RPC_BINDING_HANDLE,int,unsigned long*,unsigned long*,unsigned long*,error_status_t*); typedef struct _NDR_CS_SIZE_CONVERT_ROUTINES { CS_TYPE_NET_SIZE_ROUTINE pfnNetSize; CS_TYPE_TO_NETCS_ROUTINE pfnToNetCs; CS_TYPE_LOCAL_SIZE_ROUTINE pfnLocalSize; CS_TYPE_FROM_NETCS_ROUTINE pfnFromNetCs; } NDR_CS_SIZE_CONVERT_ROUTINES; typedef struct _NDR_CS_ROUTINES { NDR_CS_SIZE_CONVERT_ROUTINES *pSizeConvertRoutines; CS_TAG_GETTING_ROUTINE *pTagGettingRoutines; } NDR_CS_ROUTINES; typedef struct _MIDL_STUB_DESC { void*RpcInterfaceInformation; void*(__attribute__((__stdcall__)) *pfnAllocate)(unsigned int); void(__attribute__((__stdcall__)) *pfnFree)(void*); union { handle_t *pAutoHandle; handle_t *pPrimitiveHandle; PGENERIC_BINDING_INFO pGenericBindingInfo; } IMPLICIT_HANDLE_INFO; const NDR_RUNDOWN *apfnNdrRundownRoutines; const GENERIC_BINDING_ROUTINE_PAIR *aGenericBindingRoutinePairs; const EXPR_EVAL *apfnExprEval; const XMIT_ROUTINE_QUINTUPLE *aXmitQuintuple; const unsigned char *pFormatTypes; int fCheckBounds; unsigned long Version; MALLOC_FREE_STRUCT *pMallocFreeStruct; long MIDLVersion; const COMM_FAULT_OFFSETS *CommFaultOffsets; const USER_MARSHAL_ROUTINE_QUADRUPLE *aUserMarshalQuadruple; const NDR_NOTIFY_ROUTINE *NotifyRoutineTable; ULONG_PTR mFlags; const NDR_CS_ROUTINES *CsRoutineTables; void *Reserved4; ULONG_PTR Reserved5; } MIDL_STUB_DESC; typedef const MIDL_STUB_DESC *PMIDL_STUB_DESC; typedef void*PMIDL_XMIT_TYPE; typedef struct _MIDL_FORMAT_STRING { short Pad; unsigned char Format[1]; } MIDL_FORMAT_STRING; typedef void(__attribute__((__stdcall__)) *STUB_THUNK)(PMIDL_STUB_MESSAGE); typedef long(__attribute__((__stdcall__)) *SERVER_ROUTINE)(void); typedef struct _MIDL_SERVER_INFO_ { PMIDL_STUB_DESC pStubDesc; const SERVER_ROUTINE *DispatchTable; PFORMAT_STRING ProcString; const unsigned short *FmtStringOffset; const STUB_THUNK *ThunkTable; } MIDL_SERVER_INFO,*PMIDL_SERVER_INFO; typedef struct _MIDL_STUBLESS_PROXY_INFO { PMIDL_STUB_DESC pStubDesc; PFORMAT_STRING ProcFormatString; const unsigned short *FormatStringOffset; } MIDL_STUBLESS_PROXY_INFO; typedef MIDL_STUBLESS_PROXY_INFO *PMIDL_STUBLESS_PROXY_INFO; typedef union _CLIENT_CALL_RETURN { void *Pointer; long Simple; } CLIENT_CALL_RETURN; typedef enum { XLAT_SERVER = 1,XLAT_CLIENT } XLAT_SIDE; typedef struct _FULL_PTR_TO_REFID_ELEMENT { struct _FULL_PTR_TO_REFID_ELEMENT *Next; void*Pointer; unsigned long RefId; unsigned char State; } FULL_PTR_TO_REFID_ELEMENT,*PFULL_PTR_TO_REFID_ELEMENT; typedef struct _FULL_PTR_XLAT_TABLES { struct { void **XlatTable; unsigned char *StateTable; unsigned long NumberOfEntries; } RefIdToPointer; struct { PFULL_PTR_TO_REFID_ELEMENT *XlatTable; unsigned long NumberOfBuckets; unsigned long HashMask; } PointerToRefId; unsigned long NextRefId; XLAT_SIDE XlatSide; } FULL_PTR_XLAT_TABLES,*PFULL_PTR_XLAT_TABLES; void __attribute__((__stdcall__)) NdrSimpleTypeMarshall(PMIDL_STUB_MESSAGE,unsigned char*,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrPointerMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING pFormat); unsigned char *__attribute__((__stdcall__)) NdrSimpleStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantVaryingStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrHardStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrComplexStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrFixedArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantVaryingArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrVaryingArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrComplexArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrNonConformantStringMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantStringMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrEncapsulatedUnionMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrNonEncapsulatedUnionMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrByteCountPointerMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrXmitOrRepAsMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrInterfacePointerMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrClientContextMarshall(PMIDL_STUB_MESSAGE,NDR_CCONTEXT,int); void __attribute__((__stdcall__)) NdrServerContextMarshall(PMIDL_STUB_MESSAGE,NDR_SCONTEXT,NDR_RUNDOWN); void __attribute__((__stdcall__)) NdrSimpleTypeUnmarshall(PMIDL_STUB_MESSAGE,unsigned char*,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrPointerUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrSimpleStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantVaryingStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrHardStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrComplexStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrFixedArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantVaryingArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrVaryingArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrComplexArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrNonConformantStringUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantStringUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrEncapsulatedUnionUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrNonEncapsulatedUnionUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrByteCountPointerUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrXmitOrRepAsUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrInterfacePointerUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); void __attribute__((__stdcall__)) NdrClientContextUnmarshall(PMIDL_STUB_MESSAGE,NDR_CCONTEXT*,RPC_BINDING_HANDLE); NDR_SCONTEXT __attribute__((__stdcall__)) NdrServerContextUnmarshall(PMIDL_STUB_MESSAGE); void __attribute__((__stdcall__)) NdrPointerBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrSimpleStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantVaryingStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrHardStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrComplexStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrFixedArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantVaryingArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrVaryingArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrComplexArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantStringBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrNonConformantStringBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrEncapsulatedUnionBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrNonEncapsulatedUnionBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrByteCountPointerBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrXmitOrRepAsBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrInterfacePointerBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrContextHandleSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrPointerMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrSimpleStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantVaryingStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrHardStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrComplexStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrFixedArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantVaryingArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrVaryingArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrComplexArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantStringMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrNonConformantStringMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrEncapsulatedUnionMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrNonEncapsulatedUnionMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrXmitOrRepAsMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrInterfacePointerMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrPointerFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrSimpleStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantVaryingStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrHardStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrComplexStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrFixedArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantVaryingArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrVaryingArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrComplexArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrEncapsulatedUnionFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrNonEncapsulatedUnionFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrByteCountPointerFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrXmitOrRepAsFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrInterfacePointerFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConvert(PMIDL_STUB_MESSAGE,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrClientInitializeNew(PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC,unsigned int); unsigned char *__attribute__((__stdcall__)) NdrServerInitializeNew(PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC); void __attribute__((__stdcall__)) NdrClientInitialize(PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC,unsigned int); unsigned char *__attribute__((__stdcall__)) NdrServerInitialize(PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC); unsigned char *__attribute__((__stdcall__)) NdrServerInitializeUnmarshall(PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC,PRPC_MESSAGE); void __attribute__((__stdcall__)) NdrServerInitializeMarshall(PRPC_MESSAGE,PMIDL_STUB_MESSAGE); unsigned char *__attribute__((__stdcall__)) NdrGetBuffer(PMIDL_STUB_MESSAGE,unsigned long,RPC_BINDING_HANDLE); unsigned char *__attribute__((__stdcall__)) NdrNsGetBuffer(PMIDL_STUB_MESSAGE,unsigned long,RPC_BINDING_HANDLE); unsigned char *__attribute__((__stdcall__)) NdrSendReceive(PMIDL_STUB_MESSAGE,unsigned char*); unsigned char *__attribute__((__stdcall__)) NdrNsSendReceive(PMIDL_STUB_MESSAGE,unsigned char*,RPC_BINDING_HANDLE*); void __attribute__((__stdcall__)) NdrFreeBuffer(PMIDL_STUB_MESSAGE); CLIENT_CALL_RETURN __attribute__((__cdecl__)) NdrClientCall(PMIDL_STUB_DESC,PFORMAT_STRING,...); CLIENT_CALL_RETURN __attribute__((__cdecl__)) NdrClientCall2(PMIDL_STUB_DESC,PFORMAT_STRING,...); typedef enum { STUB_UNMARSHAL, STUB_CALL_SERVER, STUB_MARSHAL, STUB_CALL_SERVER_NO_HRESULT } STUB_PHASE; typedef enum { PROXY_CALCSIZE, PROXY_GETBUFFER, PROXY_MARSHAL, PROXY_SENDRECEIVE, PROXY_UNMARSHAL } PROXY_PHASE; long __attribute__((__stdcall__)) NdrStubCall(struct IRpcStubBuffer*,struct IRpcChannelBuffer*,PRPC_MESSAGE,unsigned long*); void __attribute__((__stdcall__)) NdrServerCall(PRPC_MESSAGE); int __attribute__((__stdcall__)) NdrServerUnmarshall(struct IRpcChannelBuffer*,PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC,PFORMAT_STRING,void*); void __attribute__((__stdcall__)) NdrServerMarshall(struct IRpcStubBuffer*,struct IRpcChannelBuffer*,PMIDL_STUB_MESSAGE,PFORMAT_STRING); RPC_STATUS __attribute__((__stdcall__)) NdrMapCommAndFaultStatus(PMIDL_STUB_MESSAGE,unsigned long*,unsigned long*,RPC_STATUS); int __attribute__((__stdcall__)) NdrSH_UPDecision(PMIDL_STUB_MESSAGE,unsigned char**,RPC_BUFPTR); int __attribute__((__stdcall__)) NdrSH_TLUPDecision(PMIDL_STUB_MESSAGE,unsigned char**); int __attribute__((__stdcall__)) NdrSH_TLUPDecisionBuffer(PMIDL_STUB_MESSAGE,unsigned char**); int __attribute__((__stdcall__)) NdrSH_IfAlloc(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); int __attribute__((__stdcall__)) NdrSH_IfAllocRef(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); int __attribute__((__stdcall__)) NdrSH_IfAllocSet(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); RPC_BUFPTR __attribute__((__stdcall__)) NdrSH_IfCopy(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); RPC_BUFPTR __attribute__((__stdcall__)) NdrSH_IfAllocCopy(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); unsigned long __attribute__((__stdcall__)) NdrSH_Copy(unsigned char*,unsigned char*,unsigned long); void __attribute__((__stdcall__)) NdrSH_IfFree(PMIDL_STUB_MESSAGE,unsigned char*); RPC_BUFPTR __attribute__((__stdcall__)) NdrSH_StringMarshall(PMIDL_STUB_MESSAGE,unsigned char*,unsigned long,int); RPC_BUFPTR __attribute__((__stdcall__)) NdrSH_StringUnMarshall(PMIDL_STUB_MESSAGE,unsigned char**,int); typedef void *RPC_SS_THREAD_HANDLE; typedef void* __attribute__((__stdcall__)) RPC_CLIENT_ALLOC(unsigned int); typedef void __attribute__((__stdcall__)) RPC_CLIENT_FREE(void*); void*__attribute__((__stdcall__)) RpcSsAllocate(unsigned int); void __attribute__((__stdcall__)) RpcSsDisableAllocate(void); void __attribute__((__stdcall__)) RpcSsEnableAllocate(void); void __attribute__((__stdcall__)) RpcSsFree(void*); RPC_SS_THREAD_HANDLE __attribute__((__stdcall__)) RpcSsGetThreadHandle(void); void __attribute__((__stdcall__)) RpcSsSetClientAllocFree(RPC_CLIENT_ALLOC*,RPC_CLIENT_FREE*); void __attribute__((__stdcall__)) RpcSsSetThreadHandle(RPC_SS_THREAD_HANDLE); void __attribute__((__stdcall__)) RpcSsSwapClientAllocFree(RPC_CLIENT_ALLOC*,RPC_CLIENT_FREE*,RPC_CLIENT_ALLOC**,RPC_CLIENT_FREE**); void*__attribute__((__stdcall__)) RpcSmAllocate(unsigned int,RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) RpcSmClientFree(void*); RPC_STATUS __attribute__((__stdcall__)) RpcSmDestroyClientContext(void**); RPC_STATUS __attribute__((__stdcall__)) RpcSmDisableAllocate(void); RPC_STATUS __attribute__((__stdcall__)) RpcSmEnableAllocate(void); RPC_STATUS __attribute__((__stdcall__)) RpcSmFree(void*); RPC_SS_THREAD_HANDLE __attribute__((__stdcall__)) RpcSmGetThreadHandle(RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) RpcSmSetClientAllocFree(RPC_CLIENT_ALLOC*,RPC_CLIENT_FREE*); RPC_STATUS __attribute__((__stdcall__)) RpcSmSetThreadHandle(RPC_SS_THREAD_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcSmSwapClientAllocFree(RPC_CLIENT_ALLOC*,RPC_CLIENT_FREE*,RPC_CLIENT_ALLOC**,RPC_CLIENT_FREE**); void __attribute__((__stdcall__)) NdrRpcSsEnableAllocate(PMIDL_STUB_MESSAGE); void __attribute__((__stdcall__)) NdrRpcSsDisableAllocate(PMIDL_STUB_MESSAGE); void __attribute__((__stdcall__)) NdrRpcSmSetClientToOsf(PMIDL_STUB_MESSAGE); void*__attribute__((__stdcall__)) NdrRpcSmClientAllocate(unsigned int); void __attribute__((__stdcall__)) NdrRpcSmClientFree(void*); void*__attribute__((__stdcall__)) NdrRpcSsDefaultAllocate(unsigned int); void __attribute__((__stdcall__)) NdrRpcSsDefaultFree(void*); PFULL_PTR_XLAT_TABLES __attribute__((__stdcall__)) NdrFullPointerXlatInit(unsigned long,XLAT_SIDE); void __attribute__((__stdcall__)) NdrFullPointerXlatFree(PFULL_PTR_XLAT_TABLES); int __attribute__((__stdcall__)) NdrFullPointerQueryPointer(PFULL_PTR_XLAT_TABLES,void*,unsigned char,unsigned long*); int __attribute__((__stdcall__)) NdrFullPointerQueryRefId(PFULL_PTR_XLAT_TABLES,unsigned long,unsigned char,void**); void __attribute__((__stdcall__)) NdrFullPointerInsertRefId(PFULL_PTR_XLAT_TABLES,unsigned long,void*); int __attribute__((__stdcall__)) NdrFullPointerFree(PFULL_PTR_XLAT_TABLES,void*); void*__attribute__((__stdcall__)) NdrAllocate(PMIDL_STUB_MESSAGE,unsigned int); void __attribute__((__stdcall__)) NdrClearOutParameters(PMIDL_STUB_MESSAGE,PFORMAT_STRING,void*); void*__attribute__((__stdcall__)) NdrOleAllocate(unsigned int); void __attribute__((__stdcall__)) NdrOleFree(void*); unsigned char*__attribute__((__stdcall__)) NdrUserMarshalMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char*__attribute__((__stdcall__)) NdrUserMarshalUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); void __attribute__((__stdcall__)) NdrUserMarshalBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrUserMarshalMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrUserMarshalFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 2 3 # 10 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 3 #pragma pack(push,8) # 54 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 3 typedef enum tagSTGFMT { STGFMT_STORAGE = 0, STGFMT_FILE = 3, STGFMT_ANY = 4, STGFMT_DOCFILE = 5 } STGFMT; typedef struct tagSTGOPTIONS { USHORT usVersion; USHORT reserved; ULONG ulSectorSize; const WCHAR *pwcsTemplateFile; } STGOPTIONS; typedef enum tagREGCLS { REGCLS_SINGLEUSE = 0, REGCLS_MULTIPLEUSE = 1, REGCLS_MULTI_SEPARATE = 2 } REGCLS; # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wtypes.h" 1 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 1 3 # 2 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wtypes.h" 2 3 # 8 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wtypes.h" 3 # 22 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wtypes.h" 3 typedef struct _BLOB { ULONG cbSize; BYTE *pBlobData; } BLOB,*PBLOB,*LPBLOB; typedef enum tagDVASPECT { DVASPECT_CONTENT=1, DVASPECT_THUMBNAIL=2, DVASPECT_ICON=4, DVASPECT_DOCPRINT=8 } DVASPECT; typedef enum tagDVASPECT2 { DVASPECT_OPAQUE=16, DVASPECT_TRANSPARENT=32 } DVASPECT2; typedef enum tagSTATFLAG { STATFLAG_DEFAULT=0, STATFLAG_NONAME=1 } STATFLAG; typedef enum tagMEMCTX { MEMCTX_LOCAL=0, MEMCTX_TASK, MEMCTX_SHARED, MEMCTX_MACSYSTEM, MEMCTX_UNKNOWN=-1, MEMCTX_SAME=-2 } MEMCTX; typedef enum tagMSHCTX { MSHCTX_LOCAL=0, MSHCTX_NOSHAREDMEM, MSHCTX_DIFFERENTMACHINE, MSHCTX_INPROC, MSHCTX_CROSSCTX } MSHCTX; typedef enum tagCLSCTX { CLSCTX_INPROC_SERVER=1,CLSCTX_INPROC_HANDLER=2,CLSCTX_LOCAL_SERVER=4, CLSCTX_INPROC_SERVER16=8,CLSCTX_REMOTE_SERVER=16 } CLSCTX; typedef enum tagMSHLFLAGS { MSHLFLAGS_NORMAL,MSHLFLAGS_TABLESTRONG,MSHLFLAGS_TABLEWEAK } MSHLFLAGS; typedef struct _FLAGGED_WORD_BLOB { unsigned long fFlags; unsigned long clSize; unsigned short asData[1]; }FLAGGED_WORD_BLOB; typedef WCHAR OLECHAR; typedef LPWSTR LPOLESTR; typedef LPCWSTR LPCOLESTR; typedef unsigned short VARTYPE; typedef short VARIANT_BOOL; typedef VARIANT_BOOL _VARIANT_BOOL; typedef OLECHAR *BSTR; typedef FLAGGED_WORD_BLOB *wireBSTR; typedef BSTR *LPBSTR; typedef LONG SCODE; typedef void *HCONTEXT; typedef union tagCY { __extension__ struct { unsigned long Lo; long Hi; }; LONGLONG int64; } CY; typedef double DATE; typedef struct tagBSTRBLOB { ULONG cbSize; PBYTE pData; }BSTRBLOB; typedef struct tagBSTRBLOB *LPBSTRBLOB; typedef struct tagCLIPDATA { ULONG cbSize; long ulClipFmt; PBYTE pClipData; }CLIPDATA; typedef enum tagSTGC { STGC_DEFAULT,STGC_OVERWRITE,STGC_ONLYIFCURRENT, STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE }STGC; typedef enum tagSTGMOVE { STGMOVE_MOVE,STGMOVE_COPY,STGMOVE_SHALLOWCOPY }STGMOVE; enum VARENUM { VT_EMPTY,VT_NULL,VT_I2,VT_I4,VT_R4,VT_R8,VT_CY,VT_DATE,VT_BSTR,VT_DISPATCH, VT_ERROR,VT_BOOL,VT_VARIANT,VT_UNKNOWN,VT_DECIMAL,VT_I1=16,VT_UI1,VT_UI2,VT_UI4,VT_I8, VT_UI8,VT_INT,VT_UINT,VT_VOID,VT_HRESULT,VT_PTR,VT_SAFEARRAY,VT_CARRAY,VT_USERDEFINED, VT_LPSTR,VT_LPWSTR,VT_RECORD=36,VT_INT_PTR=37,VT_UINT_PTR=38,VT_FILETIME=64,VT_BLOB,VT_STREAM,VT_STORAGE,VT_STREAMED_OBJECT, VT_STORED_OBJECT,VT_BLOB_OBJECT,VT_CF,VT_CLSID,VT_BSTR_BLOB=0xfff,VT_VECTOR=0x1000, VT_ARRAY=0x2000,VT_BYREF=0x4000,VT_RESERVED=0x8000,VT_ILLEGAL= 0xffff,VT_ILLEGALMASKED=0xfff, VT_TYPEMASK=0xfff }; typedef struct _BYTE_SIZEDARR { unsigned long clSize; byte *pData; }BYTE_SIZEDARR; typedef struct _SHORT_SIZEDARR { unsigned long clSize; unsigned short *pData; }WORD_SIZEDARR; typedef struct _LONG_SIZEDARR { unsigned long clSize; unsigned long *pData; }DWORD_SIZEDARR; typedef struct _HYPER_SIZEDARR { unsigned long clSize; long long *pData; }HYPER_SIZEDARR; typedef double DOUBLE; typedef struct tagDEC { USHORT wReserved; __extension__ union { __extension__ struct { BYTE scale; BYTE sign; }; USHORT signscale; } ; ULONG Hi32; __extension__ union { __extension__ struct { ULONG Lo32; ULONG Mid32; }; ULONGLONG Lo64; } ; } DECIMAL; typedef DECIMAL *LPDECIMAL; typedef void *HMETAFILEPICT; # 72 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/unknwn.h" 1 3 # 9 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/unknwn.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wtypes.h" 1 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpc.h" 1 3 # 2 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wtypes.h" 2 3 # 16 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/unknwn.h" 2 3 void * __attribute__((__stdcall__)) MIDL_user_allocate(size_t); void __attribute__((__stdcall__)) MIDL_user_free(void*); extern const IID IID_IUnknown; extern const IID IID_IClassFactory; typedef struct IUnknown { struct IUnknownVtbl *lpVtbl; } IUnknown; typedef struct IUnknownVtbl IUnknownVtbl; struct IUnknownVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IUnknown *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IUnknown *) ; ULONG(__attribute__((__stdcall__)) *Release)(IUnknown *) ; }; typedef IUnknown *LPUNKNOWN; typedef struct IClassFactory { struct IClassFactoryVtbl *lpVtbl; } IClassFactory; typedef struct IClassFactoryVtbl IClassFactoryVtbl; struct IClassFactoryVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IClassFactory *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IClassFactory *) ; ULONG(__attribute__((__stdcall__)) *Release)(IClassFactory *) ; HRESULT(__attribute__((__stdcall__)) *CreateInstance)(IClassFactory *, LPUNKNOWN,const IID* const,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *LockServer)(IClassFactory *, BOOL) ; }; typedef IClassFactory *LPCLASSFACTORY; HRESULT __attribute__((__stdcall__)) IUnknown_QueryInterface_Proxy(IUnknown*,const IID* const,void**); void __attribute__((__stdcall__)) IUnknown_QueryInterface_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IUnknown_AddRef_Proxy(IUnknown*); void __attribute__((__stdcall__)) IUnknown_AddRef_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IUnknown_Release_Proxy(IUnknown*); void __attribute__((__stdcall__)) IUnknown_Release_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IClassFactory_RemoteCreateInstance_Proxy(IClassFactory*,const IID* const,IUnknown**); void __attribute__((__stdcall__)) IClassFactory_RemoteCreateInstance_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IClassFactory_RemoteLockServer_Proxy(IClassFactory*,BOOL); void __attribute__((__stdcall__)) IClassFactory_RemoteLockServer_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IClassFactory_CreateInstance_Proxy(IClassFactory*,IUnknown*,const IID* const,void**); HRESULT __attribute__((__stdcall__)) IClassFactory_CreateInstance_Stub(IClassFactory*,const IID* const,IUnknown**); HRESULT __attribute__((__stdcall__)) IClassFactory_LockServer_Proxy(IClassFactory*,BOOL); HRESULT __attribute__((__stdcall__)) IClassFactory_LockServer_Stub(IClassFactory*,BOOL); # 73 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objidl.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objidl.h" 3 # 46 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objidl.h" 3 typedef struct tagSTATSTG { LPOLESTR pwcsName; DWORD type; ULARGE_INTEGER cbSize; FILETIME mtime; FILETIME ctime; FILETIME atime; DWORD grfMode; DWORD grfLocksSupported; CLSID clsid; DWORD grfStateBits; DWORD reserved; } STATSTG; typedef enum tagSTGTY { STGTY_STORAGE=1, STGTY_STREAM, STGTY_LOCKBYTES, STGTY_PROPERTY } STGTY; typedef enum tagSTREAM_SEEK { STREAM_SEEK_SET, STREAM_SEEK_CUR, STREAM_SEEK_END } STREAM_SEEK; typedef struct tagINTERFACEINFO { LPUNKNOWN pUnk; IID iid; WORD wMethod; } INTERFACEINFO,*LPINTERFACEINFO; typedef enum tagCALLTYPE { CALLTYPE_TOPLEVEL=1, CALLTYPE_NESTED, CALLTYPE_ASYNC, CALLTYPE_TOPLEVEL_CALLPENDING, CALLTYPE_ASYNC_CALLPENDING } CALLTYPE; typedef enum tagPENDINGTYPE { PENDINGTYPE_TOPLEVEL=1, PENDINGTYPE_NESTED } PENDINGTYPE; typedef enum tagPENDINGMSG { PENDINGMSG_CANCELCALL=0, PENDINGMSG_WAITNOPROCESS, PENDINGMSG_WAITDEFPROCESS } PENDINGMSG; typedef OLECHAR **SNB; typedef enum tagDATADIR { DATADIR_GET=1, DATADIR_SET } DATADIR; typedef WORD CLIPFORMAT,*LPCLIPFORMAT; typedef struct tagDVTARGETDEVICE { DWORD tdSize; WORD tdDriverNameOffset; WORD tdDeviceNameOffset; WORD tdPortNameOffset; WORD tdExtDevmodeOffset; BYTE tdData[1]; } DVTARGETDEVICE; typedef struct tagFORMATETC { CLIPFORMAT cfFormat; DVTARGETDEVICE*ptd; DWORD dwAspect; LONG lindex; DWORD tymed; } FORMATETC,*LPFORMATETC; typedef struct tagRemSTGMEDIUM { DWORD tymed; DWORD dwHandleType; ULONG pData; unsigned long pUnkForRelease; unsigned long cbData; BYTE data[1]; } RemSTGMEDIUM; typedef struct tagHLITEM { ULONG uHLID; LPWSTR pwzFriendlyName; } HLITEM; typedef struct tagSTATDATA { FORMATETC formatetc; DWORD grfAdvf; struct IAdviseSink *pAdvSink; DWORD dwConnection; } STATDATA; typedef struct tagSTATPROPSETSTG { FMTID fmtid; CLSID clsid; DWORD grfFlags; FILETIME mtime; FILETIME ctime; FILETIME atime; } STATPROPSETSTG; typedef enum tagEXTCONN { EXTCONN_STRONG=1, EXTCONN_WEAK=2, EXTCONN_CALLABLE=4 } EXTCONN; typedef struct tagMULTI_QI { const IID *pIID; IUnknown *pItf; HRESULT hr; } MULTI_QI; typedef struct _AUTH_IDENTITY { USHORT *User; ULONG UserLength; USHORT *Domain; ULONG DomainLength; USHORT *Password; ULONG PasswordLength; ULONG Flags; } AUTH_IDENTITY; typedef struct _COAUTHINFO{ DWORD dwAuthnSvc; DWORD dwAuthzSvc; LPWSTR pwszServerPrincName; DWORD dwAuthnLevel; DWORD dwImpersonationLevel; AUTH_IDENTITY *pAuthIdentityData; DWORD dwCapabilities; } COAUTHINFO; typedef struct _COSERVERINFO { DWORD dwReserved1; LPWSTR pwszName; COAUTHINFO *pAuthInfo; DWORD dwReserved2; } COSERVERINFO; typedef struct tagBIND_OPTS { DWORD cbStruct; DWORD grfFlags; DWORD grfMode; DWORD dwTickCountDeadline; } BIND_OPTS,*LPBIND_OPTS; typedef struct tagBIND_OPTS2 { DWORD cbStruct; DWORD grfFlags; DWORD grfMode; DWORD dwTickCountDeadline; DWORD dwTrackFlags; DWORD dwClassContext; LCID locale; COSERVERINFO *pServerInfo; } BIND_OPTS2,*LPBIND_OPTS2; typedef enum tagBIND_FLAGS { BIND_MAYBOTHERUSER=1, BIND_JUSTTESTEXISTENCE } BIND_FLAGS; typedef struct tagSTGMEDIUM { DWORD tymed; __extension__ union { HBITMAP hBitmap; PVOID hMetaFilePict; HENHMETAFILE hEnhMetaFile; HGLOBAL hGlobal; LPWSTR lpszFileName; LPSTREAM pstm; LPSTORAGE pstg; } ; LPUNKNOWN pUnkForRelease; } STGMEDIUM,*LPSTGMEDIUM; typedef enum tagLOCKTYPE { LOCK_WRITE=1, LOCK_EXCLUSIVE=2, LOCK_ONLYONCE=4 } LOCKTYPE; typedef unsigned long RPCOLEDATAREP; typedef struct tagRPCOLEMESSAGE { PVOID reserved1; RPCOLEDATAREP dataRepresentation; PVOID Buffer; ULONG cbBuffer; ULONG iMethod; PVOID reserved2[5]; ULONG rpcFlags; } RPCOLEMESSAGE, *PRPCOLEMESSAGE; typedef enum tagMKSYS { MKSYS_NONE, MKSYS_GENERICCOMPOSITE, MKSYS_FILEMONIKER, MKSYS_ANTIMONIKER, MKSYS_ITEMMONIKER, MKSYS_POINTERMONIKER } MKSYS; typedef enum tagMKREDUCE { MKRREDUCE_ALL, MKRREDUCE_ONE=196608, MKRREDUCE_TOUSER=131072, MKRREDUCE_THROUGHUSER=65536 } MKRREDUCE; typedef struct tagRemSNB { unsigned long ulCntStr; unsigned long ulCntChar; OLECHAR rgString[1]; } RemSNB; typedef enum tagADVF { ADVF_NODATA=1,ADVF_PRIMEFIRST=2,ADVF_ONLYONCE=4,ADVF_DATAONSTOP=64, ADVFCACHE_NOHANDLER=8,ADVFCACHE_FORCEBUILTIN=16,ADVFCACHE_ONSAVE=32 } ADVF; typedef enum tagTYMED { TYMED_HGLOBAL=1,TYMED_FILE=2,TYMED_ISTREAM=4,TYMED_ISTORAGE=8, TYMED_GDI=16,TYMED_MFPICT=32,TYMED_ENHMF=64,TYMED_NULL=0 } TYMED; typedef enum tagSERVERCALL { SERVERCALL_ISHANDLED,SERVERCALL_REJECTED,SERVERCALL_RETRYLATER } SERVERCALL; typedef struct tagCAUB { ULONG cElems; unsigned char *pElems; }CAUB; typedef struct tagCAI { ULONG cElems; short *pElems; }CAI; typedef struct tagCAUI { ULONG cElems; USHORT *pElems; }CAUI; typedef struct tagCAL { ULONG cElems; long *pElems; }CAL; typedef struct tagCAUL { ULONG cElems; ULONG *pElems; }CAUL; typedef struct tagCAFLT { ULONG cElems; float *pElems; }CAFLT; typedef struct tagCADBL { ULONG cElems; double *pElems; }CADBL; typedef struct tagCACY { ULONG cElems; CY *pElems; }CACY; typedef struct tagCADATE { ULONG cElems; DATE *pElems; }CADATE; typedef struct tagCABSTR { ULONG cElems; BSTR *pElems; }CABSTR; typedef struct tagCABSTRBLOB { ULONG cElems; BSTRBLOB *pElems; }CABSTRBLOB; typedef struct tagCABOOL { ULONG cElems; VARIANT_BOOL *pElems; }CABOOL; typedef struct tagCASCODE { ULONG cElems; SCODE *pElems; }CASCODE; typedef struct tagCAH { ULONG cElems; LARGE_INTEGER *pElems; }CAH; typedef struct tagCAUH { ULONG cElems; ULARGE_INTEGER *pElems; }CAUH; typedef struct tagCALPSTR { ULONG cElems; LPSTR *pElems; }CALPSTR; typedef struct tagCALPWSTR { ULONG cElems; LPWSTR *pElems; }CALPWSTR; typedef struct tagCAFILETIME { ULONG cElems; FILETIME *pElems; }CAFILETIME; typedef struct tagCACLIPDATA { ULONG cElems; CLIPDATA *pElems; }CACLIPDATA; typedef struct tagCACLSID { ULONG cElems; CLSID *pElems; }CACLSID; typedef struct tagPROPVARIANT *LPPROPVARIANT; typedef struct tagCAPROPVARIANT { ULONG cElems; LPPROPVARIANT pElems; }CAPROPVARIANT; typedef struct tagPROPVARIANT { VARTYPE vt; WORD wReserved1; WORD wReserved2; WORD wReserved3; __extension__ union { CHAR cVal; UCHAR bVal; short iVal; USHORT uiVal; VARIANT_BOOL boolVal; long lVal; ULONG ulVal; float fltVal; SCODE scode; LARGE_INTEGER hVal; ULARGE_INTEGER uhVal; double dblVal; CY cyVal; DATE date; FILETIME filetime; CLSID *puuid; BLOB blob; CLIPDATA *pclipdata; LPSTREAM pStream; LPSTORAGE pStorage; BSTR bstrVal; BSTRBLOB bstrblobVal; LPSTR pszVal; LPWSTR pwszVal; CAUB caub; CAI cai; CAUI caui; CABOOL cabool; CAL cal; CAUL caul; CAFLT caflt; CASCODE cascode; CAH cah; CAUH cauh; CADBL cadbl; CACY cacy; CADATE cadate; CAFILETIME cafiletime; CACLSID cauuid; CACLIPDATA caclipdata; CABSTR cabstr; CABSTRBLOB cabstrblob; CALPSTR calpstr; CALPWSTR calpwstr; CAPROPVARIANT capropvar; } ; } PROPVARIANT; typedef struct tagPROPSPEC { ULONG ulKind; __extension__ union { PROPID propid; LPOLESTR lpwstr; } ; }PROPSPEC; typedef struct tagSTATPROPSTG { LPOLESTR lpwstrName; PROPID propid; VARTYPE vt; } STATPROPSTG; typedef enum PROPSETFLAG { PROPSETFLAG_DEFAULT,PROPSETFLAG_NONSIMPLE,PROPSETFLAG_ANSI, PROPSETFLAG_UNBUFFERED=4 } PROPSETFLAG; typedef struct tagSTORAGELAYOUT { DWORD LayoutType; OLECHAR* pwcsElementName; LARGE_INTEGER cOffset; LARGE_INTEGER cBytes; } STORAGELAYOUT; typedef struct tagSOLE_AUTHENTICATION_SERVICE { DWORD dwAuthnSvc; DWORD dwAuthzSvc; OLECHAR *pPrincipalName; HRESULT hr; } SOLE_AUTHENTICATION_SERVICE; typedef enum tagEOLE_AUTHENTICATION_CAPABILITIES { EOAC_NONE = 0, EOAC_MUTUAL_AUTH = 0x1, EOAC_STATIC_CLOAKING = 0x20, EOAC_DYNAMIC_CLOAKING = 0x40, EOAC_ANY_AUTHORITY = 0x80, EOAC_MAKE_FULLSIC = 0x100, EOAC_DEFAULT = 0x800, EOAC_SECURE_REFS = 0x2, EOAC_ACCESS_CONTROL = 0x4, EOAC_APPID = 0x8, EOAC_DYNAMIC = 0x10, EOAC_REQUIRE_FULLSIC = 0x200, EOAC_AUTO_IMPERSONATE = 0x400, EOAC_NO_CUSTOM_MARSHAL = 0x2000, EOAC_DISABLE_AAA = 0x1000 } EOLE_AUTHENTICATION_CAPABILITIES; typedef struct tagSOLE_AUTHENTICATION_INFO { DWORD dwAuthnSvc; DWORD dwAuthzSvc; void* pAuthInfo; } SOLE_AUTHENTICATION_INFO; typedef struct tagSOLE_AUTHENTICATION_LIST { DWORD cAuthInfo; SOLE_AUTHENTICATION_INFO* aAuthInfo; } SOLE_AUTHENTICATION_LIST; extern const FMTID FMTID_SummaryInformation; extern const FMTID FMTID_DocSummaryInformation; extern const FMTID FMTID_UserDefinedProperties; typedef struct IEnumFORMATETC { struct IEnumFORMATETCVtbl *lpVtbl; } IEnumFORMATETC; typedef struct IEnumFORMATETCVtbl IEnumFORMATETCVtbl; struct IEnumFORMATETCVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumFORMATETC*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumFORMATETC*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumFORMATETC*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumFORMATETC*, ULONG,FORMATETC*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumFORMATETC*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumFORMATETC*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumFORMATETC*, IEnumFORMATETC**) ; }; typedef struct IEnumHLITEM { struct IEnumHLITEMVtbl *lpVtbl; } IEnumHLITEM; typedef struct IEnumHLITEMVtbl IEnumHLITEMVtbl; struct IEnumHLITEMVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumHLITEM*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumHLITEM*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumHLITEM*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumHLITEM*, ULONG,HLITEM*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumHLITEM*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumHLITEM*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumHLITEM*, IEnumHLITEM**) ; }; typedef struct IEnumSTATDATA { struct IEnumSTATDATAVtbl *lpVtbl; } IEnumSTATDATA; typedef struct IEnumSTATDATAVtbl IEnumSTATDATAVtbl; struct IEnumSTATDATAVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumSTATDATA*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumSTATDATA*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumSTATDATA*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumSTATDATA*, ULONG,STATDATA*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumSTATDATA*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumSTATDATA*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumSTATDATA*, IEnumSTATDATA**) ; }; typedef struct IEnumSTATPROPSETSTG { struct IEnumSTATPROPSETSTGVtbl *lpVtbl; } IEnumSTATPROPSETSTG; typedef struct IEnumSTATPROPSETSTGVtbl IEnumSTATPROPSETSTGVtbl; struct IEnumSTATPROPSETSTGVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumSTATPROPSETSTG*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumSTATPROPSETSTG*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumSTATPROPSETSTG*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumSTATPROPSETSTG*, ULONG,STATPROPSETSTG*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumSTATPROPSETSTG*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumSTATPROPSETSTG*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumSTATPROPSETSTG*, IEnumSTATPROPSETSTG**) ; }; typedef struct IEnumSTATPROPSTG { struct IEnumSTATPROPSTGVtbl *lpVtbl; } IEnumSTATPROPSTG; typedef struct IEnumSTATPROPSTGVtbl IEnumSTATPROPSTGVtbl; struct IEnumSTATPROPSTGVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumSTATPROPSTG*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumSTATPROPSTG*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumSTATPROPSTG*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumSTATPROPSTG*, ULONG,STATPROPSTG*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumSTATPROPSTG*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumSTATPROPSTG*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumSTATPROPSTG*, IEnumSTATPROPSTG**) ; }; typedef struct IEnumSTATSTG { struct IEnumSTATSTGVtbl *lpVtbl; } IEnumSTATSTG; typedef struct IEnumSTATSTGVtbl IEnumSTATSTGVtbl; struct IEnumSTATSTGVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumSTATSTG*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumSTATSTG*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumSTATSTG*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumSTATSTG*, ULONG,STATSTG*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumSTATSTG*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumSTATSTG*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumSTATSTG*, IEnumSTATSTG**) ; }; typedef struct IEnumString { struct IEnumStringVtbl *lpVtbl; } IEnumString; typedef struct IEnumStringVtbl IEnumStringVtbl; struct IEnumStringVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumString*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumString*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumString*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumString*, ULONG,LPOLESTR*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumString*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumString*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumString*, IEnumString**) ; }; typedef struct IEnumMoniker { struct IEnumMonikerVtbl *lpVtbl; } IEnumMoniker; typedef struct IEnumMonikerVtbl IEnumMonikerVtbl; struct IEnumMonikerVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumMoniker*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumMoniker*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumMoniker*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumMoniker*, ULONG,struct IMoniker**,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumMoniker*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumMoniker*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumMoniker*, IEnumMoniker**) ; }; typedef struct IEnumUnknown { struct IEnumUnknownVtbl *lpVtbl; } IEnumUnknown; typedef struct IEnumUnknownVtbl IEnumUnknownVtbl; struct IEnumUnknownVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumUnknown*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumUnknown*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumUnknown*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumUnknown*, ULONG,IUnknown**,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumUnknown*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumUnknown*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumUnknown*, IEnumUnknown**) ; }; extern const IID IID_ISequentialStream; typedef struct ISequentialStream { struct ISequentialStreamVtbl *lpVtbl; } ISequentialStream; typedef struct ISequentialStreamVtbl ISequentialStreamVtbl; struct ISequentialStreamVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ISequentialStream *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ISequentialStream *) ; ULONG(__attribute__((__stdcall__)) *Release)(ISequentialStream *) ; HRESULT(__attribute__((__stdcall__)) *Read)(ISequentialStream *, void*,ULONG,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Write)(ISequentialStream *, void const*,ULONG,ULONG*) ; }; extern const IID IID_IStream; typedef struct IStream { struct IStreamVtbl *lpVtbl; } IStream; typedef struct IStreamVtbl IStreamVtbl; struct IStreamVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IStream *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IStream *) ; ULONG(__attribute__((__stdcall__)) *Release)(IStream *) ; HRESULT(__attribute__((__stdcall__)) *Read)(IStream *, void*,ULONG,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Write)(IStream *, void const*,ULONG,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Seek)(IStream *, LARGE_INTEGER,DWORD,ULARGE_INTEGER*) ; HRESULT(__attribute__((__stdcall__)) *SetSize)(IStream *, ULARGE_INTEGER) ; HRESULT(__attribute__((__stdcall__)) *CopyTo)(IStream *, IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*) ; HRESULT(__attribute__((__stdcall__)) *Commit)(IStream *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *Revert)(IStream *) ; HRESULT(__attribute__((__stdcall__)) *LockRegion)(IStream *, ULARGE_INTEGER,ULARGE_INTEGER,DWORD) ; HRESULT(__attribute__((__stdcall__)) *UnlockRegion)(IStream *, ULARGE_INTEGER,ULARGE_INTEGER,DWORD) ; HRESULT(__attribute__((__stdcall__)) *Stat)(IStream *, STATSTG*,DWORD) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IStream *, LPSTREAM*) ; }; extern const IID IID_IMarshal; typedef struct IMarshal { struct IMarshalVtbl *lpVtbl; } IMarshal; typedef struct IMarshalVtbl IMarshalVtbl; struct IMarshalVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IMarshal *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IMarshal *) ; ULONG(__attribute__((__stdcall__)) *Release)(IMarshal *) ; HRESULT(__attribute__((__stdcall__)) *GetUnmarshalClass) (IMarshal *, const IID* const,PVOID,DWORD,PVOID,DWORD,CLSID*) ; HRESULT(__attribute__((__stdcall__)) *GetMarshalSizeMax) (IMarshal *, const IID* const,PVOID,DWORD,PVOID,PDWORD,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *MarshalInterface) (IMarshal *, IStream*,const IID* const,PVOID,DWORD,PVOID,DWORD) ; HRESULT(__attribute__((__stdcall__)) *UnmarshalInterface) (IMarshal *, IStream*,const IID* const,void**) ; HRESULT(__attribute__((__stdcall__)) *ReleaseMarshalData) (IMarshal *, IStream*) ; HRESULT(__attribute__((__stdcall__)) *DisconnectObject) (IMarshal *, DWORD) ; }; extern const IID IID_IStdMarshalInfo; typedef struct IStdMarshalInfo { struct IStdMarshalInfoVtbl *lpVtbl; } IStdMarshalInfo; typedef struct IStdMarshalInfoVtbl IStdMarshalInfoVtbl; struct IStdMarshalInfoVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IStdMarshalInfo *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IStdMarshalInfo *) ; ULONG(__attribute__((__stdcall__)) *Release)(IStdMarshalInfo *) ; HRESULT(__attribute__((__stdcall__)) *GetClassForHandler)(IStdMarshalInfo *, DWORD,PVOID,CLSID*) ; }; extern const IID IID_IMalloc; typedef struct IMalloc { struct IMallocVtbl *lpVtbl; } IMalloc; typedef struct IMallocVtbl IMallocVtbl; struct IMallocVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IMalloc *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IMalloc *) ; ULONG(__attribute__((__stdcall__)) *Release)(IMalloc *) ; void*(__attribute__((__stdcall__)) *Alloc)(IMalloc *, ULONG) ; void*(__attribute__((__stdcall__)) *Realloc)(IMalloc *, void*,ULONG) ; void(__attribute__((__stdcall__)) *Free)(IMalloc *, void*) ; ULONG(__attribute__((__stdcall__)) *GetSize)(IMalloc *, void*) ; int(__attribute__((__stdcall__)) *DidAlloc)(IMalloc *, void*) ; void(__attribute__((__stdcall__)) *HeapMinimize)(IMalloc *) ; }; extern const IID IID_IMallocSpy; typedef struct IMallocSpy { struct IMallocSpyVtbl *lpVtbl; } IMallocSpy; typedef struct IMallocSpyVtbl IMallocSpyVtbl; struct IMallocSpyVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IMallocSpy *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IMallocSpy *) ; ULONG(__attribute__((__stdcall__)) *Release)(IMallocSpy *) ; ULONG(__attribute__((__stdcall__)) *PreAlloc)(IMallocSpy *, ULONG) ; void*(__attribute__((__stdcall__)) *PostAlloc)(IMallocSpy *, void*) ; void*(__attribute__((__stdcall__)) *PreFree)(IMallocSpy *, void*,BOOL) ; void(__attribute__((__stdcall__)) *PostFree)(IMallocSpy *, BOOL) ; ULONG(__attribute__((__stdcall__)) *PreRealloc)(IMallocSpy *, void*,ULONG,void**,BOOL) ; void*(__attribute__((__stdcall__)) *PostRealloc)(IMallocSpy *, void*,BOOL) ; void*(__attribute__((__stdcall__)) *PreGetSize)(IMallocSpy *, void*,BOOL) ; ULONG(__attribute__((__stdcall__)) *PostGetSize)(IMallocSpy *, ULONG,BOOL) ; void*(__attribute__((__stdcall__)) *PreDidAlloc)(IMallocSpy *, void*,BOOL) ; int(__attribute__((__stdcall__)) *PostDidAlloc)(IMallocSpy *, void*,BOOL,int) ; void(__attribute__((__stdcall__)) *PreHeapMinimize)(IMallocSpy *) ; void(__attribute__((__stdcall__)) *PostHeapMinimize)(IMallocSpy *) ; }; extern const IID IID_IMessageFilter; typedef struct IMessageFilter { struct IMessageFilterVtbl *lpVtbl; } IMessageFilter; typedef struct IMessageFilterVtbl IMessageFilterVtbl; struct IMessageFilterVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IMessageFilter *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IMessageFilter *) ; ULONG(__attribute__((__stdcall__)) *Release)(IMessageFilter *) ; DWORD(__attribute__((__stdcall__)) *HandleInComingCall)(IMessageFilter *, DWORD,HTASK,DWORD,LPINTERFACEINFO) ; DWORD(__attribute__((__stdcall__)) *RetryRejectedCall)(IMessageFilter *, HTASK,DWORD,DWORD) ; DWORD(__attribute__((__stdcall__)) *MessagePending)(IMessageFilter *, HTASK,DWORD,DWORD) ; }; extern const IID IID_IPersist; typedef struct IPersist { struct IPersistVtbl *lpVtbl; } IPersist; typedef struct IPersistVtbl IPersistVtbl; struct IPersistVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IPersist *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IPersist *) ; ULONG(__attribute__((__stdcall__)) *Release)(IPersist *) ; HRESULT(__attribute__((__stdcall__)) *GetClassID)(IPersist *, CLSID*) ; }; extern const IID IID_IPersistStream; typedef struct IPersistStream { struct IPersistStreamVtbl *lpVtbl; } IPersistStream; typedef struct IPersistStreamVtbl IPersistStreamVtbl; struct IPersistStreamVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IPersistStream *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IPersistStream *) ; ULONG(__attribute__((__stdcall__)) *Release)(IPersistStream *) ; HRESULT(__attribute__((__stdcall__)) *GetClassID)(IPersistStream *, LPCLSID) ; HRESULT(__attribute__((__stdcall__)) *IsDirty)(IPersistStream *) ; HRESULT(__attribute__((__stdcall__)) *Load)(IPersistStream *, IStream*) ; HRESULT(__attribute__((__stdcall__)) *Save)(IPersistStream *, IStream*,BOOL) ; HRESULT(__attribute__((__stdcall__)) *GetSizeMax)(IPersistStream *, PULARGE_INTEGER) ; }; extern const IID IID_IRunningObjectTable; typedef struct IRunningObjectTable { struct IRunningObjectTableVtbl *lpVtbl; } IRunningObjectTable; typedef struct IRunningObjectTableVtbl IRunningObjectTableVtbl; struct IRunningObjectTableVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IRunningObjectTable *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IRunningObjectTable *) ; ULONG(__attribute__((__stdcall__)) *Release)(IRunningObjectTable *) ; HRESULT(__attribute__((__stdcall__)) *Register)(IRunningObjectTable *, DWORD,LPUNKNOWN,LPMONIKER,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *Revoke)(IRunningObjectTable *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *IsRunning)(IRunningObjectTable *, LPMONIKER) ; HRESULT(__attribute__((__stdcall__)) *GetObjectA)(IRunningObjectTable *, LPMONIKER,LPUNKNOWN*) ; HRESULT(__attribute__((__stdcall__)) *NoteChangeTime)(IRunningObjectTable *, DWORD,LPFILETIME) ; HRESULT(__attribute__((__stdcall__)) *GetTimeOfLastChange)(IRunningObjectTable *, LPMONIKER,LPFILETIME) ; HRESULT(__attribute__((__stdcall__)) *EnumRunning)(IRunningObjectTable *, IEnumMoniker**) ; }; extern const IID IID_IBindCtx; typedef struct IBindCtx { struct IBindCtxVtbl *lpVtbl; } IBindCtx; typedef struct IBindCtxVtbl IBindCtxVtbl; struct IBindCtxVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IBindCtx *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IBindCtx *) ; ULONG(__attribute__((__stdcall__)) *Release)(IBindCtx *) ; HRESULT(__attribute__((__stdcall__)) *RegisterObjectBound)(IBindCtx *, LPUNKNOWN) ; HRESULT(__attribute__((__stdcall__)) *RevokeObjectBound)(IBindCtx *, LPUNKNOWN) ; HRESULT(__attribute__((__stdcall__)) *ReleaseBoundObjects)(IBindCtx *) ; HRESULT(__attribute__((__stdcall__)) *SetBindOptions)(IBindCtx *, LPBIND_OPTS) ; HRESULT(__attribute__((__stdcall__)) *GetBindOptions)(IBindCtx *, LPBIND_OPTS) ; HRESULT(__attribute__((__stdcall__)) *GetRunningObjectTable)(IBindCtx *, IRunningObjectTable**) ; HRESULT(__attribute__((__stdcall__)) *RegisterObjectParam)(IBindCtx *, LPOLESTR,IUnknown*) ; HRESULT(__attribute__((__stdcall__)) *GetObjectParam)(IBindCtx *, LPOLESTR,IUnknown**) ; HRESULT(__attribute__((__stdcall__)) *EnumObjectParam)(IBindCtx *, IEnumString**) ; HRESULT(__attribute__((__stdcall__)) *RevokeObjectParam)(IBindCtx *, LPOLESTR) ; }; extern const IID IID_IMoniker; typedef struct IMoniker { struct IMonikerVtbl *lpVtbl; } IMoniker; typedef struct IMonikerVtbl IMonikerVtbl; struct IMonikerVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IMoniker *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IMoniker *) ; ULONG(__attribute__((__stdcall__)) *Release)(IMoniker *) ; HRESULT(__attribute__((__stdcall__)) *GetClassID)(IMoniker *, LPCLSID) ; HRESULT(__attribute__((__stdcall__)) *IsDirty)(IMoniker *) ; HRESULT(__attribute__((__stdcall__)) *Load)(IMoniker *, IStream*) ; HRESULT(__attribute__((__stdcall__)) *Save)(IMoniker *, IStream*,BOOL) ; HRESULT(__attribute__((__stdcall__)) *GetSizeMax)(IMoniker *, PULARGE_INTEGER) ; HRESULT(__attribute__((__stdcall__)) *BindToObject)(IMoniker *, IBindCtx*,IMoniker*,const IID* const,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *BindToStorage)(IMoniker *, IBindCtx*,IMoniker*,const IID* const,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *Reduce)(IMoniker *, IBindCtx*,DWORD,IMoniker**,IMoniker**) ; HRESULT(__attribute__((__stdcall__)) *ComposeWith)(IMoniker *, IMoniker*,BOOL,IMoniker**) ; HRESULT(__attribute__((__stdcall__)) *Enum)(IMoniker *, BOOL,IEnumMoniker**) ; HRESULT(__attribute__((__stdcall__)) *IsEqual)(IMoniker *, IMoniker*) ; HRESULT(__attribute__((__stdcall__)) *Hash)(IMoniker *, PDWORD) ; HRESULT(__attribute__((__stdcall__)) *IsRunning)(IMoniker *, IBindCtx*,IMoniker*,IMoniker*) ; HRESULT(__attribute__((__stdcall__)) *GetTimeOfLastChange)(IMoniker *, IBindCtx*,IMoniker*,LPFILETIME) ; HRESULT(__attribute__((__stdcall__)) *Inverse)(IMoniker *, IMoniker**) ; HRESULT(__attribute__((__stdcall__)) *CommonPrefixWith)(IMoniker *, IMoniker*,IMoniker**) ; HRESULT(__attribute__((__stdcall__)) *RelativePathTo)(IMoniker *, IMoniker*,IMoniker**) ; HRESULT(__attribute__((__stdcall__)) *GetDisplayName)(IMoniker *, IBindCtx*,IMoniker*,LPOLESTR*) ; HRESULT(__attribute__((__stdcall__)) *ParseDisplayName)(IMoniker *, IBindCtx*,IMoniker*,LPOLESTR,ULONG*,IMoniker**) ; HRESULT(__attribute__((__stdcall__)) *IsSystemMoniker)(IMoniker *, PDWORD) ; }; extern const IID IID_IPersistStorage; typedef struct IPersistStorage { struct IPersistStorageVtbl *lpVtbl; } IPersistStorage; typedef struct IPersistStorageVtbl IPersistStorageVtbl; struct IPersistStorageVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IPersistStorage *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IPersistStorage *) ; ULONG(__attribute__((__stdcall__)) *Release)(IPersistStorage *) ; HRESULT(__attribute__((__stdcall__)) *GetClassID)(IPersistStorage *, CLSID*) ; HRESULT(__attribute__((__stdcall__)) *IsDirty)(IPersistStorage *) ; HRESULT(__attribute__((__stdcall__)) *InitNew)(IPersistStorage *, LPSTORAGE) ; HRESULT(__attribute__((__stdcall__)) *Load)(IPersistStorage *, LPSTORAGE) ; HRESULT(__attribute__((__stdcall__)) *Save)(IPersistStorage *, LPSTORAGE,BOOL) ; HRESULT(__attribute__((__stdcall__)) *SaveCompleted)(IPersistStorage *, LPSTORAGE) ; HRESULT(__attribute__((__stdcall__)) *HandsOffStorage)(IPersistStorage *) ; }; extern const IID IID_IPersistFile; typedef struct IPersistFile { struct IPersistFileVtbl *lpVtbl; } IPersistFile; typedef struct IPersistFileVtbl IPersistFileVtbl; struct IPersistFileVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IPersistFile *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IPersistFile *) ; ULONG(__attribute__((__stdcall__)) *Release)(IPersistFile *) ; HRESULT(__attribute__((__stdcall__)) *GetClassID)(IPersistFile *, CLSID*) ; HRESULT(__attribute__((__stdcall__)) *IsDirty)(IPersistFile *) ; HRESULT(__attribute__((__stdcall__)) *Load)(IPersistFile *, LPCOLESTR,DWORD) ; HRESULT(__attribute__((__stdcall__)) *Save)(IPersistFile *, LPCOLESTR,BOOL) ; HRESULT(__attribute__((__stdcall__)) *SaveCompleted)(IPersistFile *, LPCOLESTR) ; HRESULT(__attribute__((__stdcall__)) *GetCurFile)(IPersistFile *, LPOLESTR*) ; }; extern const IID IID_IAdviseSink; typedef struct IAdviseSink { struct IAdviseSinkVtbl *lpVtbl; } IAdviseSink; typedef struct IAdviseSinkVtbl IAdviseSinkVtbl; struct IAdviseSinkVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IAdviseSink *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IAdviseSink *) ; ULONG(__attribute__((__stdcall__)) *Release)(IAdviseSink *) ; void(__attribute__((__stdcall__)) *OnDataChange)(IAdviseSink *, FORMATETC*,STGMEDIUM*) ; void(__attribute__((__stdcall__)) *OnViewChange)(IAdviseSink *, DWORD,LONG) ; void(__attribute__((__stdcall__)) *OnRename)(IAdviseSink *, IMoniker*) ; void(__attribute__((__stdcall__)) *OnSave)(IAdviseSink *) ; void(__attribute__((__stdcall__)) *OnClose)(IAdviseSink *) ; }; extern const IID IID_IAdviseSink2; typedef struct IAdviseSink2 { struct IAdviseSink2Vtbl *lpVtbl; } IAdviseSink2; typedef struct IAdviseSink2Vtbl IAdviseSink2Vtbl; struct IAdviseSink2Vtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IAdviseSink2 *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IAdviseSink2 *) ; ULONG(__attribute__((__stdcall__)) *Release)(IAdviseSink2 *) ; void(__attribute__((__stdcall__)) *OnDataChange)(IAdviseSink2 *, FORMATETC*,STGMEDIUM*) ; void(__attribute__((__stdcall__)) *OnViewChange)(IAdviseSink2 *, DWORD,LONG) ; void(__attribute__((__stdcall__)) *OnRename)(IAdviseSink2 *, IMoniker*) ; void(__attribute__((__stdcall__)) *OnSave)(IAdviseSink2 *) ; void(__attribute__((__stdcall__)) *OnClose)(IAdviseSink2 *) ; void(__attribute__((__stdcall__)) *OnLinkSrcChange)(IAdviseSink2 *, IMoniker*); }; extern const IID IID_IDataObject; typedef struct IDataObject { struct IDataObjectVtbl *lpVtbl; } IDataObject; typedef struct IDataObjectVtbl IDataObjectVtbl; struct IDataObjectVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IDataObject *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IDataObject *) ; ULONG(__attribute__((__stdcall__)) *Release)(IDataObject *) ; HRESULT(__attribute__((__stdcall__)) *GetData)(IDataObject *, FORMATETC*,STGMEDIUM*) ; HRESULT(__attribute__((__stdcall__)) *GetDataHere)(IDataObject *, FORMATETC*,STGMEDIUM*) ; HRESULT(__attribute__((__stdcall__)) *QueryGetData)(IDataObject *, FORMATETC*) ; HRESULT(__attribute__((__stdcall__)) *GetCanonicalFormatEtc)(IDataObject *, FORMATETC*,FORMATETC*) ; HRESULT(__attribute__((__stdcall__)) *SetData)(IDataObject *, FORMATETC*,STGMEDIUM*,BOOL) ; HRESULT(__attribute__((__stdcall__)) *EnumFormatEtc)(IDataObject *, DWORD,IEnumFORMATETC**) ; HRESULT(__attribute__((__stdcall__)) *DAdvise)(IDataObject *, FORMATETC*,DWORD,IAdviseSink*,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *DUnadvise)(IDataObject *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *EnumDAdvise)(IDataObject *, IEnumSTATDATA**) ; }; extern const IID IID_IDataAdviseHolder; typedef struct IDataAdviseHolder { struct IDataAdviseHolderVtbl *lpVtbl; } IDataAdviseHolder; typedef struct IDataAdviseHolderVtbl IDataAdviseHolderVtbl; struct IDataAdviseHolderVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IDataAdviseHolder *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IDataAdviseHolder *) ; ULONG(__attribute__((__stdcall__)) *Release)(IDataAdviseHolder *) ; HRESULT(__attribute__((__stdcall__)) *Advise)(IDataAdviseHolder *, IDataObject*,FORMATETC*,DWORD,IAdviseSink*,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *Unadvise)(IDataAdviseHolder *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *EnumAdvise)(IDataAdviseHolder *, IEnumSTATDATA**) ; HRESULT(__attribute__((__stdcall__)) *SendOnDataChange)(IDataAdviseHolder *, IDataObject*,DWORD,DWORD) ; }; extern const IID IID_IStorage; typedef struct IStorage { struct IStorageVtbl *lpVtbl; } IStorage; typedef struct IStorageVtbl IStorageVtbl; struct IStorageVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IStorage *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IStorage *) ; ULONG(__attribute__((__stdcall__)) *Release)(IStorage *) ; HRESULT(__attribute__((__stdcall__)) *CreateStream)(IStorage *, LPCWSTR,DWORD,DWORD,DWORD,IStream**) ; HRESULT(__attribute__((__stdcall__)) *OpenStream)(IStorage *, LPCWSTR,PVOID,DWORD,DWORD,IStream**) ; HRESULT(__attribute__((__stdcall__)) *CreateStorage)(IStorage *, LPCWSTR,DWORD,DWORD,DWORD,IStorage**) ; HRESULT(__attribute__((__stdcall__)) *OpenStorage)(IStorage *, LPCWSTR,IStorage*,DWORD,SNB,DWORD,IStorage**) ; HRESULT(__attribute__((__stdcall__)) *CopyTo)(IStorage *, DWORD,IID const*,SNB,IStorage*) ; HRESULT(__attribute__((__stdcall__)) *MoveElementTo)(IStorage *, LPCWSTR,IStorage*,LPCWSTR,DWORD) ; HRESULT(__attribute__((__stdcall__)) *Commit)(IStorage *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *Revert)(IStorage *) ; HRESULT(__attribute__((__stdcall__)) *EnumElements)(IStorage *, DWORD,PVOID,DWORD,IEnumSTATSTG**) ; HRESULT(__attribute__((__stdcall__)) *DestroyElement)(IStorage *, LPCWSTR) ; HRESULT(__attribute__((__stdcall__)) *RenameElement)(IStorage *, LPCWSTR,LPCWSTR) ; HRESULT(__attribute__((__stdcall__)) *SetElementTimes)(IStorage *, LPCWSTR,FILETIME const*,FILETIME const*,FILETIME const*) ; HRESULT(__attribute__((__stdcall__)) *SetClass)(IStorage *, const CLSID* const) ; HRESULT(__attribute__((__stdcall__)) *SetStateBits)(IStorage *, DWORD,DWORD) ; HRESULT(__attribute__((__stdcall__)) *Stat)(IStorage *, STATSTG*,DWORD) ; }; extern const IID IID_IRootStorage; typedef struct IRootStorage { struct IRootStorageVtbl *lpVtbl; } IRootStorage; typedef struct IRootStorageVtbl IRootStorageVtbl; struct IRootStorageVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IRootStorage *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IRootStorage *) ; ULONG(__attribute__((__stdcall__)) *Release)(IRootStorage *) ; HRESULT(__attribute__((__stdcall__)) *SwitchToFile)(IRootStorage *, LPOLESTR) ; }; extern const IID IID_IRpcChannelBuffer; typedef struct IRpcChannelBuffer { struct IRpcChannelBufferVtbl *lpVtbl; } IRpcChannelBuffer; typedef struct IRpcChannelBufferVtbl IRpcChannelBufferVtbl; struct IRpcChannelBufferVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IRpcChannelBuffer *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IRpcChannelBuffer *) ; ULONG(__attribute__((__stdcall__)) *Release)(IRpcChannelBuffer *) ; HRESULT(__attribute__((__stdcall__)) *GetBuffer)(IRpcChannelBuffer *, RPCOLEMESSAGE*,const IID* const) ; HRESULT(__attribute__((__stdcall__)) *SendReceive)(IRpcChannelBuffer *, RPCOLEMESSAGE*,PULONG) ; HRESULT(__attribute__((__stdcall__)) *FreeBuffer)(IRpcChannelBuffer *, RPCOLEMESSAGE*) ; HRESULT(__attribute__((__stdcall__)) *GetDestCtx)(IRpcChannelBuffer *, PDWORD,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *IsConnected)(IRpcChannelBuffer *) ; }; extern const IID IID_IRpcProxyBuffer; typedef struct IRpcProxyBuffer { struct IRpcProxyBufferVtbl *lpVtbl; } IRpcProxyBuffer; typedef struct IRpcProxyBufferVtbl IRpcProxyBufferVtbl; struct IRpcProxyBufferVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IRpcProxyBuffer *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IRpcProxyBuffer *) ; ULONG(__attribute__((__stdcall__)) *Release)(IRpcProxyBuffer *) ; HRESULT(__attribute__((__stdcall__)) *Connect)(IRpcProxyBuffer *, IRpcChannelBuffer*) ; void(__attribute__((__stdcall__)) *Disconnect)(IRpcProxyBuffer *) ; }; extern const IID IID_IRpcStubBuffer; typedef struct IRpcStubBuffer { struct IRpcStubBufferVtbl *lpVtbl; } IRpcStubBuffer; typedef struct IRpcStubBufferVtbl IRpcStubBufferVtbl; struct IRpcStubBufferVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IRpcStubBuffer *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IRpcStubBuffer *) ; ULONG(__attribute__((__stdcall__)) *Release)(IRpcStubBuffer *) ; HRESULT(__attribute__((__stdcall__)) *Connect)(IRpcStubBuffer *, LPUNKNOWN) ; void(__attribute__((__stdcall__)) *Disconnect)(IRpcStubBuffer *) ; HRESULT(__attribute__((__stdcall__)) *Invoke)(IRpcStubBuffer *, RPCOLEMESSAGE*,LPRPCSTUBBUFFER) ; LPRPCSTUBBUFFER(__attribute__((__stdcall__)) *IsIIDSupported)(IRpcStubBuffer *, const IID* const) ; ULONG(__attribute__((__stdcall__)) *CountRefs)(IRpcStubBuffer *) ; HRESULT(__attribute__((__stdcall__)) *DebugServerQueryInterface)(IRpcStubBuffer *, PVOID*) ; HRESULT(__attribute__((__stdcall__)) *DebugServerRelease)(IRpcStubBuffer *, PVOID) ; }; extern const IID IID_IPSFactoryBuffer; typedef struct IPSFactoryBuffer { struct IPSFactoryBufferVtbl *lpVtbl; } IPSFactoryBuffer; typedef struct IPSFactoryBufferVtbl IPSFactoryBufferVtbl; struct IPSFactoryBufferVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IPSFactoryBuffer *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IPSFactoryBuffer *) ; ULONG(__attribute__((__stdcall__)) *Release)(IPSFactoryBuffer *) ; HRESULT(__attribute__((__stdcall__)) *CreateProxy)(IPSFactoryBuffer *, LPUNKNOWN,const IID* const,LPRPCPROXYBUFFER*,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *CreateStub)(IPSFactoryBuffer *, const IID* const,LPUNKNOWN,LPRPCSTUBBUFFER*) ; }; typedef struct IPSFactoryBuffer *LPPSFACTORYBUFFER; extern const IID IID_ILockBytes; typedef struct ILockBytes { struct ILockBytesVtbl *lpVtbl; } ILockBytes; typedef struct ILockBytesVtbl ILockBytesVtbl; struct ILockBytesVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ILockBytes *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ILockBytes *) ; ULONG(__attribute__((__stdcall__)) *Release)(ILockBytes *) ; HRESULT(__attribute__((__stdcall__)) *ReadAt)(ILockBytes *, ULARGE_INTEGER,PVOID,ULONG,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *WriteAt)(ILockBytes *, ULARGE_INTEGER,PCVOID,ULONG,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Flush)(ILockBytes *) ; HRESULT(__attribute__((__stdcall__)) *SetSize)(ILockBytes *, ULARGE_INTEGER) ; HRESULT(__attribute__((__stdcall__)) *LockRegion)(ILockBytes *, ULARGE_INTEGER,ULARGE_INTEGER,DWORD) ; HRESULT(__attribute__((__stdcall__)) *UnlockRegion)(ILockBytes *, ULARGE_INTEGER,ULARGE_INTEGER,DWORD) ; HRESULT(__attribute__((__stdcall__)) *Stat)(ILockBytes *, STATSTG*,DWORD) ; }; extern const IID IID_IExternalConnection; typedef struct IExternalConnection { struct IExternalConnectionVtbl *lpVtbl; } IExternalConnection; typedef struct IExternalConnectionVtbl IExternalConnectionVtbl; struct IExternalConnectionVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IExternalConnection *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IExternalConnection *) ; ULONG(__attribute__((__stdcall__)) *Release)(IExternalConnection *) ; HRESULT(__attribute__((__stdcall__)) *AddConnection)(IExternalConnection *, DWORD,DWORD) ; HRESULT(__attribute__((__stdcall__)) *ReleaseConnection)(IExternalConnection *, DWORD,DWORD,BOOL) ; }; extern const IID IID_IRunnableObject; typedef struct IRunnableObject { struct IRunnableObjectVtbl *lpVtbl; } IRunnableObject; typedef struct IRunnableObjectVtbl IRunnableObjectVtbl; struct IRunnableObjectVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IRunnableObject *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IRunnableObject *) ; ULONG(__attribute__((__stdcall__)) *Release)(IRunnableObject *) ; HRESULT(__attribute__((__stdcall__)) *GetRunningClass)(IRunnableObject *, LPCLSID) ; HRESULT(__attribute__((__stdcall__)) *Run)(IRunnableObject *, LPBC) ; BOOL(__attribute__((__stdcall__)) *IsRunning)(IRunnableObject *) ; HRESULT(__attribute__((__stdcall__)) *LockRunning)(IRunnableObject *, BOOL,BOOL) ; HRESULT(__attribute__((__stdcall__)) *SetContainedObject)(IRunnableObject *, BOOL) ; }; extern const IID IID_IROTData; typedef struct IROTData { struct IROTDataVtbl *lpVtbl; } IROTData; typedef struct IROTDataVtbl IROTDataVtbl; struct IROTDataVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IROTData *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IROTData *) ; ULONG(__attribute__((__stdcall__)) *Release)(IROTData *) ; HRESULT(__attribute__((__stdcall__)) *GetComparisonData)(IROTData *, PVOID,ULONG,PULONG) ; }; extern const IID IID_IChannelHook; typedef struct IChannelHook { struct IChannelHookVtbl *lpVtbl; } IChannelHook; typedef struct IChannelHookVtbl IChannelHookVtbl; struct IChannelHookVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IChannelHook *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IChannelHook *) ; ULONG(__attribute__((__stdcall__)) *Release)(IChannelHook *) ; void(__attribute__((__stdcall__)) *ClientGetSize)(IChannelHook *, const GUID* const,const IID* const,PULONG) ; void(__attribute__((__stdcall__)) *ClientFillBuffer)(IChannelHook *, const GUID* const,const IID* const,PULONG,PVOID) ; void(__attribute__((__stdcall__)) *ClientNotify)(IChannelHook *, const GUID* const,const IID* const,ULONG,PVOID,DWORD,HRESULT) ; void(__attribute__((__stdcall__)) *ServerNotify)(IChannelHook *, const GUID* const,const IID* const,ULONG,PVOID,DWORD) ; void(__attribute__((__stdcall__)) *ServerGetSize)(IChannelHook *, const GUID* const,const IID* const,HRESULT,PULONG) ; void(__attribute__((__stdcall__)) *ServerFillBuffer)(IChannelHook *, const GUID* const,const IID* const,PULONG,PVOID,HRESULT) ; }; extern const IID IID_IPropertyStorage; typedef struct IPropertyStorage { struct IPropertyStorageVtbl *lpVtbl; } IPropertyStorage; typedef struct IPropertyStorageVtbl IPropertyStorageVtbl; struct IPropertyStorageVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IPropertyStorage *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IPropertyStorage *) ; ULONG(__attribute__((__stdcall__)) *Release)(IPropertyStorage *) ; HRESULT(__attribute__((__stdcall__)) *ReadMultiple)(IPropertyStorage *, ULONG,PROPSPEC const*,PROPVARIANT*) ; HRESULT(__attribute__((__stdcall__)) *WriteMultiple)(IPropertyStorage *, ULONG,PROPSPEC const*,PROPVARIANT*,PROPID) ; HRESULT(__attribute__((__stdcall__)) *DeleteMultiple)(IPropertyStorage *, ULONG,PROPSPEC const*) ; HRESULT(__attribute__((__stdcall__)) *ReadPropertyNames)(IPropertyStorage *, ULONG,PROPID const*,LPWSTR*) ; HRESULT(__attribute__((__stdcall__)) *WritePropertyNames)(IPropertyStorage *, ULONG,PROPID const*,LPWSTR const*) ; HRESULT(__attribute__((__stdcall__)) *DeletePropertyNames)(IPropertyStorage *, ULONG,PROPID const*) ; HRESULT(__attribute__((__stdcall__)) *SetClass)(IPropertyStorage *, const CLSID* const) ; HRESULT(__attribute__((__stdcall__)) *Commit)(IPropertyStorage *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *Revert)(IPropertyStorage *) ; HRESULT(__attribute__((__stdcall__)) *Enum)(IPropertyStorage *, IEnumSTATPROPSTG**) ; HRESULT(__attribute__((__stdcall__)) *Stat)(IPropertyStorage *, STATPROPSTG*) ; HRESULT(__attribute__((__stdcall__)) *SetTimes)(IPropertyStorage *, FILETIME const*,FILETIME const*,FILETIME const*) ; }; extern const IID IID_IPropertySetStorage; typedef struct IPropertySetStorage { struct IPropertySetStorageVtbl *lpVtbl; } IPropertySetStorage; typedef struct IPropertySetStorageVtbl IPropertySetStorageVtbl; struct IPropertySetStorageVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IPropertySetStorage *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IPropertySetStorage *) ; ULONG(__attribute__((__stdcall__)) *Release)(IPropertySetStorage *) ; HRESULT(__attribute__((__stdcall__)) *Create)(IPropertySetStorage *, const FMTID* const,CLSID*,DWORD,DWORD,LPPROPERTYSTORAGE*) ; HRESULT(__attribute__((__stdcall__)) *Open)(IPropertySetStorage *, const FMTID* const,DWORD,LPPROPERTYSTORAGE*) ; HRESULT(__attribute__((__stdcall__)) *Delete)(IPropertySetStorage *, const FMTID* const) ; HRESULT(__attribute__((__stdcall__)) *Enum)(IPropertySetStorage *, IEnumSTATPROPSETSTG**) ; }; extern const IID IID_IClientSecurity; typedef struct IClientSecurity { struct IClientSecurityVtbl *lpVtbl; } IClientSecurity; typedef struct IClientSecurityVtbl IClientSecurityVtbl; struct IClientSecurityVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IClientSecurity *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IClientSecurity *) ; ULONG(__attribute__((__stdcall__)) *Release)(IClientSecurity *) ; HRESULT(__attribute__((__stdcall__)) *QueryBlanket)(IClientSecurity *, PVOID,PDWORD,PDWORD,OLECHAR**,PDWORD,PDWORD,RPC_AUTH_IDENTITY_HANDLE**,PDWORD*) ; HRESULT(__attribute__((__stdcall__)) *SetBlanket)(IClientSecurity *, PVOID,DWORD,DWORD,LPWSTR,DWORD,DWORD,RPC_AUTH_IDENTITY_HANDLE*,DWORD) ; HRESULT(__attribute__((__stdcall__)) *CopyProxy)(IClientSecurity *, LPUNKNOWN,LPUNKNOWN*) ; }; extern const IID IID_IServerSecurity; typedef struct IServerSecurity { struct IServerSecurityVtbl *lpVtbl; } IServerSecurity; typedef struct IServerSecurityVtbl IServerSecurityVtbl; struct IServerSecurityVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IServerSecurity *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IServerSecurity *) ; ULONG(__attribute__((__stdcall__)) *Release)(IServerSecurity *) ; HRESULT(__attribute__((__stdcall__)) *QueryBlanket)(IServerSecurity *, PDWORD,PDWORD,OLECHAR**,PDWORD,PDWORD,RPC_AUTHZ_HANDLE*,PDWORD*) ; HRESULT(__attribute__((__stdcall__)) *ImpersonateClient)(IServerSecurity *) ; HRESULT(__attribute__((__stdcall__)) *RevertToSelf)(IServerSecurity *) ; HRESULT(__attribute__((__stdcall__)) *IsImpersonating)(IServerSecurity *) ; }; extern const IID IID_IClassActivator; typedef struct IClassActivator { struct IClassActivatorVtbl *lpVtbl; } IClassActivator; typedef struct IClassActivatorVtbl IClassActivatorVtbl; struct IClassActivatorVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IClassActivator *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IClassActivator *) ; ULONG(__attribute__((__stdcall__)) *Release)(IClassActivator *) ; HRESULT(__attribute__((__stdcall__)) *GetClassObject)(IClassActivator *, const CLSID* const,DWORD,LCID,const IID* const,PVOID*) ; }; extern const IID IID_IFillLockBytes; typedef struct IFillLockBytes { struct IFillLockBytesVtbl *lpVtbl; } IFillLockBytes; typedef struct IFillLockBytesVtbl IFillLockBytesVtbl; struct IFillLockBytesVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IFillLockBytes *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IFillLockBytes *) ; ULONG(__attribute__((__stdcall__)) *Release)(IFillLockBytes *) ; HRESULT(__attribute__((__stdcall__)) *FillAppend)(IFillLockBytes *, void const*,ULONG,PULONG) ; HRESULT(__attribute__((__stdcall__)) *FillAt)(IFillLockBytes *, ULARGE_INTEGER,void const*,ULONG,PULONG) ; HRESULT(__attribute__((__stdcall__)) *SetFillSize)(IFillLockBytes *, ULARGE_INTEGER) ; HRESULT(__attribute__((__stdcall__)) *Terminate)(IFillLockBytes *, BOOL) ; }; extern const IID IID_IProgressNotify; typedef struct IProgressNotify { struct IProgressNotifyVtbl *lpVtbl; } IProgressNotify; typedef struct IProgressNotifyVtbl IProgressNotifyVtbl; struct IProgressNotifyVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IProgressNotify *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IProgressNotify *) ; ULONG(__attribute__((__stdcall__)) *Release)(IProgressNotify *) ; HRESULT(__attribute__((__stdcall__)) *OnProgress)(IProgressNotify *, DWORD,DWORD,BOOL,BOOL) ; }; extern const IID IID_ILayoutStorage; typedef struct ILayoutStorage { struct ILayoutStorageVtbl *lpVtbl; } ILayoutStorage; typedef struct ILayoutStorageVtbl ILayoutStorageVtbl; struct ILayoutStorageVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ILayoutStorage *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ILayoutStorage *) ; ULONG(__attribute__((__stdcall__)) *Release)(ILayoutStorage *) ; HRESULT(__attribute__((__stdcall__)) *LayoutScript)(ILayoutStorage *, STORAGELAYOUT*,DWORD,DWORD) ; HRESULT(__attribute__((__stdcall__)) *BeginMonitor)(ILayoutStorage *) ; HRESULT(__attribute__((__stdcall__)) *EndMonitor)(ILayoutStorage *) ; HRESULT(__attribute__((__stdcall__)) *ReLayoutDocfile)(ILayoutStorage *, OLECHAR*) ; }; extern const IID IID_IGlobalInterfaceTable; typedef struct IGlobalInterfaceTable { struct IGlobalInterfaceTableVtbl *lpVtbl; } IGlobalInterfaceTable; typedef struct IGlobalInterfaceTableVtbl IGlobalInterfaceTableVtbl; struct IGlobalInterfaceTableVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IGlobalInterfaceTable *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IGlobalInterfaceTable *) ; ULONG(__attribute__((__stdcall__)) *Release)(IGlobalInterfaceTable *) ; HRESULT(__attribute__((__stdcall__)) *RegisterInterfaceInGlobal)(IGlobalInterfaceTable *, IUnknown*,const IID* const,DWORD*) ; HRESULT(__attribute__((__stdcall__)) *RevokeInterfaceFromGlobal)(IGlobalInterfaceTable *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *GetInterfaceFromGlobal)(IGlobalInterfaceTable *, DWORD,const IID* const,void**) ; }; # 1065 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objidl.h" 3 HRESULT __attribute__((__stdcall__)) IMarshal_GetUnmarshalClass_Proxy(IMarshal*,const IID* const,void*,DWORD,void*,DWORD,CLSID*); void __attribute__((__stdcall__)) IMarshal_GetUnmarshalClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_GetMarshalSizeMax_Proxy(IMarshal*,const IID* const,void*,DWORD,void*,DWORD,DWORD*); void __attribute__((__stdcall__)) IMarshal_GetMarshalSizeMax_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_MarshalInterface_Proxy(IMarshal*,IStream*,const IID* const,void*,DWORD,void*,DWORD); void __attribute__((__stdcall__)) IMarshal_MarshalInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_UnmarshalInterface_Proxy(IMarshal*,IStream*,const IID* const,void**); void __attribute__((__stdcall__)) IMarshal_UnmarshalInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_ReleaseMarshalData_Proxy(IMarshal*,IStream*); void __attribute__((__stdcall__)) IMarshal_ReleaseMarshalData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_DisconnectObject_Proxy(IMarshal*,DWORD); void __attribute__((__stdcall__)) IMarshal_DisconnectObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMalloc_Alloc_Proxy(IMalloc*,ULONG); void __attribute__((__stdcall__)) IMalloc_Alloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMalloc_Realloc_Proxy(IMalloc*,void*,ULONG); void __attribute__((__stdcall__)) IMalloc_Realloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMalloc_Free_Proxy(IMalloc*,void*); void __attribute__((__stdcall__)) IMalloc_Free_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IMalloc_GetSize_Proxy(IMalloc*,void*); void __attribute__((__stdcall__)) IMalloc_GetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); int __attribute__((__stdcall__)) IMalloc_DidAlloc_Proxy(IMalloc*,void*); void __attribute__((__stdcall__)) IMalloc_DidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMalloc_HeapMinimize_Proxy(IMalloc*); void __attribute__((__stdcall__)) IMalloc_HeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IMallocSpy_PreAlloc_Proxy(IMallocSpy*,ULONG cbRequest); void __attribute__((__stdcall__)) IMallocSpy_PreAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PostAlloc_Proxy(IMallocSpy*,void*); void __attribute__((__stdcall__)) IMallocSpy_PostAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PreFree_Proxy(IMallocSpy*,void*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PreFree_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMallocSpy_PostFree_Proxy(IMallocSpy*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PostFree_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IMallocSpy_PreRealloc_Proxy(IMallocSpy*,void*,ULONG,void**,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PreRealloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PostRealloc_Proxy(IMallocSpy*,void*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PostRealloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PreGetSize_Proxy(IMallocSpy*,void*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PreGetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IMallocSpy_PostGetSize_Proxy(IMallocSpy*,ULONG,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PostGetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PreDidAlloc_Proxy(IMallocSpy*,void*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PreDidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); int __attribute__((__stdcall__)) IMallocSpy_PostDidAlloc_Proxy(IMallocSpy*,void*,BOOL,int); void __attribute__((__stdcall__)) IMallocSpy_PostDidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMallocSpy_PreHeapMinimize_Proxy(IMallocSpy* ); void __attribute__((__stdcall__)) IMallocSpy_PreHeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMallocSpy_PostHeapMinimize_Proxy(IMallocSpy*); void __attribute__((__stdcall__)) IMallocSpy_PostHeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStdMarshalInfo_GetClassForHandler_Proxy(IStdMarshalInfo*,DWORD,void*,CLSID*); void __attribute__((__stdcall__)) IStdMarshalInfo_GetClassForHandler_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IExternalConnection_AddConnection_Proxy(IExternalConnection*,DWORD,DWORD); void __attribute__((__stdcall__)) IExternalConnection_AddConnection_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IExternalConnection_ReleaseConnection_Proxy(IExternalConnection*,DWORD,DWORD,BOOL); void __attribute__((__stdcall__)) IExternalConnection_ReleaseConnection_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumUnknown_RemoteNext_Proxy(IEnumUnknown*,ULONG,IUnknown**,ULONG*); void __attribute__((__stdcall__)) IEnumUnknown_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Skip_Proxy(IEnumUnknown*,ULONG); void __attribute__((__stdcall__)) IEnumUnknown_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Reset_Proxy(IEnumUnknown* ); void __attribute__((__stdcall__)) IEnumUnknown_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Clone_Proxy(IEnumUnknown*,IEnumUnknown**); void __attribute__((__stdcall__)) IEnumUnknown_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_RegisterObjectBound_Proxy(IBindCtx*,IUnknown*punk); void __attribute__((__stdcall__)) IBindCtx_RegisterObjectBound_Stub(IRpcStubBuffer*,IRpcChannelBuffer*_pRpcChannelBuffer,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_RevokeObjectBound_Proxy(IBindCtx*,IUnknown*punk); void __attribute__((__stdcall__)) IBindCtx_RevokeObjectBound_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_ReleaseBoundObjects_Proxy(IBindCtx*); void __attribute__((__stdcall__)) IBindCtx_ReleaseBoundObjects_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_SetBindOptions_Proxy(IBindCtx*,BIND_OPTS*); void __attribute__((__stdcall__)) IBindCtx_SetBindOptions_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_GetBindOptions_Proxy(IBindCtx*,BIND_OPTS*pbindopts); void __attribute__((__stdcall__)) IBindCtx_GetBindOptions_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_GetRunningObjectTable_Proxy(IBindCtx*,IRunningObjectTable**); void __attribute__((__stdcall__)) IBindCtx_GetRunningObjectTable_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_RegisterObjectParam_Proxy(IBindCtx*,LPCSTR,IUnknown*); void __attribute__((__stdcall__)) IBindCtx_RegisterObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_GetObjectParam_Proxy(IBindCtx*,LPCSTR,IUnknown**); void __attribute__((__stdcall__)) IBindCtx_GetObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_EnumObjectParam_Proxy(IBindCtx*,IEnumString**); void __attribute__((__stdcall__)) IBindCtx_EnumObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_RevokeObjectParam_Proxy(IBindCtx*,LPCSTR); void __attribute__((__stdcall__)) IBindCtx_RevokeObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumMoniker_RemoteNext_Proxy(IEnumMoniker*,ULONG,IMoniker**,ULONG*); void __attribute__((__stdcall__)) IEnumMoniker_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Skip_Proxy(IEnumMoniker*,ULONG); void __attribute__((__stdcall__)) IEnumMoniker_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Reset_Proxy(IEnumMoniker*); void __attribute__((__stdcall__)) IEnumMoniker_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Clone_Proxy(IEnumMoniker*,IEnumMoniker**); void __attribute__((__stdcall__)) IEnumMoniker_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunnableObject_GetRunningClass_Proxy(IRunnableObject*,LPCLSID); void __attribute__((__stdcall__)) IRunnableObject_GetRunningClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunnableObject_Run_Proxy(IRunnableObject*,LPBINDCTX); void __attribute__((__stdcall__)) IRunnableObject_Run_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); BOOL __attribute__((__stdcall__)) IRunnableObject_IsRunning_Proxy(IRunnableObject*); void __attribute__((__stdcall__)) IRunnableObject_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunnableObject_LockRunning_Proxy(IRunnableObject*,BOOL,BOOL); void __attribute__((__stdcall__)) IRunnableObject_LockRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunnableObject_SetContainedObject_Proxy(IRunnableObject*,BOOL); void __attribute__((__stdcall__)) IRunnableObject_SetContainedObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_Register_Proxy(IRunningObjectTable*,DWORD,IUnknown*,IMoniker*,DWORD*); void __attribute__((__stdcall__)) IRunningObjectTable_Register_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_Revoke_Proxy(IRunningObjectTable*,DWORD); void __attribute__((__stdcall__)) IRunningObjectTable_Revoke_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_IsRunning_Proxy(IRunningObjectTable*,IMoniker*); void __attribute__((__stdcall__)) IRunningObjectTable_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_GetObject_Proxy(IRunningObjectTable*,IMoniker*,IUnknown**); void __attribute__((__stdcall__)) IRunningObjectTable_GetObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_NoteChangeTime_Proxy(IRunningObjectTable*,DWORD,FILETIME*); void __attribute__((__stdcall__)) IRunningObjectTable_NoteChangeTime_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_GetTimeOfLastChange_Proxy(IRunningObjectTable*,IMoniker*,FILETIME*); void __attribute__((__stdcall__)) IRunningObjectTable_GetTimeOfLastChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_EnumRunning_Proxy(IRunningObjectTable*,IEnumMoniker**); void __attribute__((__stdcall__)) IRunningObjectTable_EnumRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersist_GetClassID_Proxy(IPersist*,CLSID*); void __attribute__((__stdcall__)) IPersist_GetClassID_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStream_IsDirty_Proxy(IPersistStream*); void __attribute__((__stdcall__)) IPersistStream_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStream_Load_Proxy(IPersistStream*,IStream*); void __attribute__((__stdcall__)) IPersistStream_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStream_Save_Proxy(IPersistStream*,IStream*,BOOL); void __attribute__((__stdcall__)) IPersistStream_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStream_GetSizeMax_Proxy(IPersistStream*,ULARGE_INTEGER*); void __attribute__((__stdcall__)) IPersistStream_GetSizeMax_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_RemoteBindToObject_Proxy(IMoniker*,IBindCtx*,IMoniker*,const IID* const,IUnknown**); void __attribute__((__stdcall__)) IMoniker_RemoteBindToObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_RemoteBindToStorage_Proxy(IMoniker*,IBindCtx*,IMoniker*,const IID* const,IUnknown**); void __attribute__((__stdcall__)) IMoniker_RemoteBindToStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_Reduce_Proxy(IMoniker*,IBindCtx*,DWORD,IMoniker**,IMoniker**); void __attribute__((__stdcall__)) IMoniker_Reduce_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_ComposeWith_Proxy(IMoniker*,IMoniker*,BOOL,IMoniker**); void __attribute__((__stdcall__)) IMoniker_ComposeWith_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_Enum_Proxy(IMoniker*,BOOL,IEnumMoniker**); void __attribute__((__stdcall__)) IMoniker_Enum_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_IsEqual_Proxy(IMoniker*,IMoniker*); void __attribute__((__stdcall__)) IMoniker_IsEqual_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_Hash_Proxy(IMoniker*,DWORD*); void __attribute__((__stdcall__)) IMoniker_Hash_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_IsRunning_Proxy(IMoniker*,IBindCtx*,IMoniker*,IMoniker*); void __attribute__((__stdcall__)) IMoniker_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_GetTimeOfLastChange_Proxy(IMoniker*,IBindCtx*,IMoniker*,FILETIME*); void __attribute__((__stdcall__)) IMoniker_GetTimeOfLastChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_Inverse_Proxy(IMoniker*,IMoniker**); void __attribute__((__stdcall__)) IMoniker_Inverse_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_CommonPrefixWith_Proxy(IMoniker*,IMoniker*,IMoniker**); void __attribute__((__stdcall__)) IMoniker_CommonPrefixWith_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_RelativePathTo_Proxy(IMoniker*,IMoniker*,IMoniker**); void __attribute__((__stdcall__)) IMoniker_RelativePathTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_GetDisplayName_Proxy(IMoniker*,IBindCtx*,IMoniker*,LPCSTR*); void __attribute__((__stdcall__)) IMoniker_GetDisplayName_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_ParseDisplayName_Proxy(IMoniker*,IBindCtx*,IMoniker*,LPCSTR,ULONG*,IMoniker**); void __attribute__((__stdcall__)) IMoniker_ParseDisplayName_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_IsSystemMoniker_Proxy(IMoniker*,DWORD*); void __attribute__((__stdcall__)) IMoniker_IsSystemMoniker_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IROTData_GetComparisonData_Proxy(IROTData*,BYTE*,ULONG cbMax,ULONG*); void __attribute__((__stdcall__)) IROTData_GetComparisonData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumString_RemoteNext_Proxy(IEnumString*,ULONG,LPCSTR*rgelt,ULONG*); void __attribute__((__stdcall__)) IEnumString_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumString_Skip_Proxy(IEnumString*,ULONG); void __attribute__((__stdcall__)) IEnumString_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumString_Reset_Proxy(IEnumString*); void __attribute__((__stdcall__)) IEnumString_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumString_Clone_Proxy(IEnumString*,IEnumString**); void __attribute__((__stdcall__)) IEnumString_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_RemoteRead_Proxy(IStream*,BYTE*,ULONG,ULONG*); void __attribute__((__stdcall__)) IStream_RemoteRead_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_RemoteWrite_Proxy(IStream*,BYTE*pv,ULONG,ULONG*); void __attribute__((__stdcall__)) IStream_RemoteWrite_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_RemoteSeek_Proxy(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*); void __attribute__((__stdcall__)) IStream_RemoteSeek_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_SetSize_Proxy(IStream*,ULARGE_INTEGER); void __attribute__((__stdcall__)) IStream_SetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_RemoteCopyTo_Proxy(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*); void __attribute__((__stdcall__)) IStream_RemoteCopyTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_Commit_Proxy(IStream*,DWORD); void __attribute__((__stdcall__)) IStream_Commit_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_Revert_Proxy(IStream*); void __attribute__((__stdcall__)) IStream_Revert_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_LockRegion_Proxy(IStream*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD); void __attribute__((__stdcall__)) IStream_LockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_UnlockRegion_Proxy(IStream*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD); void __attribute__((__stdcall__)) IStream_UnlockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_Stat_Proxy(IStream*,STATSTG*,DWORD); void __attribute__((__stdcall__)) IStream_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_Clone_Proxy(IStream*,IStream**); void __attribute__((__stdcall__)) IStream_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_RemoteNext_Proxy(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*); void __attribute__((__stdcall__)) IEnumSTATSTG_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Skip_Proxy(IEnumSTATSTG*,ULONG celt); void __attribute__((__stdcall__)) IEnumSTATSTG_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Reset_Proxy(IEnumSTATSTG*); void __attribute__((__stdcall__)) IEnumSTATSTG_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Clone_Proxy(IEnumSTATSTG*,IEnumSTATSTG**); void __attribute__((__stdcall__)) IEnumSTATSTG_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_CreateStream_Proxy(IStorage*,OLECHAR*,DWORD,DWORD,DWORD,IStream**); void __attribute__((__stdcall__)) IStorage_CreateStream_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_RemoteOpenStream_Proxy(IStorage*,const OLECHAR*,unsigned long,BYTE*,DWORD,DWORD,IStream**); void __attribute__((__stdcall__)) IStorage_RemoteOpenStream_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_CreateStorage_Proxy(IStorage*,OLECHAR*,DWORD,DWORD,DWORD,IStorage**); void __attribute__((__stdcall__)) IStorage_CreateStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_OpenStorage_Proxy(IStorage*,OLECHAR*,IStorage*,DWORD,SNB,DWORD,IStorage**); void __attribute__((__stdcall__)) IStorage_OpenStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_CopyTo_Proxy(IStorage*,DWORD,const IID*,SNB,IStorage*); void __attribute__((__stdcall__)) IStorage_CopyTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_MoveElementTo_Proxy(IStorage*,const OLECHAR*,IStorage*,const OLECHAR*,DWORD); void __attribute__((__stdcall__)) IStorage_MoveElementTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_Commit_Proxy(IStorage*,DWORD); void __attribute__((__stdcall__)) IStorage_Commit_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_Revert_Proxy(IStorage*); void __attribute__((__stdcall__)) IStorage_Revert_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_RemoteEnumElements_Proxy(IStorage*,DWORD,unsigned long,BYTE*,DWORD,IEnumSTATSTG**); void __attribute__((__stdcall__)) IStorage_RemoteEnumElements_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_DestroyElement_Proxy(IStorage*,OLECHAR*); void __attribute__((__stdcall__)) IStorage_DestroyElement_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_RenameElement_Proxy(IStorage*,const OLECHAR*,const OLECHAR*); void __attribute__((__stdcall__)) IStorage_RenameElement_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_SetElementTimes_Proxy(IStorage*,const OLECHAR*,const FILETIME*,const FILETIME*,const FILETIME*); void __attribute__((__stdcall__)) IStorage_SetElementTimes_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_SetClass_Proxy(IStorage*,const CLSID* const); void __attribute__((__stdcall__)) IStorage_SetClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_SetStateBits_Proxy(IStorage*,DWORD,DWORD); void __attribute__((__stdcall__)) IStorage_SetStateBits_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_Stat_Proxy(IStorage*,STATSTG*,DWORD); void __attribute__((__stdcall__)) IStorage_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_IsDirty_Proxy(IPersistFile*); void __attribute__((__stdcall__)) IPersistFile_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_Load_Proxy(IPersistFile*,LPCOLESTR,DWORD); void __attribute__((__stdcall__)) IPersistFile_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_Save_Proxy(IPersistFile*,LPCOLESTR pszFileName,BOOL); void __attribute__((__stdcall__)) IPersistFile_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_SaveCompleted_Proxy(IPersistFile*,LPCOLESTR); void __attribute__((__stdcall__)) IPersistFile_SaveCompleted_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_GetCurFile_Proxy(IPersistFile*,LPCSTR*); void __attribute__((__stdcall__)) IPersistFile_GetCurFile_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_IsDirty_Proxy(IPersistStorage*); void __attribute__((__stdcall__)) IPersistStorage_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_InitNew_Proxy(IPersistStorage*,IStorage*); void __attribute__((__stdcall__)) IPersistStorage_InitNew_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_Load_Proxy(IPersistStorage*,IStorage*); void __attribute__((__stdcall__)) IPersistStorage_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_Save_Proxy(IPersistStorage*,IStorage*,BOOL); void __attribute__((__stdcall__)) IPersistStorage_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_SaveCompleted_Proxy(IPersistStorage*,IStorage*); void __attribute__((__stdcall__)) IPersistStorage_SaveCompleted_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_HandsOffStorage_Proxy(IPersistStorage*); void __attribute__((__stdcall__)) IPersistStorage_HandsOffStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_RemoteReadAt_Proxy(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*); void __attribute__((__stdcall__)) ILockBytes_RemoteReadAt_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_RemoteWriteAt_Proxy(ILockBytes*,ULARGE_INTEGER,BYTE*pv,ULONG,ULONG*); void __attribute__((__stdcall__)) ILockBytes_RemoteWriteAt_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_Flush_Proxy(ILockBytes*); void __attribute__((__stdcall__)) ILockBytes_Flush_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_SetSize_Proxy(ILockBytes*,ULARGE_INTEGER); void __attribute__((__stdcall__)) ILockBytes_SetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_LockRegion_Proxy(ILockBytes*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD); void __attribute__((__stdcall__)) ILockBytes_LockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_UnlockRegion_Proxy(ILockBytes*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD); void __attribute__((__stdcall__)) ILockBytes_UnlockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_Stat_Proxy(ILockBytes*,STATSTG*,DWORD); void __attribute__((__stdcall__)) ILockBytes_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_RemoteNext_Proxy(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*); void __attribute__((__stdcall__)) IEnumFORMATETC_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Skip_Proxy(IEnumFORMATETC*,ULONG); void __attribute__((__stdcall__)) IEnumFORMATETC_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Reset_Proxy(IEnumFORMATETC*); void __attribute__((__stdcall__)) IEnumFORMATETC_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Clone_Proxy(IEnumFORMATETC*,IEnumFORMATETC**); void __attribute__((__stdcall__)) IEnumFORMATETC_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Next_Proxy(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Next_Stub(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_RemoteNext_Proxy(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*); void __attribute__((__stdcall__)) IEnumSTATDATA_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Skip_Proxy(IEnumSTATDATA*,ULONG); void __attribute__((__stdcall__)) IEnumSTATDATA_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Reset_Proxy(IEnumSTATDATA*); void __attribute__((__stdcall__)) IEnumSTATDATA_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Clone_Proxy(IEnumSTATDATA*,IEnumSTATDATA**); void __attribute__((__stdcall__)) IEnumSTATDATA_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Next_Proxy(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Next_Stub(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*); HRESULT __attribute__((__stdcall__)) IRootStorage_SwitchToFile_Proxy(IRootStorage*,LPCSTR); void __attribute__((__stdcall__)) IRootStorage_SwitchToFile_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnDataChange_Proxy(IAdviseSink*,FORMATETC*,RemSTGMEDIUM*); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnDataChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnViewChange_Proxy(IAdviseSink*,DWORD,LONG); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnViewChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnRename_Proxy(IAdviseSink*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnRename_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnSave_Proxy(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnSave_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IAdviseSink_RemoteOnClose_Proxy(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnClose_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_OnDataChange_Proxy(IAdviseSink*,FORMATETC*,STGMEDIUM*); void __attribute__((__stdcall__)) IAdviseSink_OnDataChange_Stub(IAdviseSink*,FORMATETC*,RemSTGMEDIUM*); void __attribute__((__stdcall__)) IAdviseSink_OnViewChange_Proxy(IAdviseSink*,DWORD,LONG); void __attribute__((__stdcall__)) IAdviseSink_OnViewChange_Stub(IAdviseSink*,DWORD,LONG); void __attribute__((__stdcall__)) IAdviseSink_OnRename_Proxy(IAdviseSink*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink_OnRename_Stub(IAdviseSink*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink_OnSave_Proxy(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink_OnSave_Stub(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink_OnClose_Proxy(IAdviseSink*); HRESULT __attribute__((__stdcall__)) IAdviseSink_OnClose_Stub(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink2_RemoteOnLinkSrcChange_Proxy(IAdviseSink2*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink2_RemoteOnLinkSrcChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink2_OnLinkSrcChange_Proxy(IAdviseSink2*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink2_OnLinkSrcChange_Stub(IAdviseSink2*,IMoniker*); HRESULT __attribute__((__stdcall__)) IDataObject_RemoteGetData_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM**); void __attribute__((__stdcall__)) IDataObject_RemoteGetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_RemoteGetDataHere_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM**); void __attribute__((__stdcall__)) IDataObject_RemoteGetDataHere_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_QueryGetData_Proxy(IDataObject*,FORMATETC*); void __attribute__((__stdcall__)) IDataObject_QueryGetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_GetCanonicalFormatEtc_Proxy(IDataObject*,FORMATETC*,FORMATETC*); void __attribute__((__stdcall__)) IDataObject_GetCanonicalFormatEtc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_RemoteSetData_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM*,BOOL); void __attribute__((__stdcall__)) IDataObject_RemoteSetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_EnumFormatEtc_Proxy(IDataObject*,DWORD,IEnumFORMATETC**); void __attribute__((__stdcall__)) IDataObject_EnumFormatEtc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_DAdvise_Proxy(IDataObject*,FORMATETC*,DWORD,IAdviseSink*,DWORD*); void __attribute__((__stdcall__)) IDataObject_DAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_DUnadvise_Proxy(IDataObject*,DWORD); void __attribute__((__stdcall__)) IDataObject_DUnadvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_EnumDAdvise_Proxy(IDataObject*,IEnumSTATDATA**); void __attribute__((__stdcall__)) IDataObject_EnumDAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_GetData_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*); HRESULT __attribute__((__stdcall__)) IDataObject_GetData_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM**); HRESULT __attribute__((__stdcall__)) IDataObject_GetDataHere_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*); HRESULT __attribute__((__stdcall__)) IDataObject_GetDataHere_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM**); HRESULT __attribute__((__stdcall__)) IDataObject_SetData_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*,BOOL); HRESULT __attribute__((__stdcall__)) IDataObject_SetData_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM*,BOOL); HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_Advise_Proxy(IDataAdviseHolder*,IDataObject*,FORMATETC*,DWORD,IAdviseSink*,DWORD*); void __attribute__((__stdcall__)) IDataAdviseHolder_Advise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_Unadvise_Proxy(IDataAdviseHolder*,DWORD); void __attribute__((__stdcall__)) IDataAdviseHolder_Unadvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_EnumAdvise_Proxy(IDataAdviseHolder*,IEnumSTATDATA**); void __attribute__((__stdcall__)) IDataAdviseHolder_EnumAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_SendOnDataChange_Proxy(IDataAdviseHolder*,IDataObject*,DWORD,DWORD); void __attribute__((__stdcall__)) IDataAdviseHolder_SendOnDataChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IMessageFilter_HandleInComingCall_Proxy(IMessageFilter*,DWORD,HTASK,DWORD,LPINTERFACEINFO); void __attribute__((__stdcall__)) IMessageFilter_HandleInComingCall_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IMessageFilter_RetryRejectedCall_Proxy(IMessageFilter*,HTASK,DWORD,DWORD); void __attribute__((__stdcall__)) IMessageFilter_RetryRejectedCall_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IMessageFilter_MessagePending_Proxy(IMessageFilter*,HTASK,DWORD,DWORD); void __attribute__((__stdcall__)) IMessageFilter_MessagePending_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_GetBuffer_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*,const IID* const); void __attribute__((__stdcall__)) IRpcChannelBuffer_GetBuffer_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_SendReceive_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*,ULONG*); void __attribute__((__stdcall__)) IRpcChannelBuffer_SendReceive_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_FreeBuffer_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*); void __attribute__((__stdcall__)) IRpcChannelBuffer_FreeBuffer_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_GetDestCtx_Proxy(IRpcChannelBuffer*,DWORD*,void**); void __attribute__((__stdcall__)) IRpcChannelBuffer_GetDestCtx_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_IsConnected_Proxy(IRpcChannelBuffer*); void __attribute__((__stdcall__)) IRpcChannelBuffer_IsConnected_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcProxyBuffer_Connect_Proxy(IRpcProxyBuffer*,IRpcChannelBuffer*pRpcChannelBuffer); void __attribute__((__stdcall__)) IRpcProxyBuffer_Connect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IRpcProxyBuffer_Disconnect_Proxy(IRpcProxyBuffer*); void __attribute__((__stdcall__)) IRpcProxyBuffer_Disconnect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_Connect_Proxy(IRpcStubBuffer*,IUnknown*); void __attribute__((__stdcall__)) IRpcStubBuffer_Connect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IRpcStubBuffer_Disconnect_Proxy(IRpcStubBuffer*); void __attribute__((__stdcall__)) IRpcStubBuffer_Disconnect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_Invoke_Proxy(IRpcStubBuffer*,RPCOLEMESSAGE*,IRpcChannelBuffer*); void __attribute__((__stdcall__)) IRpcStubBuffer_Invoke_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); IRpcStubBuffer*__attribute__((__stdcall__)) IRpcStubBuffer_IsIIDSupported_Proxy(IRpcStubBuffer*,const IID* const); void __attribute__((__stdcall__)) IRpcStubBuffer_IsIIDSupported_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IRpcStubBuffer_CountRefs_Proxy(IRpcStubBuffer*); void __attribute__((__stdcall__)) IRpcStubBuffer_CountRefs_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerQueryInterface_Proxy(IRpcStubBuffer*,void**); void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerQueryInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerRelease_Proxy(IRpcStubBuffer*,void*); void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerRelease_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPSFactoryBuffer_CreateProxy_Proxy(IPSFactoryBuffer*,IUnknown*,const IID* const,IRpcProxyBuffer**,void**); void __attribute__((__stdcall__)) IPSFactoryBuffer_CreateProxy_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPSFactoryBuffer_CreateStub_Proxy(IPSFactoryBuffer*,const IID* const,IUnknown*,IRpcStubBuffer**); void __attribute__((__stdcall__)) IPSFactoryBuffer_CreateStub_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) SNB_to_xmit(SNB*,RemSNB**); void __attribute__((__stdcall__)) SNB_from_xmit(RemSNB*,SNB*); void __attribute__((__stdcall__)) SNB_free_inst(SNB*); void __attribute__((__stdcall__)) SNB_free_xmit(RemSNB*); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Next_Proxy(IEnumUnknown*,ULONG,IUnknown**,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Next_Stub(IEnumUnknown*,ULONG,IUnknown**,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Next_Proxy(IEnumMoniker*,ULONG,IMoniker**,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Next_Stub(IEnumMoniker*,ULONG,IMoniker**,ULONG*); HRESULT __attribute__((__stdcall__)) IMoniker_BindToObject_Proxy(IMoniker*,IBindCtx*,IMoniker*,const IID* const,void**); HRESULT __attribute__((__stdcall__)) IMoniker_BindToObject_Stub(IMoniker*,IBindCtx*,IMoniker*,const IID* const,IUnknown**); HRESULT __attribute__((__stdcall__)) IMoniker_BindToStorage_Proxy(IMoniker*,IBindCtx*,IMoniker*,const IID* const,void**); HRESULT __attribute__((__stdcall__)) IMoniker_BindToStorage_Stub(IMoniker*,IBindCtx*,IMoniker*,const IID* const,IUnknown**); HRESULT __attribute__((__stdcall__)) IEnumString_Next_Proxy(IEnumString*,ULONG,LPCSTR*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumString_Next_Stub(IEnumString*,ULONG,LPCSTR*,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Read_Proxy(IStream*,void*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Read_Stub(IStream*,BYTE*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Write_Proxy(IStream*,void*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Write_Stub(IStream*,BYTE*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Seek_Proxy(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*); HRESULT __attribute__((__stdcall__)) IStream_Seek_Stub(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*); HRESULT __attribute__((__stdcall__)) IStream_CopyTo_Proxy(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*); HRESULT __attribute__((__stdcall__)) IStream_CopyTo_Stub(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Next_Proxy(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Next_Stub(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*); HRESULT __attribute__((__stdcall__)) IStorage_OpenStream_Proxy(IStorage*,OLECHAR*,void*,DWORD,DWORD,IStream**); HRESULT __attribute__((__stdcall__)) IStorage_OpenStream_Stub(IStorage*,OLECHAR*,unsigned long,BYTE*,DWORD,DWORD,IStream** ); HRESULT __attribute__((__stdcall__)) IStorage_EnumElements_Proxy(IStorage*,DWORD,void*,DWORD,IEnumSTATSTG**); HRESULT __attribute__((__stdcall__)) IStorage_EnumElements_Stub(IStorage*,DWORD,unsigned long,BYTE*,DWORD,IEnumSTATSTG**); HRESULT __attribute__((__stdcall__)) ILockBytes_ReadAt_Proxy(ILockBytes*,ULARGE_INTEGER,void*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) ILockBytes_ReadAt_Stub(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) ILockBytes_WriteAt_Proxy(ILockBytes*,ULARGE_INTEGER,const void*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) ILockBytes_WriteAt_Stub(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*); # 74 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 2 3 # 87 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/cguid.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/cguid.h" 3 extern const IID GUID_NULL; extern const IID IID_IRpcChannel; extern const IID IID_IRpcStub; extern const IID IID_IStubManager; extern const IID IID_IRpcProxy; extern const IID IID_IProxyManager; extern const IID IID_IPSFactory; extern const IID IID_IInternalMoniker; extern const IID IID_IDfReserved1; extern const IID IID_IDfReserved2; extern const IID IID_IDfReserved3; extern const CLSID CLSID_StdMarshal; extern const IID IID_IStub; extern const IID IID_IProxy; extern const IID IID_IEnumGeneric; extern const IID IID_IEnumHolder; extern const IID IID_IEnumCallback; extern const IID IID_IOleManager; extern const IID IID_IOlePresObj; extern const IID IID_IDebug; extern const IID IID_IDebugStream; extern const CLSID CLSID_PSGenObject; extern const CLSID CLSID_PSClientSite; extern const CLSID CLSID_PSClassObject; extern const CLSID CLSID_PSInPlaceActive; extern const CLSID CLSID_PSInPlaceFrame; extern const CLSID CLSID_PSDragDrop; extern const CLSID CLSID_PSBindCtx; extern const CLSID CLSID_PSEnumerators; extern const CLSID CLSID_StaticMetafile; extern const CLSID CLSID_StaticDib; extern const CLSID CID_CDfsVolume; extern const CLSID CLSID_CCDFormKrnl; extern const CLSID CLSID_CCDPropertyPage; extern const CLSID CLSID_CCDFormDialog; extern const CLSID CLSID_CCDCommandButton; extern const CLSID CLSID_CCDComboBox; extern const CLSID CLSID_CCDTextBox; extern const CLSID CLSID_CCDCheckBox; extern const CLSID CLSID_CCDLabel; extern const CLSID CLSID_CCDOptionButton; extern const CLSID CLSID_CCDListBox; extern const CLSID CLSID_CCDScrollBar; extern const CLSID CLSID_CCDGroupBox; extern const CLSID CLSID_CCDGeneralPropertyPage; extern const CLSID CLSID_CCDGenericPropertyPage; extern const CLSID CLSID_CCDFontPropertyPage; extern const CLSID CLSID_CCDColorPropertyPage; extern const CLSID CLSID_CCDLabelPropertyPage; extern const CLSID CLSID_CCDCheckBoxPropertyPage; extern const CLSID CLSID_CCDTextBoxPropertyPage; extern const CLSID CLSID_CCDOptionButtonPropertyPage; extern const CLSID CLSID_CCDListBoxPropertyPage; extern const CLSID CLSID_CCDCommandButtonPropertyPage; extern const CLSID CLSID_CCDComboBoxPropertyPage; extern const CLSID CLSID_CCDScrollBarPropertyPage; extern const CLSID CLSID_CCDGroupBoxPropertyPage; extern const CLSID CLSID_CCDXObjectPropertyPage; extern const CLSID CLSID_CStdPropertyFrame; extern const CLSID CLSID_CFormPropertyPage; extern const CLSID CLSID_CGridPropertyPage; extern const CLSID CLSID_CWSJArticlePage; extern const CLSID CLSID_CSystemPage; extern const CLSID CLSID_IdentityUnmarshal; extern const CLSID CLSID_InProcFreeMarshaler; extern const CLSID CLSID_Picture_Metafile; extern const CLSID CLSID_Picture_EnhMetafile; extern const CLSID CLSID_Picture_Dib; extern const CLSID CLSID_StdGlobalInterfaceTable; extern const GUID GUID_TRISTATE; # 88 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h" 2 3 typedef enum tagCOINIT { COINIT_APARTMENTTHREADED = 0x2, COINIT_MULTITHREADED = 0x0, COINIT_DISABLE_OLE1DDE = 0x4, COINIT_SPEED_OVER_MEMORY = 0x8 } COINIT; typedef enum tagSTDMSHLFLAGS { SMEXF_SERVER = 0x01, SMEXF_HANDLER = 0x02 } STDMSHLFLAGS; extern DWORD __attribute__((__stdcall__)) CoBuildVersion(void); extern HRESULT __attribute__((__stdcall__)) CoInitialize(PVOID); extern HRESULT __attribute__((__stdcall__)) CoInitializeEx(LPVOID,DWORD); extern void __attribute__((__stdcall__)) CoUninitialize(void); extern HRESULT __attribute__((__stdcall__)) CoGetMalloc(DWORD,LPMALLOC*); extern DWORD __attribute__((__stdcall__)) CoGetCurrentProcess(void); extern HRESULT __attribute__((__stdcall__)) CoRegisterMallocSpy(LPMALLOCSPY); extern HRESULT __attribute__((__stdcall__)) CoRevokeMallocSpy(void); extern HRESULT __attribute__((__stdcall__)) CoCreateStandardMalloc(DWORD,IMalloc**); extern HRESULT __attribute__((__stdcall__)) CoGetClassObject(const CLSID* const,DWORD,COSERVERINFO*,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) CoRegisterClassObject(const CLSID* const,LPUNKNOWN,DWORD,DWORD,PDWORD); extern HRESULT __attribute__((__stdcall__)) CoRevokeClassObject(DWORD); extern HRESULT __attribute__((__stdcall__)) CoGetMarshalSizeMax(ULONG*,const IID* const,LPUNKNOWN,DWORD,PVOID,DWORD); extern HRESULT __attribute__((__stdcall__)) CoMarshalInterface(LPSTREAM,const IID* const,LPUNKNOWN,DWORD,PVOID,DWORD); extern HRESULT __attribute__((__stdcall__)) CoUnmarshalInterface(LPSTREAM,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) CoMarshalHresult(LPSTREAM,HRESULT); extern HRESULT __attribute__((__stdcall__)) CoUnmarshalHresult(LPSTREAM,HRESULT*); extern HRESULT __attribute__((__stdcall__)) CoReleaseMarshalData(LPSTREAM); extern HRESULT __attribute__((__stdcall__)) CoDisconnectObject(LPUNKNOWN,DWORD); extern HRESULT __attribute__((__stdcall__)) CoLockObjectExternal(LPUNKNOWN,BOOL,BOOL); extern HRESULT __attribute__((__stdcall__)) CoGetStandardMarshal(const IID* const,LPUNKNOWN,DWORD,PVOID,DWORD,LPMARSHAL*); extern HRESULT __attribute__((__stdcall__)) CoGetStdMarshalEx(LPUNKNOWN,DWORD,LPUNKNOWN*); extern BOOL __attribute__((__stdcall__)) CoIsHandlerConnected(LPUNKNOWN); extern BOOL __attribute__((__stdcall__)) CoHasStrongExternalConnections(LPUNKNOWN); extern HRESULT __attribute__((__stdcall__)) CoMarshalInterThreadInterfaceInStream(const IID* const,LPUNKNOWN,LPSTREAM*); extern HRESULT __attribute__((__stdcall__)) CoGetInterfaceAndReleaseStream(LPSTREAM,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) CoCreateFreeThreadedMarshaler(LPUNKNOWN,LPUNKNOWN*); extern HINSTANCE __attribute__((__stdcall__)) CoLoadLibrary(LPOLESTR,BOOL); extern void __attribute__((__stdcall__)) CoFreeLibrary(HINSTANCE); extern void __attribute__((__stdcall__)) CoFreeAllLibraries(void); extern void __attribute__((__stdcall__)) CoFreeUnusedLibraries(void); extern HRESULT __attribute__((__stdcall__)) CoCreateInstance(const CLSID* const,LPUNKNOWN,DWORD,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) CoCreateInstanceEx(const CLSID* const,IUnknown*,DWORD,COSERVERINFO*,DWORD,MULTI_QI*); extern HRESULT __attribute__((__stdcall__)) StringFromCLSID(const CLSID* const,LPOLESTR*); extern HRESULT __attribute__((__stdcall__)) CLSIDFromString(LPOLESTR,LPCLSID); extern HRESULT __attribute__((__stdcall__)) StringFromIID(const IID* const,LPOLESTR*); extern HRESULT __attribute__((__stdcall__)) IIDFromString(LPOLESTR,LPIID); extern BOOL __attribute__((__stdcall__)) CoIsOle1Class(const CLSID* const); extern HRESULT __attribute__((__stdcall__)) ProgIDFromCLSID(const CLSID* const,LPOLESTR*); extern HRESULT __attribute__((__stdcall__)) CLSIDFromProgID(LPCOLESTR,LPCLSID); extern int __attribute__((__stdcall__)) StringFromGUID2(const GUID* const,LPOLESTR,int); extern HRESULT __attribute__((__stdcall__)) CoCreateGuid(GUID*); extern BOOL __attribute__((__stdcall__)) CoFileTimeToDosDateTime(FILETIME*,LPWORD,LPWORD); extern BOOL __attribute__((__stdcall__)) CoDosDateTimeToFileTime(WORD,WORD,FILETIME*); extern HRESULT __attribute__((__stdcall__)) CoFileTimeNow(FILETIME*); extern HRESULT __attribute__((__stdcall__)) CoRegisterMessageFilter(LPMESSAGEFILTER,LPMESSAGEFILTER*); extern HRESULT __attribute__((__stdcall__)) CoGetTreatAsClass(const CLSID* const,LPCLSID); extern HRESULT __attribute__((__stdcall__)) CoTreatAsClass(const CLSID* const,const CLSID* const); typedef HRESULT (__attribute__((__stdcall__)) *LPFNGETCLASSOBJECT)(const CLSID* const,const IID* const,PVOID*); typedef HRESULT (__attribute__((__stdcall__)) *LPFNCANUNLOADNOW)(void); extern HRESULT __attribute__((__stdcall__)) DllGetClassObject(const CLSID* const,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) DllCanUnloadNow(void); extern PVOID __attribute__((__stdcall__)) CoTaskMemAlloc(ULONG); extern PVOID __attribute__((__stdcall__)) CoTaskMemRealloc(PVOID,ULONG); extern void __attribute__((__stdcall__)) CoTaskMemFree(PVOID); extern HRESULT __attribute__((__stdcall__)) CreateDataAdviseHolder(LPDATAADVISEHOLDER*); extern HRESULT __attribute__((__stdcall__)) CreateDataCache(LPUNKNOWN,const CLSID* const,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) StgCreateDocfile(const OLECHAR*,DWORD,DWORD,IStorage**); extern HRESULT __attribute__((__stdcall__)) StgCreateDocfileOnILockBytes(ILockBytes*,DWORD,DWORD,IStorage**); extern HRESULT __attribute__((__stdcall__)) StgOpenStorage(const OLECHAR*,IStorage*,DWORD,SNB,DWORD,IStorage**); extern HRESULT __attribute__((__stdcall__)) StgOpenStorageOnILockBytes(ILockBytes*,IStorage*,DWORD,SNB,DWORD,IStorage**); extern HRESULT __attribute__((__stdcall__)) StgIsStorageFile(const OLECHAR*); extern HRESULT __attribute__((__stdcall__)) StgIsStorageILockBytes(ILockBytes*); extern HRESULT __attribute__((__stdcall__)) StgSetTimes(OLECHAR const*,FILETIME const*,FILETIME const*,FILETIME const*); extern HRESULT __attribute__((__stdcall__)) StgCreateStorageEx(const WCHAR*,DWORD,DWORD,DWORD,STGOPTIONS*,void*,const IID* const,void**); extern HRESULT __attribute__((__stdcall__)) StgOpenStorageEx(const WCHAR*,DWORD,DWORD,DWORD,STGOPTIONS*,void*,const IID* const,void**); extern HRESULT __attribute__((__stdcall__)) BindMoniker(LPMONIKER,DWORD,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) CoGetObject(LPCWSTR,BIND_OPTS*,const IID* const,void**); extern HRESULT __attribute__((__stdcall__)) MkParseDisplayName(LPBC,LPCOLESTR,ULONG*,LPMONIKER*); extern HRESULT __attribute__((__stdcall__)) MonikerRelativePathTo(LPMONIKER,LPMONIKER,LPMONIKER*,BOOL); extern HRESULT __attribute__((__stdcall__)) MonikerCommonPrefixWith(LPMONIKER,LPMONIKER,LPMONIKER*); extern HRESULT __attribute__((__stdcall__)) CreateBindCtx(DWORD,LPBC*); extern HRESULT __attribute__((__stdcall__)) CreateGenericComposite(LPMONIKER,LPMONIKER,LPMONIKER*); extern HRESULT __attribute__((__stdcall__)) GetClassFile (LPCOLESTR,CLSID*); extern HRESULT __attribute__((__stdcall__)) CreateFileMoniker(LPCOLESTR,LPMONIKER*); extern HRESULT __attribute__((__stdcall__)) CreateItemMoniker(LPCOLESTR,LPCOLESTR,LPMONIKER*); extern HRESULT __attribute__((__stdcall__)) CreateAntiMoniker(LPMONIKER*); extern HRESULT __attribute__((__stdcall__)) CreatePointerMoniker(LPUNKNOWN,LPMONIKER*); extern HRESULT __attribute__((__stdcall__)) GetRunningObjectTable(DWORD,LPRUNNINGOBJECTTABLE*); extern HRESULT __attribute__((__stdcall__)) CoInitializeSecurity(PSECURITY_DESCRIPTOR,LONG,SOLE_AUTHENTICATION_SERVICE*, void*,DWORD,DWORD,void*,DWORD,void*); extern HRESULT __attribute__((__stdcall__)) CoGetCallContext(const IID* const,void**); extern HRESULT __attribute__((__stdcall__)) CoQueryProxyBlanket(IUnknown*, DWORD*,DWORD*,OLECHAR**,DWORD*,DWORD*,RPC_AUTH_IDENTITY_HANDLE*,DWORD*); extern HRESULT __attribute__((__stdcall__)) CoSetProxyBlanket(IUnknown*,DWORD,DWORD,OLECHAR*,DWORD,DWORD,RPC_AUTH_IDENTITY_HANDLE, DWORD); extern HRESULT __attribute__((__stdcall__)) CoCopyProxy(IUnknown*,IUnknown**); extern HRESULT __attribute__((__stdcall__)) CoQueryClientBlanket(DWORD*,DWORD*,OLECHAR**, DWORD*,DWORD*,RPC_AUTHZ_HANDLE*,DWORD*); extern HRESULT __attribute__((__stdcall__)) CoImpersonateClient(void); extern HRESULT __attribute__((__stdcall__)) CoRevertToSelf(void); extern HRESULT __attribute__((__stdcall__)) CoQueryAuthenticationServices(DWORD*, SOLE_AUTHENTICATION_SERVICE**); extern HRESULT __attribute__((__stdcall__)) CoSwitchCallContext(IUnknown*,IUnknown**); extern HRESULT __attribute__((__stdcall__)) CoGetInstanceFromFile(COSERVERINFO*, CLSID*,IUnknown*,DWORD,DWORD,OLECHAR*,DWORD,MULTI_QI*); extern HRESULT __attribute__((__stdcall__)) CoGetInstanceFromIStorage(COSERVERINFO*,CLSID*, IUnknown*,DWORD,struct IStorage*, DWORD,MULTI_QI*); extern ULONG __attribute__((__stdcall__)) CoAddRefServerProcess(void); extern ULONG __attribute__((__stdcall__)) CoReleaseServerProcess(void); extern HRESULT __attribute__((__stdcall__)) CoResumeClassObjects(void); extern HRESULT __attribute__((__stdcall__)) CoSuspendClassObjects(void); extern HRESULT __attribute__((__stdcall__)) CoGetPSClsid(const IID* const,CLSID*); extern HRESULT __attribute__((__stdcall__)) CoRegisterPSClsid(const IID* const,const CLSID* const); #pragma pack(pop) # 10 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/olectlid.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/olectlid.h" 3 extern const GUID IID_IDispatch; extern const GUID IID_IPropertyNotifySink; extern const GUID IID_IClassFactory2; extern const GUID IID_IProvideClassInfo; extern const GUID IID_IProvideClassInfo2; extern const GUID IID_IConnectionPointContainer; extern const GUID IID_IEnumConnectionPoints; extern const GUID IID_IConnectionPoint; extern const GUID IID_IEnumConnections; extern const GUID IID_IOleControl; extern const GUID IID_IOleControlSite; extern const GUID IID_ISimpleFrameSite; extern const GUID IID_IPersistStreamInit; extern const GUID IID_IPersistMemory; extern const GUID IID_IPersistPropertyBag; extern const GUID IID_IPropertyBag; extern const GUID IID_IErrorLog; extern const GUID IID_IPropertyFrame; extern const GUID IID_ISpecifyPropertyPages; extern const GUID IID_IPerPropertyBrowsing; extern const GUID IID_IPropertyPageSite; extern const GUID IID_IPropertyPage; extern const GUID IID_IPropertyPage2; extern const GUID CLSID_CFontPropPage; extern const GUID CLSID_CColorPropPage; extern const GUID CLSID_CPicturePropPage; extern const GUID CLSID_PersistPropset; extern const GUID CLSID_ConvertVBX; extern const GUID CLSID_StdFont; extern const GUID CLSID_StdPicture; extern const GUID IID_IFont; extern const GUID IID_IFontDisp; extern const GUID IID_IPicture; extern const GUID IID_IPictureDisp; extern const GUID GUID_HIMETRIC; extern const GUID GUID_COLOR; extern const GUID GUID_XPOSPIXEL; extern const GUID GUID_YPOSPIXEL; extern const GUID GUID_XSIZEPIXEL; extern const GUID GUID_YSIZEPIXEL; extern const GUID GUID_XPOS; extern const GUID GUID_YPOS; extern const GUID GUID_XSIZE; extern const GUID GUID_YSIZE; extern const GUID GUID_TRISTATE; extern const GUID GUID_OPTIONVALUEEXCLUSIVE; extern const GUID GUID_CHECKVALUEEXCLUSIVE; extern const GUID GUID_FONTNAME; extern const GUID GUID_FONTSIZE; extern const GUID GUID_FONTBOLD; extern const GUID GUID_FONTITALIC; extern const GUID GUID_FONTUNDERSCORE; extern const GUID GUID_FONTSTRIKETHROUGH; extern const GUID GUID_HANDLE; extern const GUID IID_IEnumUnknown; extern const GUID IID_IEnumString; extern const GUID IID_IEnumMoniker; extern const GUID IID_IEnumFORMATETC; extern const GUID IID_IEnumOLEVERB; extern const GUID IID_IEnumSTATDATA; extern const GUID IID_IEnumSTATSTG; extern const GUID IID_IEnumGeneric; extern const GUID IID_IEnumHolder; extern const GUID IID_IEnumCallback; extern const GUID IID_IPersistStream; extern const GUID IID_IPersistStorage; extern const GUID IID_IPersistFile; extern const GUID IID_IPersist; extern const GUID IID_IViewObject; extern const GUID IID_IDataObject; extern const GUID IID_IAdviseSink; extern const GUID IID_IDataAdviseHolder; extern const GUID IID_IOleAdviseHolder; extern const GUID IID_IOleObject; extern const GUID IID_IOleInPlaceObject; extern const GUID IID_IOleWindow; extern const GUID IID_IOleInPlaceUIWindow; extern const GUID IID_IOleInPlaceFrame; extern const GUID IID_IOleInPlaceActiveObject; extern const GUID IID_IOleClientSite; extern const GUID IID_IOleInPlaceSite; extern const GUID IID_IParseDisplayName; extern const GUID IID_IOleContainer; extern const GUID IID_IOleItemContainer; extern const GUID IID_IOleLink; extern const GUID IID_IOleCache; extern const GUID IID_IOleManager; extern const GUID IID_IOlePresObj; extern const GUID IID_IDropSource; extern const GUID IID_IDropTarget; extern const GUID IID_IDebug; extern const GUID IID_IDebugStream; extern const GUID IID_IAdviseSink2; extern const GUID IID_IRunnableObject; extern const GUID IID_IViewObject2; extern const GUID IID_IOleCache2; extern const GUID IID_IOleCacheControl; extern const GUID CLSID_Picture_Metafile; extern const GUID CLSID_Picture_Dib; # 11 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h" 3 #pragma pack(push,8) # 158 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h" 1 3 # 10 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h" 2 3 # 66 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h" 3 typedef struct ITypeLib *LPTYPELIB; typedef struct ITypeLib2 *LPTYPELIB2; typedef struct ICreateTypeInfo *LPCREATETYPEINFO; typedef struct ICreateTypeInfo2 *LPCREATETYPEINFO2; typedef struct ICreateTypeLib *LPCREATETYPELIB; typedef struct ICreateTypeLib2 *LPCREATETYPELIB2; typedef struct ITypeComp *LPTYPECOMP; typedef struct ITypeInfo *LPTYPEINFO; typedef struct ITypeInfo2 *LPTYPEINFO2; typedef struct IErrorInfo *LPERRORINFO; typedef struct IDispatch *LPDISPATCH; typedef struct IEnumVARIANT *LPENUMVARIANT; typedef struct ICreateErrorInfo *LPCREATEERRORINFO; typedef struct ISupportErrorInfo *LPSUPPORTERRORINFO; typedef struct IRecordInfo *LPRECORDINFO; extern const IID IID_ITypeLib; extern const IID IID_ITypeLib2; extern const IID IID_ICreateTypeInfo; extern const IID IID_ICreateTypeInfo2; extern const IID IID_ICreateTypeLib; extern const IID IID_ICreateTypeLib2; extern const IID IID_ITypeInfo; extern const IID IID_ITypeInfo2; extern const IID IID_IErrorInfo; extern const IID IID_IDispatch; extern const IID IID_IEnumVARIANT; extern const IID IID_ICreateErrorInfo; extern const IID IID_ISupportErrorInfo; extern const IID IID_IRecordInfo; extern const IID IID_ITypeMarshal; typedef enum tagSYSKIND { SYS_WIN16,SYS_WIN32,SYS_MAC } SYSKIND; typedef enum tagLIBFLAGS { LIBFLAG_FRESTRICTED=1,LIBFLAG_FCONTROL=2,LIBFLAG_FHIDDEN=4, LIBFLAG_FHASDISKIMAGE=8 } LIBFLAGS; typedef struct tagTLIBATTR { GUID guid; LCID lcid; SYSKIND syskind; WORD wMajorVerNum; WORD wMinorVerNum; WORD wLibFlags; } TLIBATTR,*LPTLIBATTR; typedef CY CURRENCY; typedef struct tagSAFEARRAYBOUND { ULONG cElements; LONG lLbound; }SAFEARRAYBOUND,*LPSAFEARRAYBOUND; typedef struct _wireSAFEARR_BSTR { ULONG Size; wireBSTR *aBstr; }SAFEARR_BSTR; typedef struct _wireSAFEARR_UNKNOWN { ULONG Size; IUnknown **apUnknown; }SAFEARR_UNKNOWN; typedef struct _wireSAFEARR_DISPATCH { ULONG Size; LPDISPATCH *apDispatch; }SAFEARR_DISPATCH; typedef struct _wireSAFEARR_VARIANT { ULONG Size; struct _wireVARIANT *aVariant; }SAFEARR_VARIANT; typedef enum tagSF_TYPE { SF_ERROR=VT_ERROR, SF_I1=VT_I1, SF_I2=VT_I2, SF_I4=VT_I4, SF_I8=VT_I8, SF_BSTR=VT_BSTR, SF_UNKNOWN=VT_UNKNOWN, SF_DISPATCH=VT_DISPATCH, SF_VARIANT=VT_VARIANT }SF_TYPE; typedef struct _wireBRECORD { ULONG fFlags; ULONG clSize; LPRECORDINFO* pRecInfo; byte* pRecord; } *wireBRECORD; typedef struct _wireSAFEARR_BRECORD { ULONG Size; wireBRECORD* aRecord; } SAFEARR_BRECORD; typedef struct _wireSAFEARR_HAVEIID { ULONG Size; IUnknown** apUnknown; IID iid; } SAFEARR_HAVEIID; typedef struct _wireSAFEARRAY_UNION { ULONG sfType; union { SAFEARR_BSTR BstrStr; SAFEARR_UNKNOWN UnknownStr; SAFEARR_DISPATCH DispatchStr; SAFEARR_VARIANT VariantStr; SAFEARR_BRECORD RecordStr; SAFEARR_HAVEIID HaveIidStr; BYTE_SIZEDARR ByteStr; WORD_SIZEDARR WordStr; DWORD_SIZEDARR LongStr; HYPER_SIZEDARR HyperStr; }u; }SAFEARRAYUNION; typedef struct _wireSAFEARRAY { USHORT cDims; USHORT fFeatures; ULONG cbElements; ULONG cLocks; SAFEARRAYUNION uArrayStructs; SAFEARRAYBOUND rgsabound[1]; }*wireSAFEARRAY; typedef wireSAFEARRAY *wirePSAFEARRAY; typedef struct tagSAFEARRAY { USHORT cDims; USHORT fFeatures; ULONG cbElements; ULONG cLocks; PVOID pvData; SAFEARRAYBOUND rgsabound[1]; }SAFEARRAY,*LPSAFEARRAY; __extension__ typedef struct tagVARIANT { __extension__ union { struct { VARTYPE vt; WORD wReserved1; WORD wReserved2; WORD wReserved3; __extension__ union { long lVal; LONGLONG llVal; unsigned char bVal; short iVal; float fltVal; double dblVal; VARIANT_BOOL boolVal; SCODE scode; CY cyVal; DATE date; BSTR bstrVal; IUnknown *punkVal; LPDISPATCH pdispVal; SAFEARRAY *parray; unsigned char *pbVal; short *piVal; long *plVal; LONGLONG * pllVal; float *pfltVal; double *pdblVal; VARIANT_BOOL *pboolVal; _VARIANT_BOOL *pbool; SCODE *pscode; CY *pcyVal; DATE *pdate; BSTR *pbstrVal; IUnknown **ppunkVal; LPDISPATCH *ppdispVal; SAFEARRAY **pparray; struct tagVARIANT *pvarVal; void *byref; CHAR cVal; USHORT uiVal; ULONG ulVal; ULONGLONG ullVal; INT intVal; UINT uintVal; DECIMAL *pdecVal; CHAR *pcVal; USHORT *puiVal; ULONG *pulVal; ULONGLONG * pullVal; INT *pintVal; UINT *puintVal; __extension__ struct { PVOID pvRecord; struct IRecordInfo *pRecInfo; } ; } ; } ; DECIMAL decVal; } ; } VARIANT,*LPVARIANT; typedef VARIANT VARIANTARG; typedef VARIANT *LPVARIANTARG; typedef struct _wireVARIANT { DWORD clSize; DWORD rpcReserved; USHORT vt; USHORT wReserved1; USHORT wReserved2; USHORT wReserved3; __extension__ union { LONG lVal; LONGLONG llVal; BYTE bVal; SHORT iVal; FLOAT fltVal; DOUBLE dblVal; VARIANT_BOOL boolVal; SCODE scode; CY cyVal; DATE date; wireBSTR bstrVal; IUnknown *punkVal; LPDISPATCH pdispVal; wirePSAFEARRAY parray; wireBRECORD brecVal; BYTE *pbVal; SHORT *piVal; LONG *plVal; FLOAT *pfltVal; DOUBLE *pdblVal; VARIANT_BOOL *pboolVal; SCODE *pscode; CY *pcyVal; DATE *pdate; wireBSTR *pbstrVal; IUnknown **ppunkVal; LPDISPATCH *ppdispVal; wirePSAFEARRAY *pparray; struct _wireVARIANT *pvarVal; CHAR cVal; USHORT uiVal; ULONG ulVal; ULONGLONG ullVal; INT intVal; UINT uintVal; DECIMAL decVal; DECIMAL *pdecVal; CHAR *pcVal; USHORT *puiVal; ULONG *pulVal; INT *pintVal; UINT *puintVal; } ; } *wireVARIANT; typedef LONG DISPID; typedef DISPID MEMBERID; typedef DWORD HREFTYPE; typedef enum tagTYPEKIND { TKIND_ENUM,TKIND_RECORD,TKIND_MODULE,TKIND_INTERFACE,TKIND_DISPATCH, TKIND_COCLASS,TKIND_ALIAS,TKIND_UNION,TKIND_MAX }TYPEKIND; typedef struct tagTYPEDESC { __extension__ union { struct tagTYPEDESC *lptdesc; struct tagARRAYDESC *lpadesc; HREFTYPE hreftype; } ; VARTYPE vt; }TYPEDESC; typedef struct tagARRAYDESC { TYPEDESC tdescElem; USHORT cDims; SAFEARRAYBOUND rgbounds[1]; }ARRAYDESC; typedef struct tagPARAMDESCEX { ULONG cBytes; VARIANTARG varDefaultValue; }PARAMDESCEX,*LPPARAMDESCEX; typedef struct tagPARAMDESC { LPPARAMDESCEX pparamdescex; USHORT wParamFlags; }PARAMDESC,*LPPARAMDESC; typedef struct tagIDLDESC { ULONG dwReserved; USHORT wIDLFlags; }IDLDESC,*LPIDLDESC; typedef struct tagELEMDESC { TYPEDESC tdesc; __extension__ union { IDLDESC idldesc; PARAMDESC paramdesc; } ; } ELEMDESC,*LPELEMDESC; typedef struct tagTYPEATTR { GUID guid; LCID lcid; DWORD dwReserved; MEMBERID memidConstructor; MEMBERID memidDestructor; LPOLESTR lpstrSchema; ULONG cbSizeInstance; TYPEKIND typekind; WORD cFuncs; WORD cVars; WORD cImplTypes; WORD cbSizeVft; WORD cbAlignment; WORD wTypeFlags; WORD wMajorVerNum; WORD wMinorVerNum; TYPEDESC tdescAlias; IDLDESC idldescType; }TYPEATTR,*LPTYPEATTR; typedef struct tagDISPPARAMS { VARIANTARG *rgvarg; DISPID *rgdispidNamedArgs; UINT cArgs; UINT cNamedArgs; }DISPPARAMS; typedef struct tagEXCEPINFO { WORD wCode; WORD wReserved; BSTR bstrSource; BSTR bstrDescription; BSTR bstrHelpFile; DWORD dwHelpContext; PVOID pvReserved; HRESULT(__attribute__((__stdcall__)) * pfnDeferredFillIn)(struct tagEXCEPINFO*); SCODE scode; } EXCEPINFO,*LPEXCEPINFO; typedef enum tagCALLCONV { CC_FASTCALL,CC_CDECL,CC_MSCPASCAL,CC_PASCAL=CC_MSCPASCAL, CC_MACPASCAL,CC_STDCALL,CC_FPFASTCALL,CC_SYSCALL,CC_MPWCDECL, CC_MPWPASCAL,CC_MAX=CC_MPWPASCAL }CALLCONV; typedef enum tagFUNCKIND { FUNC_VIRTUAL,FUNC_PUREVIRTUAL,FUNC_NONVIRTUAL, FUNC_STATIC,FUNC_DISPATCH }FUNCKIND; typedef enum tagINVOKEKIND { INVOKE_FUNC=1,INVOKE_PROPERTYGET,INVOKE_PROPERTYPUT=4, INVOKE_PROPERTYPUTREF=8 }INVOKEKIND; typedef struct tagFUNCDESC { MEMBERID memid; SCODE *lprgscode; ELEMDESC *lprgelemdescParam; FUNCKIND funckind; INVOKEKIND invkind; CALLCONV callconv; SHORT cParams; SHORT cParamsOpt; SHORT oVft; SHORT cScodes; ELEMDESC elemdescFunc; WORD wFuncFlags; }FUNCDESC,*LPFUNCDESC; typedef enum tagVARKIND { VAR_PERINSTANCE,VAR_STATIC,VAR_CONST,VAR_DISPATCH } VARKIND; typedef struct tagVARDESC { MEMBERID memid; LPOLESTR lpstrSchema; __extension__ union { ULONG oInst; VARIANT *lpvarValue; } ; ELEMDESC elemdescVar; WORD wVarFlags; VARKIND varkind; } VARDESC,*LPVARDESC; typedef enum tagTYPEFLAGS { TYPEFLAG_FAPPOBJECT=1,TYPEFLAG_FCANCREATE=2,TYPEFLAG_FLICENSED=4, TYPEFLAG_FPREDECLID=8,TYPEFLAG_FHIDDEN=16,TYPEFLAG_FCONTROL=32, TYPEFLAG_FDUAL=64,TYPEFLAG_FNONEXTENSIBLE=128, TYPEFLAG_FOLEAUTOMATION=256,TYPEFLAG_FRESTRICTED=512, TYPEFLAG_FAGGREGATABLE=1024,TYPEFLAG_FREPLACEABLE=2048, TYPEFLAG_FDISPATCHABLE=4096,TYPEFLAG_FREVERSEBIND=8192 } TYPEFLAGS; typedef enum tagFUNCFLAGS { FUNCFLAG_FRESTRICTED=1,FUNCFLAG_FSOURCE=2,FUNCFLAG_FBINDABLE=4, FUNCFLAG_FREQUESTEDIT=8,FUNCFLAG_FDISPLAYBIND=16,FUNCFLAG_FDEFAULTBIND=32, FUNCFLAG_FHIDDEN=64,FUNCFLAG_FUSESGETLASTERROR=128,FUNCFLAG_FDEFAULTCOLLELEM=256, FUNCFLAG_FUIDEFAULT=512,FUNCFLAG_FNONBROWSABLE=1024,FUNCFLAG_FREPLACEABLE=2048, FUNCFLAG_FIMMEDIATEBIND=4096 } FUNCFLAGS; typedef enum tagVARFLAGS { VARFLAG_FREADONLY=1,VARFLAG_FSOURCE=2,VARFLAG_FBINDABLE=4,VARFLAG_FREQUESTEDIT=8, VARFLAG_FDISPLAYBIND=16,VARFLAG_FDEFAULTBIND=32,VARFLAG_FHIDDEN=64,VARFLAG_FRESTRICTED=128, VARFLAG_FDEFAULTCOLLELEM=256,VARFLAG_FUIDEFAULT=512,VARFLAG_FNONBROWSABLE=1024, VARFLAG_FREPLACEABLE=2048,VARFLAG_FIMMEDIATEBIND=4096 } VARFLAGS; typedef struct tagCLEANLOCALSTORAGE { IUnknown *pInterface; PVOID pStorage; DWORD flags; } CLEANLOCALSTORAGE; typedef struct tagCUSTDATAITEM { GUID guid; VARIANTARG varValue; } CUSTDATAITEM,*LPCUSTDATAITEM; typedef struct tagCUSTDATA { DWORD cCustData; LPCUSTDATAITEM prgCustData; } CUSTDATA,*LPCUSTDATA; typedef enum tagDESCKIND { DESCKIND_NONE=0,DESCKIND_FUNCDESC=DESCKIND_NONE+1, DESCKIND_VARDESC=DESCKIND_FUNCDESC+1,DESCKIND_TYPECOMP=DESCKIND_VARDESC+1, DESCKIND_IMPLICITAPPOBJ=DESCKIND_TYPECOMP+1, DESCKIND_MAX=DESCKIND_IMPLICITAPPOBJ+1 } DESCKIND; typedef union tagBINDPTR { LPFUNCDESC lpfuncdesc; LPVARDESC lpvardesc; LPTYPECOMP lptcomp; } BINDPTR,*LPBINDPTR; typedef struct IDispatch { struct IDispatchVtbl *lpVtbl; } IDispatch; typedef struct IDispatchVtbl IDispatchVtbl; struct IDispatchVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IDispatch *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IDispatch *) ; ULONG(__attribute__((__stdcall__)) *Release)(IDispatch *) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfoCount)(IDispatch *, UINT*) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfo)(IDispatch *, UINT,LCID,LPTYPEINFO*) ; HRESULT(__attribute__((__stdcall__)) *GetIDsOfNames)(IDispatch *, const IID* const,LPOLESTR*,UINT,LCID,DISPID*) ; HRESULT(__attribute__((__stdcall__)) *Invoke)(IDispatch *, DISPID,const IID* const,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) ; }; # 500 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h" 3 typedef struct IEnumVARIANT { struct IEnumVARIANTVtbl *lpVtbl; } IEnumVARIANT; typedef struct IEnumVARIANTVtbl IEnumVARIANTVtbl; struct IEnumVARIANTVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumVARIANT *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumVARIANT *) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumVARIANT *) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumVARIANT *, ULONG,VARIANT*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumVARIANT *, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumVARIANT *) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumVARIANT *, IEnumVARIANT**) ; }; typedef struct ITypeComp { struct ITypeCompVtbl *lpVtbl; } ITypeComp; typedef struct ITypeCompVtbl ITypeCompVtbl; struct ITypeCompVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ITypeComp *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ITypeComp *) ; ULONG(__attribute__((__stdcall__)) *Release)(ITypeComp *) ; HRESULT(__attribute__((__stdcall__)) *Bind)(ITypeComp *, LPOLESTR,ULONG,WORD,LPTYPEINFO*,DESCKIND*,LPBINDPTR) ; HRESULT(__attribute__((__stdcall__)) *BindType)(ITypeComp *, LPOLESTR,ULONG,LPTYPEINFO*,LPTYPECOMP*) ; }; typedef struct ITypeInfo { struct ITypeInfoVtbl *lpVtbl; } ITypeInfo; typedef struct ITypeInfoVtbl ITypeInfoVtbl; struct ITypeInfoVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ITypeInfo *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ITypeInfo *) ; ULONG(__attribute__((__stdcall__)) *Release)(ITypeInfo *) ; HRESULT(__attribute__((__stdcall__)) *GetTypeAttr)(ITypeInfo *, LPTYPEATTR*) ; HRESULT(__attribute__((__stdcall__)) *GetTypeComp)(ITypeInfo *, LPTYPECOMP*) ; HRESULT(__attribute__((__stdcall__)) *GetFuncDesc)(ITypeInfo *, UINT,LPFUNCDESC*) ; HRESULT(__attribute__((__stdcall__)) *GetVarDesc)(ITypeInfo *, UINT,LPVARDESC*) ; HRESULT(__attribute__((__stdcall__)) *GetNames)(ITypeInfo *, MEMBERID,BSTR*,UINT,UINT*) ; HRESULT(__attribute__((__stdcall__)) *GetRefTypeOfImplType)(ITypeInfo *, UINT,HREFTYPE*) ; HRESULT(__attribute__((__stdcall__)) *GetImplTypeFlags)(ITypeInfo *, UINT,INT*) ; HRESULT(__attribute__((__stdcall__)) *GetIDsOfNames)(ITypeInfo *, LPOLESTR*,UINT,MEMBERID*) ; HRESULT(__attribute__((__stdcall__)) *Invoke)(ITypeInfo *, PVOID,MEMBERID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) ; HRESULT(__attribute__((__stdcall__)) *GetDocumentation)(ITypeInfo *, MEMBERID,BSTR*,BSTR*,DWORD*,BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetDllEntry)(ITypeInfo *, MEMBERID,INVOKEKIND,BSTR*,BSTR*,WORD*) ; HRESULT(__attribute__((__stdcall__)) *GetRefTypeInfo)(ITypeInfo *, HREFTYPE,LPTYPEINFO*) ; HRESULT(__attribute__((__stdcall__)) *AddressOfMember)(ITypeInfo *, MEMBERID,INVOKEKIND,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *CreateInstance)(ITypeInfo *, LPUNKNOWN,const IID* const,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *GetMops)(ITypeInfo *, MEMBERID,BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetContainingTypeLib)(ITypeInfo *, LPTYPELIB*,UINT*) ; void(__attribute__((__stdcall__)) *ReleaseTypeAttr)(ITypeInfo *, LPTYPEATTR) ; void(__attribute__((__stdcall__)) *ReleaseFuncDesc)(ITypeInfo *, LPFUNCDESC) ; void(__attribute__((__stdcall__)) *ReleaseVarDesc)(ITypeInfo *, LPVARDESC) ; }; # 577 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h" 3 typedef struct ITypeInfo2 { struct ITypeInfo2Vtbl *lpVtbl; } ITypeInfo2; typedef struct ITypeInfo2Vtbl ITypeInfo2Vtbl; struct ITypeInfo2Vtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ITypeInfo2 *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ITypeInfo2 *) ; ULONG(__attribute__((__stdcall__)) *Release)(ITypeInfo2 *) ; HRESULT(__attribute__((__stdcall__)) *GetTypeAttr)(ITypeInfo2 *, LPTYPEATTR*) ; HRESULT(__attribute__((__stdcall__)) *GetTypeComp)(ITypeInfo2 *, LPTYPECOMP*) ; HRESULT(__attribute__((__stdcall__)) *GetFuncDesc)(ITypeInfo2 *, UINT,LPFUNCDESC*) ; HRESULT(__attribute__((__stdcall__)) *GetVarDesc)(ITypeInfo2 *, UINT,LPVARDESC*) ; HRESULT(__attribute__((__stdcall__)) *GetNames)(ITypeInfo2 *, MEMBERID,BSTR*,UINT,UINT*) ; HRESULT(__attribute__((__stdcall__)) *GetRefTypeOfImplType)(ITypeInfo2 *, UINT,HREFTYPE*) ; HRESULT(__attribute__((__stdcall__)) *GetImplTypeFlags)(ITypeInfo2 *, UINT,INT*) ; HRESULT(__attribute__((__stdcall__)) *GetIDsOfNames)(ITypeInfo2 *, LPOLESTR*,UINT,MEMBERID*) ; HRESULT(__attribute__((__stdcall__)) *Invoke)(ITypeInfo2 *, PVOID,MEMBERID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) ; HRESULT(__attribute__((__stdcall__)) *GetDocumentation)(ITypeInfo2 *, MEMBERID,BSTR*,BSTR*,DWORD*,BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetDllEntry)(ITypeInfo2 *, MEMBERID,INVOKEKIND,BSTR*,BSTR*,WORD*) ; HRESULT(__attribute__((__stdcall__)) *GetRefTypeInfo)(ITypeInfo2 *, HREFTYPE,LPTYPEINFO*) ; HRESULT(__attribute__((__stdcall__)) *AddressOfMember)(ITypeInfo2 *, MEMBERID,INVOKEKIND,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *CreateInstance)(ITypeInfo2 *, LPUNKNOWN,const IID* const,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *GetMops)(ITypeInfo2 *, MEMBERID,BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetContainingTypeLib)(ITypeInfo2 *, LPTYPELIB*,UINT*) ; void(__attribute__((__stdcall__)) *ReleaseTypeAttr)(ITypeInfo2 *, LPTYPEATTR) ; void(__attribute__((__stdcall__)) *ReleaseFuncDesc)(ITypeInfo2 *, LPFUNCDESC) ; void(__attribute__((__stdcall__)) *ReleaseVarDesc)(ITypeInfo2 *, LPVARDESC) ; HRESULT(__attribute__((__stdcall__)) *GetTypeKind)(ITypeInfo2 *, TYPEKIND*) ; HRESULT(__attribute__((__stdcall__)) *GetTypeFlags)(ITypeInfo2 *, ULONG*) ; HRESULT(__attribute__((__stdcall__)) *GetFuncIndexOfMemId)(ITypeInfo2 *, MEMBERID,INVOKEKIND,UINT*) ; HRESULT(__attribute__((__stdcall__)) *GetVarIndexOfMemId)(ITypeInfo2 *, MEMBERID,UINT*) ; HRESULT(__attribute__((__stdcall__)) *GetCustData)(ITypeInfo2 *, const GUID* const,VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *GetFuncCustData)(ITypeInfo2 *, UINT,const GUID* const,VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *GetParamCustData)(ITypeInfo2 *, UINT,UINT,const GUID* const,VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *GetVarCustData)(ITypeInfo2 *, UINT,const GUID* const,VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *GetImplTypeCustData)(ITypeInfo2 *, UINT,const GUID* const,VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *GetDocumentation2)(ITypeInfo2 *, MEMBERID,LCID,BSTR*,DWORD*,BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetAllCustData)(ITypeInfo2 *, CUSTDATA*) ; HRESULT(__attribute__((__stdcall__)) *GetAllFuncCustData)(ITypeInfo2 *, UINT,CUSTDATA*) ; HRESULT(__attribute__((__stdcall__)) *GetAllParamCustData)(ITypeInfo2 *, UINT,UINT,CUSTDATA*) ; HRESULT(__attribute__((__stdcall__)) *GetAllVarCustData)(ITypeInfo2 *, UINT,CUSTDATA*) ; HRESULT(__attribute__((__stdcall__)) *GetAllImplTypeCustData)(ITypeInfo2 *, UINT,CUSTDATA*) ; }; typedef struct ITypeLib { struct ITypeLibVtbl *lpVtbl; } ITypeLib; typedef struct ITypeLibVtbl ITypeLibVtbl; struct ITypeLibVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ITypeLib *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ITypeLib *) ; ULONG(__attribute__((__stdcall__)) *Release)(ITypeLib *) ; UINT(__attribute__((__stdcall__)) *GetTypeInfoCount)(ITypeLib *) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfo)(ITypeLib *, UINT,ITypeInfo**) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfoType)(ITypeLib *, UINT,TYPEKIND*) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfoOfGuid)(ITypeLib *, const GUID* const,ITypeInfo**) ; HRESULT(__attribute__((__stdcall__)) *GetLibAttr)(ITypeLib *, TLIBATTR**) ; HRESULT(__attribute__((__stdcall__)) *GetTypeComp)(ITypeLib *, ITypeComp*) ; HRESULT(__attribute__((__stdcall__)) *GetDocumentation)(ITypeLib *, INT,BSTR*,BSTR*,DWORD*,BSTR*) ; HRESULT(__attribute__((__stdcall__)) *IsName)(ITypeLib *, LPOLESTR,ULONG,BOOL*) ; HRESULT(__attribute__((__stdcall__)) *FindName)(ITypeLib *, LPOLESTR,ULONG,ITypeInfo**,MEMBERID*,USHORT*) ; void(__attribute__((__stdcall__)) *ReleaseTLibAttr)(ITypeLib *, TLIBATTR*) ; }; typedef struct ITypeLib2 { struct ITypeLib2Vtbl *lpVtbl; } ITypeLib2; typedef struct ITypeLib2Vtbl ITypeLib2Vtbl; struct ITypeLib2Vtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ITypeLib2 *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ITypeLib2 *) ; ULONG(__attribute__((__stdcall__)) *Release)(ITypeLib2 *) ; UINT(__attribute__((__stdcall__)) *GetTypeInfoCount)(ITypeLib2 *) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfo)(ITypeLib2 *, UINT,ITypeInfo**) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfoType)(ITypeLib2 *, UINT,TYPEKIND*) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfoOfGuid)(ITypeLib2 *, const GUID* const,ITypeInfo**) ; HRESULT(__attribute__((__stdcall__)) *GetLibAttr)(ITypeLib2 *, TLIBATTR**) ; HRESULT(__attribute__((__stdcall__)) *GetTypeComp)(ITypeLib2 *, ITypeComp*) ; HRESULT(__attribute__((__stdcall__)) *GetDocumentation)(ITypeLib2 *, INT,BSTR*,BSTR*,DWORD*,BSTR*) ; HRESULT(__attribute__((__stdcall__)) *IsName)(ITypeLib2 *, LPOLESTR,ULONG,BOOL*) ; HRESULT(__attribute__((__stdcall__)) *FindName)(ITypeLib2 *, LPOLESTR,ULONG,ITypeInfo**,MEMBERID*,USHORT*) ; void(__attribute__((__stdcall__)) *ReleaseTLibAttr)(ITypeLib2 *, TLIBATTR*) ; HRESULT(__attribute__((__stdcall__)) *GetCustData)(ITypeLib2 *, const GUID* const,VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *GetLibStatistics)(ITypeLib2 *, ULONG*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *GetDocumentation2)(ITypeLib2 *, INT,LCID,BSTR*,DWORD*,BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetAllCustData)(ITypeLib2 *, CUSTDATA*) ; }; extern const IID IID_IErrorInfo; typedef struct IErrorInfo { struct IErrorInfoVtbl *lpVtbl; } IErrorInfo; typedef struct IErrorInfoVtbl IErrorInfoVtbl; struct IErrorInfoVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IErrorInfo *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IErrorInfo *) ; ULONG(__attribute__((__stdcall__)) *Release)(IErrorInfo *) ; HRESULT(__attribute__((__stdcall__)) *GetGUID)(IErrorInfo *, GUID*) ; HRESULT(__attribute__((__stdcall__)) *GetSource)(IErrorInfo *, BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetDescription)(IErrorInfo *, BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetHelpFile)(IErrorInfo *, BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetHelpContext)(IErrorInfo *, DWORD*) ; }; # 687 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h" 3 extern const IID IID_ICreateErrorInfo; typedef struct ICreateErrorInfo { struct ICreateErrorInfoVtbl *lpVtbl; } ICreateErrorInfo; typedef struct ICreateErrorInfoVtbl ICreateErrorInfoVtbl; struct ICreateErrorInfoVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ICreateErrorInfo *, const IID* const,PVOID*); ULONG(__attribute__((__stdcall__)) *AddRef)(ICreateErrorInfo *) ; ULONG(__attribute__((__stdcall__)) *Release)(ICreateErrorInfo *) ; HRESULT(__attribute__((__stdcall__)) *SetGUID)(ICreateErrorInfo *, const GUID* const) ; HRESULT(__attribute__((__stdcall__)) *SetSource)(ICreateErrorInfo *, LPOLESTR) ; HRESULT(__attribute__((__stdcall__)) *SetDescription)(ICreateErrorInfo *, LPOLESTR) ; HRESULT(__attribute__((__stdcall__)) *SetHelpFile)(ICreateErrorInfo *, LPOLESTR) ; HRESULT(__attribute__((__stdcall__)) *SetHelpContext)(ICreateErrorInfo *, DWORD) ; }; extern const IID IID_ISupportErrorInfo; typedef struct ISupportErrorInfo { struct ISupportErrorInfoVtbl *lpVtbl; } ISupportErrorInfo; typedef struct ISupportErrorInfoVtbl ISupportErrorInfoVtbl; struct ISupportErrorInfoVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ISupportErrorInfo *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ISupportErrorInfo *) ; ULONG(__attribute__((__stdcall__)) *Release)(ISupportErrorInfo *) ; HRESULT(__attribute__((__stdcall__)) *InterfaceSupportsErrorInfo)(ISupportErrorInfo *, const IID* const) ; }; extern const IID IID_IRecordInfo; typedef struct IRecordInfo { struct IRecordInfoVtbl *lpVtbl; } IRecordInfo; typedef struct IRecordInfoVtbl IRecordInfoVtbl; struct IRecordInfoVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IRecordInfo *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IRecordInfo *) ; ULONG(__attribute__((__stdcall__)) *Release)(IRecordInfo *) ; HRESULT(__attribute__((__stdcall__)) *RecordInit)(IRecordInfo *, PVOID) ; HRESULT(__attribute__((__stdcall__)) *RecordClear)(IRecordInfo *, PVOID) ; HRESULT(__attribute__((__stdcall__)) *RecordCopy)(IRecordInfo *, PVOID, PVOID) ; HRESULT(__attribute__((__stdcall__)) *GetGuid)(IRecordInfo *, GUID*) ; HRESULT(__attribute__((__stdcall__)) *GetName)(IRecordInfo *, BSTR*) ; HRESULT(__attribute__((__stdcall__)) *GetSize)(IRecordInfo *, ULONG*) ; HRESULT(__attribute__((__stdcall__)) *GetTypeInfo)(IRecordInfo *, ITypeInfo**) ; HRESULT(__attribute__((__stdcall__)) *GetField)(IRecordInfo *, PVOID,LPCOLESTR,VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *GetFieldNoCopy)(IRecordInfo *, PVOID,LPCOLESTR,VARIANT*,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *PutField)(IRecordInfo *, ULONG,PVOID,LPCOLESTR, VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *PutFieldNoCopy)(IRecordInfo *, ULONG,PVOID,LPCOLESTR,VARIANT*) ; HRESULT(__attribute__((__stdcall__)) *GetFieldNames)(IRecordInfo *, ULONG*,BSTR*) ; BOOL(__attribute__((__stdcall__)) *IsMatchingType)(IRecordInfo *, IRecordInfo *) ; PVOID(__attribute__((__stdcall__)) *RecordCreate)(IRecordInfo *) ; HRESULT(__attribute__((__stdcall__)) *RecordCreateCopy)(IRecordInfo *, PVOID,PVOID*) ; HRESULT(__attribute__((__stdcall__)) *RecordDestroy)(IRecordInfo *, PVOID) ; }; # 761 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h" 3 extern const IID IID_ITypeMarshal; typedef struct ITypeMarshal { struct ITypeMarshalVtbl *lpVtbl; } ITypeMarshal; typedef struct ITypeMarshalVtbl ITypeMarshalVtbl; struct ITypeMarshalVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(ITypeMarshal *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(ITypeMarshal *) ; ULONG(__attribute__((__stdcall__)) *Release)(ITypeMarshal *) ; HRESULT(__attribute__((__stdcall__)) *Size)(ITypeMarshal *, PVOID,DWORD,PVOID,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Marshal)(ITypeMarshal *, PVOID,DWORD,PVOID,ULONG,BYTE*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Unmarshal)(ITypeMarshal *, PVOID,DWORD,ULONG,BYTE*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Free)(ITypeMarshal *, PVOID) ; }; # 159 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleauto.h" 2 3 typedef enum tagREGKIND { REGKIND_DEFAULT, REGKIND_REGISTER, REGKIND_NONE } REGKIND; typedef struct tagPARAMDATA { OLECHAR *szName; VARTYPE vt; } PARAMDATA,*LPPARAMDATA; typedef struct tagMETHODDATA { OLECHAR *szName; PARAMDATA *ppdata; DISPID dispid; UINT iMeth; CALLCONV cc; UINT cArgs; WORD wFlags; VARTYPE vtReturn; } METHODDATA,*LPMETHODDATA; typedef struct tagINTERFACEDATA { METHODDATA *pmethdata; UINT cMembers; } INTERFACEDATA,*LPINTERFACEDATA; typedef struct { SYSTEMTIME st; USHORT wDayOfYear; } UDATE; typedef struct { int cDig; unsigned long dwInFlags; unsigned long dwOutFlags; int cchUsed; int nBaseShift; int nPwr10; } NUMPARSE; extern BSTR __attribute__((__stdcall__)) SysAllocString(const OLECHAR*); extern int __attribute__((__stdcall__)) SysReAllocString(BSTR*,const OLECHAR*); extern BSTR __attribute__((__stdcall__)) SysAllocStringLen(const OLECHAR*,unsigned int); extern int __attribute__((__stdcall__)) SysReAllocStringLen(BSTR*,const OLECHAR*,unsigned int); extern void __attribute__((__stdcall__)) SysFreeString(BSTR); extern unsigned int __attribute__((__stdcall__)) SysStringLen(BSTR); extern unsigned int __attribute__((__stdcall__)) SysStringByteLen(BSTR); extern BSTR __attribute__((__stdcall__)) SysAllocStringByteLen(const char*,unsigned int); extern int __attribute__((__stdcall__)) DosDateTimeToVariantTime(unsigned short,unsigned short,double*); extern int __attribute__((__stdcall__)) VariantTimeToDosDateTime(double,unsigned short*,unsigned short*); extern int __attribute__((__stdcall__)) VariantTimeToSystemTime(double,LPSYSTEMTIME); extern int __attribute__((__stdcall__)) SystemTimeToVariantTime(LPSYSTEMTIME, double*); extern HRESULT __attribute__((__stdcall__)) VarDateFromUdate(UDATE*,ULONG,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromUdateEx(UDATE*,LCID,ULONG,DATE*); extern HRESULT __attribute__((__stdcall__)) VarUdateFromDate(DATE,ULONG,UDATE*); extern HRESULT __attribute__((__stdcall__)) SafeArrayAllocDescriptor(unsigned int,SAFEARRAY**); extern HRESULT __attribute__((__stdcall__)) SafeArrayAllocData(SAFEARRAY*); extern SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreate(VARTYPE,unsigned int,SAFEARRAYBOUND*); extern HRESULT __attribute__((__stdcall__)) SafeArrayDestroyDescriptor(SAFEARRAY*); extern HRESULT __attribute__((__stdcall__)) SafeArrayDestroyData(SAFEARRAY*); extern HRESULT __attribute__((__stdcall__)) SafeArrayDestroy(SAFEARRAY*); extern HRESULT __attribute__((__stdcall__)) SafeArrayRedim(SAFEARRAY*,SAFEARRAYBOUND*); extern unsigned int __attribute__((__stdcall__)) SafeArrayGetDim(SAFEARRAY*); extern unsigned int __attribute__((__stdcall__)) SafeArrayGetElemsize(SAFEARRAY*); extern HRESULT __attribute__((__stdcall__)) SafeArrayGetUBound(SAFEARRAY*,unsigned int,long*); extern HRESULT __attribute__((__stdcall__)) SafeArrayGetLBound(SAFEARRAY*,unsigned int,long*); extern HRESULT __attribute__((__stdcall__)) SafeArrayLock(SAFEARRAY*); extern HRESULT __attribute__((__stdcall__)) SafeArrayUnlock(SAFEARRAY*); extern HRESULT __attribute__((__stdcall__)) SafeArrayAccessData(SAFEARRAY*,void**); extern HRESULT __attribute__((__stdcall__)) SafeArrayUnaccessData(SAFEARRAY*); extern HRESULT __attribute__((__stdcall__)) SafeArrayGetElement(SAFEARRAY*,long*,void*); extern HRESULT __attribute__((__stdcall__)) SafeArrayPutElement(SAFEARRAY*,long*,void*); extern HRESULT __attribute__((__stdcall__)) SafeArrayCopy(SAFEARRAY*,SAFEARRAY**); extern HRESULT __attribute__((__stdcall__)) SafeArrayPtrOfIndex(SAFEARRAY*,long*,void**); extern SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreateVector(VARTYPE,LONG,ULONG); extern SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreateVectorEx(VARTYPE,LONG,ULONG,LPVOID); extern HRESULT __attribute__((__stdcall__)) SafeArrayAllocDescriptorEx(VARTYPE,UINT,SAFEARRAY**); extern HRESULT __attribute__((__stdcall__)) SafeArrayGetVartype(SAFEARRAY*,VARTYPE*); extern HRESULT __attribute__((__stdcall__)) SafeArraySetRecordInfo(SAFEARRAY*,IRecordInfo*); extern HRESULT __attribute__((__stdcall__)) SafeArrayGetRecordInfo(SAFEARRAY*,IRecordInfo**); extern HRESULT __attribute__((__stdcall__)) SafeArraySetIID(SAFEARRAY*,const GUID* const); extern HRESULT __attribute__((__stdcall__)) SafeArrayGetIID(SAFEARRAY*,GUID*); extern void __attribute__((__stdcall__)) VariantInit(VARIANTARG*); extern HRESULT __attribute__((__stdcall__)) VariantClear(VARIANTARG*); extern HRESULT __attribute__((__stdcall__)) VariantCopy(VARIANTARG*,VARIANTARG*); extern HRESULT __attribute__((__stdcall__)) VariantCopyInd(VARIANT*,VARIANTARG*); extern HRESULT __attribute__((__stdcall__)) VariantChangeType(VARIANTARG*,VARIANTARG*,unsigned short,VARTYPE); extern HRESULT __attribute__((__stdcall__)) VariantChangeTypeEx(VARIANTARG*,VARIANTARG*,LCID,unsigned short,VARTYPE); extern HRESULT __attribute__((__stdcall__)) VarUI1FromI2(short,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromI4(long,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromR4(float,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromR8(double,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromCy(CY,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromDate(DATE,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromStr(OLECHAR*,LCID,unsigned long,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromDisp(LPDISPATCH,LCID,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromBool(VARIANT_BOOL,unsigned char*); extern HRESULT __attribute__((__stdcall__)) VarI2FromUI1(unsigned char,short*); extern HRESULT __attribute__((__stdcall__)) VarI2FromI4(long,short*); extern HRESULT __attribute__((__stdcall__)) VarI2FromR4(float,short*); extern HRESULT __attribute__((__stdcall__)) VarI2FromR8(double,short*); extern HRESULT __attribute__((__stdcall__)) VarI2FromCy(CY cyIn,short*); extern HRESULT __attribute__((__stdcall__)) VarI2FromDate(DATE,short*); extern HRESULT __attribute__((__stdcall__)) VarI2FromStr(OLECHAR*,LCID,unsigned long,short*); extern HRESULT __attribute__((__stdcall__)) VarI2FromDisp(LPDISPATCH,LCID,short*); extern HRESULT __attribute__((__stdcall__)) VarI2FromBool(VARIANT_BOOL,short*); extern HRESULT __attribute__((__stdcall__)) VarI4FromUI1(unsigned char,long*); extern HRESULT __attribute__((__stdcall__)) VarI4FromI2(short,long*); extern HRESULT __attribute__((__stdcall__)) VarI4FromR4(float,long*); extern HRESULT __attribute__((__stdcall__)) VarI4FromR8(double,long*); extern HRESULT __attribute__((__stdcall__)) VarI4FromCy(CY,long*); extern HRESULT __attribute__((__stdcall__)) VarI4FromDate(DATE,long*); extern HRESULT __attribute__((__stdcall__)) VarI4FromStr(OLECHAR*,LCID,unsigned long,long*); extern HRESULT __attribute__((__stdcall__)) VarI4FromDisp(LPDISPATCH,LCID,long*); extern HRESULT __attribute__((__stdcall__)) VarI4FromBool(VARIANT_BOOL,long*); extern HRESULT __attribute__((__stdcall__)) VarR4FromUI1(unsigned char,float*); extern HRESULT __attribute__((__stdcall__)) VarR4FromI2(short,float*); extern HRESULT __attribute__((__stdcall__)) VarR4FromI4(long,float*); extern HRESULT __attribute__((__stdcall__)) VarR4FromR8(double,float*); extern HRESULT __attribute__((__stdcall__)) VarR4FromCy(CY,float*); extern HRESULT __attribute__((__stdcall__)) VarR4FromDate(DATE,float*); extern HRESULT __attribute__((__stdcall__)) VarR4FromStr(OLECHAR*,LCID,unsigned long,float*); extern HRESULT __attribute__((__stdcall__)) VarR4FromDisp(LPDISPATCH,LCID,float*); extern HRESULT __attribute__((__stdcall__)) VarR4FromBool(VARIANT_BOOL,float*); extern HRESULT __attribute__((__stdcall__)) VarR8FromUI1(unsigned char,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromI2(short,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromI4(long,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromR4(float,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromCy(CY,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromDate(DATE,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromStr(OLECHAR*,LCID,unsigned long,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromDisp(LPDISPATCH,LCID,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromBool(VARIANT_BOOL,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromDec(DECIMAL*,double*); extern HRESULT __attribute__((__stdcall__)) VarDateFromUI1(unsigned char,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromI2(short,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromI4(long,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromR4(float,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromR8(double,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromCy(CY,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromStr(OLECHAR*,LCID,unsigned long,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromDisp(LPDISPATCH,LCID,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromBool(VARIANT_BOOL,DATE*); extern HRESULT __attribute__((__stdcall__)) VarCyFromUI1(unsigned char,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromI2(short,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromI4(long,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromR4(float,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromR8(double,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromDate(DATE,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromStr(OLECHAR*,LCID,unsigned long,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromDisp(LPDISPATCH,LCID,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromBool(VARIANT_BOOL,CY*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromUI1(unsigned char,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromI2(short,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromI4(long,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromR4(float,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromR8(double,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromCy(CY,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromDate(DATE,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromDisp(LPDISPATCH,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromBool(VARIANT_BOOL,LCID,unsigned long,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromUI1(unsigned char,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromI2(short,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromI4(long,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromR4(float,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromR8(double,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromDate(DATE,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromCy(CY,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromStr(OLECHAR*,LCID,unsigned long,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromDisp(LPDISPATCH,LCID,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromR8(double,DECIMAL*); extern ULONG __attribute__((__stdcall__)) LHashValOfNameSysA(SYSKIND,LCID,const char*); extern ULONG __attribute__((__stdcall__)) LHashValOfNameSys(SYSKIND,LCID,const OLECHAR*); extern HRESULT __attribute__((__stdcall__)) LoadTypeLib(const OLECHAR*,LPTYPELIB*); extern HRESULT __attribute__((__stdcall__)) LoadTypeLibEx(LPCOLESTR,REGKIND,LPTYPELIB*); extern HRESULT __attribute__((__stdcall__)) LoadRegTypeLib(const GUID* const,WORD,WORD,LCID,LPTYPELIB*); extern HRESULT __attribute__((__stdcall__)) QueryPathOfRegTypeLib(const GUID* const,unsigned short,unsigned short,LCID,LPBSTR); extern HRESULT __attribute__((__stdcall__)) RegisterTypeLib(LPTYPELIB,OLECHAR*,OLECHAR*); extern HRESULT __attribute__((__stdcall__)) UnRegisterTypeLib(const GUID* const,WORD,WORD,LCID,SYSKIND); extern HRESULT __attribute__((__stdcall__)) CreateTypeLib(SYSKIND,const OLECHAR*,LPCREATETYPELIB*); extern HRESULT __attribute__((__stdcall__)) DispGetParam(DISPPARAMS*,UINT,VARTYPE,VARIANT*,UINT*); extern HRESULT __attribute__((__stdcall__)) DispGetIDsOfNames(LPTYPEINFO,OLECHAR**,UINT,DISPID*); extern HRESULT __attribute__((__stdcall__)) DispInvoke(void*,LPTYPEINFO,DISPID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*); extern HRESULT __attribute__((__stdcall__)) CreateDispTypeInfo(INTERFACEDATA*,LCID,LPTYPEINFO*); extern HRESULT __attribute__((__stdcall__)) CreateStdDispatch(IUnknown*,void*,LPTYPEINFO,IUnknown**); extern HRESULT __attribute__((__stdcall__)) RegisterActiveObject(IUnknown*,const CLSID* const,DWORD,DWORD*); extern HRESULT __attribute__((__stdcall__)) RevokeActiveObject(DWORD,void*); extern HRESULT __attribute__((__stdcall__)) GetActiveObject(const CLSID* const,void*,IUnknown**); extern HRESULT __attribute__((__stdcall__)) SetErrorInfo(unsigned long,LPERRORINFO); extern HRESULT __attribute__((__stdcall__)) GetErrorInfo(unsigned long,LPERRORINFO*); extern HRESULT __attribute__((__stdcall__)) CreateErrorInfo(LPCREATEERRORINFO*); extern unsigned long __attribute__((__stdcall__)) OaBuildVersion(void); extern HRESULT __attribute__((__stdcall__)) VectorFromBstr (BSTR, SAFEARRAY **); extern HRESULT __attribute__((__stdcall__)) BstrFromVector (SAFEARRAY *, BSTR *); extern HRESULT __attribute__((__stdcall__)) VarParseNumFromStr(OLECHAR*,LCID,ULONG,NUMPARSE*,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarNumFromParseNum(NUMPARSE*,BYTE*,ULONG,VARIANT*); extern HRESULT __attribute__((__stdcall__)) GetRecordInfoFromTypeInfo (ITypeInfo*,IRecordInfo**); extern HRESULT __attribute__((__stdcall__)) GetRecordInfoFromGuids (const GUID* const,ULONG,ULONG,LCID,const GUID* const,IRecordInfo**); extern HRESULT __attribute__((__stdcall__)) VarAdd(LPVARIANT, LPVARIANT, LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarSub(LPVARIANT, LPVARIANT, LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarMul(LPVARIANT, LPVARIANT, LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarDiv(LPVARIANT, LPVARIANT, LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarUI1FromI2(SHORT,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromI4(LONG,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromI8(LONG64,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromR4(FLOAT,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromR8(DOUBLE,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromDate(DATE,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromBool(VARIANT_BOOL,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromI1(signed char,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromUI2(USHORT,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromUI4(ULONG,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromUI8(ULONG64,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromStr(OLECHAR*,LCID,ULONG,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromCy(CY,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromDec(DECIMAL*,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarUI1FromDisp(IDispatch*,LCID,BYTE*); extern HRESULT __attribute__((__stdcall__)) VarI2FromUI1(BYTE,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromI4(LONG,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromI8(LONG64,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromR4(FLOAT,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromR8(DOUBLE,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromDate(DATE,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromBool(VARIANT_BOOL,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromI1(signed char,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromUI2(USHORT,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromUI4(ULONG,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromUI8(ULONG64,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromStr(OLECHAR*,LCID,ULONG,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromCy(CY,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromDec(DECIMAL*,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI2FromDisp(IDispatch*,LCID,SHORT*); extern HRESULT __attribute__((__stdcall__)) VarI4FromUI1(BYTE,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromI2(SHORT,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromI8(LONG64,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromR4(FLOAT,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromR8(DOUBLE,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromDate(DATE,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromBool(VARIANT_BOOL,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromI1(signed char,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromUI2(USHORT,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromUI4(ULONG,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromUI8(ULONG64,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromStr(OLECHAR*,LCID,ULONG,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromCy(CY,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromDec(DECIMAL*,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI4FromDisp(IDispatch*,LCID,LONG*); extern HRESULT __attribute__((__stdcall__)) VarI8FromUI1(BYTE,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromI2(SHORT,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromI4(LONG,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromR4(FLOAT,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromR8(DOUBLE,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromDate(DATE,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromStr(OLECHAR*,LCID,ULONG,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromBool(VARIANT_BOOL,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromI1(signed char,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromUI2(USHORT,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromUI4(ULONG,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromUI8(ULONG64,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromDec(DECIMAL *pdecIn,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromInt(INT intIn,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromCy(CY,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarI8FromDisp(IDispatch*,LCID,LONG64*); extern HRESULT __attribute__((__stdcall__)) VarR4FromUI1(BYTE,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromI2(SHORT,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromI4(LONG,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromI8(LONG64,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromR8(DOUBLE,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromDate(DATE,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromBool(VARIANT_BOOL,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromI1(signed char,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromUI2(USHORT,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromUI4(ULONG,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromUI8(ULONG64,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromStr(OLECHAR*,LCID,ULONG,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromCy(CY,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromDec(DECIMAL*,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR4FromDisp(IDispatch*,LCID,FLOAT*); extern HRESULT __attribute__((__stdcall__)) VarR8FromUI1(BYTE,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromI2(SHORT,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromI4(LONG,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromI8(LONG64,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromR4(FLOAT,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromDate(DATE,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromBool(VARIANT_BOOL,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromI1(signed char,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromUI2(USHORT,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromUI4(ULONG,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromUI8(ULONG64,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromStr(OLECHAR*,LCID,ULONG,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromCy(CY,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromDec(DECIMAL*,double*); extern HRESULT __attribute__((__stdcall__)) VarR8FromDisp(IDispatch*,LCID,double*); extern HRESULT __attribute__((__stdcall__)) VarDateFromUI1(BYTE,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromI2(SHORT,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromI4(LONG,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromI8(LONG64,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromR4(FLOAT,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromR8(DOUBLE,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromStr(OLECHAR*,LCID,ULONG,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromI1(signed char,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromUI2(USHORT,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromUI4(ULONG,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromUI8(ULONG64,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromBool(VARIANT_BOOL,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromCy(CY,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromDec(DECIMAL*,DATE*); extern HRESULT __attribute__((__stdcall__)) VarDateFromDisp(IDispatch*,LCID,DATE*); extern HRESULT __attribute__((__stdcall__)) VarCyFromUI1(BYTE,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromI2(SHORT sIn,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromI4(LONG,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromI8(LONG64,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromR4(FLOAT,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromR8(DOUBLE,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromDate(DATE,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromStr(OLECHAR*,LCID,ULONG,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromBool(VARIANT_BOOL,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromI1(signed char,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromUI2(USHORT,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromUI4(ULONG,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromUI8(ULONG64,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromDec(DECIMAL*,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromStr(OLECHAR*,LCID,ULONG,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyFromDisp(IDispatch*,LCID,CY*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromUI1(BYTE,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromI2(SHORT,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromI4(LONG,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromI8(LONG64,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromR4(FLOAT,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromR8(DOUBLE,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromDate(DATE,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromBool(VARIANT_BOOL,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromI1(signed char,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromUI2(USHORT,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromUI8(ULONG64,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromUI4(ULONG,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromCy(CY,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromDec(DECIMAL*,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBstrFromDisp(IDispatch*,LCID,ULONG,BSTR*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromUI1(BYTE,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromI2(SHORT,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromI4(LONG,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromI8(LONG64,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromR4(FLOAT,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromR8(DOUBLE,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromDate(DATE,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromStr(OLECHAR*,LCID,ULONG,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromI1(signed char,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromUI2(USHORT,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromUI4(ULONG,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromUI8(ULONG64,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromCy(CY,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromDec(DECIMAL*,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarBoolFromDisp(IDispatch*,LCID,VARIANT_BOOL*); extern HRESULT __attribute__((__stdcall__)) VarI1FromUI1(BYTE,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromI2(SHORT,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromI4(LONG,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromI8(LONG64,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromR4(FLOAT,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromR8(DOUBLE,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromDate(DATE,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromStr(OLECHAR*,LCID,ULONG,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromBool(VARIANT_BOOL,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromUI2(USHORT,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromUI4(ULONG,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromUI8(ULONG64,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromCy(CY,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromDec(DECIMAL*,signed char*); extern HRESULT __attribute__((__stdcall__)) VarI1FromDisp(IDispatch*,LCID,signed char*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromUI1(BYTE,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromI2(SHORT,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromI4(LONG,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromI8(LONG64,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromR4(FLOAT,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromR8(DOUBLE,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromDate(DATE,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromStr(OLECHAR*,LCID,ULONG,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromBool(VARIANT_BOOL,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromI1(signed char,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromUI4(ULONG,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromUI8(ULONG64,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromCy(CY,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromDec(DECIMAL*,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI2FromDisp(IDispatch*,LCID,USHORT*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromStr(OLECHAR*,LCID,ULONG,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromUI1(BYTE,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromI2(SHORT,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromI4(LONG,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromI8(LONG64,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromR4(FLOAT,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromR8(DOUBLE,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromDate(DATE,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromBool(VARIANT_BOOL,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromI1(signed char,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromUI2(USHORT,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromUI8(ULONG64,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromCy(CY,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromDec(DECIMAL*,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI4FromDisp(IDispatch*,LCID,ULONG*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromUI1(BYTE,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromI2(SHORT,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromI4(LONG,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromI8(LONG64,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromR4(FLOAT,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromR8(DOUBLE,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromDate(DATE,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromStr(OLECHAR*,LCID,ULONG,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromBool(VARIANT_BOOL,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromI1(signed char,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromUI2(USHORT,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromUI4(ULONG,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromDec(DECIMAL*,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromInt(INT,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromCy(CY,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarUI8FromDisp(IDispatch*,LCID,ULONG64*); extern HRESULT __attribute__((__stdcall__)) VarDecFromUI1(BYTE,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromI2(SHORT,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromI4(LONG,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromI8(LONG64,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromR4(FLOAT,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromR8(DOUBLE,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromDate(DATE,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromStr(OLECHAR*,LCID,ULONG,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromBool(VARIANT_BOOL,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromI1(signed char,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromUI2(USHORT,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromUI4(ULONG,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromUI8(ULONG64,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromCy(CY,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFromDisp(IDispatch*,LCID,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecNeg(const DECIMAL*,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarR4CmpR8(float,double); extern HRESULT __attribute__((__stdcall__)) VarR8Pow(double,double,double*); extern HRESULT __attribute__((__stdcall__)) VarR8Round(double,int,double*); extern HRESULT __attribute__((__stdcall__)) VarDecAbs(const DECIMAL*,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecAdd(const DECIMAL*,const DECIMAL*,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecCmp(const DECIMAL*,const DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecCmpR8(const DECIMAL*,DOUBLE); extern HRESULT __attribute__((__stdcall__)) VarDecDiv(const DECIMAL*,const DECIMAL*,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecFix(const DECIMAL*,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecInt(const DECIMAL*,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecMul(const DECIMAL*,const DECIMAL*,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecRound(const DECIMAL*,int,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarDecSub(const DECIMAL*,const DECIMAL*,DECIMAL*); extern HRESULT __attribute__((__stdcall__)) VarCyAbs(const CY,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyAdd(const CY,const CY,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyCmp(const CY,const CY); extern HRESULT __attribute__((__stdcall__)) VarCyCmpR8(const CY,DOUBLE); extern HRESULT __attribute__((__stdcall__)) VarCyFix(const CY,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyInt(const CY,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyMul(const CY,CY,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyMulI4(const CY,LONG,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyMulI8(const CY,LONG64,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyNeg(const CY,CY*); extern HRESULT __attribute__((__stdcall__)) VarCyRound(const CY,INT,CY*); extern HRESULT __attribute__((__stdcall__)) VarCySub(const CY,const CY,CY*); extern HRESULT __attribute__((__stdcall__)) VarAdd(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarAnd(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarCat(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarDiv(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarEqv(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarIdiv(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarImp(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarMod(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarMul(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarOr(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarPow(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarSub(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarXor(LPVARIANT,LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarAbs(LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarFix(LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarInt(LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarNeg(LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarNot(LPVARIANT,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarRound(LPVARIANT,int,LPVARIANT); extern HRESULT __attribute__((__stdcall__)) VarCmp(LPVARIANT,LPVARIANT,LCID,ULONG); extern HRESULT __attribute__((__stdcall__)) VarBstrCmp(BSTR,BSTR,LCID,ULONG); extern HRESULT __attribute__((__stdcall__)) VarBstrCat(BSTR,BSTR,BSTR*); #pragma pack(pop) # 12 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h" 2 3 # 29 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 1 3 # 5 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 # 15 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 typedef struct IParseDisplayName *LPPARSEDISPLAYNAME; typedef struct IOleContainer *LPOLECONTAINER; typedef struct IOleClientSite *LPOLECLIENTSITE; typedef struct IOleObject *LPOLEOBJECT; typedef struct IDropTarget *LPDROPTARGET; typedef struct IDropSource *LPDROPSOURCE; typedef struct IEnumOleUndoUnits *LPENUMOLEUNDOUNITS; typedef struct IEnumOLEVERB *LPENUMOLEVERB; typedef struct IOleWindow *LPOLEWINDOW; typedef struct IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW; typedef struct IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT; typedef struct IOleInPlaceFrame *LPOLEINPLACEFRAME; typedef struct IOleAdviseHolder *LPOLEADVISEHOLDER; typedef struct IViewObject *LPVIEWOBJECT; typedef struct IViewObject2 *LPVIEWOBJECT2; typedef struct IOleCache *LPOLECACHE; typedef struct IOleCache2 *LPOLECACHE2; typedef struct IOleCacheControl *LPOLECACHECONTROL; typedef enum tagBINDSPEED { BINDSPEED_INDEFINITE=1, BINDSPEED_MODERATE, BINDSPEED_IMMEDIATE } BINDSPEED; typedef enum tagOLEWHICHMK { OLEWHICHMK_CONTAINER=1, OLEWHICHMK_OBJREL, OLEWHICHMK_OBJFULL } OLEWHICHMK; typedef enum tagOLEGETMONIKER { OLEGETMONIKER_ONLYIFTHERE=1, OLEGETMONIKER_FORCEASSIGN, OLEGETMONIKER_UNASSIGN, OLEGETMONIKER_TEMPFORUSER } OLEGETMONIKER; typedef enum tagUSERCLASSTYPE { USERCLASSTYPE_FULL=1, USERCLASSTYPE_SHORT, USERCLASSTYPE_APPNAME } USERCLASSTYPE; __extension__ typedef enum tagDROPEFFECT { DROPEFFECT_NONE=0, DROPEFFECT_COPY=1, DROPEFFECT_MOVE=2, DROPEFFECT_LINK=4, DROPEFFECT_SCROLL=0x80000000 } DROPEFFECT; typedef struct tagOleMenuGroupWidths { LONG width[6]; } OLEMENUGROUPWIDTHS,*LPOLEMENUGROUPWIDTHS; typedef HGLOBAL HOLEMENU; typedef enum tagOLECLOSE { OLECLOSE_SAVEIFDIRTY, OLECLOSE_NOSAVE, OLECLOSE_PROMPTSAVE } OLECLOSE; typedef struct tagOLEVERB { LONG lVerb; LPWSTR lpszVerbName; DWORD fuFlags; DWORD grfAttribs; } OLEVERB,*LPOLEVERB; typedef RECT BORDERWIDTHS; typedef LPRECT LPBORDERWIDTHS; typedef LPCRECT LPCBORDERWIDTHS; typedef struct tagOIFI { UINT cb; BOOL fMDIApp; HWND hwndFrame; HACCEL haccel; UINT cAccelEntries; }OLEINPLACEFRAMEINFO,*LPOLEINPLACEFRAMEINFO; typedef struct IEnumOLEVERB { struct IEnumOLEVERBVtbl *lpVtbl; } IEnumOLEVERB; typedef struct IEnumOLEVERBVtbl IEnumOLEVERBVtbl; struct IEnumOLEVERBVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IEnumOLEVERB*, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IEnumOLEVERB*) ; ULONG(__attribute__((__stdcall__)) *Release)(IEnumOLEVERB*) ; HRESULT(__attribute__((__stdcall__)) *Next)(IEnumOLEVERB*, ULONG,OLEVERB*,ULONG*) ; HRESULT(__attribute__((__stdcall__)) *Skip)(IEnumOLEVERB*, ULONG) ; HRESULT(__attribute__((__stdcall__)) *Reset)(IEnumOLEVERB*) ; HRESULT(__attribute__((__stdcall__)) *Clone)(IEnumOLEVERB*, IEnumOLEVERB**) ; }; typedef IEnumOLEVERB IEnumOleVerb; extern const IID IID_IParseDisplayName; typedef struct IParseDisplayName { struct IParseDisplayNameVtbl *lpVtbl; } IParseDisplayName; typedef struct IParseDisplayNameVtbl IParseDisplayNameVtbl; struct IParseDisplayNameVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IParseDisplayName *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IParseDisplayName *) ; ULONG(__attribute__((__stdcall__)) *Release)(IParseDisplayName *) ; HRESULT(__attribute__((__stdcall__)) *ParseDisplayName)(IParseDisplayName *, IBindCtx*,LPOLESTR,ULONG*,IMoniker**) ; }; # 114 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleContainer; typedef struct IOleContainer { struct IOleContainerVtbl *lpVtbl; } IOleContainer; typedef struct IOleContainerVtbl IOleContainerVtbl; struct IOleContainerVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleContainer *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleContainer *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleContainer *) ; HRESULT(__attribute__((__stdcall__)) *ParseDisplayName)(IOleContainer *, IBindCtx*,LPOLESTR,ULONG*,IMoniker**) ; HRESULT(__attribute__((__stdcall__)) *EnumObjects)(IOleContainer *, DWORD,IEnumUnknown**) ; HRESULT(__attribute__((__stdcall__)) *LockContainer)(IOleContainer *, BOOL) ; }; extern const IID IID_IOleItemContainer; typedef struct IOleItemContainer { struct IOleItemContainerVtbl *lpVtbl; } IOleItemContainer; typedef struct IOleItemContainerVtbl IOleItemContainerVtbl; struct IOleItemContainerVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleItemContainer *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleItemContainer *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleItemContainer *) ; HRESULT(__attribute__((__stdcall__)) *ParseDisplayName)(IOleItemContainer *, IBindCtx*,LPOLESTR,ULONG*,IMoniker**) ; HRESULT(__attribute__((__stdcall__)) *EnumObjects)(IOleItemContainer *, DWORD,IEnumUnknown**) ; HRESULT(__attribute__((__stdcall__)) *LockContainer)(IOleItemContainer *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *GetObjectA)(IOleItemContainer *, LPOLESTR,DWORD,IBindCtx*,const IID* const,void**) ; HRESULT(__attribute__((__stdcall__)) *GetObjectStorage)(IOleItemContainer *, LPOLESTR,IBindCtx*,const IID* const,void**) ; HRESULT(__attribute__((__stdcall__)) *IsRunning)(IOleItemContainer *, LPOLESTR) ; }; # 155 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleClientSite; typedef struct IOleClientSite { struct IOleClientSiteVtbl *lpVtbl; } IOleClientSite; typedef struct IOleClientSiteVtbl IOleClientSiteVtbl; struct IOleClientSiteVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleClientSite *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleClientSite *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleClientSite *) ; HRESULT(__attribute__((__stdcall__)) *SaveObject)(IOleClientSite *) ; HRESULT(__attribute__((__stdcall__)) *GetMoniker)(IOleClientSite *, DWORD,DWORD,LPMONIKER*) ; HRESULT(__attribute__((__stdcall__)) *GetContainer)(IOleClientSite *, LPOLECONTAINER*) ; HRESULT(__attribute__((__stdcall__)) *ShowObject)(IOleClientSite *) ; HRESULT(__attribute__((__stdcall__)) *OnShowWindow)(IOleClientSite *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *RequestNewObjectLayout)(IOleClientSite *) ; }; # 183 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleObject; typedef struct IOleObject { struct IOleObjectVtbl *lpVtbl; } IOleObject; typedef struct IOleObjectVtbl IOleObjectVtbl; struct IOleObjectVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleObject *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleObject *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleObject *) ; HRESULT(__attribute__((__stdcall__)) *SetClientSite)(IOleObject *, LPOLECLIENTSITE) ; HRESULT(__attribute__((__stdcall__)) *GetClientSite)(IOleObject *, LPOLECLIENTSITE*) ; HRESULT(__attribute__((__stdcall__)) *SetHostNames)(IOleObject *, LPCOLESTR,LPCOLESTR) ; HRESULT(__attribute__((__stdcall__)) *Close)(IOleObject *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *SetMoniker)(IOleObject *, DWORD,LPMONIKER) ; HRESULT(__attribute__((__stdcall__)) *GetMoniker)(IOleObject *, DWORD,DWORD,LPMONIKER*) ; HRESULT(__attribute__((__stdcall__)) *InitFromData)(IOleObject *, LPDATAOBJECT,BOOL,DWORD) ; HRESULT(__attribute__((__stdcall__)) *GetClipboardData)(IOleObject *, DWORD,LPDATAOBJECT*) ; HRESULT(__attribute__((__stdcall__)) *DoVerb)(IOleObject *, LONG,LPMSG,LPOLECLIENTSITE,LONG,HWND,LPCRECT) ; HRESULT(__attribute__((__stdcall__)) *EnumVerbs)(IOleObject *, LPENUMOLEVERB*) ; HRESULT(__attribute__((__stdcall__)) *Update)(IOleObject *) ; HRESULT(__attribute__((__stdcall__)) *IsUpToDate)(IOleObject *) ; HRESULT(__attribute__((__stdcall__)) *GetUserClassID)(IOleObject *, LPCLSID) ; HRESULT(__attribute__((__stdcall__)) *GetUserType)(IOleObject *, DWORD,LPOLESTR*) ; HRESULT(__attribute__((__stdcall__)) *SetExtent)(IOleObject *, DWORD,SIZEL*) ; HRESULT(__attribute__((__stdcall__)) *GetExtent)(IOleObject *, DWORD,SIZEL*) ; HRESULT(__attribute__((__stdcall__)) *Advise)(IOleObject *, LPADVISESINK,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *Unadvise)(IOleObject *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *EnumAdvise)(IOleObject *, LPENUMSTATDATA*) ; HRESULT(__attribute__((__stdcall__)) *GetMiscStatus)(IOleObject *, DWORD,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *SetColorScheme)(IOleObject *, LPLOGPALETTE) ; }; # 241 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleWindow; typedef struct IOleWindow { struct IOleWindowVtbl *lpVtbl; } IOleWindow; typedef struct IOleWindowVtbl IOleWindowVtbl; struct IOleWindowVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleWindow *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleWindow *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleWindow *) ; HRESULT(__attribute__((__stdcall__)) *GetWindow)(IOleWindow *, HWND*) ; HRESULT(__attribute__((__stdcall__)) *ContextSensitiveHelp)(IOleWindow *, BOOL) ; }; # 261 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleInPlaceUIWindow; typedef struct IOleInPlaceUIWindow { struct IOleInPlaceUIWindowVtbl *lpVtbl; } IOleInPlaceUIWindow; typedef struct IOleInPlaceUIWindowVtbl IOleInPlaceUIWindowVtbl; struct IOleInPlaceUIWindowVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleInPlaceUIWindow *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleInPlaceUIWindow *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleInPlaceUIWindow *) ; HRESULT(__attribute__((__stdcall__)) *GetWindow)(IOleInPlaceUIWindow *, HWND*) ; HRESULT(__attribute__((__stdcall__)) *ContextSensitiveHelp)(IOleInPlaceUIWindow *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *GetBorder)(IOleInPlaceUIWindow *, LPRECT) ; HRESULT(__attribute__((__stdcall__)) *RequestBorderSpace)(IOleInPlaceUIWindow *, LPCBORDERWIDTHS) ; HRESULT(__attribute__((__stdcall__)) *SetBorderSpace)(IOleInPlaceUIWindow *, LPCBORDERWIDTHS) ; HRESULT(__attribute__((__stdcall__)) *SetActiveObject)(IOleInPlaceUIWindow *, LPOLEINPLACEACTIVEOBJECT,LPCOLESTR) ; }; extern const IID IID_IOleInPlaceObject; typedef struct IOleInPlaceObject { struct IOleInPlaceObjectVtbl *lpVtbl; } IOleInPlaceObject; typedef struct IOleInPlaceObjectVtbl IOleInPlaceObjectVtbl; struct IOleInPlaceObjectVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleInPlaceObject *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleInPlaceObject *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleInPlaceObject *) ; HRESULT(__attribute__((__stdcall__)) *GetWindow)(IOleInPlaceObject *, HWND*) ; HRESULT(__attribute__((__stdcall__)) *ContextSensitiveHelp)(IOleInPlaceObject *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *InPlaceDeactivate)(IOleInPlaceObject *) ; HRESULT(__attribute__((__stdcall__)) *UIDeactivate)(IOleInPlaceObject *) ; HRESULT(__attribute__((__stdcall__)) *SetObjectRects)(IOleInPlaceObject *, LPCRECT,LPCRECT) ; HRESULT(__attribute__((__stdcall__)) *ReactivateAndUndo)(IOleInPlaceObject *) ; }; extern const IID IID_IOleInPlaceActiveObject; typedef struct IOleInPlaceActiveObject { struct IOleInPlaceActiveObjectVtbl *lpVtbl; } IOleInPlaceActiveObject; typedef struct IOleInPlaceActiveObjectVtbl IOleInPlaceActiveObjectVtbl; struct IOleInPlaceActiveObjectVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleInPlaceActiveObject *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleInPlaceActiveObject *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleInPlaceActiveObject *) ; HRESULT(__attribute__((__stdcall__)) *GetWindow)(IOleInPlaceActiveObject *, HWND*) ; HRESULT(__attribute__((__stdcall__)) *ContextSensitiveHelp)(IOleInPlaceActiveObject *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *TranslateAcceleratorA)(IOleInPlaceActiveObject *, LPMSG) ; HRESULT(__attribute__((__stdcall__)) *OnFrameWindowActivate)(IOleInPlaceActiveObject *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *OnDocWindowActivate)(IOleInPlaceActiveObject *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *ResizeBorder)(IOleInPlaceActiveObject *, LPCRECT,LPOLEINPLACEUIWINDOW,BOOL) ; HRESULT(__attribute__((__stdcall__)) *EnableModeless)(IOleInPlaceActiveObject *, BOOL) ; }; extern const IID IID_IOleInPlaceFrame; typedef struct IOleInPlaceFrame { struct IOleInPlaceFrameVtbl *lpVtbl; } IOleInPlaceFrame; typedef struct IOleInPlaceFrameVtbl IOleInPlaceFrameVtbl; struct IOleInPlaceFrameVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleInPlaceFrame *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleInPlaceFrame *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleInPlaceFrame *) ; HRESULT(__attribute__((__stdcall__)) *GetWindow)(IOleInPlaceFrame *, HWND*) ; HRESULT(__attribute__((__stdcall__)) *ContextSensitiveHelp)(IOleInPlaceFrame *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *GetBorder)(IOleInPlaceFrame *, LPRECT) ; HRESULT(__attribute__((__stdcall__)) *RequestBorderSpace)(IOleInPlaceFrame *, LPCBORDERWIDTHS) ; HRESULT(__attribute__((__stdcall__)) *SetBorderSpace)(IOleInPlaceFrame *, LPCBORDERWIDTHS) ; HRESULT(__attribute__((__stdcall__)) *SetActiveObject)(IOleInPlaceFrame *, LPOLEINPLACEACTIVEOBJECT,LPCOLESTR) ; HRESULT(__attribute__((__stdcall__)) *InsertMenus)(IOleInPlaceFrame *, HMENU,LPOLEMENUGROUPWIDTHS) ; HRESULT(__attribute__((__stdcall__)) *SetMenu)(IOleInPlaceFrame *, HMENU,HOLEMENU,HWND) ; HRESULT(__attribute__((__stdcall__)) *RemoveMenus)(IOleInPlaceFrame *, HMENU) ; HRESULT(__attribute__((__stdcall__)) *SetStatusText)(IOleInPlaceFrame *, LPCOLESTR) ; HRESULT(__attribute__((__stdcall__)) *EnableModeless)(IOleInPlaceFrame *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *TranslateAcceleratorA)(IOleInPlaceFrame *, LPMSG,WORD) ; }; # 350 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleInPlaceSite; typedef struct IOleInPlaceSite { struct IOleInPlaceSiteVtbl *lpVtbl; } IOleInPlaceSite; typedef struct IOleInPlaceSiteVtbl IOleInPlaceSiteVtbl; struct IOleInPlaceSiteVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleInPlaceSite *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleInPlaceSite *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleInPlaceSite *) ; HRESULT(__attribute__((__stdcall__)) *GetWindow)(IOleInPlaceSite *, HWND*) ; HRESULT(__attribute__((__stdcall__)) *ContextSensitiveHelp)(IOleInPlaceSite *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *CanInPlaceActivate)(IOleInPlaceSite *) ; HRESULT(__attribute__((__stdcall__)) *OnInPlaceActivate)(IOleInPlaceSite *) ; HRESULT(__attribute__((__stdcall__)) *OnUIActivate)(IOleInPlaceSite *) ; HRESULT(__attribute__((__stdcall__)) *GetWindowContext)(IOleInPlaceSite *, IOleInPlaceFrame**,IOleInPlaceUIWindow**,LPRECT,LPRECT,LPOLEINPLACEFRAMEINFO) ; HRESULT(__attribute__((__stdcall__)) *Scroll)(IOleInPlaceSite *, SIZE) ; HRESULT(__attribute__((__stdcall__)) *OnUIDeactivate)(IOleInPlaceSite *, BOOL) ; HRESULT(__attribute__((__stdcall__)) *OnInPlaceDeactivate)(IOleInPlaceSite *) ; HRESULT(__attribute__((__stdcall__)) *DiscardUndoState)(IOleInPlaceSite *) ; HRESULT(__attribute__((__stdcall__)) *DeactivateAndUndo)(IOleInPlaceSite *) ; HRESULT(__attribute__((__stdcall__)) *OnPosRectChange)(IOleInPlaceSite *, LPCRECT) ; }; extern const IID IID_IOleAdviseHolder; typedef struct IOleAdviseHolder { struct IOleAdviseHolderVtbl *lpVtbl; } IOleAdviseHolder; typedef struct IOleAdviseHolderVtbl IOleAdviseHolderVtbl; struct IOleAdviseHolderVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleAdviseHolder *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleAdviseHolder *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleAdviseHolder *) ; HRESULT(__attribute__((__stdcall__)) *Advise)(IOleAdviseHolder *, LPADVISESINK,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *Unadvise)(IOleAdviseHolder *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *EnumAdvise)(IOleAdviseHolder *, LPENUMSTATDATA*) ; HRESULT(__attribute__((__stdcall__)) *SendOnRename)(IOleAdviseHolder *, LPMONIKER) ; HRESULT(__attribute__((__stdcall__)) *SendOnSave)(IOleAdviseHolder *) ; HRESULT(__attribute__((__stdcall__)) *SendOnClose)(IOleAdviseHolder *) ; }; # 400 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IDropSource; typedef struct IDropSource { struct IDropSourceVtbl *lpVtbl; } IDropSource; typedef struct IDropSourceVtbl IDropSourceVtbl; struct IDropSourceVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IDropSource *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IDropSource *) ; ULONG(__attribute__((__stdcall__)) *Release)(IDropSource *) ; HRESULT(__attribute__((__stdcall__)) *QueryContinueDrag)(IDropSource *, BOOL,DWORD) ; HRESULT(__attribute__((__stdcall__)) *GiveFeedback)(IDropSource *, DWORD) ; }; # 420 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IDropTarget; typedef struct IDropTarget { struct IDropTargetVtbl *lpVtbl; } IDropTarget; typedef struct IDropTargetVtbl IDropTargetVtbl; struct IDropTargetVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IDropTarget *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IDropTarget *) ; ULONG(__attribute__((__stdcall__)) *Release)(IDropTarget *) ; HRESULT(__attribute__((__stdcall__)) *DragEnter)(IDropTarget *, LPDATAOBJECT,DWORD,POINTL,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *DragOver)(IDropTarget *, DWORD,POINTL,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *DragLeave)(IDropTarget *) ; HRESULT(__attribute__((__stdcall__)) *Drop)(IDropTarget *, LPDATAOBJECT,DWORD,POINTL,PDWORD) ; }; # 444 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 typedef BOOL(__attribute__((__stdcall__)) *__IView_pfncont)(DWORD); extern const IID IID_IViewObject; typedef struct IViewObject { struct IViewObjectVtbl *lpVtbl; } IViewObject; typedef struct IViewObjectVtbl IViewObjectVtbl; struct IViewObjectVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IViewObject *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IViewObject *) ; ULONG(__attribute__((__stdcall__)) *Release)(IViewObject *) ; HRESULT(__attribute__((__stdcall__)) *Draw)(IViewObject *, DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,HDC,LPCRECTL,LPCRECTL,__IView_pfncont pfnContinue,DWORD) ; HRESULT(__attribute__((__stdcall__)) *GetColorSet)(IViewObject *, DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,LPLOGPALETTE*) ; HRESULT(__attribute__((__stdcall__)) *Freeze)(IViewObject *, DWORD,LONG,PVOID,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *Unfreeze)(IViewObject *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *SetAdvise)(IViewObject *, DWORD,DWORD,IAdviseSink*) ; HRESULT(__attribute__((__stdcall__)) *GetAdvise)(IViewObject *, PDWORD,PDWORD,IAdviseSink**) ; }; # 473 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IViewObject2; typedef struct IViewObject2 { struct IViewObject2Vtbl *lpVtbl; } IViewObject2; typedef struct IViewObject2Vtbl IViewObject2Vtbl; struct IViewObject2Vtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IViewObject2 *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IViewObject2 *) ; ULONG(__attribute__((__stdcall__)) *Release)(IViewObject2 *) ; HRESULT(__attribute__((__stdcall__)) *Draw)(IViewObject2 *, DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,HDC,LPCRECTL,LPCRECTL,__IView_pfncont pfnContinue,DWORD) ; HRESULT(__attribute__((__stdcall__)) *GetColorSet)(IViewObject2 *, DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,LPLOGPALETTE*) ; HRESULT(__attribute__((__stdcall__)) *Freeze)(IViewObject2 *, DWORD,LONG,PVOID,PDWORD) ; HRESULT(__attribute__((__stdcall__)) *Unfreeze)(IViewObject2 *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *SetAdvise)(IViewObject2 *, DWORD,DWORD,IAdviseSink*) ; HRESULT(__attribute__((__stdcall__)) *GetAdvise)(IViewObject2 *, PDWORD,PDWORD,IAdviseSink**) ; HRESULT(__attribute__((__stdcall__)) *GetExtent)(IViewObject2 *, DWORD,LONG,DVTARGETDEVICE*,LPSIZEL) ; }; # 503 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleCache; typedef struct IOleCache { struct IOleCacheVtbl *lpVtbl; } IOleCache; typedef struct IOleCacheVtbl IOleCacheVtbl; struct IOleCacheVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleCache *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleCache *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleCache *) ; HRESULT(__attribute__((__stdcall__)) *Cache)(IOleCache *, FORMATETC*,DWORD,DWORD*) ; HRESULT(__attribute__((__stdcall__)) *Uncache)(IOleCache *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *EnumCache)(IOleCache *, IEnumSTATDATA**); HRESULT(__attribute__((__stdcall__)) *InitCache)(IOleCache *, LPDATAOBJECT); HRESULT(__attribute__((__stdcall__)) *SetData)(IOleCache *, FORMATETC*,STGMEDIUM*,BOOL); }; # 529 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleCache2; typedef struct IOleCache2 { struct IOleCache2Vtbl *lpVtbl; } IOleCache2; typedef struct IOleCache2Vtbl IOleCache2Vtbl; struct IOleCache2Vtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleCache2 *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleCache2 *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleCache2 *) ; HRESULT(__attribute__((__stdcall__)) *Cache)(IOleCache2 *, FORMATETC*,DWORD,DWORD*) ; HRESULT(__attribute__((__stdcall__)) *Uncache)(IOleCache2 *, DWORD) ; HRESULT(__attribute__((__stdcall__)) *EnumCache)(IOleCache2 *, IEnumSTATDATA**) ; HRESULT(__attribute__((__stdcall__)) *InitCache)(IOleCache2 *, LPDATAOBJECT) ; HRESULT(__attribute__((__stdcall__)) *SetData)(IOleCache2 *, FORMATETC*,STGMEDIUM*,BOOL) ; HRESULT(__attribute__((__stdcall__)) *UpdateCache)(IOleCache2 *, LPDATAOBJECT,DWORD,LPVOID) ; HRESULT(__attribute__((__stdcall__)) *DiscardCache)(IOleCache2 *, DWORD) ; }; # 559 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleidl.h" 3 extern const IID IID_IOleCacheControl; typedef struct IOleCacheControl { struct IOleCacheControlVtbl *lpVtbl; } IOleCacheControl; typedef struct IOleCacheControlVtbl IOleCacheControlVtbl; struct IOleCacheControlVtbl { HRESULT(__attribute__((__stdcall__)) *QueryInterface)(IOleCacheControl *, const IID* const,PVOID*) ; ULONG(__attribute__((__stdcall__)) *AddRef)(IOleCacheControl *) ; ULONG(__attribute__((__stdcall__)) *Release)(IOleCacheControl *) ; HRESULT(__attribute__((__stdcall__)) *OnRun)(IOleCacheControl *, LPDATAOBJECT) ; HRESULT(__attribute__((__stdcall__)) *OnStop)(IOleCacheControl *) ; }; # 30 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h" 2 3 typedef struct _OLESTREAMVTBL *LPOLESTREAMVTBL; typedef struct _OLESTREAM { LPOLESTREAMVTBL lpstbl; } OLESTREAM,*LPOLESTREAM; typedef struct _OLESTREAMVTBL { DWORD (__attribute__((__stdcall__))* Get)(LPOLESTREAM,void*,DWORD); DWORD (__attribute__((__stdcall__))* Put)(LPOLESTREAM,const void*,DWORD); } OLESTREAMVTBL; extern HRESULT __attribute__((__stdcall__)) CreateDataAdviseHolder(LPDATAADVISEHOLDER*); extern DWORD __attribute__((__stdcall__)) OleBuildVersion(void); extern HRESULT __attribute__((__stdcall__)) ReadClassStg(LPSTORAGE,CLSID*); extern HRESULT __attribute__((__stdcall__)) WriteClassStg(LPSTORAGE,const CLSID* const); extern HRESULT __attribute__((__stdcall__)) ReadClassStm(LPSTREAM,CLSID*); extern HRESULT __attribute__((__stdcall__)) WriteClassStm(LPSTREAM,const CLSID* const); extern HRESULT __attribute__((__stdcall__)) WriteFmtUserTypeStg(LPSTORAGE,CLIPFORMAT,LPOLESTR); extern HRESULT __attribute__((__stdcall__)) ReadFmtUserTypeStg(LPSTORAGE,CLIPFORMAT*,LPOLESTR*); extern HRESULT __attribute__((__stdcall__)) OleInitialize(PVOID); extern void __attribute__((__stdcall__)) OleUninitialize(void); extern HRESULT __attribute__((__stdcall__)) OleQueryLinkFromData(LPDATAOBJECT); extern HRESULT __attribute__((__stdcall__)) OleQueryCreateFromData(LPDATAOBJECT); extern HRESULT __attribute__((__stdcall__)) OleCreate(const CLSID* const,const IID* const,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleCreateFromData(LPDATAOBJECT,const IID* const,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleCreateLinkFromData(LPDATAOBJECT,const IID* const,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleCreateStaticFromData(LPDATAOBJECT,const IID* const,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleCreateLink(LPMONIKER,const IID* const,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleCreateLinkToFile(LPCOLESTR,const IID* const,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleCreateFromFile(const CLSID* const,LPCOLESTR,const IID* const,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleLoad(LPSTORAGE,const IID* const,LPOLECLIENTSITE,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleSave(LPPERSISTSTORAGE,LPSTORAGE,BOOL); extern HRESULT __attribute__((__stdcall__)) OleLoadFromStream(LPSTREAM,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleSaveToStream(LPPERSISTSTREAM,LPSTREAM); extern HRESULT __attribute__((__stdcall__)) OleSetContainedObject(LPUNKNOWN,BOOL); extern HRESULT __attribute__((__stdcall__)) OleNoteObjectVisible(LPUNKNOWN,BOOL); extern HRESULT __attribute__((__stdcall__)) RegisterDragDrop(HWND,LPDROPTARGET); extern HRESULT __attribute__((__stdcall__)) RevokeDragDrop(HWND); extern HRESULT __attribute__((__stdcall__)) DoDragDrop(LPDATAOBJECT,LPDROPSOURCE,DWORD,PDWORD); extern HRESULT __attribute__((__stdcall__)) OleSetClipboard(LPDATAOBJECT); extern HRESULT __attribute__((__stdcall__)) OleGetClipboard(LPDATAOBJECT*); extern HRESULT __attribute__((__stdcall__)) OleFlushClipboard(void); extern HRESULT __attribute__((__stdcall__)) OleIsCurrentClipboard(LPDATAOBJECT); extern HOLEMENU __attribute__((__stdcall__)) OleCreateMenuDescriptor(HMENU,LPOLEMENUGROUPWIDTHS); extern HRESULT __attribute__((__stdcall__)) OleSetMenuDescriptor(HOLEMENU,HWND,HWND,LPOLEINPLACEFRAME,LPOLEINPLACEACTIVEOBJECT); extern HRESULT __attribute__((__stdcall__)) OleDestroyMenuDescriptor(HOLEMENU); extern HRESULT __attribute__((__stdcall__)) OleTranslateAccelerator(LPOLEINPLACEFRAME,LPOLEINPLACEFRAMEINFO,LPMSG); extern HANDLE __attribute__((__stdcall__)) OleDuplicateData(HANDLE,CLIPFORMAT,UINT); extern HRESULT __attribute__((__stdcall__)) OleDraw(LPUNKNOWN,DWORD,HDC,LPCRECT); extern HRESULT __attribute__((__stdcall__)) OleRun(LPUNKNOWN); extern BOOL __attribute__((__stdcall__)) OleIsRunning(LPOLEOBJECT); extern HRESULT __attribute__((__stdcall__)) OleLockRunning(LPUNKNOWN,BOOL,BOOL); extern void __attribute__((__stdcall__)) ReleaseStgMedium(LPSTGMEDIUM); extern HRESULT __attribute__((__stdcall__)) CreateOleAdviseHolder(LPOLEADVISEHOLDER*); extern HRESULT __attribute__((__stdcall__)) OleCreateDefaultHandler(const CLSID* const,LPUNKNOWN,const IID* const,PVOID*); extern HRESULT __attribute__((__stdcall__)) OleCreateEmbeddingHelper(const CLSID* const,LPUNKNOWN,DWORD,LPCLASSFACTORY,const IID* const,PVOID*); extern BOOL __attribute__((__stdcall__)) IsAccelerator(HACCEL,int,LPMSG,WORD*); extern HGLOBAL __attribute__((__stdcall__)) OleGetIconOfFile(LPOLESTR,BOOL); extern HGLOBAL __attribute__((__stdcall__)) OleGetIconOfClass(const CLSID* const,LPOLESTR,BOOL); extern HGLOBAL __attribute__((__stdcall__)) OleMetafilePictFromIconAndLabel(HICON,LPOLESTR,LPOLESTR,UINT); extern HRESULT __attribute__((__stdcall__)) OleRegGetUserType(const CLSID* const,DWORD,LPOLESTR*); extern HRESULT __attribute__((__stdcall__)) OleRegGetMiscStatus(const CLSID* const,DWORD,DWORD*); extern HRESULT __attribute__((__stdcall__)) OleRegEnumFormatEtc (const CLSID* const,DWORD,LPENUMFORMATETC*); extern HRESULT __attribute__((__stdcall__)) OleRegEnumVerbs (const CLSID* const,LPENUMOLEVERB*); extern HRESULT __attribute__((__stdcall__)) OleConvertOLESTREAMToIStorage(LPOLESTREAM,LPSTORAGE,const DVTARGETDEVICE*); extern HRESULT __attribute__((__stdcall__)) OleConvertIStorageToOLESTREAM(LPSTORAGE,LPOLESTREAM); extern HRESULT __attribute__((__stdcall__)) GetHGlobalFromILockBytes(LPLOCKBYTES,HGLOBAL*); extern HRESULT __attribute__((__stdcall__)) CreateILockBytesOnHGlobal(HGLOBAL,BOOL,LPLOCKBYTES*); extern HRESULT __attribute__((__stdcall__)) GetHGlobalFromStream(LPSTREAM,HGLOBAL*); extern HRESULT __attribute__((__stdcall__)) CreateStreamOnHGlobal(HGLOBAL,BOOL,LPSTREAM*); extern HRESULT __attribute__((__stdcall__)) OleDoAutoConvert(LPSTORAGE,LPCLSID); extern HRESULT __attribute__((__stdcall__)) OleGetAutoConvert(const CLSID* const,LPCLSID); extern HRESULT __attribute__((__stdcall__)) OleSetAutoConvert(const CLSID* const,const CLSID* const); extern HRESULT __attribute__((__stdcall__)) GetConvertStg(LPSTORAGE); extern HRESULT __attribute__((__stdcall__)) SetConvertStg(LPSTORAGE,BOOL); extern HRESULT __attribute__((__stdcall__)) OleConvertIStorageToOLESTREAMEx(LPSTORAGE,CLIPFORMAT,LONG,LONG,DWORD,LPSTGMEDIUM,LPOLESTREAM); extern HRESULT __attribute__((__stdcall__)) OleConvertOLESTREAMToIStorageEx(LPOLESTREAM,LPSTORAGE,CLIPFORMAT*,LONG*,LONG*,DWORD*,LPSTGMEDIUM); #pragma pack(pop) # 115 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h" 2 3 # 23 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 2 3 # 38 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef u_int SOCKET; # 61 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 typedef struct fd_set { u_int fd_count; SOCKET fd_array[64]; } fd_set; int __attribute__((__stdcall__)) __WSAFDIsSet(SOCKET,fd_set*); # 109 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 struct timeval { long tv_sec; long tv_usec; }; struct hostent { char *h_name; char **h_aliases; short h_addrtype; short h_length; char **h_addr_list; }; struct linger { u_short l_onoff; u_short l_linger; }; # 155 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 struct netent { char * n_name; char **n_aliases; short n_addrtype; u_long n_net; }; struct servent { char *s_name; char **s_aliases; short s_port; char *s_proto; }; struct protoent { char *p_name; char **p_aliases; short p_proto; }; # 223 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 struct in_addr { union { struct { u_char s_b1,s_b2,s_b3,s_b4; } S_un_b; struct { u_short s_w1,s_w2; } S_un_w; u_long S_addr; } S_un; }; # 254 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 struct sockaddr_in { short sin_family; u_short sin_port; struct in_addr sin_addr; char sin_zero[8]; }; typedef struct WSAData { WORD wVersion; WORD wHighVersion; char szDescription[256 +1]; char szSystemStatus[128 +1]; unsigned short iMaxSockets; unsigned short iMaxUdpDg; char * lpVendorInfo; } WSADATA; typedef WSADATA *LPWSADATA; # 336 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 struct sockaddr { u_short sa_family; char sa_data[14]; }; # 356 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 struct sockaddr_storage { short ss_family; char __ss_pad1[((sizeof (long long)) - sizeof (short))]; long long __ss_align; char __ss_pad2[(128 - (sizeof (short) + ((sizeof (long long)) - sizeof (short)) + (sizeof (long long))))]; }; struct sockproto { u_short sp_family; u_short sp_protocol; }; # 536 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 SOCKET __attribute__((__stdcall__)) accept(SOCKET,struct sockaddr*,int*); int __attribute__((__stdcall__)) bind(SOCKET,const struct sockaddr*,int); int __attribute__((__stdcall__)) closesocket(SOCKET); int __attribute__((__stdcall__)) connect(SOCKET,const struct sockaddr*,int); int __attribute__((__stdcall__)) ioctlsocket(SOCKET,long,u_long *); int __attribute__((__stdcall__)) getpeername(SOCKET,struct sockaddr*,int*); int __attribute__((__stdcall__)) getsockname(SOCKET,struct sockaddr*,int*); int __attribute__((__stdcall__)) getsockopt(SOCKET,int,int,char*,int*); unsigned long __attribute__((__stdcall__)) inet_addr(const char*); __attribute__((__stdcall__)) char * inet_ntoa(struct in_addr); int __attribute__((__stdcall__)) listen(SOCKET,int); int __attribute__((__stdcall__)) recv(SOCKET,char*,int,int); int __attribute__((__stdcall__)) recvfrom(SOCKET,char*,int,int,struct sockaddr*,int*); int __attribute__((__stdcall__)) send(SOCKET,const char*,int,int); int __attribute__((__stdcall__)) sendto(SOCKET,const char*,int,int,const struct sockaddr*,int); int __attribute__((__stdcall__)) setsockopt(SOCKET,int,int,const char*,int); int __attribute__((__stdcall__)) shutdown(SOCKET,int); SOCKET __attribute__((__stdcall__)) socket(int,int,int); __attribute__((__stdcall__)) struct hostent * gethostbyaddr(const char*,int,int); __attribute__((__stdcall__)) struct hostent * gethostbyname(const char*); __attribute__((__stdcall__)) struct servent * getservbyport(int,const char*); __attribute__((__stdcall__)) struct servent * getservbyname(const char*,const char*); __attribute__((__stdcall__)) struct protoent * getprotobynumber(int); __attribute__((__stdcall__)) struct protoent * getprotobyname(const char*); typedef SOCKET (__attribute__((__stdcall__)) * LPFN_ACCEPT)(SOCKET, struct sockaddr*,int *); typedef int (__attribute__((__stdcall__)) * LPFN_BIND)(SOCKET, const struct sockaddr*,int); typedef int (__attribute__((__stdcall__)) * LPFN_CLOSESOCKET)(SOCKET); typedef int (__attribute__((__stdcall__)) * LPFN_CONNECT)(SOCKET, const struct sockaddr*,int); typedef int (__attribute__((__stdcall__)) * LPFN_IOCTLSOCKET)(SOCKET, long, u_long*); typedef int (__attribute__((__stdcall__)) * LPFN_GETPEERNAME)(SOCKET, struct sockaddr*, int*); typedef int(__attribute__((__stdcall__)) * LPFN_GETSOCKNAME)(SOCKET, struct sockaddr*, int*); typedef int(__attribute__((__stdcall__)) * LPFN_GETSOCKOPT)(SOCKET, int, int, char*, int*); typedef u_long(__attribute__((__stdcall__)) * LPFN_HTONL)(u_long); typedef u_short(__attribute__((__stdcall__)) * LPFN_HTONS)(u_short); typedef unsigned long(__attribute__((__stdcall__)) * LPFN_INET_ADDR)(const char*); typedef char*(__attribute__((__stdcall__)) * LPFN_INET_NTOA)(struct in_addr); typedef int(__attribute__((__stdcall__)) * LPFN_LISTEN)(SOCKET, int); typedef u_long(__attribute__((__stdcall__)) * LPFN_NTOHL)(u_long); typedef u_short(__attribute__((__stdcall__)) * LPFN_NTOHS)(u_short); typedef int(__attribute__((__stdcall__)) * LPFN_RECV)(SOCKET, char*, int, int); typedef int(__attribute__((__stdcall__)) * LPFN_RECVFROM)(SOCKET, char*, int, int, struct sockaddr*, int*); typedef int(__attribute__((__stdcall__)) * LPFN_SELECT)(int, fd_set*, fd_set*, fd_set*, const struct timeval*); typedef int(__attribute__((__stdcall__)) * LPFN_SEND)(SOCKET, const char*, int, int); typedef int(__attribute__((__stdcall__)) * LPFN_SENDTO)(SOCKET, const char*, int, int, const struct sockaddr*, int); typedef int(__attribute__((__stdcall__)) * LPFN_SETSOCKOPT)(SOCKET, int, int, const char*, int); typedef int(__attribute__((__stdcall__)) * LPFN_SHUTDOWN)(SOCKET, int); typedef SOCKET(__attribute__((__stdcall__)) * LPFN_SOCKET)(int, int, int); typedef struct hostent*(__attribute__((__stdcall__)) * LPFN_GETHOSTBYADDR)( const char*, int, int); typedef struct hostent*(__attribute__((__stdcall__)) * LPFN_GETHOSTBYNAME)( const char*); typedef int(__attribute__((__stdcall__)) * LPFN_GETHOSTNAME)(char*, int); typedef struct servent*(__attribute__((__stdcall__)) * LPFN_GETSERVBYPORT)(int, const char*); typedef struct servent*(__attribute__((__stdcall__)) * LPFN_GETSERVBYNAME)(const char*, const char*); typedef struct protoent*(__attribute__((__stdcall__)) * LPFN_GETPROTOBYNUMBER)(int); typedef struct protoent*(__attribute__((__stdcall__)) * LPFN_GETPROTOBYNAME)(const char*); int __attribute__((__stdcall__)) WSAStartup(WORD,LPWSADATA); int __attribute__((__stdcall__)) WSACleanup(void); void __attribute__((__stdcall__)) WSASetLastError(int); int __attribute__((__stdcall__)) WSAGetLastError(void); typedef int(__attribute__((__stdcall__)) * LPFN_WSASTARTUP)(WORD, LPWSADATA); typedef int(__attribute__((__stdcall__)) * LPFN_WSACLEANUP)(void); typedef void(__attribute__((__stdcall__)) * LPFN_WSASETLASTERROR)(int); typedef int(__attribute__((__stdcall__)) * LPFN_WSAGETLASTERROR)(void); BOOL __attribute__((__stdcall__)) WSAIsBlocking(void); int __attribute__((__stdcall__)) WSAUnhookBlockingHook(void); FARPROC __attribute__((__stdcall__)) WSASetBlockingHook(FARPROC); int __attribute__((__stdcall__)) WSACancelBlockingCall(void); typedef BOOL(__attribute__((__stdcall__)) * LPFN_WSAISBLOCKING)(void); typedef int(__attribute__((__stdcall__)) * LPFN_WSAUNHOOKBLOCKINGHOOK)(void); typedef FARPROC (__attribute__((__stdcall__)) * LPFN_WSASETBLOCKINGHOOK)(FARPROC); typedef int(__attribute__((__stdcall__)) * LPFN_WSACANCELBLOCKINGCALL)(void); HANDLE __attribute__((__stdcall__)) WSAAsyncGetServByName(HWND,u_int,const char*,const char*,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetServByPort(HWND,u_int,int,const char*,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetProtoByName(HWND,u_int,const char*,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetProtoByNumber(HWND,u_int,int,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetHostByName(HWND,u_int,const char*,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetHostByAddr(HWND,u_int,const char*,int,int,char*,int); int __attribute__((__stdcall__)) WSACancelAsyncRequest(HANDLE); int __attribute__((__stdcall__)) WSAAsyncSelect(SOCKET,HWND,u_int,long); typedef HANDLE(__attribute__((__stdcall__)) * LPFN_WSAASYNCGETSERVBYNAME)(HWND, u_int, const char *, const char *, char *, int); typedef HANDLE(__attribute__((__stdcall__)) * LPFN_WSAASYNCGETSERVBYPORT)(HWND, u_int, int, const char *, char *, int); typedef HANDLE(__attribute__((__stdcall__)) * LPFN_WSAASYNCGETPROTOBYNAME)(HWND, u_int, const char*, char*, int); typedef HANDLE(__attribute__((__stdcall__)) * LPFN_WSAASYNCGETPROTOBYNUMBER)(HWND, u_int, int, char*, int); typedef HANDLE(__attribute__((__stdcall__)) * LPFN_WSAASYNCGETHOSTBYADDR)(HWND, u_int, const char*, int, int, char*, int); typedef int(__attribute__((__stdcall__)) * LPFN_WSACANCELASYNCREQUEST)(HANDLE); typedef int(__attribute__((__stdcall__)) * LPFN_WSAASYNCSELECT)(SOCKET, HWND, u_int, long); u_long __attribute__((__stdcall__)) htonl(u_long); u_long __attribute__((__stdcall__)) ntohl(u_long); u_short __attribute__((__stdcall__)) htons(u_short); u_short __attribute__((__stdcall__)) ntohs(u_short); int __attribute__((__stdcall__)) select(int nfds,fd_set*,fd_set*,fd_set*,const struct timeval*); int __attribute__((__stdcall__)) gethostname(char*,int); # 644 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 typedef struct sockaddr SOCKADDR; typedef struct sockaddr *PSOCKADDR; typedef struct sockaddr *LPSOCKADDR; typedef struct sockaddr_storage SOCKADDR_STORAGE, *PSOCKADDR_STORAGE; typedef struct sockaddr_in SOCKADDR_IN; typedef struct sockaddr_in *PSOCKADDR_IN; typedef struct sockaddr_in *LPSOCKADDR_IN; typedef struct linger LINGER; typedef struct linger *PLINGER; typedef struct linger *LPLINGER; typedef struct in_addr IN_ADDR; typedef struct in_addr *PIN_ADDR; typedef struct in_addr *LPIN_ADDR; typedef struct fd_set FD_SET; typedef struct fd_set *PFD_SET; typedef struct fd_set *LPFD_SET; typedef struct hostent HOSTENT; typedef struct hostent *PHOSTENT; typedef struct hostent *LPHOSTENT; typedef struct servent SERVENT; typedef struct servent *PSERVENT; typedef struct servent *LPSERVENT; typedef struct protoent PROTOENT; typedef struct protoent *PPROTOENT; typedef struct protoent *LPPROTOENT; typedef struct timeval TIMEVAL; typedef struct timeval *PTIMEVAL; typedef struct timeval *LPTIMEVAL; # 704 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 typedef struct _OVERLAPPED *LPWSAOVERLAPPED; # 721 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 typedef struct _WSABUF { unsigned long len; char *buf; } WSABUF, *LPWSABUF; typedef enum { BestEffortService, ControlledLoadService, PredictiveService, GuaranteedDelayService, GuaranteedService } GUARANTEE; # 745 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 typedef unsigned int SERVICETYPE; typedef struct _flowspec { unsigned int TokenRate; unsigned int TokenBucketSize; unsigned int PeakBandwidth; unsigned int Latency; unsigned int DelayVariation; SERVICETYPE ServiceType; unsigned int MaxSduSize; unsigned int MinimumPolicedSize; } FLOWSPEC, *PFLOWSPEC, *LPFLOWSPEC; typedef struct _QualityOfService { FLOWSPEC SendingFlowspec; FLOWSPEC ReceivingFlowspec; WSABUF ProviderSpecific; } QOS, *LPQOS; typedef unsigned int GROUP; typedef struct _WSANETWORKEVENTS { long lNetworkEvents; int iErrorCode[10]; } WSANETWORKEVENTS, *LPWSANETWORKEVENTS; typedef enum _WSAESETSERVICEOP { RNRSERVICE_REGISTER=0, RNRSERVICE_DEREGISTER, RNRSERVICE_DELETE } WSAESETSERVICEOP, *PWSAESETSERVICEOP, *LPWSAESETSERVICEOP; typedef struct _AFPROTOCOLS { INT iAddressFamily; INT iProtocol; } AFPROTOCOLS, *PAFPROTOCOLS, *LPAFPROTOCOLS; typedef enum _WSAEcomparator { COMP_EQUAL = 0, COMP_NOTLESS } WSAECOMPARATOR, *PWSAECOMPARATOR, *LPWSAECOMPARATOR; typedef struct _WSAVersion { DWORD dwVersion; WSAECOMPARATOR ecHow; } WSAVERSION, *PWSAVERSION, *LPWSAVERSION; typedef struct _SOCKET_ADDRESS { LPSOCKADDR lpSockaddr; INT iSockaddrLength; } SOCKET_ADDRESS,*PSOCKET_ADDRESS,*LPSOCKET_ADDRESS; typedef struct _CSADDR_INFO { SOCKET_ADDRESS LocalAddr; SOCKET_ADDRESS RemoteAddr; INT iSocketType; INT iProtocol; } CSADDR_INFO,*PCSADDR_INFO,*LPCSADDR_INFO; typedef struct _SOCKET_ADDRESS_LIST { INT iAddressCount; SOCKET_ADDRESS Address[1]; } SOCKET_ADDRESS_LIST, * LPSOCKET_ADDRESS_LIST; # 836 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 typedef struct _WSAQuerySetA { DWORD dwSize; LPSTR lpszServiceInstanceName; LPGUID lpServiceClassId; LPWSAVERSION lpVersion; LPSTR lpszComment; DWORD dwNameSpace; LPGUID lpNSProviderId; LPSTR lpszContext; DWORD dwNumberOfProtocols; LPAFPROTOCOLS lpafpProtocols; LPSTR lpszQueryString; DWORD dwNumberOfCsAddrs; LPCSADDR_INFO lpcsaBuffer; DWORD dwOutputFlags; LPBLOB lpBlob; } WSAQUERYSETA, *PWSAQUERYSETA, *LPWSAQUERYSETA; typedef struct _WSAQuerySetW { DWORD dwSize; LPWSTR lpszServiceInstanceName; LPGUID lpServiceClassId; LPWSAVERSION lpVersion; LPWSTR lpszComment; DWORD dwNameSpace; LPGUID lpNSProviderId; LPWSTR lpszContext; DWORD dwNumberOfProtocols; LPAFPROTOCOLS lpafpProtocols; LPWSTR lpszQueryString; DWORD dwNumberOfCsAddrs; LPCSADDR_INFO lpcsaBuffer; DWORD dwOutputFlags; LPBLOB lpBlob; } WSAQUERYSETW, *PWSAQUERYSETW, *LPWSAQUERYSETW; typedef WSAQUERYSETA WSAQUERYSET; typedef PWSAQUERYSETA PWSAQUERYSET; typedef LPWSAQUERYSETA LPWSAQUERYSET; # 901 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 typedef struct _WSANSClassInfoA { LPSTR lpszName; DWORD dwNameSpace; DWORD dwValueType; DWORD dwValueSize; LPVOID lpValue; } WSANSCLASSINFOA, *PWSANSCLASSINFOA, *LPWSANSCLASSINFOA; typedef struct _WSANSClassInfoW { LPWSTR lpszName; DWORD dwNameSpace; DWORD dwValueType; DWORD dwValueSize; LPVOID lpValue; } WSANSCLASSINFOW, *PWSANSCLASSINFOW, *LPWSANSCLASSINFOW; typedef WSANSCLASSINFOA WSANSCLASSINFO; typedef PWSANSCLASSINFOA PWSANSCLASSINFO; typedef LPWSANSCLASSINFOA LPWSANSCLASSINFO; typedef struct _WSAServiceClassInfoA { LPGUID lpServiceClassId; LPSTR lpszServiceClassName; DWORD dwCount; LPWSANSCLASSINFOA lpClassInfos; } WSASERVICECLASSINFOA, *PWSASERVICECLASSINFOA, *LPWSASERVICECLASSINFOA; typedef struct _WSAServiceClassInfoW { LPGUID lpServiceClassId; LPWSTR lpszServiceClassName; DWORD dwCount; LPWSANSCLASSINFOW lpClassInfos; } WSASERVICECLASSINFOW, *PWSASERVICECLASSINFOW, *LPWSASERVICECLASSINFOW; typedef WSASERVICECLASSINFOA WSASERVICECLASSINFO; typedef PWSASERVICECLASSINFOA PWSASERVICECLASSINFO; typedef LPWSASERVICECLASSINFOA LPWSASERVICECLASSINFO; typedef struct _WSANAMESPACE_INFOA { GUID NSProviderId; DWORD dwNameSpace; BOOL fActive; DWORD dwVersion; LPSTR lpszIdentifier; } WSANAMESPACE_INFOA, *PWSANAMESPACE_INFOA, *LPWSANAMESPACE_INFOA; typedef struct _WSANAMESPACE_INFOW { GUID NSProviderId; DWORD dwNameSpace; BOOL fActive; DWORD dwVersion; LPWSTR lpszIdentifier; } WSANAMESPACE_INFOW, *PWSANAMESPACE_INFOW, *LPWSANAMESPACE_INFOW; typedef WSANAMESPACE_INFOA WSANAMESPACE_INFO; typedef PWSANAMESPACE_INFOA PWSANAMESPACE_INFO; typedef LPWSANAMESPACE_INFOA LPWSANAMESPACE_INFO; typedef struct _WSAPROTOCOLCHAIN { int ChainLen; DWORD ChainEntries[7]; } WSAPROTOCOLCHAIN, *LPWSAPROTOCOLCHAIN; typedef struct _WSAPROTOCOL_INFOA { DWORD dwServiceFlags1; DWORD dwServiceFlags2; DWORD dwServiceFlags3; DWORD dwServiceFlags4; DWORD dwProviderFlags; GUID ProviderId; DWORD dwCatalogEntryId; WSAPROTOCOLCHAIN ProtocolChain; int iVersion; int iAddressFamily; int iMaxSockAddr; int iMinSockAddr; int iSocketType; int iProtocol; int iProtocolMaxOffset; int iNetworkByteOrder; int iSecurityScheme; DWORD dwMessageSize; DWORD dwProviderReserved; CHAR szProtocol[255 +1]; } WSAPROTOCOL_INFOA, *LPWSAPROTOCOL_INFOA; typedef struct _WSAPROTOCOL_INFOW { DWORD dwServiceFlags1; DWORD dwServiceFlags2; DWORD dwServiceFlags3; DWORD dwServiceFlags4; DWORD dwProviderFlags; GUID ProviderId; DWORD dwCatalogEntryId; WSAPROTOCOLCHAIN ProtocolChain; int iVersion; int iAddressFamily; int iMaxSockAddr; int iMinSockAddr; int iSocketType; int iProtocol; int iProtocolMaxOffset; int iNetworkByteOrder; int iSecurityScheme; DWORD dwMessageSize; DWORD dwProviderReserved; WCHAR szProtocol[255 +1]; } WSAPROTOCOL_INFOW, * LPWSAPROTOCOL_INFOW; typedef int (__attribute__((__stdcall__)) *LPCONDITIONPROC)(LPWSABUF, LPWSABUF, LPQOS, LPQOS, LPWSABUF, LPWSABUF, GROUP *, DWORD); typedef void (__attribute__((__stdcall__)) *LPWSAOVERLAPPED_COMPLETION_ROUTINE)(DWORD, DWORD, LPWSAOVERLAPPED, DWORD); typedef WSAPROTOCOL_INFOA WSAPROTOCOL_INFO; typedef LPWSAPROTOCOL_INFOA LPWSAPROTOCOL_INFO; typedef enum _WSACOMPLETIONTYPE { NSP_NOTIFY_IMMEDIATELY = 0, NSP_NOTIFY_HWND, NSP_NOTIFY_EVENT, NSP_NOTIFY_PORT, NSP_NOTIFY_APC } WSACOMPLETIONTYPE, * PWSACOMPLETIONTYPE, * LPWSACOMPLETIONTYPE; typedef struct _WSACOMPLETION { WSACOMPLETIONTYPE Type; union { struct { HWND hWnd; UINT uMsg; WPARAM context; } WindowMessage; struct { LPWSAOVERLAPPED lpOverlapped; } Event; struct { LPWSAOVERLAPPED lpOverlapped; LPWSAOVERLAPPED_COMPLETION_ROUTINE lpfnCompletionProc; } Apc; struct { LPWSAOVERLAPPED lpOverlapped; HANDLE hPort; ULONG_PTR Key; } Port; } Parameters; } WSACOMPLETION, *PWSACOMPLETION, *LPWSACOMPLETION; # 1146 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 3 SOCKET __attribute__((__stdcall__)) WSAAccept(SOCKET, struct sockaddr *, LPINT, LPCONDITIONPROC, DWORD); INT __attribute__((__stdcall__)) WSAAddressToStringA(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFOA, LPSTR, LPDWORD); INT __attribute__((__stdcall__)) WSAAddressToStringW(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFOW, LPWSTR, LPDWORD); BOOL __attribute__((__stdcall__)) WSACloseEvent(HANDLE); int __attribute__((__stdcall__)) WSAConnect(SOCKET, const struct sockaddr *, int, LPWSABUF, LPWSABUF, LPQOS, LPQOS); HANDLE __attribute__((__stdcall__)) WSACreateEvent(void); int __attribute__((__stdcall__)) WSADuplicateSocketA(SOCKET, DWORD, LPWSAPROTOCOL_INFOA); int __attribute__((__stdcall__)) WSADuplicateSocketW(SOCKET, DWORD, LPWSAPROTOCOL_INFOW); INT __attribute__((__stdcall__)) WSAEnumNameSpaceProvidersA(LPDWORD, LPWSANAMESPACE_INFOA); INT __attribute__((__stdcall__)) WSAEnumNameSpaceProvidersW(LPDWORD, LPWSANAMESPACE_INFOW); int __attribute__((__stdcall__)) WSAEnumNetworkEvents(SOCKET, HANDLE, LPWSANETWORKEVENTS); int __attribute__((__stdcall__)) WSAEnumProtocolsA(LPINT, LPWSAPROTOCOL_INFOA, LPDWORD); int __attribute__((__stdcall__)) WSAEnumProtocolsW(LPINT, LPWSAPROTOCOL_INFOW, LPDWORD); int __attribute__((__stdcall__)) WSAEventSelect(SOCKET, HANDLE, long); BOOL __attribute__((__stdcall__)) WSAGetOverlappedResult(SOCKET, LPWSAOVERLAPPED, LPDWORD, BOOL, LPDWORD); BOOL __attribute__((__stdcall__)) WSAGetQOSByName(SOCKET, LPWSABUF, LPQOS); INT __attribute__((__stdcall__)) WSAGetServiceClassInfoA(LPGUID, LPGUID, LPDWORD, LPWSASERVICECLASSINFOA); INT __attribute__((__stdcall__)) WSAGetServiceClassInfoW(LPGUID, LPGUID, LPDWORD, LPWSASERVICECLASSINFOW); INT __attribute__((__stdcall__)) WSAGetServiceClassNameByClassIdA(LPGUID, LPSTR, LPDWORD); INT __attribute__((__stdcall__)) WSAGetServiceClassNameByClassIdW(LPGUID, LPWSTR, LPDWORD); int __attribute__((__stdcall__)) WSAHtonl(SOCKET, unsigned long, unsigned long *); int __attribute__((__stdcall__)) WSAHtons(SOCKET, unsigned short, unsigned short *); INT __attribute__((__stdcall__)) WSAInstallServiceClassA(LPWSASERVICECLASSINFOA); INT __attribute__((__stdcall__)) WSAInstallServiceClassW(LPWSASERVICECLASSINFOW); int __attribute__((__stdcall__)) WSAIoctl(SOCKET, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); SOCKET __attribute__((__stdcall__)) WSAJoinLeaf(SOCKET, const struct sockaddr *, int, LPWSABUF, LPWSABUF, LPQOS, LPQOS, DWORD); INT __attribute__((__stdcall__)) WSALookupServiceBeginA(LPWSAQUERYSETA, DWORD, LPHANDLE); INT __attribute__((__stdcall__)) WSALookupServiceBeginW(LPWSAQUERYSETW lpqsRestrictions, DWORD, LPHANDLE); INT __attribute__((__stdcall__)) WSALookupServiceNextA(HANDLE, DWORD, LPDWORD, LPWSAQUERYSETA); INT __attribute__((__stdcall__)) WSALookupServiceNextW(HANDLE, DWORD, LPDWORD, LPWSAQUERYSETW); INT __attribute__((__stdcall__)) WSALookupServiceEnd(HANDLE); int __attribute__((__stdcall__)) WSANSPIoctl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSACOMPLETION); int __attribute__((__stdcall__)) WSANtohl(SOCKET, unsigned long, unsigned long *); int __attribute__((__stdcall__)) WSANtohs(SOCKET, unsigned short, unsigned short *); int __attribute__((__stdcall__)) WSARecv(SOCKET, LPWSABUF, DWORD, LPDWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); int __attribute__((__stdcall__)) WSARecvDisconnect(SOCKET, LPWSABUF); int __attribute__((__stdcall__)) WSARecvFrom(SOCKET, LPWSABUF, DWORD, LPDWORD, LPDWORD, struct sockaddr *, LPINT, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); INT __attribute__((__stdcall__)) WSARemoveServiceClass(LPGUID); BOOL __attribute__((__stdcall__)) WSAResetEvent(HANDLE); int __attribute__((__stdcall__)) WSASend(SOCKET, LPWSABUF, DWORD, LPDWORD, DWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); int __attribute__((__stdcall__)) WSASendDisconnect(SOCKET, LPWSABUF); int __attribute__((__stdcall__)) WSASendTo(SOCKET, LPWSABUF, DWORD, LPDWORD, DWORD, const struct sockaddr *, int, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); BOOL __attribute__((__stdcall__)) WSASetEvent(HANDLE); INT __attribute__((__stdcall__)) WSASetServiceA(LPWSAQUERYSETA, WSAESETSERVICEOP, DWORD); INT __attribute__((__stdcall__)) WSASetServiceW(LPWSAQUERYSETW, WSAESETSERVICEOP, DWORD); SOCKET __attribute__((__stdcall__)) WSASocketA(int, int, int, LPWSAPROTOCOL_INFOA, GROUP, DWORD); SOCKET __attribute__((__stdcall__)) WSASocketW(int, int, int, LPWSAPROTOCOL_INFOW, GROUP, DWORD); INT __attribute__((__stdcall__)) WSAStringToAddressA(LPSTR, INT, LPWSAPROTOCOL_INFOA, LPSOCKADDR, LPINT); INT __attribute__((__stdcall__)) WSAStringToAddressW(LPWSTR, INT, LPWSAPROTOCOL_INFOW, LPSOCKADDR, LPINT); DWORD __attribute__((__stdcall__)) WSAWaitForMultipleEvents(DWORD, const HANDLE *, BOOL, DWORD, BOOL); typedef SOCKET (__attribute__((__stdcall__)) *LPFN_WSAACCEPT)(SOCKET, struct sockaddr *, LPINT, LPCONDITIONPROC, DWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAADDRESSTOSTRINGA)(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFOA, LPSTR, LPDWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAADDRESSTOSTRINGW)(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFOW, LPWSTR, LPDWORD); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSACLOSEEVENT)(HANDLE); typedef int (__attribute__((__stdcall__)) *LPFN_WSACONNECT)(SOCKET, const struct sockaddr *, int, LPWSABUF, LPWSABUF, LPQOS, LPQOS); typedef HANDLE (__attribute__((__stdcall__)) *LPFN_WSACREATEEVENT)(void); typedef int (__attribute__((__stdcall__)) *LPFN_WSADUPLICATESOCKETA)(SOCKET, DWORD, LPWSAPROTOCOL_INFOA); typedef int (__attribute__((__stdcall__)) *LPFN_WSADUPLICATESOCKETW)(SOCKET, DWORD, LPWSAPROTOCOL_INFOW); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAENUMNAMESPACEPROVIDERSA)(LPDWORD, LPWSANAMESPACE_INFOA); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAENUMNAMESPACEPROVIDERSW)(LPDWORD, LPWSANAMESPACE_INFOW); typedef int (__attribute__((__stdcall__)) *LPFN_WSAENUMNETWORKEVENTS)(SOCKET, HANDLE, LPWSANETWORKEVENTS); typedef int (__attribute__((__stdcall__)) *LPFN_WSAENUMPROTOCOLSA)(LPINT, LPWSAPROTOCOL_INFOA, LPDWORD); typedef int (__attribute__((__stdcall__)) *LPFN_WSAENUMPROTOCOLSW)(LPINT, LPWSAPROTOCOL_INFOW, LPDWORD); typedef int (__attribute__((__stdcall__)) *LPFN_WSAEVENTSELECT)(SOCKET, HANDLE, long); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSAGETOVERLAPPEDRESULT)(SOCKET, LPWSAOVERLAPPED, LPDWORD, BOOL, LPDWORD); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSAGETQOSBYNAME)(SOCKET, LPWSABUF, LPQOS); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAGETSERVICECLASSINFOA)(LPGUID, LPGUID, LPDWORD, LPWSASERVICECLASSINFOA); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAGETSERVICECLASSINFOW)(LPGUID, LPGUID, LPDWORD, LPWSASERVICECLASSINFOW); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDA)(LPGUID, LPSTR, LPDWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDW)(LPGUID, LPWSTR, LPDWORD); typedef int (__attribute__((__stdcall__)) *LPFN_WSAHTONL)(SOCKET, unsigned long, unsigned long *); typedef int (__attribute__((__stdcall__)) *LPFN_WSAHTONS)(SOCKET, unsigned short, unsigned short *); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAINSTALLSERVICECLASSA)(LPWSASERVICECLASSINFOA); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAINSTALLSERVICECLASSW)(LPWSASERVICECLASSINFOW); typedef int (__attribute__((__stdcall__)) *LPFN_WSAIOCTL)(SOCKET, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef SOCKET (__attribute__((__stdcall__)) *LPFN_WSAJOINLEAF)(SOCKET, const struct sockaddr *, int, LPWSABUF, LPWSABUF, LPQOS, LPQOS, DWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICEBEGINA)(LPWSAQUERYSETA, DWORD, LPHANDLE); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICEBEGINW)(LPWSAQUERYSETW, DWORD, LPHANDLE); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICENEXTA)(HANDLE, DWORD, LPDWORD, LPWSAQUERYSETA); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICENEXTW)(HANDLE, DWORD, LPDWORD, LPWSAQUERYSETW); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICEEND)(HANDLE); typedef int (__attribute__((__stdcall__)) *LPFN_WSANSPIoctl)(HANDLE, DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSACOMPLETION); typedef int (__attribute__((__stdcall__)) *LPFN_WSANTOHL)(SOCKET, unsigned long, unsigned long *); typedef int (__attribute__((__stdcall__)) *LPFN_WSANTOHS)(SOCKET, unsigned short, unsigned short *); typedef int (__attribute__((__stdcall__)) *LPFN_WSARECV)(SOCKET, LPWSABUF, DWORD, LPDWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef int (__attribute__((__stdcall__)) *LPFN_WSARECVDISCONNECT)(SOCKET, LPWSABUF); typedef int (__attribute__((__stdcall__)) *LPFN_WSARECVFROM)(SOCKET, LPWSABUF, DWORD, LPDWORD, LPDWORD, struct sockaddr *, LPINT, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAREMOVESERVICECLASS)(LPGUID); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSARESETEVENT)(HANDLE); typedef int (__attribute__((__stdcall__)) *LPFN_WSASEND)(SOCKET, LPWSABUF, DWORD, LPDWORD, DWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef int (__attribute__((__stdcall__)) *LPFN_WSASENDDISCONNECT)(SOCKET, LPWSABUF); typedef int (__attribute__((__stdcall__)) *LPFN_WSASENDTO)(SOCKET, LPWSABUF, DWORD, LPDWORD, DWORD, const struct sockaddr *, int, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSASETEVENT)(HANDLE); typedef INT (__attribute__((__stdcall__)) *LPFN_WSASETSERVICEA)(LPWSAQUERYSETA, WSAESETSERVICEOP, DWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSASETSERVICEW)(LPWSAQUERYSETW, WSAESETSERVICEOP, DWORD); typedef SOCKET (__attribute__((__stdcall__)) *LPFN_WSASOCKETA)(int, int, int, LPWSAPROTOCOL_INFOA, GROUP, DWORD); typedef SOCKET (__attribute__((__stdcall__)) *LPFN_WSASOCKETW)(int, int, int, LPWSAPROTOCOL_INFOW, GROUP, DWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSASTRINGTOADDRESSA)(LPSTR, INT, LPWSAPROTOCOL_INFOA, LPSOCKADDR, LPINT); typedef INT (__attribute__((__stdcall__)) *LPFN_WSASTRINGTOADDRESSW)(LPWSTR, INT, LPWSAPROTOCOL_INFOW, LPSOCKADDR, LPINT); typedef DWORD (__attribute__((__stdcall__)) *LPFN_WSAWAITFORMULTIPLEEVENTS)(DWORD, const HANDLE *, BOOL, DWORD, BOOL); # 31 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 1 3 # 12 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 3 # 13 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h" 1 3 # 20 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 2 3 # 124 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 3 struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_sourceaddr; struct in_addr imr_interface; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; u_long imsf_fmode; u_long imsf_numsrc; struct in_addr imsf_slist[1]; }; struct in_pktinfo { IN_ADDR ipi_addr; UINT ipi_ifindex; }; typedef struct in_pktinfo IN_PKTINFO; # 164 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 3 struct in6_addr { union { u_char _S6_u8[16]; u_short _S6_u16[8]; u_long _S6_u32[4]; } _S6_un; }; # 183 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 3 typedef struct in6_addr IN6_ADDR, *PIN6_ADDR, *LPIN6_ADDR; struct sockaddr_in6 { short sin6_family; u_short sin6_port; u_long sin6_flowinfo; struct in6_addr sin6_addr; u_long sin6_scope_id; }; typedef struct sockaddr_in6 SOCKADDR_IN6, *PSOCKADDR_IN6, *LPSOCKADDR_IN6; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 272 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 3 typedef int socklen_t; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; typedef struct ipv6_mreq IPV6_MREQ; struct in6_pktinfo { IN6_ADDR ipi6_addr; UINT ipi6_ifindex; }; typedef struct in6_pktinfo IN6_PKTINFO; struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; size_t ai_addrlen; char *ai_canonname; struct sockaddr *ai_addr; struct addrinfo *ai_next; }; # 307 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 3 static __inline char* gai_strerrorA(int ecode) { static char message[1024+1]; DWORD dwFlags = 4096 | 512 | 255; DWORD dwLanguageId = ((((WORD)(0x01))<<10)|(WORD)(0x00)); FormatMessageA(dwFlags, ((void *)0), ecode, dwLanguageId, (LPSTR)message, 1024, ((void *)0)); return message; } static __inline WCHAR* gai_strerrorW(int ecode) { static WCHAR message[1024+1]; DWORD dwFlags = 4096 | 512 | 255; DWORD dwLanguageId = ((((WORD)(0x01))<<10)|(WORD)(0x00)); FormatMessageW(dwFlags, ((void *)0), ecode, dwLanguageId, (LPWSTR)message, 1024, ((void *)0)); return message; } # 338 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h" 3 struct sockaddr_in6_old { short sin6_family; u_short sin6_port; u_long sin6_flowinfo; struct in6_addr sin6_addr; }; typedef union sockaddr_gen{ struct sockaddr Address; struct sockaddr_in AddressIn; struct sockaddr_in6_old AddressIn6; } sockaddr_gen; typedef struct _INTERFACE_INFO { u_long iiFlags; sockaddr_gen iiAddress; sockaddr_gen iiBroadcastAddress; sockaddr_gen iiNetmask; } INTERFACE_INFO, *LPINTERFACE_INFO; # 32 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 48 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/direct.h" 1 3 # 19 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/direct.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 20 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/direct.h" 2 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h" 1 3 # 46 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h" 3 typedef unsigned long _fsize_t; # 63 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h" 3 struct _finddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; char name[(260)]; }; struct _finddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; char name[(260)]; }; # 95 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h" 3 struct _wfinddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; wchar_t name[(260)]; }; struct _wfinddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; wchar_t name[(260)]; }; # 139 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h" 3 long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (long, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelengthi64(int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirsti64(const char*, struct _finddatai64_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnexti64(long, struct _finddatai64_t*); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseeki64(int, long long, int); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _telli64(int); extern __inline__ off64_t lseek64 (int, off64_t, int); extern __inline__ off64_t lseek64 (int fd, off64_t offset, int whence) { return _lseeki64(fd, (long long) offset, whence); } int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int); # 209 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _waccess(const wchar_t*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wchmod(const wchar_t*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcreat(const wchar_t*, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindfirst(const wchar_t*, struct _wfinddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindnext(long, struct _wfinddata_t *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wunlink(const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wopen(const wchar_t*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wsopen(const wchar_t*, int, int, ...); wchar_t * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wmktemp(wchar_t*); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wfindnexti64(long, struct _wfinddatai64_t*); # 290 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int); # 23 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/direct.h" 2 3 # 32 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/direct.h" 3 struct _diskfree_t { unsigned total_clusters; unsigned avail_clusters; unsigned sectors_per_cluster; unsigned bytes_per_sector; }; int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdrive (void); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdrives(void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdrive (int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdcwd (int, char*, int); unsigned __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdiskfree (unsigned, struct _diskfree_t *); # 58 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/direct.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wchdir(const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wgetcwd(wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wgetdcwd(int, wchar_t*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wmkdir(const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wrmdir(const wchar_t*); # 49 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/process.h" 1 3 # 57 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/process.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _cexit(void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _c_exit(void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _cwait (int*, _pid_t, int); _pid_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getpid(void); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execl (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execle (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execlp (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execlpe (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execv (const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execve (const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execvp (const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execvpe (const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnl (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnle (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnlp (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnlpe (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnv (int, const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnve (int, const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnvp (int, const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnvpe (int, const char*, const char* const*, const char* const*); # 94 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/process.h" 3 unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _beginthread (void (*)(void *), unsigned, void*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _endthread (void); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _beginthreadex (void *, unsigned, unsigned (__attribute__((__stdcall__)) *) (void *), void*, unsigned, unsigned*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _endthreadex (unsigned); # 111 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/process.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) cwait (int*, pid_t, int); pid_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getpid (void); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execl (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execle (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execlp (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execlpe (const char*, const char*,...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execv (const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execve (const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execvp (const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execvpe (const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnl (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnle (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnlp (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnlpe (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnv (int, const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnve (int, const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnvp (int, const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnvpe (int, const char*, const char* const*, const char* const*); # 50 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 1 3 # 21 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 22 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 2 3 # 55 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 3 typedef long clock_t; # 64 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 99 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 3 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 135 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 3 extern int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p__daylight (void); extern long* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p__timezone (void); extern char** __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __p__tzname (void); extern __attribute__ ((__dllimport__)) int _daylight; extern __attribute__ ((__dllimport__)) long _timezone; extern __attribute__ ((__dllimport__)) char *_tzname[2]; # 173 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 3 extern __attribute__ ((__dllimport__)) int daylight; extern __attribute__ ((__dllimport__)) long timezone; extern __attribute__ ((__dllimport__)) char *tzname[2]; # 198 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/time.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wasctime(const struct tm*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wctime(const time_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wstrdate(wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wstrtime(wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 51 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 1 3 # 16 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 # 17 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 # 134 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 struct _exception { int type; char *name; double arg1; double arg2; double retval; }; double __attribute__((__cdecl__)) sin (double); double __attribute__((__cdecl__)) cos (double); double __attribute__((__cdecl__)) tan (double); double __attribute__((__cdecl__)) sinh (double); double __attribute__((__cdecl__)) cosh (double); double __attribute__((__cdecl__)) tanh (double); double __attribute__((__cdecl__)) asin (double); double __attribute__((__cdecl__)) acos (double); double __attribute__((__cdecl__)) atan (double); double __attribute__((__cdecl__)) atan2 (double, double); double __attribute__((__cdecl__)) exp (double); double __attribute__((__cdecl__)) log (double); double __attribute__((__cdecl__)) log10 (double); double __attribute__((__cdecl__)) pow (double, double); double __attribute__((__cdecl__)) sqrt (double); double __attribute__((__cdecl__)) ceil (double); double __attribute__((__cdecl__)) floor (double); double __attribute__((__cdecl__)) fabs (double); double __attribute__((__cdecl__)) ldexp (double, int); double __attribute__((__cdecl__)) frexp (double, int*); double __attribute__((__cdecl__)) modf (double, double*); double __attribute__((__cdecl__)) fmod (double, double); # 210 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 struct _complex { double x; double y; }; double __attribute__((__cdecl__)) _cabs (struct _complex); double __attribute__((__cdecl__)) _hypot (double, double); double __attribute__((__cdecl__)) _j0 (double); double __attribute__((__cdecl__)) _j1 (double); double __attribute__((__cdecl__)) _jn (int, double); double __attribute__((__cdecl__)) _y0 (double); double __attribute__((__cdecl__)) _y1 (double); double __attribute__((__cdecl__)) _yn (int, double); int __attribute__((__cdecl__)) _matherr (struct _exception *); # 234 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 double __attribute__((__cdecl__)) _chgsign (double); double __attribute__((__cdecl__)) _copysign (double, double); double __attribute__((__cdecl__)) _logb (double); double __attribute__((__cdecl__)) _nextafter (double, double); double __attribute__((__cdecl__)) _scalb (double, long); int __attribute__((__cdecl__)) _finite (double); int __attribute__((__cdecl__)) _fpclass (double); int __attribute__((__cdecl__)) _isnan (double); # 254 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 double __attribute__((__cdecl__)) j0 (double); double __attribute__((__cdecl__)) j1 (double); double __attribute__((__cdecl__)) jn (int, double); double __attribute__((__cdecl__)) y0 (double); double __attribute__((__cdecl__)) y1 (double); double __attribute__((__cdecl__)) yn (int, double); double __attribute__((__cdecl__)) chgsign (double); # 270 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 int __attribute__((__cdecl__)) finite (double); int __attribute__((__cdecl__)) fpclass (double); # 324 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 typedef long double float_t; typedef long double double_t; # 354 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 extern int __attribute__((__cdecl__)) __fpclassifyf (float); extern int __attribute__((__cdecl__)) __fpclassify (double); extern __inline__ int __attribute__((__cdecl__)) __fpclassifyl (long double x){ unsigned short sw; __asm__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x)); return sw & (0x0100 | 0x0400 | 0x4000 ); } # 377 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 extern __inline__ int __attribute__((__cdecl__)) __isnan (double _x) { unsigned short sw; __asm__ ("fxam;" "fstsw %%ax": "=a" (sw) : "t" (_x)); return (sw & (0x0100 | 0x0400 | (0x0100 | 0x0400) | 0x4000 | (0x0400 | 0x4000))) == 0x0100; } extern __inline__ int __attribute__((__cdecl__)) __isnanf (float _x) { unsigned short sw; __asm__ ("fxam;" "fstsw %%ax": "=a" (sw) : "t" (_x)); return (sw & (0x0100 | 0x0400 | (0x0100 | 0x0400) | 0x4000 | (0x0400 | 0x4000))) == 0x0100; } extern __inline__ int __attribute__((__cdecl__)) __isnanl (long double _x) { unsigned short sw; __asm__ ("fxam;" "fstsw %%ax": "=a" (sw) : "t" (_x)); return (sw & (0x0100 | 0x0400 | (0x0100 | 0x0400) | 0x4000 | (0x0400 | 0x4000))) == 0x0100; } # 413 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 extern __inline__ int __attribute__((__cdecl__)) __signbit (double x) { unsigned short stw; __asm__ ( "fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); return (stw & 0x0200) != 0; } extern __inline__ int __attribute__((__cdecl__)) __signbitf (float x) { unsigned short stw; __asm__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); return (stw & 0x0200) != 0; } extern __inline__ int __attribute__((__cdecl__)) __signbitl (long double x) { unsigned short stw; __asm__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); return (stw & 0x0200) != 0; } extern float __attribute__((__cdecl__)) sinf (float); extern long double __attribute__((__cdecl__)) sinl (long double); extern float __attribute__((__cdecl__)) cosf (float); extern long double __attribute__((__cdecl__)) cosl (long double); extern float __attribute__((__cdecl__)) tanf (float); extern long double __attribute__((__cdecl__)) tanl (long double); extern float __attribute__((__cdecl__)) asinf (float); extern long double __attribute__((__cdecl__)) asinl (long double); extern float __attribute__((__cdecl__)) acosf (float); extern long double __attribute__((__cdecl__)) acosl (long double); extern float __attribute__((__cdecl__)) atanf (float); extern long double __attribute__((__cdecl__)) atanl (long double); extern float __attribute__((__cdecl__)) atan2f (float, float); extern long double __attribute__((__cdecl__)) atan2l (long double, long double); extern __inline__ float __attribute__((__cdecl__)) sinhf (float x) {return (float) sinh (x);} extern long double __attribute__((__cdecl__)) sinhl (long double); extern __inline__ float __attribute__((__cdecl__)) coshf (float x) {return (float) cosh (x);} extern long double __attribute__((__cdecl__)) coshl (long double); extern __inline__ float __attribute__((__cdecl__)) tanhf (float x) {return (float) tanh (x);} extern long double __attribute__((__cdecl__)) tanhl (long double); extern double __attribute__((__cdecl__)) acosh (double); extern float __attribute__((__cdecl__)) acoshf (float); extern long double __attribute__((__cdecl__)) acoshl (long double); extern double __attribute__((__cdecl__)) asinh (double); extern float __attribute__((__cdecl__)) asinhf (float); extern long double __attribute__((__cdecl__)) asinhl (long double); extern double __attribute__((__cdecl__)) atanh (double); extern float __attribute__((__cdecl__)) atanhf (float); extern long double __attribute__((__cdecl__)) atanhl (long double); extern __inline__ float __attribute__((__cdecl__)) expf (float x) {return (float) exp (x);} extern long double __attribute__((__cdecl__)) expl (long double); extern double __attribute__((__cdecl__)) exp2(double); extern float __attribute__((__cdecl__)) exp2f(float); extern long double __attribute__((__cdecl__)) exp2l(long double); extern double __attribute__((__cdecl__)) expm1(double); extern float __attribute__((__cdecl__)) expm1f(float); extern long double __attribute__((__cdecl__)) expm1l(long double); extern __inline__ float __attribute__((__cdecl__)) frexpf (float x, int* expn) {return (float) frexp (x, expn);} extern long double __attribute__((__cdecl__)) frexpl (long double, int*); extern int __attribute__((__cdecl__)) ilogb (double); extern int __attribute__((__cdecl__)) ilogbf (float); extern int __attribute__((__cdecl__)) ilogbl (long double); extern __inline__ float __attribute__((__cdecl__)) ldexpf (float x, int expn) {return (float) ldexp (x, expn);} extern long double __attribute__((__cdecl__)) ldexpl (long double, int); extern float __attribute__((__cdecl__)) logf (float); extern long double __attribute__((__cdecl__)) logl (long double); extern float __attribute__((__cdecl__)) log10f (float); extern long double __attribute__((__cdecl__)) log10l (long double); extern double __attribute__((__cdecl__)) log1p(double); extern float __attribute__((__cdecl__)) log1pf(float); extern long double __attribute__((__cdecl__)) log1pl(long double); extern double __attribute__((__cdecl__)) log2 (double); extern float __attribute__((__cdecl__)) log2f (float); extern long double __attribute__((__cdecl__)) log2l (long double); extern double __attribute__((__cdecl__)) logb (double); extern float __attribute__((__cdecl__)) logbf (float); extern long double __attribute__((__cdecl__)) logbl (long double); extern __inline__ double __attribute__((__cdecl__)) logb (double x) { double res; __asm__ ("fxtract\n\t" "fstp %%st" : "=t" (res) : "0" (x)); return res; } extern __inline__ float __attribute__((__cdecl__)) logbf (float x) { float res; __asm__ ("fxtract\n\t" "fstp %%st" : "=t" (res) : "0" (x)); return res; } extern __inline__ long double __attribute__((__cdecl__)) logbl (long double x) { long double res; __asm__ ("fxtract\n\t" "fstp %%st" : "=t" (res) : "0" (x)); return res; } extern float __attribute__((__cdecl__)) modff (float, float*); extern long double __attribute__((__cdecl__)) modfl (long double, long double*); extern double __attribute__((__cdecl__)) scalbn (double, int); extern float __attribute__((__cdecl__)) scalbnf (float, int); extern long double __attribute__((__cdecl__)) scalbnl (long double, int); extern double __attribute__((__cdecl__)) scalbln (double, long); extern float __attribute__((__cdecl__)) scalblnf (float, long); extern long double __attribute__((__cdecl__)) scalblnl (long double, long); extern double __attribute__((__cdecl__)) cbrt (double); extern float __attribute__((__cdecl__)) cbrtf (float); extern long double __attribute__((__cdecl__)) cbrtl (long double); extern float __attribute__((__cdecl__)) fabsf (float x); extern long double __attribute__((__cdecl__)) fabsl (long double x); extern double __attribute__((__cdecl__)) hypot (double, double); extern __inline__ float __attribute__((__cdecl__)) hypotf (float x, float y) { return (float) hypot (x, y);} extern long double __attribute__((__cdecl__)) hypotl (long double, long double); extern __inline__ float __attribute__((__cdecl__)) powf (float x, float y) {return (float) pow (x, y);} extern long double __attribute__((__cdecl__)) powl (long double, long double); extern float __attribute__((__cdecl__)) sqrtf (float); extern long double __attribute__((__cdecl__)) sqrtl (long double); extern double __attribute__((__cdecl__)) erf (double); extern float __attribute__((__cdecl__)) erff (float); extern long double __attribute__((__cdecl__)) erfl (long double); extern double __attribute__((__cdecl__)) erfc (double); extern float __attribute__((__cdecl__)) erfcf (float); extern long double __attribute__((__cdecl__)) erfcl (long double); extern double __attribute__((__cdecl__)) lgamma (double); extern float __attribute__((__cdecl__)) lgammaf (float); extern long double __attribute__((__cdecl__)) lgammal (long double); extern double __attribute__((__cdecl__)) tgamma (double); extern float __attribute__((__cdecl__)) tgammaf (float); extern long double __attribute__((__cdecl__)) tgammal (long double); extern float __attribute__((__cdecl__)) ceilf (float); extern long double __attribute__((__cdecl__)) ceill (long double); extern float __attribute__((__cdecl__)) floorf (float); extern long double __attribute__((__cdecl__)) floorl (long double); extern double __attribute__((__cdecl__)) nearbyint ( double); extern float __attribute__((__cdecl__)) nearbyintf (float); extern long double __attribute__((__cdecl__)) nearbyintl (long double); extern double __attribute__((__cdecl__)) rint (double); extern float __attribute__((__cdecl__)) rintf (float); extern long double __attribute__((__cdecl__)) rintl (long double); extern long __attribute__((__cdecl__)) lrint (double); extern long __attribute__((__cdecl__)) lrintf (float); extern long __attribute__((__cdecl__)) lrintl (long double); extern long long __attribute__((__cdecl__)) llrint (double); extern long long __attribute__((__cdecl__)) llrintf (float); extern long long __attribute__((__cdecl__)) llrintl (long double); extern __inline__ double __attribute__((__cdecl__)) rint (double x) { double retval; __asm__ ("frndint;": "=t" (retval) : "0" (x)); return retval; } extern __inline__ float __attribute__((__cdecl__)) rintf (float x) { float retval; __asm__ ("frndint;" : "=t" (retval) : "0" (x) ); return retval; } extern __inline__ long double __attribute__((__cdecl__)) rintl (long double x) { long double retval; __asm__ ("frndint;" : "=t" (retval) : "0" (x) ); return retval; } extern __inline__ long __attribute__((__cdecl__)) lrint (double x) { long retval; __asm__ __volatile__ ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); return retval; } extern __inline__ long __attribute__((__cdecl__)) lrintf (float x) { long retval; __asm__ __volatile__ ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); return retval; } extern __inline__ long __attribute__((__cdecl__)) lrintl (long double x) { long retval; __asm__ __volatile__ ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); return retval; } extern __inline__ long long __attribute__((__cdecl__)) llrint (double x) { long long retval; __asm__ __volatile__ ("fistpll %0" : "=m" (retval) : "t" (x) : "st"); return retval; } extern __inline__ long long __attribute__((__cdecl__)) llrintf (float x) { long long retval; __asm__ __volatile__ ("fistpll %0" : "=m" (retval) : "t" (x) : "st"); return retval; } extern __inline__ long long __attribute__((__cdecl__)) llrintl (long double x) { long long retval; __asm__ __volatile__ ("fistpll %0" : "=m" (retval) : "t" (x) : "st"); return retval; } extern double __attribute__((__cdecl__)) round (double); extern float __attribute__((__cdecl__)) roundf (float); extern long double __attribute__((__cdecl__)) roundl (long double); extern long __attribute__((__cdecl__)) lround (double); extern long __attribute__((__cdecl__)) lroundf (float); extern long __attribute__((__cdecl__)) lroundl (long double); extern long long __attribute__((__cdecl__)) llround (double); extern long long __attribute__((__cdecl__)) llroundf (float); extern long long __attribute__((__cdecl__)) llroundl (long double); extern double __attribute__((__cdecl__)) trunc (double); extern float __attribute__((__cdecl__)) truncf (float); extern long double __attribute__((__cdecl__)) truncl (long double); extern float __attribute__((__cdecl__)) fmodf (float, float); extern long double __attribute__((__cdecl__)) fmodl (long double, long double); extern double __attribute__((__cdecl__)) remainder (double, double); extern float __attribute__((__cdecl__)) remainderf (float, float); extern long double __attribute__((__cdecl__)) remainderl (long double, long double); extern double __attribute__((__cdecl__)) remquo(double, double, int *); extern float __attribute__((__cdecl__)) remquof(float, float, int *); extern long double __attribute__((__cdecl__)) remquol(long double, long double, int *); extern double __attribute__((__cdecl__)) copysign (double, double); extern float __attribute__((__cdecl__)) copysignf (float, float); extern long double __attribute__((__cdecl__)) copysignl (long double, long double); extern double __attribute__((__cdecl__)) nan(const char *tagp); extern float __attribute__((__cdecl__)) nanf(const char *tagp); extern long double __attribute__((__cdecl__)) nanl(const char *tagp); # 782 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h" 3 extern double __attribute__((__cdecl__)) nextafter (double, double); extern float __attribute__((__cdecl__)) nextafterf (float, float); extern long double __attribute__((__cdecl__)) nextafterl (long double, long double); extern double __attribute__((__cdecl__)) nexttoward (double, long double); extern float __attribute__((__cdecl__)) nexttowardf (float, long double); extern long double __attribute__((__cdecl__)) nexttowardl (long double, long double); extern double __attribute__((__cdecl__)) fdim (double x, double y); extern float __attribute__((__cdecl__)) fdimf (float x, float y); extern long double __attribute__((__cdecl__)) fdiml (long double x, long double y); extern double __attribute__((__cdecl__)) fmax (double, double); extern float __attribute__((__cdecl__)) fmaxf (float, float); extern long double __attribute__((__cdecl__)) fmaxl (long double, long double); extern double __attribute__((__cdecl__)) fmin (double, double); extern float __attribute__((__cdecl__)) fminf (float, float); extern long double __attribute__((__cdecl__)) fminl (long double, long double); extern double __attribute__((__cdecl__)) fma (double, double, double); extern float __attribute__((__cdecl__)) fmaf (float, float, float); extern long double __attribute__((__cdecl__)) fmal (long double, long double, long double); # 55 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/signal.h" 1 3 # 46 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/signal.h" 3 typedef int sig_atomic_t; # 60 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/signal.h" 3 typedef void (*__p_sig_fn_t)(int); # 84 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/signal.h" 3 __p_sig_fn_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) signal(int, __p_sig_fn_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) raise (int); # 59 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/stat.h" 1 3 # 21 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/stat.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 22 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/stat.h" 2 3 # 86 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/stat.h" 3 struct _stat { _dev_t st_dev; _ino_t st_ino; _mode_t st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; _off_t st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; }; struct stat { dev_t st_dev; ino_t st_ino; mode_t st_mode; short st_nlink; short st_uid; short st_gid; dev_t st_rdev; off_t st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; }; struct _stati64 { _dev_t st_dev; _ino_t st_ino; _mode_t st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; long long st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; }; # 159 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/stat.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fstat (int, struct _stat*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stat (const char*, struct _stat*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fstat (int, struct stat*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stat (const char*, struct stat*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fstati64(int, struct _stati64 *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stati64(const char *, struct _stati64 *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wstat(const wchar_t*, struct _stat*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wstati64 (const wchar_t*, struct _stati64*); # 60 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/utime.h" 1 3 # 19 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/utime.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 20 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/utime.h" 2 3 # 28 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/utime.h" 3 struct _utimbuf { time_t actime; time_t modtime; }; struct utimbuf { time_t actime; time_t modtime; }; int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _utime (const char*, struct _utimbuf*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) utime (const char*, struct utimbuf*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _futime (int, struct _utimbuf*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wutime (const wchar_t*, struct _utimbuf*); # 63 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/malloc.h" 1 3 # 27 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/malloc.h" 3 typedef struct _heapinfo { int* _pentry; size_t _size; int _useflag; } _HEAPINFO; # 56 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/malloc.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _heapwalk (_HEAPINFO*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) heapwalk (_HEAPINFO*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _heapchk (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _heapmin (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _heapset (unsigned int); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _msize (void*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_sbh_threshold (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _set_sbh_threshold (size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _expand (void*, size_t); # 90 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/malloc.h" 3 void * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_offset_malloc (size_t, size_t, size_t); void * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); void * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_malloc (size_t, size_t); void * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_realloc (void*, size_t, size_t); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_free (void*); # 68 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 99 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" extern DWORD rb_w32_osid(void); # 199 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" struct timezone { int tz_minuteswest; int tz_dsttime; }; extern int rb_w32_cmdvector(const char *, char ***); extern pid_t rb_w32_pipe_exec(const char *, const char *, int, int *, int *); extern int flock(int fd, int oper); extern int rb_w32_is_socket(int); extern int __attribute__((__stdcall__)) rb_w32_accept(int, struct sockaddr *, int *); extern int __attribute__((__stdcall__)) rb_w32_bind(int, const struct sockaddr *, int); extern int __attribute__((__stdcall__)) rb_w32_connect(int, const struct sockaddr *, int); extern void rb_w32_fdset(int, fd_set*); extern void rb_w32_fdclr(int, fd_set*); extern int rb_w32_fdisset(int, fd_set*); extern int __attribute__((__stdcall__)) rb_w32_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); extern int __attribute__((__stdcall__)) rb_w32_getpeername(int, struct sockaddr *, int *); extern int __attribute__((__stdcall__)) rb_w32_getsockname(int, struct sockaddr *, int *); extern int __attribute__((__stdcall__)) rb_w32_getsockopt(int, int, int, char *, int *); extern int __attribute__((__stdcall__)) rb_w32_ioctlsocket(int, long, u_long *); extern int __attribute__((__stdcall__)) rb_w32_listen(int, int); extern int __attribute__((__stdcall__)) rb_w32_recv(int, char *, int, int); extern int __attribute__((__stdcall__)) rb_w32_recvfrom(int, char *, int, int, struct sockaddr *, int *); extern int __attribute__((__stdcall__)) rb_w32_send(int, const char *, int, int); extern int __attribute__((__stdcall__)) rb_w32_sendto(int, const char *, int, int, const struct sockaddr *, int); extern int __attribute__((__stdcall__)) rb_w32_setsockopt(int, int, int, const char *, int); extern int __attribute__((__stdcall__)) rb_w32_shutdown(int, int); extern int __attribute__((__stdcall__)) rb_w32_socket(int, int, int); extern SOCKET rb_w32_get_osfhandle(int); extern struct hostent *__attribute__((__stdcall__)) rb_w32_gethostbyaddr(const char *, int, int); extern struct hostent *__attribute__((__stdcall__)) rb_w32_gethostbyname(const char *); extern int __attribute__((__stdcall__)) rb_w32_gethostname(char *, int); extern struct protoent *__attribute__((__stdcall__)) rb_w32_getprotobyname(const char *); extern struct protoent *__attribute__((__stdcall__)) rb_w32_getprotobynumber(int); extern struct servent *__attribute__((__stdcall__)) rb_w32_getservbyname(const char *, const char *); extern struct servent *__attribute__((__stdcall__)) rb_w32_getservbyport(int, const char *); extern int rb_w32_socketpair(int, int, int, int *); extern char * rb_w32_getcwd(char *, int); extern char * rb_w32_getenv(const char *); extern int rb_w32_rename(const char *, const char *); extern char **rb_w32_get_environ(void); extern void rb_w32_free_environ(char **); extern int rb_w32_map_errno(DWORD); extern int chown(const char *, int, int); extern int link(const char *, const char *); extern int gettimeofday(struct timeval *, struct timezone *); extern pid_t waitpid (pid_t, int *, int); extern pid_t rb_w32_spawn(int, const char *, const char*); extern pid_t rb_w32_aspawn(int, const char *, char *const *); extern int kill(int, int); extern int fcntl(int, int, ...); extern pid_t rb_w32_getpid(void); extern pid_t rb_w32_getppid(void); extern int rb_w32_isatty(int); extern int rb_w32_mkdir(const char *, int); extern int rb_w32_rmdir(const char *); extern int rb_w32_unlink(const char *); extern int rb_w32_stati64(const char *, struct _stati64 *); # 272 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h" 1 3 # 19 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h" 3 # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/float.h" 1 3 4 # 20 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h" 2 3 # 102 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h" 3 unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _controlfp (unsigned int unNew, unsigned int unMask); unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _control87 (unsigned int unNew, unsigned int unMask); unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _clearfp (void); unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _statusfp (void); # 121 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fpreset (void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fpreset (void); int * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __fpecode(void); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chgsign (double); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _copysign (double, double); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _logb (double); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _nextafter (double, double); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _scalb (double, long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _finite (double); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fpclass (double); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isnan (double); # 273 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" 2 # 340 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" extern int truncate(const char *path, long long length); extern int ftruncate(int fd, long long length); extern int fseeko(FILE *stream, long long offset, int whence); extern long long ftello(FILE *stream); extern int ioctl (int, int, ...); extern int getuid (void); extern int geteuid (void); extern int getgid (void); extern int getegid (void); extern int setuid (int); extern int setgid (int); extern char *rb_w32_strerror(int); # 521 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" struct tms { long tms_utime; long tms_stime; long tms_cutime; long tms_cstime; }; int rb_w32_times(struct tms *); HANDLE GetCurrentThreadHandle(void); int rb_w32_sleep(unsigned long msec); int rb_w32_putc(int, FILE*); int rb_w32_getc(FILE*); int rb_w32_open(const char *, int, ...); int rb_w32_close(int); int rb_w32_fclose(FILE*); int rb_w32_pipe(int[2]); size_t rb_w32_read(int, void *, size_t); size_t rb_w32_write(int, const void *, size_t); int rb_w32_utime(const char *, const struct utimbuf *); int __attribute__((__stdcall__)) rb_w32_Sleep(unsigned long msec); int rb_w32_wait_events_blocking(HANDLE *events, int num, DWORD timeout); # 552 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/win32.h" typedef uintptr_t (*asynchronous_func_t)(uintptr_t self, int argc, uintptr_t* argv); uintptr_t rb_w32_asynchronize(asynchronous_func_t func, uintptr_t self, int argc, uintptr_t* argv, uintptr_t intrval); # 193 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/defines.h" 2 # 71 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 81 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" typedef unsigned long VALUE; typedef unsigned long ID; # 132 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/limits.h" 1 3 # 133 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 182 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" VALUE rb_int2inum(long); VALUE rb_uint2inum(VALUE); VALUE rb_ll2inum(long long); VALUE rb_ull2inum(unsigned long long); # 264 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" enum ruby_special_consts { RUBY_Qfalse = 0, RUBY_Qtrue = 2, RUBY_Qnil = 4, RUBY_Qundef = 6, RUBY_IMMEDIATE_MASK = 0x03, RUBY_FIXNUM_FLAG = 0x01, RUBY_SYMBOL_FLAG = 0x0e, RUBY_SPECIAL_SHIFT = 8 }; # 289 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" enum ruby_value_type { RUBY_T_NONE = 0x00, RUBY_T_OBJECT = 0x01, RUBY_T_CLASS = 0x02, RUBY_T_MODULE = 0x03, RUBY_T_FLOAT = 0x04, RUBY_T_STRING = 0x05, RUBY_T_REGEXP = 0x06, RUBY_T_ARRAY = 0x07, RUBY_T_HASH = 0x08, RUBY_T_STRUCT = 0x09, RUBY_T_BIGNUM = 0x0a, RUBY_T_FILE = 0x0b, RUBY_T_DATA = 0x0c, RUBY_T_MATCH = 0x0d, RUBY_T_COMPLEX = 0x0e, RUBY_T_RATIONAL = 0x0f, RUBY_T_NIL = 0x11, RUBY_T_TRUE = 0x12, RUBY_T_FALSE = 0x13, RUBY_T_SYMBOL = 0x14, RUBY_T_FIXNUM = 0x15, RUBY_T_UNDEF = 0x1b, RUBY_T_NODE = 0x1c, RUBY_T_ICLASS = 0x1d, RUBY_T_ZOMBIE = 0x1e, RUBY_T_MASK = 0x1f }; # 355 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" void rb_check_type(VALUE,int); VALUE rb_str_to_str(VALUE); VALUE rb_string_value(volatile VALUE*); char *rb_string_value_ptr(volatile VALUE*); char *rb_string_value_cstr(volatile VALUE*); void rb_check_safe_obj(VALUE); void rb_check_safe_str(VALUE); VALUE rb_str_export(VALUE); VALUE rb_str_export_locale(VALUE); VALUE rb_get_path(VALUE); VALUE rb_get_path_no_checksafe(VALUE); void rb_secure(int); int rb_safe_level(void); void rb_set_safe_level(int); void rb_set_safe_level_force(int); void rb_secure_update(VALUE); VALUE rb_errinfo(void); void rb_set_errinfo(VALUE); long rb_num2long(VALUE); VALUE rb_num2ulong(VALUE); static inline long NUM2LONG(VALUE x) { return (((long)(x))&RUBY_FIXNUM_FLAG) ? (((long)x)>>(int)1) : rb_num2long(x); } # 427 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" long long rb_num2ll(VALUE); unsigned long long rb_num2ull(VALUE); static inline long long NUM2LL(VALUE x) { return (((long)(x))&RUBY_FIXNUM_FLAG) ? (((long)x)>>(int)1) : rb_num2ll(x); } # 451 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" double rb_num2dbl(VALUE); VALUE rb_uint2big(VALUE); VALUE rb_int2big(long); static inline VALUE INT2NUM(int v) { if (!(((v) < (2147483647L>>1)+1) && ((v) >= (((long)(-2147483647L -1))>>(int)1)))) return rb_int2big(v); return ((VALUE)(((long)(v))<<1 | RUBY_FIXNUM_FLAG)); } static inline VALUE UINT2NUM(unsigned int v) { if (!((v) < (2147483647L>>1)+1)) return rb_uint2big(v); return ((VALUE)(((long)(v))<<1 | RUBY_FIXNUM_FLAG)); } static inline VALUE LONG2NUM(long v) { if ((((v) < (2147483647L>>1)+1) && ((v) >= (((long)(-2147483647L -1))>>(int)1)))) return ((VALUE)(((long)(v))<<1 | RUBY_FIXNUM_FLAG)); return rb_int2big(v); } static inline VALUE ULONG2NUM(unsigned long v) { if (((v) < (2147483647L>>1)+1)) return ((VALUE)(((long)(v))<<1 | RUBY_FIXNUM_FLAG)); return rb_uint2big(v); } char *rb_str2cstr(VALUE,long*); VALUE rb_newobj(void); # 518 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" struct RBasic { VALUE flags; VALUE klass; }; struct RObject { struct RBasic basic; union { struct { long numiv; VALUE *ivptr; struct st_table *iv_index_tbl; } heap; VALUE ary[3]; } as; }; # 549 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" typedef struct { VALUE super; struct st_table *iv_tbl; } rb_classext_t; struct RClass { struct RBasic basic; rb_classext_t *ptr; struct st_table *m_tbl; struct st_table *iv_index_tbl; }; # 568 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" struct RFloat { struct RBasic basic; double float_value; }; struct RString { struct RBasic basic; union { struct { long len; char *ptr; union { long capa; VALUE shared; } aux; } heap; char ary[((sizeof(VALUE)*3)/sizeof(char)-1) + 1]; } as; }; # 607 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" struct RArray { struct RBasic basic; union { struct { long len; union { long capa; VALUE shared; } aux; VALUE *ptr; } heap; VALUE ary[3]; } as; }; # 635 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" struct RRegexp { struct RBasic basic; struct re_pattern_buffer *ptr; VALUE src; unsigned long usecnt; }; struct RHash { struct RBasic basic; struct st_table *ntbl; int iter_lev; VALUE ifnone; }; struct RFile { struct RBasic basic; struct rb_io_t *fptr; }; struct RRational { struct RBasic basic; VALUE num; VALUE den; }; struct RComplex { struct RBasic basic; VALUE real; VALUE imag; }; struct RData { struct RBasic basic; void (*dmark)(void*); void (*dfree)(void*); void *data; }; typedef void (*RUBY_DATA_FUNC)(void*); VALUE rb_data_object_alloc(VALUE,void*,RUBY_DATA_FUNC,RUBY_DATA_FUNC); # 706 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" struct RStruct { struct RBasic basic; union { struct { long len; VALUE *ptr; } heap; VALUE ary[3]; } as; }; # 729 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" struct RBignum { struct RBasic basic; union { struct { long len; unsigned int *digits; } heap; unsigned int ary[((sizeof(VALUE)*3)/sizeof(unsigned int))]; } as; }; # 841 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" void rb_obj_infect(VALUE,VALUE); typedef int ruby_glob_func(const char*,VALUE, void*); void rb_glob(const char*,void(*)(const char*,VALUE,void*),VALUE); int ruby_glob(const char*,int,ruby_glob_func*,VALUE); int ruby_brace_glob(const char*,int,ruby_glob_func*,VALUE); VALUE rb_define_class(const char*,VALUE); VALUE rb_define_module(const char*); VALUE rb_define_class_under(VALUE, const char*, VALUE); VALUE rb_define_module_under(VALUE, const char*); void rb_include_module(VALUE,VALUE); void rb_extend_object(VALUE,VALUE); struct rb_global_variable; typedef VALUE rb_gvar_getter_t(ID id, void *data, struct rb_global_variable *gvar); typedef void rb_gvar_setter_t(VALUE val, ID id, void *data, struct rb_global_variable *gvar); typedef void rb_gvar_marker_t(VALUE *var); VALUE rb_gvar_undef_getter(ID id, void *data, struct rb_global_variable *gvar); void rb_gvar_undef_setter(VALUE val, ID id, void *data, struct rb_global_variable *gvar); void rb_gvar_undef_marker(VALUE *var); VALUE rb_gvar_val_getter(ID id, void *data, struct rb_global_variable *gvar); void rb_gvar_val_setter(VALUE val, ID id, void *data, struct rb_global_variable *gvar); void rb_gvar_val_marker(VALUE *var); VALUE rb_gvar_var_getter(ID id, void *data, struct rb_global_variable *gvar); void rb_gvar_var_setter(VALUE val, ID id, void *data, struct rb_global_variable *gvar); void rb_gvar_var_marker(VALUE *var); void rb_gvar_readonly_setter(VALUE val, ID id, void *data, struct rb_global_variable *gvar); void rb_define_variable(const char*,VALUE*); void rb_define_virtual_variable(const char*,VALUE(*)(),void(*)()); void rb_define_hooked_variable(const char*,VALUE*,VALUE(*)(),void(*)()); void rb_define_readonly_variable(const char*,VALUE*); void rb_define_const(VALUE,const char*,VALUE); void rb_define_global_const(const char*,VALUE); void rb_define_method(VALUE,const char*,VALUE(*)(),int); void rb_define_module_function(VALUE,const char*,VALUE(*)(),int); void rb_define_global_function(const char*,VALUE(*)(),int); void rb_undef_method(VALUE,const char*); void rb_define_alias(VALUE,const char*,const char*); void rb_define_attr(VALUE,const char*,int,int); void rb_global_variable(VALUE*); void rb_gc_register_mark_object(VALUE); void rb_gc_register_address(VALUE*); void rb_gc_unregister_address(VALUE*); ID rb_intern(const char*); ID rb_intern2(const char*, long); ID rb_intern_str(VALUE str); const char *rb_id2name(ID); ID rb_to_id(VALUE); VALUE rb_id2str(ID); # 928 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" const char *rb_class2name(VALUE); const char *rb_obj_classname(VALUE); void rb_p(VALUE); VALUE rb_eval_string(const char*); VALUE rb_eval_string_protect(const char*, int*); VALUE rb_eval_string_wrap(const char*, int*); VALUE rb_funcall(VALUE, ID, int, ...); VALUE rb_funcall2(VALUE, ID, int, const VALUE*); VALUE rb_funcall3(VALUE, ID, int, const VALUE*); int rb_scan_args(int, const VALUE*, const char*, ...); VALUE rb_call_super(int, const VALUE*); VALUE rb_gv_set(const char*, VALUE); VALUE rb_gv_get(const char*); VALUE rb_iv_get(VALUE, const char*); VALUE rb_iv_set(VALUE, const char*, VALUE); VALUE rb_equal(VALUE,VALUE); VALUE *rb_ruby_verbose_ptr(void); VALUE *rb_ruby_debug_ptr(void); __attribute__ ((noreturn)) void rb_raise(VALUE, const char*, ...) __attribute__((format(printf, 2, 3))); __attribute__ ((noreturn)) void rb_fatal(const char*, ...) __attribute__((format(printf, 1, 2))); __attribute__ ((noreturn)) void rb_bug(const char*, ...) __attribute__((format(printf, 1, 2))); __attribute__ ((noreturn)) void rb_sys_fail(const char*); __attribute__ ((noreturn)) void rb_iter_break(void); __attribute__ ((noreturn)) void rb_exit(int); __attribute__ ((noreturn)) void rb_notimplement(void); void rb_warning(const char*, ...) __attribute__((format(printf, 1, 2))); void rb_compile_warning(const char *, int, const char*, ...) __attribute__((format(printf, 3, 4))); void rb_sys_warning(const char*, ...) __attribute__((format(printf, 1, 2))); void rb_warn(const char*, ...) __attribute__((format(printf, 1, 2))); void rb_compile_warn(const char *, int, const char*, ...) __attribute__((format(printf, 3, 4))); typedef VALUE rb_block_call_func(VALUE, VALUE, int, VALUE*); VALUE rb_each(VALUE); VALUE rb_yield(VALUE); VALUE rb_yield_values(int n, ...); VALUE rb_yield_values2(int n, const VALUE *argv); VALUE rb_yield_splat(VALUE); int rb_block_given_p(void); void rb_need_block(void); VALUE rb_iterate(VALUE(*)(VALUE),VALUE,VALUE(*)(),VALUE); VALUE rb_block_call(VALUE,ID,int,VALUE*,VALUE(*)(),VALUE); VALUE rb_rescue(VALUE(*)(),VALUE,VALUE(*)(),VALUE); VALUE rb_rescue2(VALUE(*)(),VALUE,VALUE(*)(),VALUE,...); VALUE rb_ensure(VALUE(*)(),VALUE,VALUE(*)(),VALUE); VALUE rb_catch(const char*,VALUE(*)(),VALUE); VALUE rb_catch_obj(VALUE,VALUE(*)(),VALUE); __attribute__ ((noreturn)) void rb_throw(const char*,VALUE); __attribute__ ((noreturn)) void rb_throw_obj(VALUE,VALUE); VALUE rb_require(const char*); void ruby_init_stack(VALUE*); void ruby_init(void); void *ruby_options(int, char**); int ruby_run_node(void *); extern VALUE rb_mKernel; extern VALUE rb_mComparable; extern VALUE rb_mEnumerable; extern VALUE rb_mErrno; extern VALUE rb_mFileTest; extern VALUE rb_mGC; extern VALUE rb_mMath; extern VALUE rb_mProcess; extern VALUE rb_cBasicObject; extern VALUE rb_cObject; extern VALUE rb_cArray; extern VALUE rb_cBignum; extern VALUE rb_cBinding; extern VALUE rb_cClass; extern VALUE rb_cCont; extern VALUE rb_cDir; extern VALUE rb_cData; extern VALUE rb_cFalseClass; extern VALUE rb_cEncoding; extern VALUE rb_cEnumerator; extern VALUE rb_cFile; extern VALUE rb_cFixnum; extern VALUE rb_cFloat; extern VALUE rb_cHash; extern VALUE rb_cInteger; extern VALUE rb_cIO; extern VALUE rb_cMatch; extern VALUE rb_cMethod; extern VALUE rb_cModule; extern VALUE rb_cNameErrorMesg; extern VALUE rb_cNilClass; extern VALUE rb_cNumeric; extern VALUE rb_cProc; extern VALUE rb_cRange; extern VALUE rb_cRational; extern VALUE rb_cComplex; extern VALUE rb_cRegexp; extern VALUE rb_cStat; extern VALUE rb_cString; extern VALUE rb_cStruct; extern VALUE rb_cSymbol; extern VALUE rb_cThread; extern VALUE rb_cTime; extern VALUE rb_cTrueClass; extern VALUE rb_cUnboundMethod; extern VALUE rb_eException; extern VALUE rb_eStandardError; extern VALUE rb_eSystemExit; extern VALUE rb_eInterrupt; extern VALUE rb_eSignal; extern VALUE rb_eFatal; extern VALUE rb_eArgError; extern VALUE rb_eEOFError; extern VALUE rb_eIndexError; extern VALUE rb_eStopIteration; extern VALUE rb_eKeyError; extern VALUE rb_eRangeError; extern VALUE rb_eIOError; extern VALUE rb_eRuntimeError; extern VALUE rb_eSecurityError; extern VALUE rb_eSystemCallError; extern VALUE rb_eThreadError; extern VALUE rb_eTypeError; extern VALUE rb_eZeroDivError; extern VALUE rb_eNotImpError; extern VALUE rb_eNoMemError; extern VALUE rb_eNoMethodError; extern VALUE rb_eFloatDomainError; extern VALUE rb_eLocalJumpError; extern VALUE rb_eSysStackError; extern VALUE rb_eRegexpError; extern VALUE rb_eEncodingError; extern VALUE rb_eEncCompatError; extern VALUE rb_eScriptError; extern VALUE rb_eNameError; extern VALUE rb_eSyntaxError; extern VALUE rb_eLoadError; extern VALUE rb_stdin, rb_stdout, rb_stderr; static inline VALUE rb_class_of(VALUE obj) { if (((VALUE)(obj) & RUBY_IMMEDIATE_MASK)) { if ((((long)(obj))&RUBY_FIXNUM_FLAG)) return rb_cFixnum; if (obj == ((VALUE)RUBY_Qtrue)) return rb_cTrueClass; if ((((VALUE)(obj)&~(~(VALUE)0<klass; } static inline int rb_type(VALUE obj) { if (((VALUE)(obj) & RUBY_IMMEDIATE_MASK)) { if ((((long)(obj))&RUBY_FIXNUM_FLAG)) return RUBY_T_FIXNUM; if (obj == ((VALUE)RUBY_Qtrue)) return RUBY_T_TRUE; if ((((VALUE)(obj)&~(~(VALUE)0<flags & RUBY_T_MASK); } static inline int rb_special_const_p(VALUE obj) { if ((((VALUE)(obj) & RUBY_IMMEDIATE_MASK) || !(((VALUE)(obj) & ~((VALUE)RUBY_Qnil)) != 0))) return ((VALUE)RUBY_Qtrue); return ((VALUE)RUBY_Qfalse); } # 1 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/missing.h" 1 # 35 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/missing.h" struct timespec { time_t tv_sec; long tv_nsec; }; # 52 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/missing.h" extern char *crypt(const char *, const char *); extern int eaccess(const char*, int); extern int flock(int, int); # 91 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/missing.h" extern double lgamma_r(double, int *); # 164 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/missing.h" extern size_t strlcpy(char *, const char*, size_t); extern size_t strlcat(char *, const char*, size_t); # 1126 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 1 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/intern.h" 1 # 29 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/intern.h" # 1 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/st.h" 1 # 24 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/st.h" # 1 "c:/ruby18/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h" 1 3 4 # 25 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/st.h" 2 typedef unsigned long st_data_t; # 56 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/st.h" typedef struct st_table st_table; typedef int st_compare_func(st_data_t, st_data_t); typedef int st_hash_func(st_data_t); struct st_hash_type { int (*compare)( ); int (*hash)( ); }; typedef st_data_t st_index_t; struct st_table { const struct st_hash_type *type; st_index_t num_bins; unsigned int entries_packed : 1; __extension__ st_index_t num_entries : (sizeof(st_index_t) * 8) - 1; struct st_table_entry **bins; struct st_table_entry *head, *tail; }; enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE, ST_CHECK}; st_table *st_init_table(const struct st_hash_type *); st_table *st_init_table_with_size(const struct st_hash_type *, int); st_table *st_init_numtable(void); st_table *st_init_numtable_with_size(int); st_table *st_init_strtable(void); st_table *st_init_strtable_with_size(int); st_table *st_init_strcasetable(void); st_table *st_init_strcasetable_with_size(int); int st_delete(st_table *, st_data_t *, st_data_t *); int st_delete_safe(st_table *, st_data_t *, st_data_t *, st_data_t); int st_insert(st_table *, st_data_t, st_data_t); int st_lookup(st_table *, st_data_t, st_data_t *); int st_get_key(st_table *, st_data_t, st_data_t *); int st_foreach(st_table *, int (*)(), st_data_t); int st_reverse_foreach(st_table *, int (*)(), st_data_t); void st_add_direct(st_table *, st_data_t, st_data_t); void st_free_table(st_table *); void st_cleanup_safe(st_table *, st_data_t); void st_clear(st_table *); st_table *st_copy(st_table *); int st_numcmp(st_data_t, st_data_t); int st_numhash(st_data_t); int st_strcasecmp(const char *s1, const char *s2); int st_strncasecmp(const char *s1, const char *s2, size_t n); # 30 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/intern.h" 2 # 39 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/intern.h" void rb_mem_clear(register VALUE*, register long); VALUE rb_assoc_new(VALUE, VALUE); VALUE rb_check_array_type(VALUE); VALUE rb_ary_new(void); VALUE rb_ary_new2(long); VALUE rb_ary_new3(long,...); VALUE rb_ary_new4(long, const VALUE *); VALUE rb_ary_tmp_new(long); void rb_ary_free(VALUE); VALUE rb_ary_freeze(VALUE); VALUE rb_ary_aref(int, VALUE*, VALUE); VALUE rb_ary_subseq(VALUE, long, long); void rb_ary_store(VALUE, long, VALUE); VALUE rb_ary_dup(VALUE); VALUE rb_ary_to_ary(VALUE); VALUE rb_ary_to_s(VALUE); VALUE rb_ary_push(VALUE, VALUE); VALUE rb_ary_pop(VALUE); VALUE rb_ary_shift(VALUE); VALUE rb_ary_unshift(VALUE, VALUE); VALUE rb_ary_entry(VALUE, long); VALUE rb_ary_each(VALUE); VALUE rb_ary_join(VALUE, VALUE); VALUE rb_ary_print_on(VALUE, VALUE); VALUE rb_ary_reverse(VALUE); VALUE rb_ary_sort(VALUE); VALUE rb_ary_sort_bang(VALUE); VALUE rb_ary_delete(VALUE, VALUE); VALUE rb_ary_delete_at(VALUE, long); VALUE rb_ary_clear(VALUE); VALUE rb_ary_plus(VALUE, VALUE); VALUE rb_ary_concat(VALUE, VALUE); VALUE rb_ary_assoc(VALUE, VALUE); VALUE rb_ary_rassoc(VALUE, VALUE); VALUE rb_ary_includes(VALUE, VALUE); VALUE rb_ary_cmp(VALUE, VALUE); VALUE rb_ary_replace(VALUE copy, VALUE orig); VALUE rb_get_values_at(VALUE, long, int, VALUE*, VALUE(*)(VALUE,long)); VALUE rb_big_clone(VALUE); void rb_big_2comp(VALUE); VALUE rb_big_norm(VALUE); void rb_big_resize(VALUE big, long len); VALUE rb_uint2big(VALUE); VALUE rb_int2big(long); VALUE rb_uint2inum(VALUE); VALUE rb_int2inum(long); VALUE rb_cstr_to_inum(const char*, int, int); VALUE rb_str_to_inum(VALUE, int, int); VALUE rb_cstr2inum(const char*, int); VALUE rb_str2inum(VALUE, int); VALUE rb_big2str(VALUE, int); VALUE rb_big2str0(VALUE, int, int); long rb_big2long(VALUE); VALUE rb_big2ulong(VALUE); VALUE rb_ll2inum(long long); VALUE rb_ull2inum(unsigned long long); long long rb_big2ll(VALUE); unsigned long long rb_big2ull(VALUE); void rb_quad_pack(char*,VALUE); VALUE rb_quad_unpack(const char*,int); int rb_uv_to_utf8(char[6],unsigned long); VALUE rb_dbl2big(double); double rb_big2dbl(VALUE); VALUE rb_big_cmp(VALUE, VALUE); VALUE rb_big_eq(VALUE, VALUE); VALUE rb_big_plus(VALUE, VALUE); VALUE rb_big_minus(VALUE, VALUE); VALUE rb_big_mul(VALUE, VALUE); VALUE rb_big_div(VALUE, VALUE); VALUE rb_big_modulo(VALUE, VALUE); VALUE rb_big_divmod(VALUE, VALUE); VALUE rb_big_pow(VALUE, VALUE); VALUE rb_big_and(VALUE, VALUE); VALUE rb_big_or(VALUE, VALUE); VALUE rb_big_xor(VALUE, VALUE); VALUE rb_big_lshift(VALUE, VALUE); VALUE rb_big_rshift(VALUE, VALUE); VALUE rb_rational_raw(VALUE, VALUE); VALUE rb_rational_new(VALUE, VALUE); VALUE rb_Rational(VALUE, VALUE); VALUE rb_complex_raw(VALUE, VALUE); VALUE rb_complex_new(VALUE, VALUE); VALUE rb_complex_polar(VALUE, VALUE); VALUE rb_Complex(VALUE, VALUE); VALUE rb_class_boot(VALUE); VALUE rb_class_new(VALUE); VALUE rb_mod_init_copy(VALUE, VALUE); VALUE rb_class_init_copy(VALUE, VALUE); VALUE rb_singleton_class_clone(VALUE); void rb_singleton_class_attached(VALUE,VALUE); VALUE rb_make_metaclass(VALUE, VALUE); void rb_check_inheritable(VALUE); VALUE rb_class_inherited(VALUE, VALUE); VALUE rb_define_class_id(ID, VALUE); VALUE rb_module_new(void); VALUE rb_define_module_id(ID); VALUE rb_mod_included_modules(VALUE); VALUE rb_mod_include_p(VALUE, VALUE); VALUE rb_mod_ancestors(VALUE); VALUE rb_class_instance_methods(int, VALUE*, VALUE); VALUE rb_class_public_instance_methods(int, VALUE*, VALUE); VALUE rb_class_protected_instance_methods(int, VALUE*, VALUE); VALUE rb_class_private_instance_methods(int, VALUE*, VALUE); VALUE rb_obj_singleton_methods(int, VALUE*, VALUE); void rb_define_method_id(VALUE, ID, VALUE (*)(), int); void rb_frozen_class_p(VALUE); void rb_undef(VALUE, ID); void rb_define_protected_method(VALUE, const char*, VALUE (*)(), int); void rb_define_private_method(VALUE, const char*, VALUE (*)(), int); void rb_define_singleton_method(VALUE, const char*, VALUE(*)(), int); VALUE rb_singleton_class(VALUE); int rb_cmpint(VALUE, VALUE, VALUE); __attribute__ ((noreturn)) void rb_cmperr(VALUE, VALUE); VALUE rb_fiber_new(VALUE (*)(), VALUE); VALUE rb_fiber_resume(VALUE fib, int argc, VALUE *args); VALUE rb_fiber_yield(int argc, VALUE *args); VALUE rb_fiber_current(void); VALUE rb_fiber_alive_p(VALUE); VALUE rb_enumeratorize(VALUE, VALUE, int, VALUE *); VALUE rb_exc_new(VALUE, const char*, long); VALUE rb_exc_new2(VALUE, const char*); VALUE rb_exc_new3(VALUE, VALUE); __attribute__ ((noreturn)) void rb_loaderror(const char*, ...) __attribute__((format(printf, 1, 2))); __attribute__ ((noreturn)) void rb_name_error(ID, const char*, ...) __attribute__((format(printf, 2, 3))); __attribute__ ((noreturn)) void rb_invalid_str(const char*, const char*); void rb_compile_error(const char*, int, const char*, ...) __attribute__((format(printf, 3, 4))); void rb_compile_error_append(const char*, ...) __attribute__((format(printf, 1, 2))); __attribute__ ((noreturn)) void rb_load_fail(const char*); __attribute__ ((noreturn)) void rb_error_frozen(const char*); void rb_check_frozen(VALUE); int rb_sourceline(void); const char *rb_sourcefile(void); # 223 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/intern.h" typedef struct { int capa; fd_set *fdset; } rb_fdset_t; void rb_fd_init(volatile rb_fdset_t *); void rb_fd_term(rb_fdset_t *); void rb_fd_set(int, rb_fdset_t *); # 255 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/intern.h" __attribute__ ((noreturn)) void rb_exc_raise(VALUE); __attribute__ ((noreturn)) void rb_exc_fatal(VALUE); VALUE rb_f_exit(int,VALUE*); VALUE rb_f_abort(int,VALUE*); void rb_remove_method(VALUE, const char*); typedef VALUE (*rb_alloc_func_t)(VALUE); void rb_define_alloc_func(VALUE, rb_alloc_func_t); void rb_undef_alloc_func(VALUE); rb_alloc_func_t rb_get_alloc_func(VALUE); void rb_clear_cache(void); void rb_clear_cache_by_class(VALUE); void rb_alias(VALUE, ID, ID); void rb_attr(VALUE,ID,int,int,int); int rb_method_boundp(VALUE, ID, int); int rb_method_basic_definition_p(VALUE, ID); VALUE rb_eval_cmd(VALUE, VALUE, int); int rb_obj_respond_to(VALUE, ID, int); int rb_respond_to(VALUE, ID); void rb_interrupt(void); VALUE rb_apply(VALUE, ID, VALUE); void rb_backtrace(void); ID rb_frame_this_func(void); VALUE rb_obj_instance_eval(int, VALUE*, VALUE); VALUE rb_obj_instance_exec(int, VALUE*, VALUE); VALUE rb_mod_module_eval(int, VALUE*, VALUE); VALUE rb_mod_module_exec(int, VALUE*, VALUE); void rb_load(VALUE, int); void rb_load_protect(VALUE, int, int*); __attribute__ ((noreturn)) void rb_jump_tag(int); int rb_provided(const char*); int rb_feature_provided(const char *, const char **); void rb_provide(const char*); VALUE rb_f_require(VALUE, VALUE); VALUE rb_require_safe(VALUE, int); void rb_obj_call_init(VALUE, int, VALUE*); VALUE rb_class_new_instance(int, VALUE*, VALUE); VALUE rb_block_proc(void); VALUE rb_f_lambda(void); VALUE rb_proc_new(VALUE (*)( ), VALUE); VALUE rb_proc_call(VALUE, VALUE); VALUE rb_proc_call_with_block(VALUE, int argc, VALUE *argv, VALUE); int rb_proc_arity(VALUE); VALUE rb_binding_new(void); VALUE rb_obj_method(VALUE, VALUE); VALUE rb_method_call(int, VALUE*, VALUE); int rb_mod_method_arity(VALUE, ID); int rb_obj_method_arity(VALUE, ID); VALUE rb_protect(VALUE (*)(VALUE), VALUE, int*); void rb_set_end_proc(void (*)(VALUE), VALUE); void rb_mark_end_proc(void); void rb_exec_end_proc(void); void Init_jump(void); void ruby_finalize(void); __attribute__ ((noreturn)) void ruby_stop(int); int ruby_cleanup(int); void rb_gc_mark_threads(void); void rb_thread_schedule(void); void rb_thread_wait_fd(int); int rb_thread_fd_writable(int); void rb_thread_fd_close(int); int rb_thread_alone(void); void rb_thread_polling(void); void rb_thread_sleep(int); void rb_thread_sleep_forever(void); VALUE rb_thread_stop(void); VALUE rb_thread_wakeup(VALUE); VALUE rb_thread_run(VALUE); VALUE rb_thread_kill(VALUE); VALUE rb_thread_create(VALUE (*)(), void*); void rb_thread_signal_raise(void *, int); void rb_thread_signal_exit(void *); int rb_thread_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); void rb_thread_wait_for(struct timeval); VALUE rb_thread_current(void); VALUE rb_thread_main(void); VALUE rb_thread_local_aref(VALUE, ID); VALUE rb_thread_local_aset(VALUE, ID, VALUE); void rb_thread_atfork(void); void rb_thread_atfork_before_exec(void); VALUE rb_exec_recursive(VALUE(*)(VALUE, VALUE, int),VALUE,VALUE); VALUE rb_exec_recursive_paired(VALUE(*)(VALUE, VALUE, int),VALUE,VALUE,VALUE); VALUE rb_file_s_expand_path(int, VALUE *); VALUE rb_file_expand_path(VALUE, VALUE); VALUE rb_file_s_absolute_path(int, VALUE *); VALUE rb_file_absolute_path(VALUE, VALUE); void rb_file_const(const char*, VALUE); int rb_find_file_ext(VALUE*, const char* const*); VALUE rb_find_file(VALUE); char *rb_path_next(const char *); char *rb_path_skip_prefix(const char *); char *rb_path_last_separator(const char *); char *rb_path_end(const char *); VALUE rb_file_directory_p(VALUE,VALUE); void ruby_set_stack_size(size_t); __attribute__ ((noreturn)) void rb_memerror(void); int ruby_stack_check(void); size_t ruby_stack_length(VALUE**); int rb_during_gc(void); void rb_gc_mark_locations(VALUE*, VALUE*); void rb_mark_tbl(struct st_table*); void rb_mark_set(struct st_table*); void rb_mark_hash(struct st_table*); void rb_gc_mark_maybe(VALUE); void rb_gc_mark(VALUE); void rb_gc_force_recycle(VALUE); void rb_gc(void); void rb_gc_copy_finalizer(VALUE,VALUE); void rb_gc_finalize_deferred(void); void rb_gc_call_finalizer_at_exit(void); VALUE rb_gc_enable(void); VALUE rb_gc_disable(void); VALUE rb_gc_start(void); void st_foreach_safe(struct st_table *, int (*)(), st_data_t); void rb_hash_foreach(VALUE, int (*)(), VALUE); VALUE rb_hash(VALUE); VALUE rb_hash_new(void); VALUE rb_hash_dup(VALUE); VALUE rb_hash_freeze(VALUE); VALUE rb_hash_aref(VALUE, VALUE); VALUE rb_hash_lookup(VALUE, VALUE); VALUE rb_hash_lookup2(VALUE, VALUE, VALUE); VALUE rb_hash_fetch(VALUE, VALUE); VALUE rb_hash_aset(VALUE, VALUE, VALUE); VALUE rb_hash_delete_if(VALUE); VALUE rb_hash_delete(VALUE,VALUE); struct st_table *rb_hash_tbl(VALUE); int rb_path_check(const char*); int rb_env_path_tainted(void); VALUE rb_env_clear(void); extern VALUE rb_fs; extern VALUE rb_output_fs; extern VALUE rb_rs; extern VALUE rb_default_rs; extern VALUE rb_output_rs; VALUE rb_io_write(VALUE, VALUE); VALUE rb_io_gets(VALUE); VALUE rb_io_getbyte(VALUE); VALUE rb_io_ungetc(VALUE, VALUE); VALUE rb_io_ungetbyte(VALUE, VALUE); VALUE rb_io_close(VALUE); VALUE rb_io_flush(VALUE); VALUE rb_io_eof(VALUE); VALUE rb_io_binmode(VALUE); VALUE rb_io_ascii8bit_binmode(VALUE); VALUE rb_io_addstr(VALUE, VALUE); VALUE rb_io_printf(int, VALUE*, VALUE); VALUE rb_io_print(int, VALUE*, VALUE); VALUE rb_io_puts(int, VALUE*, VALUE); VALUE rb_io_fdopen(int, int, const char*); VALUE rb_file_open(const char*, const char*); VALUE rb_file_open_str(VALUE, const char*); VALUE rb_gets(void); void rb_write_error(const char*); void rb_write_error2(const char*, long); void rb_close_before_exec(int lowfd, int maxhint, VALUE noclose_fds); int rb_pipe(int *pipes); VALUE rb_marshal_dump(VALUE, VALUE); VALUE rb_marshal_load(VALUE); void rb_marshal_define_compat(VALUE newclass, VALUE oldclass, VALUE (*dumper)(VALUE), VALUE (*loader)(VALUE, VALUE)); void rb_num_zerodiv(void); VALUE rb_num_coerce_bin(VALUE, VALUE, ID); VALUE rb_num_coerce_cmp(VALUE, VALUE, ID); VALUE rb_num_coerce_relop(VALUE, VALUE, ID); VALUE rb_float_new(double); VALUE rb_num2fix(VALUE); VALUE rb_fix2str(VALUE, int); VALUE rb_dbl_cmp(double, double); int rb_eql(VALUE, VALUE); VALUE rb_any_to_s(VALUE); VALUE rb_inspect(VALUE); VALUE rb_obj_is_instance_of(VALUE, VALUE); VALUE rb_obj_is_kind_of(VALUE, VALUE); VALUE rb_obj_alloc(VALUE); VALUE rb_obj_clone(VALUE); VALUE rb_obj_dup(VALUE); VALUE rb_obj_init_copy(VALUE,VALUE); VALUE rb_obj_taint(VALUE); VALUE rb_obj_tainted(VALUE); VALUE rb_obj_untaint(VALUE); VALUE rb_obj_untrust(VALUE); VALUE rb_obj_untrusted(VALUE); VALUE rb_obj_trust(VALUE); VALUE rb_obj_freeze(VALUE); VALUE rb_obj_frozen_p(VALUE); VALUE rb_obj_id(VALUE); VALUE rb_obj_class(VALUE); VALUE rb_class_real(VALUE); VALUE rb_class_inherited_p(VALUE, VALUE); VALUE rb_convert_type(VALUE,int,const char*,const char*); VALUE rb_check_convert_type(VALUE,int,const char*,const char*); VALUE rb_check_to_integer(VALUE, const char *); VALUE rb_to_int(VALUE); VALUE rb_Integer(VALUE); VALUE rb_to_float(VALUE); VALUE rb_Float(VALUE); VALUE rb_String(VALUE); VALUE rb_Array(VALUE); double rb_cstr_to_dbl(const char*, int); double rb_str_to_dbl(VALUE, int); extern int ruby_sourceline; extern char *ruby_sourcefile; ID rb_id_attrset(ID); void rb_gc_mark_parser(void); int rb_is_const_id(ID); int rb_is_instance_id(ID); int rb_is_class_id(ID); int rb_is_local_id(ID); int rb_is_junk_id(ID); int rb_symname_p(const char*); int rb_sym_interned_p(VALUE); void rb_gc_mark_symbols(void); VALUE rb_backref_get(void); void rb_backref_set(VALUE); VALUE rb_lastline_get(void); void rb_lastline_set(VALUE); VALUE rb_sym_all_symbols(void); void rb_last_status_set(int status, pid_t pid); VALUE rb_last_status_get(void); struct rb_exec_arg { int argc; VALUE *argv; const char *prog; VALUE options; VALUE redirect_fds; }; int rb_proc_exec_n(int, VALUE*, const char*); int rb_proc_exec(const char*); VALUE rb_exec_arg_init(int argc, VALUE *argv, int accept_shell, struct rb_exec_arg *e); int rb_exec_arg_addopt(struct rb_exec_arg *e, VALUE key, VALUE val); void rb_exec_arg_fixup(struct rb_exec_arg *e); int rb_run_exec_options(const struct rb_exec_arg *e, struct rb_exec_arg *s); int rb_exec(const struct rb_exec_arg*); pid_t rb_fork(int*, int (*)(void*), void*, VALUE); VALUE rb_f_exec(int,VALUE*); pid_t rb_waitpid(pid_t pid, int *status, int flags); void rb_syswait(pid_t pid); pid_t rb_spawn(int, VALUE*); VALUE rb_proc_times(VALUE); VALUE rb_detach_process(pid_t pid); VALUE rb_range_new(VALUE, VALUE, int); VALUE rb_range_beg_len(VALUE, long*, long*, long, int); unsigned long rb_genrand_int32(void); double rb_genrand_real(void); void rb_reset_random_seed(void); int rb_memcicmp(const void*,const void*,long); void rb_match_busy(VALUE); VALUE rb_reg_nth_defined(int, VALUE); VALUE rb_reg_nth_match(int, VALUE); VALUE rb_reg_last_match(VALUE); VALUE rb_reg_match_pre(VALUE); VALUE rb_reg_match_post(VALUE); VALUE rb_reg_match_last(VALUE); VALUE rb_reg_new_str(VALUE, int); VALUE rb_reg_new(const char *, long, int); VALUE rb_reg_match(VALUE, VALUE); VALUE rb_reg_match2(VALUE); int rb_reg_options(VALUE); void rb_set_kcode(const char*); const char* rb_get_kcode(void); extern VALUE rb_argv0; VALUE rb_get_argv(void); void *rb_load_file(const char*); void ruby_script(const char*); void ruby_prog_init(void); void ruby_set_argv(int, char**); void *ruby_process_options(int, char**); void ruby_init_loadpath(void); void ruby_incpush(const char*); VALUE rb_f_kill(int, VALUE*); void rb_gc_mark_trap_list(void); void ruby_sig_finalize(void); void rb_trap_exit(void); void rb_trap_exec(void); const char *ruby_signal_name(int); void ruby_default_signal(int); VALUE rb_f_sprintf(int, const VALUE*); VALUE rb_sprintf(const char*, ...) __attribute__((format(printf, 1, 2))); VALUE rb_vsprintf(const char*, va_list); VALUE rb_str_catf(VALUE, const char*, ...) __attribute__((format(printf, 2, 3))); VALUE rb_str_vcatf(VALUE, const char*, va_list); VALUE rb_str_format(int, const VALUE *, VALUE); VALUE rb_str_new(const char*, long); VALUE rb_str_new_cstr(const char*); VALUE rb_str_new2(const char*); VALUE rb_str_new_shared(VALUE); VALUE rb_str_new3(VALUE); VALUE rb_str_new_frozen(VALUE); VALUE rb_str_new4(VALUE); VALUE rb_str_new_with_class(VALUE, const char*, long); VALUE rb_str_new5(VALUE, const char*, long); VALUE rb_tainted_str_new_cstr(const char*); VALUE rb_tainted_str_new(const char*, long); VALUE rb_tainted_str_new2(const char*); VALUE rb_external_str_new(const char*, long); VALUE rb_external_str_new_cstr(const char*); VALUE rb_locale_str_new(const char*, long); VALUE rb_locale_str_new_cstr(const char*); VALUE rb_str_buf_new(long); VALUE rb_str_buf_new_cstr(const char*); VALUE rb_str_buf_new2(const char*); VALUE rb_str_tmp_new(long); VALUE rb_usascii_str_new(const char*, long); VALUE rb_usascii_str_new_cstr(const char*); VALUE rb_usascii_str_new2(const char*); void rb_str_free(VALUE); void rb_str_shared_replace(VALUE, VALUE); VALUE rb_str_buf_append(VALUE, VALUE); VALUE rb_str_buf_cat(VALUE, const char*, long); VALUE rb_str_buf_cat2(VALUE, const char*); VALUE rb_str_buf_cat_ascii(VALUE, const char*); VALUE rb_obj_as_string(VALUE); VALUE rb_check_string_type(VALUE); VALUE rb_str_dup(VALUE); VALUE rb_str_locktmp(VALUE); VALUE rb_str_unlocktmp(VALUE); VALUE rb_str_dup_frozen(VALUE); VALUE rb_str_plus(VALUE, VALUE); VALUE rb_str_times(VALUE, VALUE); long rb_str_sublen(VALUE, long); VALUE rb_str_substr(VALUE, long, long); VALUE rb_str_subseq(VALUE, long, long); void rb_str_modify(VALUE); VALUE rb_str_freeze(VALUE); void rb_str_set_len(VALUE, long); VALUE rb_str_resize(VALUE, long); VALUE rb_str_cat(VALUE, const char*, long); VALUE rb_str_cat2(VALUE, const char*); VALUE rb_str_append(VALUE, VALUE); VALUE rb_str_concat(VALUE, VALUE); int rb_memhash(const void *ptr, long len); int rb_str_hash(VALUE); int rb_str_hash_cmp(VALUE,VALUE); int rb_str_comparable(VALUE, VALUE); int rb_str_cmp(VALUE, VALUE); VALUE rb_str_equal(VALUE str1, VALUE str2); VALUE rb_str_drop_bytes(VALUE, long); void rb_str_update(VALUE, long, long, VALUE); VALUE rb_str_replace(VALUE, VALUE); VALUE rb_str_inspect(VALUE); VALUE rb_str_dump(VALUE); VALUE rb_str_split(VALUE, const char*); void rb_str_associate(VALUE, VALUE); VALUE rb_str_associated(VALUE); void rb_str_setter(VALUE, ID, VALUE*); VALUE rb_str_intern(VALUE); VALUE rb_sym_to_s(VALUE); VALUE rb_str_length(VALUE); long rb_str_offset(VALUE, long); size_t rb_str_capacity(VALUE); # 692 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/intern.h" VALUE rb_struct_new(VALUE, ...); VALUE rb_struct_define(const char*, ...); VALUE rb_struct_alloc(VALUE, VALUE); VALUE rb_struct_initialize(VALUE, VALUE); VALUE rb_struct_aref(VALUE, VALUE); VALUE rb_struct_aset(VALUE, VALUE, VALUE); VALUE rb_struct_getmember(VALUE, ID); VALUE rb_struct_iv_get(VALUE, const char*); VALUE rb_struct_s_members(VALUE); VALUE rb_struct_members(VALUE); VALUE rb_struct_alloc_noinit(VALUE); VALUE rb_struct_define_without_accessor(const char *, VALUE, rb_alloc_func_t, ...); typedef void rb_unblock_function_t(void *); typedef VALUE rb_blocking_function_t(void *); void rb_thread_check_ints(void); int rb_thread_interrupted(VALUE thval); VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1, rb_unblock_function_t *ubf, void *data2); VALUE rb_mutex_new(void); VALUE rb_mutex_locked_p(VALUE mutex); VALUE rb_mutex_try_lock(VALUE mutex); VALUE rb_mutex_lock(VALUE mutex); VALUE rb_mutex_unlock(VALUE mutex); VALUE rb_mutex_sleep(VALUE self, VALUE timeout); VALUE rb_mutex_synchronize(VALUE mutex, VALUE (*func)(VALUE arg), VALUE arg); VALUE rb_barrier_new(void); VALUE rb_barrier_wait(VALUE self); VALUE rb_barrier_release(VALUE self); VALUE rb_barrier_destroy(VALUE self); VALUE rb_time_new(time_t, long); VALUE rb_time_nano_new(time_t, long); VALUE rb_mod_name(VALUE); VALUE rb_class_path(VALUE); void rb_set_class_path(VALUE, VALUE, const char*); VALUE rb_path2class(const char*); void rb_name_class(VALUE, ID); VALUE rb_class_name(VALUE); void rb_autoload(VALUE, ID, const char*); VALUE rb_autoload_load(VALUE, ID); VALUE rb_autoload_p(VALUE, ID); void rb_gc_mark_global_tbl(void); VALUE rb_f_trace_var(int, VALUE*); VALUE rb_f_untrace_var(int, VALUE*); VALUE rb_f_global_variables(void); void rb_alias_variable(ID, ID); struct st_table* rb_generic_ivar_table(VALUE); void rb_copy_generic_ivar(VALUE,VALUE); void rb_mark_generic_ivar(VALUE); void rb_mark_generic_ivar_tbl(void); void rb_free_generic_ivar(VALUE); VALUE rb_ivar_get(VALUE, ID); VALUE rb_ivar_set(VALUE, ID, VALUE); VALUE rb_ivar_defined(VALUE, ID); void rb_ivar_foreach(VALUE, int (*)(), st_data_t); VALUE rb_iv_set(VALUE, const char*, VALUE); VALUE rb_iv_get(VALUE, const char*); VALUE rb_attr_get(VALUE, ID); VALUE rb_obj_instance_variables(VALUE); VALUE rb_obj_remove_instance_variable(VALUE, VALUE); void *rb_mod_const_at(VALUE, void*); void *rb_mod_const_of(VALUE, void*); VALUE rb_const_list(void*); VALUE rb_mod_constants(int, VALUE *, VALUE); VALUE rb_mod_remove_const(VALUE, VALUE); int rb_const_defined(VALUE, ID); int rb_const_defined_at(VALUE, ID); int rb_const_defined_from(VALUE, ID); VALUE rb_const_get(VALUE, ID); VALUE rb_const_get_at(VALUE, ID); VALUE rb_const_get_from(VALUE, ID); void rb_const_set(VALUE, ID, VALUE); VALUE rb_mod_const_missing(VALUE,VALUE); VALUE rb_cvar_defined(VALUE, ID); void rb_cvar_set(VALUE, ID, VALUE); VALUE rb_cvar_get(VALUE, ID); void rb_cv_set(VALUE, const char*, VALUE); VALUE rb_cv_get(VALUE, const char*); void rb_define_class_variable(VALUE, const char*, VALUE); VALUE rb_mod_class_variables(VALUE); VALUE rb_mod_remove_cvar(VALUE, VALUE); void ruby_show_version(void); void ruby_show_copyright(void); ID rb_frame_callee(void); VALUE rb_str_succ(VALUE); VALUE rb_time_succ(VALUE); void rb_frame_pop(void); int rb_frame_method_id_and_class(ID *idp, VALUE *klassp); # 1127 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" 2 # 1140 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" void ruby_sysinit(int *, char ***); int ruby_native_thread_p(void); # 1160 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" typedef unsigned int rb_event_flag_t; typedef void (*rb_event_hook_func_t)(rb_event_flag_t, VALUE data, VALUE, ID, VALUE klass); typedef struct rb_event_hook_struct { rb_event_flag_t flag; rb_event_hook_func_t func; VALUE data; struct rb_event_hook_struct *next; } rb_event_hook_t; void rb_add_event_hook(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data); int rb_remove_event_hook(rb_event_hook_func_t func); int rb_isalnum(int c); int rb_isalpha(int c); int rb_isblank(int c); int rb_iscntrl(int c); int rb_isdigit(int c); int rb_isgraph(int c); int rb_islower(int c); int rb_isprint(int c); int rb_ispunct(int c); int rb_isspace(int c); int rb_isupper(int c); int rb_isxdigit(int c); int rb_tolower(int c); int rb_toupper(int c); # 1207 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby/ruby.h" int st_strcasecmp(const char *s1, const char *s2); int st_strncasecmp(const char *s1, const char *s2, size_t n); unsigned long ruby_strtoul(const char *str, char **endptr, int base); # 33 "C:/installs/ruby191p243p2/include/ruby-1.9.1/ruby.h" 2 # 58 "ruby_prof.h" 2 # 67 "ruby_prof.h" # 1 "version.h" 1 # 68 "ruby_prof.h" 2 # 76 "ruby_prof.h" typedef unsigned long long prof_measure_t; # 1 "measure_process_time.h" 1 # 31 "measure_process_time.h" static prof_measure_t measure_process_time() { return clock(); } static double convert_process_time(prof_measure_t c) { return (double) c / ((clock_t)1000); } static VALUE prof_measure_process_time(VALUE self) { return rb_float_new(convert_process_time(measure_process_time())); } # 82 "ruby_prof.h" 2 # 1 "measure_wall_time.h" 1 # 30 "measure_wall_time.h" static prof_measure_t measure_wall_time() { struct timeval tv; gettimeofday(&tv, ((void *)0)); return tv.tv_sec * 1000000 + tv.tv_usec; } static double convert_wall_time(prof_measure_t c) { return (double) c / 1000000; } static VALUE prof_measure_wall_time(VALUE self) { return rb_float_new(convert_wall_time(measure_wall_time())); } # 83 "ruby_prof.h" 2 # 1 "measure_cpu_time.h" 1 # 32 "measure_cpu_time.h" static unsigned long long cpu_frequency; static prof_measure_t measure_cpu_time() { uint32_t a, d; __asm__ volatile("rdtsc" : "=a" (a), "=d" (d)); return ((uint64_t)d << 32) + a; # 57 "measure_cpu_time.h" } # 96 "measure_cpu_time.h" unsigned long long get_cpu_frequency() { unsigned long long x, y; unsigned long long frequency; x = measure_cpu_time(); Sleep(500); y = measure_cpu_time(); frequency = 2*(y-x); return frequency; } static double convert_cpu_time(prof_measure_t c) { return (double) c / cpu_frequency; } static VALUE prof_measure_cpu_time(VALUE self) { return rb_float_new(convert_cpu_time(measure_cpu_time())); } static VALUE prof_get_cpu_frequency(VALUE self) { return rb_ull2inum(cpu_frequency); } static VALUE prof_set_cpu_frequency(VALUE self, VALUE val) { cpu_frequency = NUM2LL(val); return val; } # 84 "ruby_prof.h" 2 # 1 "measure_allocations.h" 1 # 85 "ruby_prof.h" 2 # 1 "measure_memory.h" 1 # 86 "ruby_prof.h" 2 # 1 "measure_gc_runs.h" 1 # 87 "ruby_prof.h" 2 # 1 "measure_gc_time.h" 1 # 88 "ruby_prof.h" 2 static prof_measure_t (*get_measurement)() = measure_process_time; static double (*convert_measurement)(prof_measure_t) = convert_process_time; static VALUE mProf; static VALUE cResult; static VALUE cMethodInfo; static VALUE cCallInfo; typedef struct { VALUE klass; ID mid; int depth; int key; } prof_method_key_t; struct prof_call_infos_t; typedef struct { prof_method_key_t *key; const char *source_file; int line; int active; struct prof_call_infos_t *call_infos; VALUE object; } prof_method_t; typedef struct prof_call_info_t { prof_method_t *target; struct prof_call_info_t *parent; st_table *call_infos; int called; prof_measure_t total_time; prof_measure_t self_time; prof_measure_t wait_time; int line; VALUE object; VALUE children; } prof_call_info_t; typedef struct prof_call_infos_t { prof_call_info_t **start; prof_call_info_t **end; prof_call_info_t **ptr; VALUE object; } prof_call_infos_t; typedef struct { prof_call_info_t *call_info; prof_measure_t start_time; prof_measure_t wait_time; prof_measure_t child_time; unsigned int line; } prof_frame_t; typedef struct { prof_frame_t *start; prof_frame_t *end; prof_frame_t *ptr; } prof_stack_t; typedef struct { VALUE thread_id; st_table* method_table; prof_stack_t* stack; prof_measure_t last_switch; } thread_data_t; typedef struct { VALUE threads; } prof_result_t; static int measure_mode; static st_table *threads_tbl = ((void *)0); static st_table *exclude_threads_tbl = ((void *)0); static thread_data_t* last_thread_data = ((void *)0); static VALUE prof_call_infos_wrap(prof_call_infos_t *call_infos); static VALUE prof_call_info_wrap(prof_call_info_t *call_info); static VALUE prof_method_wrap(prof_method_t *result); # 51 "ruby_prof.c" 2 static VALUE figure_singleton_name(VALUE klass) { VALUE result = ((VALUE)RUBY_Qnil); VALUE attached = rb_iv_get(klass, "__attached__"); if ((((struct RBasic*)(attached))->flags & RUBY_T_MASK) == RUBY_T_CLASS) { result = __extension__ ( { (__builtin_constant_p("")) ? rb_str_cat(result, ">", strlen(">")) : rb_str_cat2(result, ">"); }); } else if ((((struct RBasic*)(attached))->flags & RUBY_T_MASK) == RUBY_T_MODULE) { result = __extension__ ( { (__builtin_constant_p("")) ? rb_str_cat(result, ">", strlen(">")) : rb_str_cat2(result, ">"); }); } else if ((((struct RBasic*)(attached))->flags & RUBY_T_MASK) == RUBY_T_OBJECT) { VALUE super = rb_class_real((((struct RClass*)(klass))->ptr->super)); result = __extension__ ( { (__builtin_constant_p("")) ? rb_str_cat(result, ">", strlen(">")) : rb_str_cat2(result, ">"); }); } else { result = rb_inspect(klass); } return result; } static VALUE klass_name(VALUE klass) { VALUE result = ((VALUE)RUBY_Qnil); if (klass == 0 || klass == ((VALUE)RUBY_Qnil)) { result = __extension__ ( { (__builtin_constant_p("Global")) ? rb_str_new("Global", strlen("Global")) : rb_str_new_cstr("Global"); }); } else if ((((struct RBasic*)(klass))->flags & RUBY_T_MASK) == RUBY_T_MODULE) { result = rb_inspect(klass); } else if ((((struct RBasic*)(klass))->flags & RUBY_T_MASK) == RUBY_T_CLASS && ((!(((VALUE)(klass) & RUBY_IMMEDIATE_MASK) || !(((VALUE)(klass) & ~((VALUE)RUBY_Qnil)) != 0)) && (((struct RBasic*)(klass))->flags & RUBY_T_MASK) != RUBY_T_NODE)?(((struct RBasic*)(klass))->flags&((((VALUE)1)<<(12 +0)))):0)) { result = figure_singleton_name(klass); } else if ((((struct RBasic*)(klass))->flags & RUBY_T_MASK) == RUBY_T_CLASS) { result = rb_inspect(klass); } else { result = __extension__ ( { (__builtin_constant_p("Unknown")) ? rb_str_new("Unknown", strlen("Unknown")) : rb_str_new_cstr("Unknown"); }); } return result; } static VALUE method_name(ID mid, int depth) { VALUE result; if (mid == 1) result = __extension__ ( { (__builtin_constant_p("allocate")) ? rb_str_new("allocate", strlen("allocate")) : rb_str_new_cstr("allocate"); }); else if (mid == 0) result = __extension__ ( { (__builtin_constant_p("[No method]")) ? rb_str_new("[No method]", strlen("[No method]")) : rb_str_new_cstr("[No method]"); }); else result = rb_String((((VALUE)(mid)< 0) { char buffer[65]; sprintf(buffer, "%i", depth); __extension__ ( { (__builtin_constant_p("-")) ? rb_str_cat(result, "-", strlen("-")) : rb_str_cat2(result, "-"); }); __extension__ ( { (__builtin_constant_p(buffer)) ? rb_str_cat(result, buffer, strlen(buffer)) : rb_str_cat2(result, buffer); }); } return result; } static VALUE full_name(VALUE klass, ID mid, int depth) { VALUE result = klass_name(klass); __extension__ ( { (__builtin_constant_p("#")) ? rb_str_cat(result, "#", strlen("#")) : rb_str_cat2(result, "#"); }); rb_str_append(result, method_name(mid, depth)); return result; } static prof_stack_t * stack_create() { prof_stack_t *stack = (prof_stack_t*)ruby_xmalloc(sizeof(prof_stack_t)); stack->start = (prof_frame_t*)ruby_xmalloc2((8),sizeof(prof_frame_t)); stack->ptr = stack->start; stack->end = stack->start + 8; return stack; } static void stack_free(prof_stack_t *stack) { ruby_xfree(stack->start); ruby_xfree(stack); } static prof_frame_t * stack_push(prof_stack_t *stack) { if (stack->ptr == stack->end) { size_t len = stack->ptr - stack->start; size_t new_capacity = (stack->end - stack->start) * 2; (stack->start)=(prof_frame_t*)ruby_xrealloc2((char*)(stack->start),(new_capacity),sizeof(prof_frame_t)); stack->ptr = stack->start + len; stack->end = stack->start + new_capacity; } return stack->ptr++; } static prof_frame_t * stack_pop(prof_stack_t *stack) { if (stack->ptr == stack->start) return ((void *)0); else return --stack->ptr; } static prof_frame_t * stack_peek(prof_stack_t *stack) { if (stack->ptr == stack->start) return ((void *)0); else return stack->ptr - 1; } static int method_table_cmp(prof_method_key_t *key1, prof_method_key_t *key2) { return (key1->klass != key2->klass) || (key1->mid != key2->mid) || (key1->depth != key2->depth); } static int method_table_hash(prof_method_key_t *key) { return key->key; } static struct st_hash_type type_method_hash = { method_table_cmp, method_table_hash }; static void method_key(prof_method_key_t* key, VALUE klass, ID mid, int depth) { key->klass = klass; key->mid = mid; key->depth = depth; key->key = (klass << 4) + (mid << 2) + depth; } static st_table * call_info_table_create() { return st_init_table(&type_method_hash); } static size_t call_info_table_insert(st_table *table, const prof_method_key_t *key, prof_call_info_t *val) { return st_insert(table, (st_data_t) key, (st_data_t) val); } static prof_call_info_t * call_info_table_lookup(st_table *table, const prof_method_key_t *key) { st_data_t val; if (st_lookup(table, (st_data_t) key, &val)) { return (prof_call_info_t *) val; } else { return ((void *)0); } } static void call_info_table_free(st_table *table) { st_free_table(table); } static prof_call_info_t * prof_call_info_create(prof_method_t* method, prof_call_info_t* parent) { prof_call_info_t *result = (prof_call_info_t*)ruby_xmalloc(sizeof(prof_call_info_t)); result->object = ((VALUE)RUBY_Qnil); result->target = method; result->parent = parent; result->call_infos = call_info_table_create(); result->children = ((VALUE)RUBY_Qnil); result->called = 0; result->total_time = 0; result->self_time = 0; result->wait_time = 0; result->line = 0; return result; } static void prof_call_info_mark(prof_call_info_t *call_info) { rb_gc_mark(prof_method_wrap(call_info->target)); rb_gc_mark(call_info->children); if (call_info->parent) rb_gc_mark(prof_call_info_wrap(call_info->parent)); } static void prof_call_info_free(prof_call_info_t *call_info) { call_info_table_free(call_info->call_infos); ruby_xfree(call_info); } static VALUE prof_call_info_wrap(prof_call_info_t *call_info) { if (call_info->object == ((VALUE)RUBY_Qnil)) { call_info->object = rb_data_object_alloc(cCallInfo,call_info,(RUBY_DATA_FUNC)prof_call_info_mark,(RUBY_DATA_FUNC)prof_call_info_free); } return call_info->object; } static prof_call_info_t * prof_get_call_info_result(VALUE obj) { if ((((struct RBasic*)(obj))->flags & RUBY_T_MASK) != RUBY_T_DATA) { rb_raise(rb_eTypeError, "Not a call info object"); } return (prof_call_info_t *) (((struct RData*)(obj))->data); } static VALUE prof_call_info_target(VALUE self) { prof_call_info_t *result = prof_get_call_info_result(self); return prof_method_wrap(result->target); } static VALUE prof_call_info_called(VALUE self) { prof_call_info_t *result = prof_get_call_info_result(self); return INT2NUM(result->called); } static VALUE prof_call_info_line(VALUE self) { prof_call_info_t *result = prof_get_call_info_result(self); return rb_int2inum(result->line); } static VALUE prof_call_info_total_time(VALUE self) { prof_call_info_t *result = prof_get_call_info_result(self); return rb_float_new(convert_measurement(result->total_time)); } static VALUE prof_call_info_self_time(VALUE self) { prof_call_info_t *result = prof_get_call_info_result(self); return rb_float_new(convert_measurement(result->self_time)); } static VALUE prof_call_info_wait_time(VALUE self) { prof_call_info_t *result = prof_get_call_info_result(self); return rb_float_new(convert_measurement(result->wait_time)); } static VALUE prof_call_info_parent(VALUE self) { prof_call_info_t *result = prof_get_call_info_result(self); if (result->parent) return prof_call_info_wrap(result->parent); else return ((VALUE)RUBY_Qnil); } static int prof_call_info_collect_children(st_data_t key, st_data_t value, st_data_t result) { prof_call_info_t *call_info = (prof_call_info_t *) value; VALUE arr = (VALUE) result; rb_ary_push(arr, prof_call_info_wrap(call_info)); return ST_CONTINUE; } static VALUE prof_call_info_children(VALUE self) { prof_call_info_t *call_info = prof_get_call_info_result(self); if (call_info->children == ((VALUE)RUBY_Qnil)) { call_info->children = rb_ary_new(); st_foreach(call_info->call_infos, prof_call_info_collect_children, call_info->children); } return call_info->children; } static prof_call_infos_t* prof_call_infos_create() { prof_call_infos_t *result = (prof_call_infos_t*)ruby_xmalloc(sizeof(prof_call_infos_t)); result->start = (prof_call_info_t**)ruby_xmalloc2((2),sizeof(prof_call_info_t*)); result->end = result->start + 2; result->ptr = result->start; result->object = ((VALUE)RUBY_Qnil); return result; } static void prof_call_infos_free(prof_call_infos_t *call_infos) { ruby_xfree(call_infos->start); ruby_xfree(call_infos); } static void prof_add_call_info(prof_call_infos_t *call_infos, prof_call_info_t *call_info) { if (call_infos->ptr == call_infos->end) { size_t len = call_infos->ptr - call_infos->start; size_t new_capacity = (call_infos->end - call_infos->start) * 2; (call_infos->start)=(prof_call_info_t**)ruby_xrealloc2((char*)(call_infos->start),(new_capacity),sizeof(prof_call_info_t*)); call_infos->ptr = call_infos->start + len; call_infos->end = call_infos->start + new_capacity; } *call_infos->ptr = call_info; call_infos->ptr++; } static VALUE prof_call_infos_wrap(prof_call_infos_t *call_infos) { if (call_infos->object == ((VALUE)RUBY_Qnil)) { prof_call_info_t **i; call_infos->object = rb_ary_new(); for(i=call_infos->start; iptr; i++) { VALUE call_info = prof_call_info_wrap(*i); rb_ary_push(call_infos->object, call_info); } } return call_infos->object; } # 521 "ruby_prof.c" static prof_method_t* prof_method_create(prof_method_key_t *key, const char* source_file, int line) { prof_method_t *result = (prof_method_t*)ruby_xmalloc(sizeof(prof_method_t)); result->object = ((VALUE)RUBY_Qnil); result->key = (prof_method_key_t*)ruby_xmalloc(sizeof(prof_method_key_t)); method_key(result->key, key->klass, key->mid, key->depth); result->call_infos = prof_call_infos_create(); result->active = 0; if (source_file != ((void *)0)) { int len = strlen(source_file) + 1; char *buffer = (char*)ruby_xmalloc2((len),sizeof(char)); memcpy((buffer), (source_file), sizeof(char)*(len)); result->source_file = buffer; } else { result->source_file = source_file; } result->line = line; return result; } static void prof_method_mark(prof_method_t *method) { rb_gc_mark(method->call_infos->object); rb_gc_mark(method->key->klass); } static void prof_method_free(prof_method_t *method) { if (method->source_file) { ruby_xfree((char*)method->source_file); } prof_call_infos_free(method->call_infos); ruby_xfree(method->key); ruby_xfree(method); } static VALUE prof_method_wrap(prof_method_t *result) { if (result->object == ((VALUE)RUBY_Qnil)) { result->object = rb_data_object_alloc(cMethodInfo,result,(RUBY_DATA_FUNC)prof_method_mark,(RUBY_DATA_FUNC)prof_method_free); } return result->object; } static prof_method_t * get_prof_method(VALUE obj) { return (prof_method_t *) (((struct RData*)(obj))->data); } static VALUE prof_method_line(VALUE self) { return rb_int2inum(get_prof_method(self)->line); } static VALUE prof_method_source_file(VALUE self) { const char* sf = get_prof_method(self)->source_file; if(!sf) { return __extension__ ( { (__builtin_constant_p("ruby_runtime")) ? rb_str_new("ruby_runtime", strlen("ruby_runtime")) : rb_str_new_cstr("ruby_runtime"); }); } else { return __extension__ ( { (__builtin_constant_p(sf)) ? rb_str_new(sf, strlen(sf)) : rb_str_new_cstr(sf); }); } } static VALUE prof_method_klass(VALUE self) { prof_method_t *result = get_prof_method(self); return result->key->klass; } static VALUE prof_method_id(VALUE self) { prof_method_t *result = get_prof_method(self); return (((VALUE)(result->key->mid)<key->klass); } static VALUE prof_method_name(VALUE self, int depth) { prof_method_t *method = get_prof_method(self); return method_name(method->key->mid, depth); } static VALUE prof_full_name(VALUE self) { prof_method_t *method = get_prof_method(self); return full_name(method->key->klass, method->key->mid, method->key->depth); } static VALUE prof_method_call_infos(VALUE self) { prof_method_t *method = get_prof_method(self); return prof_call_infos_wrap(method->call_infos); } static int collect_methods(st_data_t key, st_data_t value, st_data_t result) { VALUE methods = (VALUE) result; prof_method_t *method = (prof_method_t *) value; rb_ary_push(methods, prof_method_wrap(method)); prof_call_infos_wrap(method->call_infos); return ST_CONTINUE; } static st_table * method_table_create() { return st_init_table(&type_method_hash); } static size_t method_table_insert(st_table *table, const prof_method_key_t *key, prof_method_t *val) { return st_insert(table, (st_data_t) key, (st_data_t) val); } static prof_method_t * method_table_lookup(st_table *table, const prof_method_key_t* key) { st_data_t val; if (st_lookup(table, (st_data_t)key, &val)) { return (prof_method_t *) val; } else { return ((void *)0); } } static void method_table_free(st_table *table) { st_free_table(table); } static thread_data_t* thread_data_create() { thread_data_t* result = (thread_data_t*)ruby_xmalloc(sizeof(thread_data_t)); result->stack = stack_create(); result->method_table = method_table_create(); result->last_switch = get_measurement(); return result; } static void thread_data_free(thread_data_t* thread_data) { method_table_free(thread_data->method_table); stack_free(thread_data->stack); ruby_xfree(thread_data); } static st_table * threads_table_create() { return st_init_numtable(); } static size_t threads_table_insert(st_table *table, VALUE thread, thread_data_t *thread_data) { return st_insert(table, (st_data_t) thread, (st_data_t) thread_data); } static thread_data_t * threads_table_lookup(st_table *table, VALUE thread_id) { thread_data_t* result; st_data_t val; if (st_lookup(table, (st_data_t) thread_id, &val)) { result = (thread_data_t *) val; } else { result = thread_data_create(); result->thread_id = thread_id; threads_table_insert(threads_tbl, thread_id, result); } return result; } static int free_thread_data(st_data_t key, st_data_t value, st_data_t dummy) { thread_data_free((thread_data_t*)value); return ST_CONTINUE; } static void threads_table_free(st_table *table) { st_foreach(table, free_thread_data, 0); st_free_table(table); } static int collect_threads(st_data_t key, st_data_t value, st_data_t result) { thread_data_t* thread_data = (thread_data_t*) value; VALUE threads_hash = (VALUE) result; VALUE methods = rb_ary_new(); st_table* method_table = thread_data->method_table; st_foreach(method_table, collect_methods, methods); rb_hash_aset(threads_hash, thread_data->thread_id, methods); return ST_CONTINUE; } # 866 "ruby_prof.c" static prof_method_t* get_method(rb_event_flag_t event, NODE *node, VALUE klassy, ID mid, int depth, st_table* method_table) { prof_method_key_t key; prof_method_t *method = ((void *)0); method_key(&key, klassy, mid, depth); method = method_table_lookup(method_table, &key); if (!method) { const char* source_file = rb_sourcefile(); int line = rb_sourceline(); if (event == 0x0020) { line = 0; source_file = ((void *)0); } method = prof_method_create(&key, source_file, line); method_table_insert(method_table, method->key, method); } return method; } static void update_result(prof_measure_t total_time, prof_frame_t *parent_frame, prof_frame_t *frame) { prof_measure_t self_time = total_time - frame->child_time - frame->wait_time; prof_call_info_t *call_info = frame->call_info; call_info->called++; call_info->total_time += total_time; call_info->self_time += self_time; call_info->wait_time += frame->wait_time; if (parent_frame) call_info->line = parent_frame->line; } static thread_data_t * switch_thread(VALUE thread_id, prof_measure_t now) { prof_frame_t *frame = ((void *)0); prof_measure_t wait_time = 0; thread_data_t *thread_data = threads_table_lookup(threads_tbl, thread_id); wait_time = now - thread_data->last_switch; thread_data->last_switch = 0; frame = stack_peek(thread_data->stack); if (frame) frame->wait_time += wait_time; if (last_thread_data) last_thread_data->last_switch = now; last_thread_data = thread_data; return thread_data; } static prof_frame_t* pop_frame(thread_data_t *thread_data, prof_measure_t now) { prof_frame_t *frame = ((void *)0); prof_frame_t* parent_frame = ((void *)0); prof_measure_t total_time; frame = stack_pop(thread_data->stack); if (frame == ((void *)0)) return ((void *)0); total_time = now - frame->start_time; frame->call_info->target->active = 0; parent_frame = stack_peek(thread_data->stack); if (parent_frame) { parent_frame->child_time += total_time; } update_result(total_time, parent_frame, frame); return frame; } static int pop_frames(st_data_t key, st_data_t value, st_data_t now_arg) { VALUE thread_id = (VALUE)key; thread_data_t* thread_data = (thread_data_t *) value; prof_measure_t now = *(prof_measure_t *) now_arg; if (!last_thread_data || last_thread_data->thread_id != thread_id) thread_data = switch_thread(thread_id, now); else thread_data = last_thread_data; while (pop_frame(thread_data, now)) { } return ST_CONTINUE; } static void prof_pop_threads() { prof_measure_t now = get_measurement(); st_foreach(threads_tbl, pop_frames, (st_data_t) &now); } static void prof_event_hook(rb_event_flag_t event, VALUE data, VALUE self, ID mid, VALUE klass) { VALUE thread = ((VALUE)RUBY_Qnil); VALUE thread_id = ((VALUE)RUBY_Qnil); prof_measure_t now = 0; thread_data_t* thread_data = ((void *)0); prof_frame_t *frame = ((void *)0); if (event != 0x0020 && event != 0x0040) { rb_frame_method_id_and_class(&mid, &klass); } # 1060 "ruby_prof.c" if (self == mProf) return; now = get_measurement(); thread = rb_thread_current(); thread_id = rb_obj_id(thread); if (exclude_threads_tbl && st_lookup(exclude_threads_tbl, (st_data_t) thread_id, 0)) { return; } if (!last_thread_data || last_thread_data->thread_id != thread_id) thread_data = switch_thread(thread_id, now); else thread_data = last_thread_data; frame = stack_peek(thread_data->stack); switch (event) { case 0x0001: { if (frame) { frame->line = rb_sourceline(); break; } } case 0x0008: case 0x0020: { prof_call_info_t *call_info = ((void *)0); prof_method_t *method = ((void *)0); if (klass != 0) klass = ((((struct RBasic*)(klass))->flags & RUBY_T_MASK) == RUBY_T_ICLASS ? ((struct RBasic*)(klass))->klass : klass); method = get_method(event, node, klass, mid, 0, thread_data->method_table); if (method->active) { method = get_method(event, node, klass, mid, method->key->depth + 1, thread_data->method_table); } else { method->active = 1; } if (!frame) { call_info = prof_call_info_create(method, ((void *)0)); prof_add_call_info(method->call_infos, call_info); } else { call_info = call_info_table_lookup(frame->call_info->call_infos, method->key); if (!call_info) { call_info = prof_call_info_create(method, frame->call_info); call_info_table_insert(frame->call_info->call_infos, method->key, call_info); prof_add_call_info(method->call_infos, call_info); } } frame = stack_push(thread_data->stack); frame->call_info = call_info; frame->start_time = now; frame->wait_time = 0; frame->child_time = 0; frame->line = rb_sourceline(); break; } case 0x0010: case 0x0040: { pop_frame(thread_data, now); break; } } } # 1180 "ruby_prof.c" static void prof_result_mark(prof_result_t *prof_result) { VALUE threads = prof_result->threads; rb_gc_mark(threads); } static void prof_result_free(prof_result_t *prof_result) { prof_result->threads = ((VALUE)RUBY_Qnil); ruby_xfree(prof_result); } static VALUE prof_result_new() { prof_result_t *prof_result = (prof_result_t*)ruby_xmalloc(sizeof(prof_result_t)); prof_result->threads = rb_hash_new(); st_foreach(threads_tbl, collect_threads, prof_result->threads); return rb_data_object_alloc(cResult,prof_result,(RUBY_DATA_FUNC)prof_result_mark,(RUBY_DATA_FUNC)prof_result_free); } static prof_result_t * get_prof_result(VALUE obj) { if ((((struct RBasic*)(obj))->flags & RUBY_T_MASK) != RUBY_T_DATA || ((struct RData*)(obj))->dfree != (RUBY_DATA_FUNC) prof_result_free) { rb_raise(rb_eTypeError, "wrong result object"); } return (prof_result_t *) (((struct RData*)(obj))->data); } # 1227 "ruby_prof.c" static VALUE prof_result_threads(VALUE self) { prof_result_t *prof_result = get_prof_result(self); return prof_result->threads; } # 1248 "ruby_prof.c" static VALUE prof_get_measure_mode(VALUE self) { return INT2NUM(measure_mode); } # 1266 "ruby_prof.c" static VALUE prof_set_measure_mode(VALUE self, VALUE val) { long mode = NUM2LONG(val); if (threads_tbl) { rb_raise(rb_eRuntimeError, "can't set measure_mode while profiling"); } switch (mode) { case 0: get_measurement = measure_process_time; convert_measurement = convert_process_time; break; case 1: get_measurement = measure_wall_time; convert_measurement = convert_wall_time; break; case 2: if (cpu_frequency == 0) cpu_frequency = get_cpu_frequency(); get_measurement = measure_cpu_time; convert_measurement = convert_cpu_time; break; # 1324 "ruby_prof.c" default: rb_raise(rb_eArgError, "invalid mode: %ld", mode); break; } measure_mode = mode; return val; } static VALUE prof_set_exclude_threads(VALUE self, VALUE threads) { int i; if (threads_tbl != ((void *)0)) { rb_raise(rb_eRuntimeError, "can't set exclude_threads while profiling"); } if (exclude_threads_tbl) { st_free_table(exclude_threads_tbl); exclude_threads_tbl = ((void *)0); } if (threads != ((VALUE)RUBY_Qnil)) { rb_check_type((VALUE)(threads),RUBY_T_ARRAY); exclude_threads_tbl = st_init_numtable(); for (i=0; i < ((((struct RBasic*)(threads))->flags & (((VALUE)1)<<(12 +1))) ? (long)((((struct RBasic*)(threads))->flags >> (12 +3)) & (((((VALUE)1)<<(12 +4))|(((VALUE)1)<<(12 +3))) >> (12 +3))) : ((struct RArray*)(threads))->as.heap.len); ++i) { VALUE thread = rb_ary_entry(threads, i); st_insert(exclude_threads_tbl, (st_data_t) rb_obj_id(thread), 0); } } return threads; } void prof_install_hook() { rb_add_event_hook(prof_event_hook, 0x0008 | 0x0010 | 0x0020 | 0x0040 | 0x0001, ((VALUE)RUBY_Qnil)); # 1389 "ruby_prof.c" } void prof_remove_hook() { rb_remove_event_hook(prof_event_hook); } static VALUE prof_running(VALUE self) { if (threads_tbl != ((void *)0)) return ((VALUE)RUBY_Qtrue); else return ((VALUE)RUBY_Qfalse); } static VALUE prof_start(VALUE self) { if (threads_tbl != ((void *)0)) { rb_raise(rb_eRuntimeError, "RubyProf.start was already called"); } last_thread_data = ((void *)0); threads_tbl = threads_table_create(); prof_install_hook(); return self; } static VALUE prof_pause(VALUE self) { if (threads_tbl == ((void *)0)) { rb_raise(rb_eRuntimeError, "RubyProf is not running."); } prof_remove_hook(); return self; } static VALUE prof_resume(VALUE self) { if (threads_tbl == ((void *)0)) { prof_start(self); } else { prof_install_hook(); } if (rb_block_given_p()) { rb_ensure(rb_yield, self, prof_pause, self); } return self; } static VALUE prof_stop(VALUE self) { VALUE result = ((VALUE)RUBY_Qnil); prof_remove_hook(); prof_pop_threads(); result = prof_result_new(); last_thread_data = ((void *)0); threads_table_free(threads_tbl); threads_tbl = ((void *)0); return result; } static VALUE prof_profile(VALUE self) { int result; if (!rb_block_given_p()) { rb_raise(rb_eArgError, "A block must be provided to the profile method."); } prof_start(self); rb_protect(rb_yield, self, &result); return prof_stop(self); } # 1588 "ruby_prof.c" __attribute__((dllexport)) void Init_ruby_prof() { mProf = rb_define_module("RubyProf"); rb_define_const(mProf, "VERSION", __extension__ ( { (__builtin_constant_p("0.7.4")) ? rb_str_new("0.7.4", strlen("0.7.4")) : rb_str_new_cstr("0.7.4"); })); rb_define_module_function(mProf, "start", prof_start, 0); rb_define_module_function(mProf, "stop", prof_stop, 0); rb_define_module_function(mProf, "resume", prof_resume, 0); rb_define_module_function(mProf, "pause", prof_pause, 0); rb_define_module_function(mProf, "running?", prof_running, 0); rb_define_module_function(mProf, "profile", prof_profile, 0); rb_define_singleton_method(mProf, "exclude_threads=", prof_set_exclude_threads, 1); rb_define_singleton_method(mProf, "measure_mode", prof_get_measure_mode, 0); rb_define_singleton_method(mProf, "measure_mode=", prof_set_measure_mode, 1); rb_define_const(mProf, "CLOCKS_PER_SEC", INT2NUM(((clock_t)1000))); rb_define_const(mProf, "PROCESS_TIME", INT2NUM(0)); rb_define_singleton_method(mProf, "measure_process_time", prof_measure_process_time, 0); rb_define_const(mProf, "WALL_TIME", INT2NUM(1)); rb_define_singleton_method(mProf, "measure_wall_time", prof_measure_wall_time, 0); rb_define_const(mProf, "CPU_TIME", INT2NUM(2)); rb_define_singleton_method(mProf, "measure_cpu_time", prof_measure_cpu_time, 0); rb_define_singleton_method(mProf, "cpu_frequency", prof_get_cpu_frequency, 0); rb_define_singleton_method(mProf, "cpu_frequency=", prof_set_cpu_frequency, 1); rb_define_const(mProf, "ALLOCATIONS", ((VALUE)RUBY_Qnil)); rb_define_const(mProf, "MEMORY", ((VALUE)RUBY_Qnil)); rb_define_const(mProf, "GC_RUNS", ((VALUE)RUBY_Qnil)); rb_define_const(mProf, "GC_TIME", ((VALUE)RUBY_Qnil)); cResult = rb_define_class_under(mProf, "Result", rb_cObject); rb_undef_method(rb_class_of((VALUE)(cMethodInfo)), "new"); rb_define_method(cResult, "threads", prof_result_threads, 0); cMethodInfo = rb_define_class_under(mProf, "MethodInfo", rb_cObject); rb_undef_method(rb_class_of((VALUE)(cMethodInfo)), "new"); rb_define_method(cMethodInfo, "klass", prof_method_klass, 0); rb_define_method(cMethodInfo, "klass_name", prof_klass_name, 0); rb_define_method(cMethodInfo, "method_name", prof_method_name, 0); rb_define_method(cMethodInfo, "full_name", prof_full_name, 0); rb_define_method(cMethodInfo, "method_id", prof_method_id, 0); rb_define_method(cMethodInfo, "source_file", prof_method_source_file,0); rb_define_method(cMethodInfo, "line", prof_method_line, 0); rb_define_method(cMethodInfo, "call_infos", prof_method_call_infos, 0); cCallInfo = rb_define_class_under(mProf, "CallInfo", rb_cObject); rb_undef_method(rb_class_of((VALUE)(cCallInfo)), "new"); rb_define_method(cCallInfo, "parent", prof_call_info_parent, 0); rb_define_method(cCallInfo, "children", prof_call_info_children, 0); rb_define_method(cCallInfo, "target", prof_call_info_target, 0); rb_define_method(cCallInfo, "called", prof_call_info_called, 0); rb_define_method(cCallInfo, "total_time", prof_call_info_total_time, 0); rb_define_method(cCallInfo, "self_time", prof_call_info_self_time, 0); rb_define_method(cCallInfo, "wait_time", prof_call_info_wait_time, 0); rb_define_method(cCallInfo, "line", prof_call_info_line, 0); }