You can subscribe to this list here.
2013 |
Jan
(12) |
Feb
(46) |
Mar
(81) |
Apr
(127) |
May
(43) |
Jun
(39) |
Jul
(68) |
Aug
(202) |
Sep
(143) |
Oct
(35) |
Nov
(24) |
Dec
(42) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2014 |
Jan
(37) |
Feb
(35) |
Mar
(52) |
Apr
(47) |
May
(32) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <kti...@us...> - 2014-04-12 15:38:01
|
Revision: 6563 http://sourceforge.net/p/mingw-w64/code/6563 Author: ktietz70 Date: 2014-04-12 15:37:53 +0000 (Sat, 12 Apr 2014) Log Message: ----------- Remove wrong export CheckFullscreen Modified Paths: -------------- trunk/mingw-w64-crt/lib64/d3d9.def Modified: trunk/mingw-w64-crt/lib64/d3d9.def =================================================================== --- trunk/mingw-w64-crt/lib64/d3d9.def 2014-04-09 10:27:15 UTC (rev 6562) +++ trunk/mingw-w64-crt/lib64/d3d9.def 2014-04-12 15:37:53 UTC (rev 6563) @@ -6,7 +6,6 @@ ; LIBRARY d3d9.dll EXPORTS -CheckFullscreen Direct3DShaderValidatorCreate9 PSGPError PSGPSampleTexture This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cj...@us...> - 2014-04-09 10:27:23
|
Revision: 6562 http://sourceforge.net/p/mingw-w64/code/6562 Author: cjacek Date: 2014-04-09 10:27:15 +0000 (Wed, 09 Apr 2014) Log Message: ----------- crt: Moved purecall.c to libmsvcrt.a. Modified Paths: -------------- trunk/mingw-w64-crt/Makefile.am trunk/mingw-w64-crt/Makefile.in Modified: trunk/mingw-w64-crt/Makefile.am =================================================================== --- trunk/mingw-w64-crt/Makefile.am 2014-04-08 12:30:29 UTC (rev 6561) +++ trunk/mingw-w64-crt/Makefile.am 2014-04-09 10:27:15 UTC (rev 6562) @@ -148,6 +148,7 @@ src_msvcrt=\ misc/invalid_parameter_handler.c \ misc/output_format.c \ + misc/purecall.c \ secapi/_access_s.c \ secapi/_cgets_s.c \ secapi/_cgetws_s.c \ @@ -257,7 +258,7 @@ misc/gettimeofday.c misc/imaxabs.c misc/imaxdiv.c misc/isblank.c misc/iswblank.c \ misc/mbrtowc.c misc/mbsinit.c misc/mempcpy.c misc/mingw-aligned-malloc.c misc/mingw-fseek.c \ misc/mingw_matherr.c misc/mingw_mbwc_convert.c misc/mingw_usleep.c misc/mingw_wcstod.c misc/mingw_wcstof.c \ - misc/mingw_wcstold.c misc/purecall.c misc/seterrno.c misc/sleep.c misc/spawnv.c \ + misc/mingw_wcstold.c misc/seterrno.c misc/sleep.c misc/spawnv.c \ misc/spawnve.c misc/spawnvp.c misc/spawnvpe.c misc/strnlen.c misc/strsafe.c \ misc/strtoimax.c misc/strtold.c misc/strtoumax.c misc/tdelete.c misc/tfind.c \ misc/tsearch.c misc/twalk.c misc/uchar_c16rtomb.c misc/uchar_c32rtomb.c misc/uchar_mbrtoc16.c \ Modified: trunk/mingw-w64-crt/Makefile.in =================================================================== --- trunk/mingw-w64-crt/Makefile.in 2014-04-08 12:30:29 UTC (rev 6561) +++ trunk/mingw-w64-crt/Makefile.in 2014-04-09 10:27:15 UTC (rev 6562) @@ -612,31 +612,31 @@ misc/mempcpy.c misc/mingw-aligned-malloc.c misc/mingw-fseek.c \ misc/mingw_matherr.c misc/mingw_mbwc_convert.c \ misc/mingw_usleep.c misc/mingw_wcstod.c misc/mingw_wcstof.c \ - misc/mingw_wcstold.c misc/purecall.c misc/seterrno.c \ - misc/sleep.c misc/spawnv.c misc/spawnve.c misc/spawnvp.c \ - misc/spawnvpe.c misc/strnlen.c misc/strsafe.c misc/strtoimax.c \ - misc/strtold.c misc/strtoumax.c misc/tdelete.c misc/tfind.c \ - misc/tsearch.c misc/twalk.c misc/uchar_c16rtomb.c \ - misc/uchar_c32rtomb.c misc/uchar_mbrtoc16.c \ - misc/uchar_mbrtoc32.c misc/wassert.c misc/wcrtomb.c \ - misc/wcsnlen.c misc/wcstof.c misc/wcstoimax.c misc/wcstold.c \ - misc/wcstoumax.c misc/wctob.c misc/wctrans.c misc/wctype.c \ - misc/wdirent.c misc/winbs_uint64.c misc/winbs_ulong.c \ - misc/winbs_ushort.c misc/wmemchr.c misc/wmemcmp.c \ - misc/wmemcpy.c misc/wmemmove.c misc/wmempcpy.c misc/wmemset.c \ - stdio/mingw_pformat.h stdio/vfscanf2.S stdio/vfwscanf2.S \ - stdio/vscanf2.S stdio/vsscanf2.S stdio/vswscanf2.S \ - stdio/vwscanf2.S stdio/_Exit.c stdio/_findfirst64i32.c \ - stdio/_findnext64i32.c stdio/_fstat.c stdio/_fstat64i32.c \ - stdio/_ftime.c stdio/_getc_nolock.c stdio/_getwc_nolock.c \ - stdio/_putc_nolock.c stdio/_putwc_nolock.c stdio/_stat.c \ - stdio/_stat64i32.c stdio/_wfindfirst64i32.c \ - stdio/_wfindnext64i32.c stdio/_wstat.c stdio/_wstat64i32.c \ - stdio/asprintf.c stdio/atoll.c stdio/fgetpos64.c \ - stdio/fopen64.c stdio/fseeko32.c stdio/fseeko64.c \ - stdio/fsetpos64.c stdio/ftello.c stdio/ftello64.c \ - stdio/ftruncate64.c stdio/lltoa.c stdio/lltow.c \ - stdio/lseek64.c stdio/mingw_fprintf.c stdio/mingw_fprintfw.c \ + misc/mingw_wcstold.c misc/seterrno.c misc/sleep.c \ + misc/spawnv.c misc/spawnve.c misc/spawnvp.c misc/spawnvpe.c \ + misc/strnlen.c misc/strsafe.c misc/strtoimax.c misc/strtold.c \ + misc/strtoumax.c misc/tdelete.c misc/tfind.c misc/tsearch.c \ + misc/twalk.c misc/uchar_c16rtomb.c misc/uchar_c32rtomb.c \ + misc/uchar_mbrtoc16.c misc/uchar_mbrtoc32.c misc/wassert.c \ + misc/wcrtomb.c misc/wcsnlen.c misc/wcstof.c misc/wcstoimax.c \ + misc/wcstold.c misc/wcstoumax.c misc/wctob.c misc/wctrans.c \ + misc/wctype.c misc/wdirent.c misc/winbs_uint64.c \ + misc/winbs_ulong.c misc/winbs_ushort.c misc/wmemchr.c \ + misc/wmemcmp.c misc/wmemcpy.c misc/wmemmove.c misc/wmempcpy.c \ + misc/wmemset.c stdio/mingw_pformat.h stdio/vfscanf2.S \ + stdio/vfwscanf2.S stdio/vscanf2.S stdio/vsscanf2.S \ + stdio/vswscanf2.S stdio/vwscanf2.S stdio/_Exit.c \ + stdio/_findfirst64i32.c stdio/_findnext64i32.c stdio/_fstat.c \ + stdio/_fstat64i32.c stdio/_ftime.c stdio/_getc_nolock.c \ + stdio/_getwc_nolock.c stdio/_putc_nolock.c \ + stdio/_putwc_nolock.c stdio/_stat.c stdio/_stat64i32.c \ + stdio/_wfindfirst64i32.c stdio/_wfindnext64i32.c \ + stdio/_wstat.c stdio/_wstat64i32.c stdio/asprintf.c \ + stdio/atoll.c stdio/fgetpos64.c stdio/fopen64.c \ + stdio/fseeko32.c stdio/fseeko64.c stdio/fsetpos64.c \ + stdio/ftello.c stdio/ftello64.c stdio/ftruncate64.c \ + stdio/lltoa.c stdio/lltow.c stdio/lseek64.c \ + stdio/mingw_fprintf.c stdio/mingw_fprintfw.c \ stdio/mingw_fscanf.c stdio/mingw_fwscanf.c \ stdio/mingw_pformat.c stdio/mingw_pformatw.c \ stdio/mingw_printf.c stdio/mingw_printfw.c stdio/mingw_scanf.c \ @@ -951,7 +951,6 @@ misc/lib32_libmingwex_a-mingw_wcstod.$(OBJEXT) \ misc/lib32_libmingwex_a-mingw_wcstof.$(OBJEXT) \ misc/lib32_libmingwex_a-mingw_wcstold.$(OBJEXT) \ - misc/lib32_libmingwex_a-purecall.$(OBJEXT) \ misc/lib32_libmingwex_a-seterrno.$(OBJEXT) \ misc/lib32_libmingwex_a-sleep.$(OBJEXT) \ misc/lib32_libmingwex_a-spawnv.$(OBJEXT) \ @@ -1102,24 +1101,25 @@ lib32_libmoldname_a_OBJECTS = $(am_lib32_libmoldname_a_OBJECTS) lib32_libmsvcrt_a_LIBADD = am__lib32_libmsvcrt_a_SOURCES_DIST = misc/invalid_parameter_handler.c \ - misc/output_format.c secapi/_access_s.c secapi/_cgets_s.c \ - secapi/_cgetws_s.c secapi/_chsize_s.c secapi/_cprintf_s.c \ - secapi/_cprintf_s_l.c secapi/_ctime32_s.c secapi/_ctime64_s.c \ - secapi/_cwprintf_s.c secapi/_cwprintf_s_l.c \ - secapi/_gmtime32_s.c secapi/_gmtime64_s.c \ - secapi/_localtime32_s.c secapi/_localtime64_s.c \ - secapi/_mktemp_s.c secapi/_strdate_s.c secapi/_strtime_s.c \ - secapi/_umask_s.c secapi/_vcprintf_s.c secapi/_vcprintf_s_l.c \ - secapi/_vcwprintf_s.c secapi/_vcwprintf_s_l.c \ - secapi/_waccess_s.c secapi/_wasctime_s.c secapi/_wctime32_s.c \ - secapi/_wctime64_s.c secapi/_wstrtime_s.c secapi/_wmktemp_s.c \ - secapi/_wstrdate_s.c secapi/asctime_s.c secapi/memcpy_s.c \ - secapi/rand_s.c secapi/sprintf_s.c secapi/strerror_s.c \ - secapi/vsprintf_s.c secapi/wmemcpy_s.c misc/lc_locale_func.c \ - lib32/msvcrt.def.in + misc/output_format.c misc/purecall.c secapi/_access_s.c \ + secapi/_cgets_s.c secapi/_cgetws_s.c secapi/_chsize_s.c \ + secapi/_cprintf_s.c secapi/_cprintf_s_l.c secapi/_ctime32_s.c \ + secapi/_ctime64_s.c secapi/_cwprintf_s.c \ + secapi/_cwprintf_s_l.c secapi/_gmtime32_s.c \ + secapi/_gmtime64_s.c secapi/_localtime32_s.c \ + secapi/_localtime64_s.c secapi/_mktemp_s.c secapi/_strdate_s.c \ + secapi/_strtime_s.c secapi/_umask_s.c secapi/_vcprintf_s.c \ + secapi/_vcprintf_s_l.c secapi/_vcwprintf_s.c \ + secapi/_vcwprintf_s_l.c secapi/_waccess_s.c \ + secapi/_wasctime_s.c secapi/_wctime32_s.c secapi/_wctime64_s.c \ + secapi/_wstrtime_s.c secapi/_wmktemp_s.c secapi/_wstrdate_s.c \ + secapi/asctime_s.c secapi/memcpy_s.c secapi/rand_s.c \ + secapi/sprintf_s.c secapi/strerror_s.c secapi/vsprintf_s.c \ + secapi/wmemcpy_s.c misc/lc_locale_func.c lib32/msvcrt.def.in am__objects_20 = \ misc/lib32_libmsvcrt_a-invalid_parameter_handler.$(OBJEXT) \ misc/lib32_libmsvcrt_a-output_format.$(OBJEXT) \ + misc/lib32_libmsvcrt_a-purecall.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-_access_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-_cgets_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-_cgetws_s.$(OBJEXT) \ @@ -1747,31 +1747,31 @@ misc/mempcpy.c misc/mingw-aligned-malloc.c misc/mingw-fseek.c \ misc/mingw_matherr.c misc/mingw_mbwc_convert.c \ misc/mingw_usleep.c misc/mingw_wcstod.c misc/mingw_wcstof.c \ - misc/mingw_wcstold.c misc/purecall.c misc/seterrno.c \ - misc/sleep.c misc/spawnv.c misc/spawnve.c misc/spawnvp.c \ - misc/spawnvpe.c misc/strnlen.c misc/strsafe.c misc/strtoimax.c \ - misc/strtold.c misc/strtoumax.c misc/tdelete.c misc/tfind.c \ - misc/tsearch.c misc/twalk.c misc/uchar_c16rtomb.c \ - misc/uchar_c32rtomb.c misc/uchar_mbrtoc16.c \ - misc/uchar_mbrtoc32.c misc/wassert.c misc/wcrtomb.c \ - misc/wcsnlen.c misc/wcstof.c misc/wcstoimax.c misc/wcstold.c \ - misc/wcstoumax.c misc/wctob.c misc/wctrans.c misc/wctype.c \ - misc/wdirent.c misc/winbs_uint64.c misc/winbs_ulong.c \ - misc/winbs_ushort.c misc/wmemchr.c misc/wmemcmp.c \ - misc/wmemcpy.c misc/wmemmove.c misc/wmempcpy.c misc/wmemset.c \ - stdio/mingw_pformat.h stdio/vfscanf2.S stdio/vfwscanf2.S \ - stdio/vscanf2.S stdio/vsscanf2.S stdio/vswscanf2.S \ - stdio/vwscanf2.S stdio/_Exit.c stdio/_findfirst64i32.c \ - stdio/_findnext64i32.c stdio/_fstat.c stdio/_fstat64i32.c \ - stdio/_ftime.c stdio/_getc_nolock.c stdio/_getwc_nolock.c \ - stdio/_putc_nolock.c stdio/_putwc_nolock.c stdio/_stat.c \ - stdio/_stat64i32.c stdio/_wfindfirst64i32.c \ - stdio/_wfindnext64i32.c stdio/_wstat.c stdio/_wstat64i32.c \ - stdio/asprintf.c stdio/atoll.c stdio/fgetpos64.c \ - stdio/fopen64.c stdio/fseeko32.c stdio/fseeko64.c \ - stdio/fsetpos64.c stdio/ftello.c stdio/ftello64.c \ - stdio/ftruncate64.c stdio/lltoa.c stdio/lltow.c \ - stdio/lseek64.c stdio/mingw_fprintf.c stdio/mingw_fprintfw.c \ + misc/mingw_wcstold.c misc/seterrno.c misc/sleep.c \ + misc/spawnv.c misc/spawnve.c misc/spawnvp.c misc/spawnvpe.c \ + misc/strnlen.c misc/strsafe.c misc/strtoimax.c misc/strtold.c \ + misc/strtoumax.c misc/tdelete.c misc/tfind.c misc/tsearch.c \ + misc/twalk.c misc/uchar_c16rtomb.c misc/uchar_c32rtomb.c \ + misc/uchar_mbrtoc16.c misc/uchar_mbrtoc32.c misc/wassert.c \ + misc/wcrtomb.c misc/wcsnlen.c misc/wcstof.c misc/wcstoimax.c \ + misc/wcstold.c misc/wcstoumax.c misc/wctob.c misc/wctrans.c \ + misc/wctype.c misc/wdirent.c misc/winbs_uint64.c \ + misc/winbs_ulong.c misc/winbs_ushort.c misc/wmemchr.c \ + misc/wmemcmp.c misc/wmemcpy.c misc/wmemmove.c misc/wmempcpy.c \ + misc/wmemset.c stdio/mingw_pformat.h stdio/vfscanf2.S \ + stdio/vfwscanf2.S stdio/vscanf2.S stdio/vsscanf2.S \ + stdio/vswscanf2.S stdio/vwscanf2.S stdio/_Exit.c \ + stdio/_findfirst64i32.c stdio/_findnext64i32.c stdio/_fstat.c \ + stdio/_fstat64i32.c stdio/_ftime.c stdio/_getc_nolock.c \ + stdio/_getwc_nolock.c stdio/_putc_nolock.c \ + stdio/_putwc_nolock.c stdio/_stat.c stdio/_stat64i32.c \ + stdio/_wfindfirst64i32.c stdio/_wfindnext64i32.c \ + stdio/_wstat.c stdio/_wstat64i32.c stdio/asprintf.c \ + stdio/atoll.c stdio/fgetpos64.c stdio/fopen64.c \ + stdio/fseeko32.c stdio/fseeko64.c stdio/fsetpos64.c \ + stdio/ftello.c stdio/ftello64.c stdio/ftruncate64.c \ + stdio/lltoa.c stdio/lltow.c stdio/lseek64.c \ + stdio/mingw_fprintf.c stdio/mingw_fprintfw.c \ stdio/mingw_fscanf.c stdio/mingw_fwscanf.c \ stdio/mingw_pformat.c stdio/mingw_pformatw.c \ stdio/mingw_printf.c stdio/mingw_printfw.c stdio/mingw_scanf.c \ @@ -2086,7 +2086,6 @@ misc/lib64_libmingwex_a-mingw_wcstod.$(OBJEXT) \ misc/lib64_libmingwex_a-mingw_wcstof.$(OBJEXT) \ misc/lib64_libmingwex_a-mingw_wcstold.$(OBJEXT) \ - misc/lib64_libmingwex_a-purecall.$(OBJEXT) \ misc/lib64_libmingwex_a-seterrno.$(OBJEXT) \ misc/lib64_libmingwex_a-sleep.$(OBJEXT) \ misc/lib64_libmingwex_a-spawnv.$(OBJEXT) \ @@ -2237,23 +2236,25 @@ lib64_libmoldname_a_OBJECTS = $(am_lib64_libmoldname_a_OBJECTS) lib64_libmsvcrt_a_LIBADD = am__lib64_libmsvcrt_a_SOURCES_DIST = misc/invalid_parameter_handler.c \ - misc/output_format.c secapi/_access_s.c secapi/_cgets_s.c \ - secapi/_cgetws_s.c secapi/_chsize_s.c secapi/_cprintf_s.c \ - secapi/_cprintf_s_l.c secapi/_ctime32_s.c secapi/_ctime64_s.c \ - secapi/_cwprintf_s.c secapi/_cwprintf_s_l.c \ - secapi/_gmtime32_s.c secapi/_gmtime64_s.c \ - secapi/_localtime32_s.c secapi/_localtime64_s.c \ - secapi/_mktemp_s.c secapi/_strdate_s.c secapi/_strtime_s.c \ - secapi/_umask_s.c secapi/_vcprintf_s.c secapi/_vcprintf_s_l.c \ - secapi/_vcwprintf_s.c secapi/_vcwprintf_s_l.c \ - secapi/_waccess_s.c secapi/_wasctime_s.c secapi/_wctime32_s.c \ - secapi/_wctime64_s.c secapi/_wstrtime_s.c secapi/_wmktemp_s.c \ - secapi/_wstrdate_s.c secapi/asctime_s.c secapi/memcpy_s.c \ - secapi/rand_s.c secapi/sprintf_s.c secapi/strerror_s.c \ - secapi/vsprintf_s.c secapi/wmemcpy_s.c lib64/msvcrt.def.in + misc/output_format.c misc/purecall.c secapi/_access_s.c \ + secapi/_cgets_s.c secapi/_cgetws_s.c secapi/_chsize_s.c \ + secapi/_cprintf_s.c secapi/_cprintf_s_l.c secapi/_ctime32_s.c \ + secapi/_ctime64_s.c secapi/_cwprintf_s.c \ + secapi/_cwprintf_s_l.c secapi/_gmtime32_s.c \ + secapi/_gmtime64_s.c secapi/_localtime32_s.c \ + secapi/_localtime64_s.c secapi/_mktemp_s.c secapi/_strdate_s.c \ + secapi/_strtime_s.c secapi/_umask_s.c secapi/_vcprintf_s.c \ + secapi/_vcprintf_s_l.c secapi/_vcwprintf_s.c \ + secapi/_vcwprintf_s_l.c secapi/_waccess_s.c \ + secapi/_wasctime_s.c secapi/_wctime32_s.c secapi/_wctime64_s.c \ + secapi/_wstrtime_s.c secapi/_wmktemp_s.c secapi/_wstrdate_s.c \ + secapi/asctime_s.c secapi/memcpy_s.c secapi/rand_s.c \ + secapi/sprintf_s.c secapi/strerror_s.c secapi/vsprintf_s.c \ + secapi/wmemcpy_s.c lib64/msvcrt.def.in am__objects_52 = \ misc/lib64_libmsvcrt_a-invalid_parameter_handler.$(OBJEXT) \ misc/lib64_libmsvcrt_a-output_format.$(OBJEXT) \ + misc/lib64_libmsvcrt_a-purecall.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-_access_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-_cgets_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-_cgetws_s.$(OBJEXT) \ @@ -3878,6 +3879,7 @@ src_msvcrt = \ misc/invalid_parameter_handler.c \ misc/output_format.c \ + misc/purecall.c \ secapi/_access_s.c \ secapi/_cgets_s.c \ secapi/_cgetws_s.c \ @@ -3987,7 +3989,7 @@ misc/gettimeofday.c misc/imaxabs.c misc/imaxdiv.c misc/isblank.c misc/iswblank.c \ misc/mbrtowc.c misc/mbsinit.c misc/mempcpy.c misc/mingw-aligned-malloc.c misc/mingw-fseek.c \ misc/mingw_matherr.c misc/mingw_mbwc_convert.c misc/mingw_usleep.c misc/mingw_wcstod.c misc/mingw_wcstof.c \ - misc/mingw_wcstold.c misc/purecall.c misc/seterrno.c misc/sleep.c misc/spawnv.c \ + misc/mingw_wcstold.c misc/seterrno.c misc/sleep.c misc/spawnv.c \ misc/spawnve.c misc/spawnvp.c misc/spawnvpe.c misc/strnlen.c misc/strsafe.c \ misc/strtoimax.c misc/strtold.c misc/strtoumax.c misc/tdelete.c misc/tfind.c \ misc/tsearch.c misc/twalk.c misc/uchar_c16rtomb.c misc/uchar_c32rtomb.c misc/uchar_mbrtoc16.c \ @@ -6679,8 +6681,6 @@ misc/$(DEPDIR)/$(am__dirstamp) misc/lib32_libmingwex_a-mingw_wcstold.$(OBJEXT): misc/$(am__dirstamp) \ misc/$(DEPDIR)/$(am__dirstamp) -misc/lib32_libmingwex_a-purecall.$(OBJEXT): misc/$(am__dirstamp) \ - misc/$(DEPDIR)/$(am__dirstamp) misc/lib32_libmingwex_a-seterrno.$(OBJEXT): misc/$(am__dirstamp) \ misc/$(DEPDIR)/$(am__dirstamp) misc/lib32_libmingwex_a-sleep.$(OBJEXT): misc/$(am__dirstamp) \ @@ -6976,6 +6976,8 @@ misc/$(am__dirstamp) misc/$(DEPDIR)/$(am__dirstamp) misc/lib32_libmsvcrt_a-output_format.$(OBJEXT): misc/$(am__dirstamp) \ misc/$(DEPDIR)/$(am__dirstamp) +misc/lib32_libmsvcrt_a-purecall.$(OBJEXT): misc/$(am__dirstamp) \ + misc/$(DEPDIR)/$(am__dirstamp) secapi/$(am__dirstamp): @$(MKDIR_P) secapi @: > secapi/$(am__dirstamp) @@ -8297,8 +8299,6 @@ misc/$(DEPDIR)/$(am__dirstamp) misc/lib64_libmingwex_a-mingw_wcstold.$(OBJEXT): misc/$(am__dirstamp) \ misc/$(DEPDIR)/$(am__dirstamp) -misc/lib64_libmingwex_a-purecall.$(OBJEXT): misc/$(am__dirstamp) \ - misc/$(DEPDIR)/$(am__dirstamp) misc/lib64_libmingwex_a-seterrno.$(OBJEXT): misc/$(am__dirstamp) \ misc/$(DEPDIR)/$(am__dirstamp) misc/lib64_libmingwex_a-sleep.$(OBJEXT): misc/$(am__dirstamp) \ @@ -8582,6 +8582,8 @@ misc/$(am__dirstamp) misc/$(DEPDIR)/$(am__dirstamp) misc/lib64_libmsvcrt_a-output_format.$(OBJEXT): misc/$(am__dirstamp) \ misc/$(DEPDIR)/$(am__dirstamp) +misc/lib64_libmsvcrt_a-purecall.$(OBJEXT): misc/$(am__dirstamp) \ + misc/$(DEPDIR)/$(am__dirstamp) secapi/lib64_libmsvcrt_a-_access_s.$(OBJEXT): secapi/$(am__dirstamp) \ secapi/$(DEPDIR)/$(am__dirstamp) secapi/lib64_libmsvcrt_a-_cgets_s.$(OBJEXT): secapi/$(am__dirstamp) \ @@ -10855,7 +10857,6 @@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmingwex_a-mingw_wcstod.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmingwex_a-mingw_wcstof.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmingwex_a-mingw_wcstold.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmingwex_a-purecall.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmingwex_a-seterrno.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmingwex_a-sleep.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmingwex_a-spawnv.Po@am__quote@ @@ -10898,6 +10899,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmsvcrt_a-invalid_parameter_handler.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmsvcrt_a-lc_locale_func.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmsvcrt_a-output_format.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib32_libmsvcrt_a-purecall.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-alarm.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-basename.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-btowc.Po@am__quote@ @@ -10945,7 +10947,6 @@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-mingw_wcstod.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-mingw_wcstof.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-mingw_wcstold.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-purecall.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-seterrno.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-sleep.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-spawnv.Po@am__quote@ @@ -10987,6 +10988,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmingwex_a-wmemset.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmsvcrt_a-invalid_parameter_handler.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmsvcrt_a-output_format.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc/$(DEPDIR)/lib64_libmsvcrt_a-purecall.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@profile/$(DEPDIR)/lib32_libgmon_a-gmon.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@profile/$(DEPDIR)/lib32_libgmon_a-mcount.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@profile/$(DEPDIR)/lib32_libgmon_a-mcountFunc.Po@am__quote@ @@ -18111,20 +18113,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib32_libmingwex_a-mingw_wcstold.obj `if test -f 'misc/mingw_wcstold.c'; then $(CYGPATH_W) 'misc/mingw_wcstold.c'; else $(CYGPATH_W) '$(srcdir)/misc/mingw_wcstold.c'; fi` -misc/lib32_libmingwex_a-purecall.o: misc/purecall.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib32_libmingwex_a-purecall.o -MD -MP -MF misc/$(DEPDIR)/lib32_libmingwex_a-purecall.Tpo -c -o misc/lib32_libmingwex_a-purecall.o `test -f 'misc/purecall.c' || echo '$(srcdir)/'`misc/purecall.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib32_libmingwex_a-purecall.Tpo misc/$(DEPDIR)/lib32_libmingwex_a-purecall.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc/purecall.c' object='misc/lib32_libmingwex_a-purecall.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib32_libmingwex_a-purecall.o `test -f 'misc/purecall.c' || echo '$(srcdir)/'`misc/purecall.c - -misc/lib32_libmingwex_a-purecall.obj: misc/purecall.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib32_libmingwex_a-purecall.obj -MD -MP -MF misc/$(DEPDIR)/lib32_libmingwex_a-purecall.Tpo -c -o misc/lib32_libmingwex_a-purecall.obj `if test -f 'misc/purecall.c'; then $(CYGPATH_W) 'misc/purecall.c'; else $(CYGPATH_W) '$(srcdir)/misc/purecall.c'; fi` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib32_libmingwex_a-purecall.Tpo misc/$(DEPDIR)/lib32_libmingwex_a-purecall.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc/purecall.c' object='misc/lib32_libmingwex_a-purecall.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib32_libmingwex_a-purecall.obj `if test -f 'misc/purecall.c'; then $(CYGPATH_W) 'misc/purecall.c'; else $(CYGPATH_W) '$(srcdir)/misc/purecall.c'; fi` - misc/lib32_libmingwex_a-seterrno.o: misc/seterrno.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib32_libmingwex_a-seterrno.o -MD -MP -MF misc/$(DEPDIR)/lib32_libmingwex_a-seterrno.Tpo -c -o misc/lib32_libmingwex_a-seterrno.o `test -f 'misc/seterrno.c' || echo '$(srcdir)/'`misc/seterrno.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib32_libmingwex_a-seterrno.Tpo misc/$(DEPDIR)/lib32_libmingwex_a-seterrno.Po @@ -19931,6 +19919,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib32_libmsvcrt_a-output_format.obj `if test -f 'misc/output_format.c'; then $(CYGPATH_W) 'misc/output_format.c'; else $(CYGPATH_W) '$(srcdir)/misc/output_format.c'; fi` +misc/lib32_libmsvcrt_a-purecall.o: misc/purecall.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib32_libmsvcrt_a-purecall.o -MD -MP -MF misc/$(DEPDIR)/lib32_libmsvcrt_a-purecall.Tpo -c -o misc/lib32_libmsvcrt_a-purecall.o `test -f 'misc/purecall.c' || echo '$(srcdir)/'`misc/purecall.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib32_libmsvcrt_a-purecall.Tpo misc/$(DEPDIR)/lib32_libmsvcrt_a-purecall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc/purecall.c' object='misc/lib32_libmsvcrt_a-purecall.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib32_libmsvcrt_a-purecall.o `test -f 'misc/purecall.c' || echo '$(srcdir)/'`misc/purecall.c + +misc/lib32_libmsvcrt_a-purecall.obj: misc/purecall.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib32_libmsvcrt_a-purecall.obj -MD -MP -MF misc/$(DEPDIR)/lib32_libmsvcrt_a-purecall.Tpo -c -o misc/lib32_libmsvcrt_a-purecall.obj `if test -f 'misc/purecall.c'; then $(CYGPATH_W) 'misc/purecall.c'; else $(CYGPATH_W) '$(srcdir)/misc/purecall.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib32_libmsvcrt_a-purecall.Tpo misc/$(DEPDIR)/lib32_libmsvcrt_a-purecall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc/purecall.c' object='misc/lib32_libmsvcrt_a-purecall.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib32_libmsvcrt_a-purecall.obj `if test -f 'misc/purecall.c'; then $(CYGPATH_W) 'misc/purecall.c'; else $(CYGPATH_W) '$(srcdir)/misc/purecall.c'; fi` + secapi/lib32_libmsvcrt_a-_access_s.o: secapi/_access_s.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT secapi/lib32_libmsvcrt_a-_access_s.o -MD -MP -MF secapi/$(DEPDIR)/lib32_libmsvcrt_a-_access_s.Tpo -c -o secapi/lib32_libmsvcrt_a-_access_s.o `test -f 'secapi/_access_s.c' || echo '$(srcdir)/'`secapi/_access_s.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) secapi/$(DEPDIR)/lib32_libmsvcrt_a-_access_s.Tpo secapi/$(DEPDIR)/lib32_libmsvcrt_a-_access_s.Po @@ -27211,20 +27213,6 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib64_libmingwex_a-mingw_wcstold.obj `if test -f 'misc/mingw_wcstold.c'; then $(CYGPATH_W) 'misc/mingw_wcstold.c'; else $(CYGPATH_W) '$(srcdir)/misc/mingw_wcstold.c'; fi` -misc/lib64_libmingwex_a-purecall.o: misc/purecall.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib64_libmingwex_a-purecall.o -MD -MP -MF misc/$(DEPDIR)/lib64_libmingwex_a-purecall.Tpo -c -o misc/lib64_libmingwex_a-purecall.o `test -f 'misc/purecall.c' || echo '$(srcdir)/'`misc/purecall.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib64_libmingwex_a-purecall.Tpo misc/$(DEPDIR)/lib64_libmingwex_a-purecall.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc/purecall.c' object='misc/lib64_libmingwex_a-purecall.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib64_libmingwex_a-purecall.o `test -f 'misc/purecall.c' || echo '$(srcdir)/'`misc/purecall.c - -misc/lib64_libmingwex_a-purecall.obj: misc/purecall.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib64_libmingwex_a-purecall.obj -MD -MP -MF misc/$(DEPDIR)/lib64_libmingwex_a-purecall.Tpo -c -o misc/lib64_libmingwex_a-purecall.obj `if test -f 'misc/purecall.c'; then $(CYGPATH_W) 'misc/purecall.c'; else $(CYGPATH_W) '$(srcdir)/misc/purecall.c'; fi` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib64_libmingwex_a-purecall.Tpo misc/$(DEPDIR)/lib64_libmingwex_a-purecall.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc/purecall.c' object='misc/lib64_libmingwex_a-purecall.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib64_libmingwex_a-purecall.obj `if test -f 'misc/purecall.c'; then $(CYGPATH_W) 'misc/purecall.c'; else $(CYGPATH_W) '$(srcdir)/misc/purecall.c'; fi` - misc/lib64_libmingwex_a-seterrno.o: misc/seterrno.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib64_libmingwex_a-seterrno.o -MD -MP -MF misc/$(DEPDIR)/lib64_libmingwex_a-seterrno.Tpo -c -o misc/lib64_libmingwex_a-seterrno.o `test -f 'misc/seterrno.c' || echo '$(srcdir)/'`misc/seterrno.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib64_libmingwex_a-seterrno.Tpo misc/$(DEPDIR)/lib64_libmingwex_a-seterrno.Po @@ -29031,6 +29019,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib64_libmsvcrt_a-output_format.obj `if test -f 'misc/output_format.c'; then $(CYGPATH_W) 'misc/output_format.c'; else $(CYGPATH_W) '$(srcdir)/misc/output_format.c'; fi` +misc/lib64_libmsvcrt_a-purecall.o: misc/purecall.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib64_libmsvcrt_a-purecall.o -MD -MP -MF misc/$(DEPDIR)/lib64_libmsvcrt_a-purecall.Tpo -c -o misc/lib64_libmsvcrt_a-purecall.o `test -f 'misc/purecall.c' || echo '$(srcdir)/'`misc/purecall.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib64_libmsvcrt_a-purecall.Tpo misc/$(DEPDIR)/lib64_libmsvcrt_a-purecall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc/purecall.c' object='misc/lib64_libmsvcrt_a-purecall.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib64_libmsvcrt_a-purecall.o `test -f 'misc/purecall.c' || echo '$(srcdir)/'`misc/purecall.c + +misc/lib64_libmsvcrt_a-purecall.obj: misc/purecall.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT misc/lib64_libmsvcrt_a-purecall.obj -MD -MP -MF misc/$(DEPDIR)/lib64_libmsvcrt_a-purecall.Tpo -c -o misc/lib64_libmsvcrt_a-purecall.obj `if test -f 'misc/purecall.c'; then $(CYGPATH_W) 'misc/purecall.c'; else $(CYGPATH_W) '$(srcdir)/misc/purecall.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc/$(DEPDIR)/lib64_libmsvcrt_a-purecall.Tpo misc/$(DEPDIR)/lib64_libmsvcrt_a-purecall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc/purecall.c' object='misc/lib64_libmsvcrt_a-purecall.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o misc/lib64_libmsvcrt_a-purecall.obj `if test -f 'misc/purecall.c'; then $(CYGPATH_W) 'misc/purecall.c'; else $(CYGPATH_W) '$(srcdir)/misc/purecall.c'; fi` + secapi/lib64_libmsvcrt_a-_access_s.o: secapi/_access_s.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT secapi/lib64_libmsvcrt_a-_access_s.o -MD -MP -MF secapi/$(DEPDIR)/lib64_libmsvcrt_a-_access_s.Tpo -c -o secapi/lib64_libmsvcrt_a-_access_s.o `test -f 'secapi/_access_s.c' || echo '$(srcdir)/'`secapi/_access_s.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) secapi/$(DEPDIR)/lib64_libmsvcrt_a-_access_s.Tpo secapi/$(DEPDIR)/lib64_libmsvcrt_a-_access_s.Po This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jo...@us...> - 2014-04-08 12:30:36
|
Revision: 6561 http://sourceforge.net/p/mingw-w64/code/6561 Author: jon_y Date: 2014-04-08 12:30:29 +0000 (Tue, 08 Apr 2014) Log Message: ----------- backport fixes for libgomp Modified Paths: -------------- stable/v3.x/mingw-w64-libraries/winpthreads/include/pthread.h stable/v3.x/mingw-w64-libraries/winpthreads/src/cond.c stable/v3.x/mingw-w64-libraries/winpthreads/src/mutex.c stable/v3.x/mingw-w64-libraries/winpthreads/src/rwlock.c stable/v3.x/mingw-w64-libraries/winpthreads/src/sem.c stable/v3.x/mingw-w64-libraries/winpthreads/src/thread.c stable/v3.x/mingw-w64-libraries/winpthreads/tests_pthread/ChangeLog Added Paths: ----------- stable/v3.x/mingw-w64-libraries/winpthreads/tests_pthread/ChangeLog.2013 Property Changed: ---------------- stable/v3.x/mingw-w64-libraries/winpthreads/ stable/v3.x/mingw-w64-libraries/winpthreads/src/ stable/v3.x/mingw-w64-libraries/winpthreads/src/cond.c stable/v3.x/mingw-w64-libraries/winpthreads/src/mutex.c Index: stable/v3.x/mingw-w64-libraries/winpthreads =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads 2014-04-08 12:30:29 UTC (rev 6561) Property changes on: stable/v3.x/mingw-w64-libraries/winpthreads ___________________________________________________________________ Modified: svn:mergeinfo ## -1 +1 ## -/trunk/mingw-w64-libraries/winpthreads:6297-6440 +/trunk/mingw-w64-libraries/winpthreads:6297-6560 \ No newline at end of property Modified: stable/v3.x/mingw-w64-libraries/winpthreads/include/pthread.h =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads/include/pthread.h 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads/include/pthread.h 2014-04-08 12:30:29 UTC (rev 6561) @@ -300,7 +300,6 @@ int WINPTHREAD_API pthread_equal(pthread_t t1, pthread_t t2); void WINPTHREAD_API pthread_tls_init(void); void WINPTHREAD_API _pthread_cleanup_dest(pthread_t t); -pthread_t WINPTHREAD_API pthread_self(void); int WINPTHREAD_API pthread_get_concurrency(int *val); int WINPTHREAD_API pthread_set_concurrency(int val); void WINPTHREAD_API pthread_exit(void *res); @@ -332,6 +331,7 @@ int WINPTHREAD_API pthread_cond_broadcast (pthread_cond_t *cv); int WINPTHREAD_API pthread_cond_wait (pthread_cond_t *cv, pthread_mutex_t *external_mutex); int WINPTHREAD_API pthread_cond_timedwait(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct timespec *t); +int WINPTHREAD_API pthread_cond_timedwait_relative(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct timespec *t); int WINPTHREAD_API pthread_mutex_lock(pthread_mutex_t *m); int WINPTHREAD_API pthread_mutex_timedlock(pthread_mutex_t *m, const struct timespec *ts); @@ -401,7 +401,7 @@ /* Private extensions for analysis and internal use. */ struct _pthread_cleanup ** WINPTHREAD_API pthread_getclean (void); void * WINPTHREAD_API pthread_gethandle (pthread_t t); -void * WINPTHREAD_API pthread_getevent (pthread_t t); +void * WINPTHREAD_API pthread_getevent (); unsigned long long WINPTHREAD_API _pthread_rel_time_in_ms(const struct timespec *ts); unsigned long long WINPTHREAD_API _pthread_time_in_ms(void); Index: stable/v3.x/mingw-w64-libraries/winpthreads/src =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads/src 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads/src 2014-04-08 12:30:29 UTC (rev 6561) Property changes on: stable/v3.x/mingw-w64-libraries/winpthreads/src ___________________________________________________________________ Deleted: svn:mergeinfo ## -1 +0,0 ## -/trunk/mingw-w64-libraries/winpthreads/src:6297-6439 \ No newline at end of property Modified: stable/v3.x/mingw-w64-libraries/winpthreads/src/cond.c =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads/src/cond.c 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads/src/cond.c 2014-04-08 12:30:29 UTC (rev 6561) @@ -455,8 +455,8 @@ return r; } -int -pthread_cond_timedwait (pthread_cond_t *c, pthread_mutex_t *external_mutex, const struct timespec *t) +static int +pthread_cond_timedwait_impl (pthread_cond_t *c, pthread_mutex_t *external_mutex, const struct timespec *t, int rel) { sCondWaitHelper ch; DWORD dwr; @@ -477,7 +477,15 @@ } else if ((_c)->valid != (unsigned int)LIFE_COND) return EINVAL; - dwr = dwMilliSecs(_pthread_rel_time_in_ms(t)); + if (rel == 0) + { + dwr = dwMilliSecs(_pthread_rel_time_in_ms(t)); + } + else + { + dwr = dwMilliSecs(_pthread_time_in_ms_from_timespec(t)); + } + r = do_sema_b_wait (_c->sema_b, 0, INFINITE,&_c->waiters_b_lock_,&_c->value_b); if (r != 0) return r; @@ -489,7 +497,7 @@ ch.c = _c; ch.r = &r; ch.external_mutex = external_mutex; - { + { pthread_cleanup_push(cleanup_wait, (void *) &ch); r = pthread_mutex_unlock(external_mutex); @@ -501,6 +509,18 @@ return r; } +int +pthread_cond_timedwait(pthread_cond_t *c, pthread_mutex_t *m, const struct timespec *t) +{ + return pthread_cond_timedwait_impl(c, m, t, 0); +} + +int +pthread_cond_timedwait_relative(pthread_cond_t *c, pthread_mutex_t *m, const struct timespec *t) +{ + return pthread_cond_timedwait_impl(c, m, t, 1); +} + static void cleanup_wait (void *arg) { @@ -598,7 +618,7 @@ return r; } arr[0] = sema; - arr[1] = (HANDLE) pthread_getevent (pthread_self ()); + arr[1] = (HANDLE) pthread_getevent (); if (arr[1] != NULL) maxH += 1; if (maxH == 2) { Property changes on: stable/v3.x/mingw-w64-libraries/winpthreads/src/cond.c ___________________________________________________________________ Deleted: svn:mergeinfo ## -1 +0,0 ## -/trunk/mingw-w64-libraries/winpthreads/src/cond.c:6297-6471 \ No newline at end of property Modified: stable/v3.x/mingw-w64-libraries/winpthreads/src/mutex.c =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads/src/mutex.c 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads/src/mutex.c 2014-04-08 12:30:29 UTC (rev 6561) @@ -44,7 +44,7 @@ #ifdef WINPTHREAD_DBG assert((m_->valid == LIFE_MUTEX) && (m_->busy > 0)); #endif - if (m_->valid == LIFE_MUTEX) + if (m_->valid == LIFE_MUTEX && m_->busy > 0) m_->busy -= 1; pthread_spin_unlock (&mutex_global); return r; @@ -124,16 +124,14 @@ return EINVAL; *mDestroy = NULL; - /* also considered as busy, any concurrent access prevents destruction: $$$$ */ - while (pthread_spin_trylock (&mutex_global) != 0) - { - mx = *m; - r = pthread_mutex_trylock (&mx); - if (r != 0) - return r; - pthread_mutex_unlock (&mx); - } + /* also considered as busy, any concurrent access prevents destruction: */ + mx = *m; + r = pthread_mutex_trylock (&mx); + if (r) + return r; + pthread_spin_lock (&mutex_global); + if (!*m) r = EINVAL; else @@ -141,12 +139,10 @@ m_ = (mutex_t *)*m; if (STATIC_INITIALIZER(*m)) *m = NULL; - else if (m_->valid != LIFE_MUTEX) + else if (m_->valid != LIFE_MUTEX) r = EINVAL; else if (m_->busy) - return 0xbeef; /* Indicate we want to wait here. */ - else if (COND_LOCKED(m_)) - r = EBUSY; + r = 0xbeef; else { *mDestroy = *m; @@ -155,8 +151,10 @@ } if (r) - pthread_spin_unlock (&mutex_global); - + { + pthread_spin_unlock (&mutex_global); + pthread_mutex_unlock (&mx); + } return r; } @@ -168,8 +166,9 @@ pthread_spin_lock (&mutex_global); if (!m) r = EINVAL; - - pthread_spin_unlock (&mutex_global); + + if (r) + pthread_spin_unlock (&mutex_global); return r; } @@ -244,9 +243,6 @@ mutex_t *_m; int r; HANDLE h; -#if 0 - int waited = 0; -#endif r = mutex_ref (m); if (r) @@ -261,16 +257,10 @@ { if (_m->type == PTHREAD_MUTEX_RECURSIVE) { -#if 0 - printf("thread %d, recursive increment %p\n", GetCurrentThreadId(), m); -#endif - InterlockedIncrement(&_m->count); return mutex_unref(m,0); } -#if 0 - printf("thread %d, non recursive increment?!? %p\n", GetCurrentThreadId(), m); -#endif + return mutex_unref(m, EDEADLK); } } @@ -279,20 +269,8 @@ h = _m->h; mutex_unref (m, 0); - if(_m->owner) { -#if 0 - waited = 1; - printf("thread %d, waiting for thread: %d on mutex %p for %d time\n", GetCurrentThreadId(), _m->owner, m, timeout); -#endif - } r = do_sema_b_wait_intern (h, 1, timeout); -#if 0 - if(waited) { - printf("thread %d, resumed\n", GetCurrentThreadId()); - } - #endif - if (r != 0) return r; @@ -302,9 +280,7 @@ _m->count = 1; SET_OWNER(_m); -#if 0 - printf("thread %d, setting owner of mutex %p\n", GetCurrentThreadId(), m); -#endif + return mutex_unref (m, r); } @@ -343,54 +319,36 @@ int r = mutex_ref_unlock(m); if(r) { -#if 0 - printf("thread %d, la pool, no user unset in mutex %p\n", GetCurrentThreadId(), m); -#endif return r; } _m = (mutex_t *)*m; - + if (_m->type == PTHREAD_MUTEX_NORMAL) { if (!COND_LOCKED(_m)) { -#if 0 - printf("thread %d, mutex %p never locked, actually :p\n", GetCurrentThreadId(), m); -#endif - return mutex_unref(m, EPERM); + return mutex_unref(m, EPERM); } } else if (!COND_LOCKED(_m) || !COND_OWNER(_m)) { -#if 0 - printf("thread %d, mutex %p never locked or not owner, actually :p\n", GetCurrentThreadId(), m); -#endif return mutex_unref(m,EPERM); } if (_m->type == PTHREAD_MUTEX_RECURSIVE) { if(InterlockedDecrement(&_m->count)) { -#if 0 - printf("thread %d, mutex %p decreasing recursive\n", GetCurrentThreadId(), m); -#endif return mutex_unref(m,0); } } -#if 0 - printf("thread %d,unsetting owner of mutex %p\n", GetCurrentThreadId(), m); -#endif UNSET_OWNER(_m); - + if (_m->h != NULL && !ReleaseSemaphore(_m->h, 1, NULL)) { SET_OWNER(_m); -#if 0 - printf("Error, not released! thread %d, setting owner of mutex m\n", GetCurrentThreadId(), m); -#endif /* restore our own bookkeeping */ return mutex_unref(m,EPERM); } - + return mutex_unref(m,0); } @@ -423,9 +381,6 @@ { _m->count = 1; SET_OWNER(_m); -#if 0 - printf("thread %d, setting owner of mutex %d\n", GetCurrentThreadId(), _m->owner); -#endif } return r; @@ -450,10 +405,14 @@ return r; if (!(_m = (pthread_mutex_t)calloc(1,sizeof(*_m)))) - return ENOMEM; + { + pthread_spin_unlock (&mutex_global); + return ENOMEM; + } _m->type = PTHREAD_MUTEX_DEFAULT; _m->count = 0; + _m->busy = 0; if (a) { @@ -485,11 +444,13 @@ _m->valid = DEAD_MUTEX; free(_m); *m = NULL; + pthread_spin_unlock (&mutex_global); return r; } _m->valid = LIFE_MUTEX; *m = _m; + pthread_spin_unlock (&mutex_global); return 0; } @@ -518,6 +479,7 @@ _m->valid = DEAD_MUTEX; _m->type = 0; _m->count = 0; + _m->busy = 0; free (mDestroy); *m = NULL; pthread_spin_unlock (&mutex_global); Property changes on: stable/v3.x/mingw-w64-libraries/winpthreads/src/mutex.c ___________________________________________________________________ Deleted: svn:mergeinfo ## -1 +0,0 ## -/trunk/mingw-w64-libraries/winpthreads/src/mutex.c:6297-6471 \ No newline at end of property Modified: stable/v3.x/mingw-w64-libraries/winpthreads/src/rwlock.c =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads/src/rwlock.c 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads/src/rwlock.c 2014-04-08 12:30:29 UTC (rev 6561) @@ -248,7 +248,7 @@ rwlock_t *rwlock; int ret; - pthread_testcancel(); + /* pthread_testcancel(); */ ret = rwl_ref(rwlock_,0); if(ret != 0) return ret; @@ -280,7 +280,7 @@ rwlock_t *rwlock; int ret; - pthread_testcancel(); + /* pthread_testcancel(); */ ret = rwl_ref(rwlock_,0); if(ret != 0) return ret; @@ -421,7 +421,7 @@ rwlock_t *rwlock; int ret; - pthread_testcancel(); + /* pthread_testcancel(); */ ret = rwl_ref(rwlock_,0); if(ret != 0) return ret; @@ -460,7 +460,7 @@ int ret; rwlock_t *rwlock; - pthread_testcancel(); + /* pthread_testcancel(); */ if (!rwlock_ || !ts) return EINVAL; if ((ret = rwl_ref(rwlock_,0)) != 0) Modified: stable/v3.x/mingw-w64-libraries/winpthreads/src/sem.c =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads/src/sem.c 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads/src/sem.c 2014-04-08 12:30:29 UTC (rev 6561) @@ -85,11 +85,16 @@ if ((r = pthread_mutex_lock (&sv->vlock)) != 0) return sem_result (r); +#if 0 + /* We don't wait for destroying a semaphore ... + or? */ if (sv->value < 0) { pthread_mutex_unlock (&sv->vlock); return sem_result (EBUSY); } +#endif + if (!CloseHandle (sv->s)) { pthread_mutex_unlock (&sv->vlock); @@ -184,7 +189,7 @@ if (sem_std_enter (sem, &sv, 1) != 0) return -1; - arg.ret = NULL; + arg.ret = &ret; arg.p = sem; InterlockedDecrement (&sv->value); cur_v = sv->value; Modified: stable/v3.x/mingw-w64-libraries/winpthreads/src/thread.c =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads/src/thread.c 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads/src/thread.c 2014-04-08 12:30:29 UTC (rev 6561) @@ -919,10 +919,10 @@ /* Internal helper for getting event handle of thread T. */ void * -pthread_getevent (pthread_t t) +pthread_getevent () { - struct _pthread_v *tv = __pth_gpointer_locked (t); - return (!tv ? NULL : tv->evStart); + _pthread_v *t = __pthread_self_lite (); + return (!t ? NULL : t->evStart); } /* Internal helper for getting thread handle of thread T. */ @@ -1179,8 +1179,8 @@ pthread_mutex_lock (&mtx_pthr_locked); tv = __pthread_get_pointer (t); - if (!tv || t != tv->x || tv->in_cancel || tv->ended || tv->h == NULL || - tv->h == INVALID_HANDLE_VALUE) + if (!tv || t != tv->x || tv->in_cancel || tv->ended || tv->h == NULL + || tv->h == INVALID_HANDLE_VALUE) { pthread_mutex_unlock (&mtx_pthr_locked); return ESRCH; @@ -1378,7 +1378,8 @@ ); #endif /* Call function and save return value */ pthread_mutex_unlock (&mtx_pthr_locked); - trslt = (intptr_t) tv->func(tv->ret_arg); + if (tv->func) + trslt = (intptr_t) tv->func(tv->ret_arg); #ifdef __SEH__ asm ("\tnop\n\t.tl_end: nop\n"); #endif @@ -1407,9 +1408,9 @@ } else { - tv->ended = 1; pthread_mutex_unlock (&tv->p_clock); pthread_mutex_destroy (&tv->p_clock); + tv->ended = 1; } while (pthread_mutex_unlock (&mtx_pthr_locked) == 0) Sleep (0); @@ -1456,7 +1457,7 @@ if (tv->evStart == NULL) { if (th) - memset (th,0, sizeof (pthread_t)); + memset (th, 0, sizeof (pthread_t)); push_pthread_mem (tv); return EAGAIN; } @@ -1489,8 +1490,9 @@ pthread_mutex_destroy (&tv->p_clock); tv->spin_keys = new_spin_keys; tv->evStart = NULL; + tv->h = 0; if (th) - memset(th,0, sizeof (pthread_t)); + memset (th, 0, sizeof (pthread_t)); push_pthread_mem (tv); return EAGAIN; } @@ -1537,9 +1539,8 @@ if (pthread_equal(pthread_self(), t)) return EDEADLK; - pthread_testcancel (); - - if (tv->ended == 0) + /* pthread_testcancel (); */ + if (tv->ended == 0 || (tv->h != NULL && tv->h != INVALID_HANDLE_VALUE)) WaitForSingleObject (tv->h, INFINITE); CloseHandle (tv->h); if (tv->evStart) @@ -1563,7 +1564,7 @@ pthread_spinlock_t new_spin_keys = PTHREAD_SPINLOCK_INITIALIZER; pthread_mutex_lock (&mtx_pthr_locked); - tv = __pth_gpointer_locked (t); + tv = __pthread_get_pointer (t); if (!tv || tv->h == NULL || !GetHandleInformation(tv->h, &dwFlags)) { @@ -1586,7 +1587,7 @@ if (tv->ended == 0); { pthread_mutex_unlock (&mtx_pthr_locked); - pthread_testcancel (); + /* pthread_testcancel (); */ return EBUSY; } } @@ -1604,7 +1605,7 @@ push_pthread_mem (tv); pthread_mutex_unlock (&mtx_pthr_locked); - pthread_testcancel (); + /* pthread_testcancel (); */ return 0; } Modified: stable/v3.x/mingw-w64-libraries/winpthreads/tests_pthread/ChangeLog =================================================================== --- stable/v3.x/mingw-w64-libraries/winpthreads/tests_pthread/ChangeLog 2014-04-07 16:32:25 UTC (rev 6560) +++ stable/v3.x/mingw-w64-libraries/winpthreads/tests_pthread/ChangeLog 2014-04-08 12:30:29 UTC (rev 6561) @@ -0,0 +1 @@ + Copied: stable/v3.x/mingw-w64-libraries/winpthreads/tests_pthread/ChangeLog.2013 (from rev 6560, trunk/mingw-w64-libraries/winpthreads/tests_pthread/ChangeLog.2013) =================================================================== This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-04-07 16:32:33
|
Revision: 6560 http://sourceforge.net/p/mingw-w64/code/6560 Author: ktietz70 Date: 2014-04-07 16:32:25 +0000 (Mon, 07 Apr 2014) Log Message: ----------- Fix openmp issue. Patch contributed by Antony Riakiotakis Modified Paths: -------------- trunk/mingw-w64-libraries/winpthreads/include/pthread.h trunk/mingw-w64-libraries/winpthreads/src/cond.c trunk/mingw-w64-libraries/winpthreads/src/mutex.c trunk/mingw-w64-libraries/winpthreads/src/thread.c Modified: trunk/mingw-w64-libraries/winpthreads/include/pthread.h =================================================================== --- trunk/mingw-w64-libraries/winpthreads/include/pthread.h 2014-03-30 12:30:27 UTC (rev 6559) +++ trunk/mingw-w64-libraries/winpthreads/include/pthread.h 2014-04-07 16:32:25 UTC (rev 6560) @@ -401,7 +401,7 @@ /* Private extensions for analysis and internal use. */ struct _pthread_cleanup ** WINPTHREAD_API pthread_getclean (void); void * WINPTHREAD_API pthread_gethandle (pthread_t t); -void * WINPTHREAD_API pthread_getevent (pthread_t t); +void * WINPTHREAD_API pthread_getevent (); unsigned long long WINPTHREAD_API _pthread_rel_time_in_ms(const struct timespec *ts); unsigned long long WINPTHREAD_API _pthread_time_in_ms(void); Modified: trunk/mingw-w64-libraries/winpthreads/src/cond.c =================================================================== --- trunk/mingw-w64-libraries/winpthreads/src/cond.c 2014-03-30 12:30:27 UTC (rev 6559) +++ trunk/mingw-w64-libraries/winpthreads/src/cond.c 2014-04-07 16:32:25 UTC (rev 6560) @@ -618,7 +618,7 @@ return r; } arr[0] = sema; - arr[1] = (HANDLE) pthread_getevent (pthread_self ()); + arr[1] = (HANDLE) pthread_getevent (); if (arr[1] != NULL) maxH += 1; if (maxH == 2) { Modified: trunk/mingw-w64-libraries/winpthreads/src/mutex.c =================================================================== --- trunk/mingw-w64-libraries/winpthreads/src/mutex.c 2014-03-30 12:30:27 UTC (rev 6559) +++ trunk/mingw-w64-libraries/winpthreads/src/mutex.c 2014-04-07 16:32:25 UTC (rev 6560) @@ -243,9 +243,6 @@ mutex_t *_m; int r; HANDLE h; -#if 0 - int waited = 0; -#endif r = mutex_ref (m); if (r) @@ -260,16 +257,10 @@ { if (_m->type == PTHREAD_MUTEX_RECURSIVE) { -#if 0 - printf("thread %d, recursive increment %p\n", GetCurrentThreadId(), m); -#endif - InterlockedIncrement(&_m->count); return mutex_unref(m,0); } -#if 0 - printf("thread %d, non recursive increment?!? %p\n", GetCurrentThreadId(), m); -#endif + return mutex_unref(m, EDEADLK); } } @@ -278,20 +269,8 @@ h = _m->h; mutex_unref (m, 0); - if(_m->owner) { -#if 0 - waited = 1; - printf("thread %d, waiting for thread: %d on mutex %p for %d time\n", GetCurrentThreadId(), _m->owner, m, timeout); -#endif - } r = do_sema_b_wait_intern (h, 1, timeout); -#if 0 - if(waited) { - printf("thread %d, resumed\n", GetCurrentThreadId()); - } - #endif - if (r != 0) return r; @@ -301,9 +280,7 @@ _m->count = 1; SET_OWNER(_m); -#if 0 - printf("thread %d, setting owner of mutex %p\n", GetCurrentThreadId(), m); -#endif + return mutex_unref (m, r); } @@ -342,54 +319,36 @@ int r = mutex_ref_unlock(m); if(r) { -#if 0 - printf("thread %d, la pool, no user unset in mutex %p\n", GetCurrentThreadId(), m); -#endif return r; } _m = (mutex_t *)*m; - + if (_m->type == PTHREAD_MUTEX_NORMAL) { if (!COND_LOCKED(_m)) { -#if 0 - printf("thread %d, mutex %p never locked, actually :p\n", GetCurrentThreadId(), m); -#endif - return mutex_unref(m, EPERM); + return mutex_unref(m, EPERM); } } else if (!COND_LOCKED(_m) || !COND_OWNER(_m)) { -#if 0 - printf("thread %d, mutex %p never locked or not owner, actually :p\n", GetCurrentThreadId(), m); -#endif return mutex_unref(m,EPERM); } if (_m->type == PTHREAD_MUTEX_RECURSIVE) { if(InterlockedDecrement(&_m->count)) { -#if 0 - printf("thread %d, mutex %p decreasing recursive\n", GetCurrentThreadId(), m); -#endif return mutex_unref(m,0); } } -#if 0 - printf("thread %d,unsetting owner of mutex %p\n", GetCurrentThreadId(), m); -#endif UNSET_OWNER(_m); - + if (_m->h != NULL && !ReleaseSemaphore(_m->h, 1, NULL)) { SET_OWNER(_m); -#if 0 - printf("Error, not released! thread %d, setting owner of mutex m\n", GetCurrentThreadId(), m); -#endif /* restore our own bookkeeping */ return mutex_unref(m,EPERM); } - + return mutex_unref(m,0); } @@ -422,9 +381,6 @@ { _m->count = 1; SET_OWNER(_m); -#if 0 - printf("thread %d, setting owner of mutex %d\n", GetCurrentThreadId(), _m->owner); -#endif } return r; Modified: trunk/mingw-w64-libraries/winpthreads/src/thread.c =================================================================== --- trunk/mingw-w64-libraries/winpthreads/src/thread.c 2014-03-30 12:30:27 UTC (rev 6559) +++ trunk/mingw-w64-libraries/winpthreads/src/thread.c 2014-04-07 16:32:25 UTC (rev 6560) @@ -919,10 +919,10 @@ /* Internal helper for getting event handle of thread T. */ void * -pthread_getevent (pthread_t t) +pthread_getevent () { - struct _pthread_v *tv = __pth_gpointer_locked (t); - return (!tv ? NULL : tv->evStart); + _pthread_v *t = __pthread_self_lite (); + return (!t ? NULL : t->evStart); } /* Internal helper for getting thread handle of thread T. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <epi...@us...> - 2014-03-30 12:30:35
|
Revision: 6559 http://sourceforge.net/p/mingw-w64/code/6559 Author: epienbro Date: 2014-03-30 12:30:27 +0000 (Sun, 30 Mar 2014) Log Message: ----------- Add secapi wrapper for strerror_s Modified Paths: -------------- trunk/mingw-w64-crt/Makefile.am trunk/mingw-w64-crt/Makefile.in trunk/mingw-w64-crt/lib32/msvcrt.def.in trunk/mingw-w64-crt/lib64/msvcrt.def.in Added Paths: ----------- trunk/mingw-w64-crt/secapi/strerror_s.c Modified: trunk/mingw-w64-crt/Makefile.am =================================================================== --- trunk/mingw-w64-crt/Makefile.am 2014-03-27 12:30:27 UTC (rev 6558) +++ trunk/mingw-w64-crt/Makefile.am 2014-03-30 12:30:27 UTC (rev 6559) @@ -181,6 +181,7 @@ secapi/memcpy_s.c \ secapi/rand_s.c \ secapi/sprintf_s.c \ + secapi/strerror_s.c \ secapi/vsprintf_s.c \ secapi/wmemcpy_s.c Modified: trunk/mingw-w64-crt/Makefile.in =================================================================== --- trunk/mingw-w64-crt/Makefile.in 2014-03-27 12:30:27 UTC (rev 6558) +++ trunk/mingw-w64-crt/Makefile.in 2014-03-30 12:30:27 UTC (rev 6559) @@ -1114,8 +1114,9 @@ secapi/_waccess_s.c secapi/_wasctime_s.c secapi/_wctime32_s.c \ secapi/_wctime64_s.c secapi/_wstrtime_s.c secapi/_wmktemp_s.c \ secapi/_wstrdate_s.c secapi/asctime_s.c secapi/memcpy_s.c \ - secapi/rand_s.c secapi/sprintf_s.c secapi/vsprintf_s.c \ - secapi/wmemcpy_s.c misc/lc_locale_func.c lib32/msvcrt.def.in + secapi/rand_s.c secapi/sprintf_s.c secapi/strerror_s.c \ + secapi/vsprintf_s.c secapi/wmemcpy_s.c misc/lc_locale_func.c \ + lib32/msvcrt.def.in am__objects_20 = \ misc/lib32_libmsvcrt_a-invalid_parameter_handler.$(OBJEXT) \ misc/lib32_libmsvcrt_a-output_format.$(OBJEXT) \ @@ -1152,6 +1153,7 @@ secapi/lib32_libmsvcrt_a-memcpy_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-rand_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-sprintf_s.$(OBJEXT) \ + secapi/lib32_libmsvcrt_a-strerror_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-vsprintf_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-wmemcpy_s.$(OBJEXT) am__objects_21 = $(am__objects_20) \ @@ -2247,8 +2249,8 @@ secapi/_waccess_s.c secapi/_wasctime_s.c secapi/_wctime32_s.c \ secapi/_wctime64_s.c secapi/_wstrtime_s.c secapi/_wmktemp_s.c \ secapi/_wstrdate_s.c secapi/asctime_s.c secapi/memcpy_s.c \ - secapi/rand_s.c secapi/sprintf_s.c secapi/vsprintf_s.c \ - secapi/wmemcpy_s.c lib64/msvcrt.def.in + secapi/rand_s.c secapi/sprintf_s.c secapi/strerror_s.c \ + secapi/vsprintf_s.c secapi/wmemcpy_s.c lib64/msvcrt.def.in am__objects_52 = \ misc/lib64_libmsvcrt_a-invalid_parameter_handler.$(OBJEXT) \ misc/lib64_libmsvcrt_a-output_format.$(OBJEXT) \ @@ -2285,6 +2287,7 @@ secapi/lib64_libmsvcrt_a-memcpy_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-rand_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-sprintf_s.$(OBJEXT) \ + secapi/lib64_libmsvcrt_a-strerror_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-vsprintf_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-wmemcpy_s.$(OBJEXT) @LIB64_TRUE@@W32API_FALSE@am_lib64_libmsvcrt_a_OBJECTS = \ @@ -3908,6 +3911,7 @@ secapi/memcpy_s.c \ secapi/rand_s.c \ secapi/sprintf_s.c \ + secapi/strerror_s.c \ secapi/vsprintf_s.c \ secapi/wmemcpy_s.c @@ -7044,6 +7048,8 @@ secapi/$(DEPDIR)/$(am__dirstamp) secapi/lib32_libmsvcrt_a-sprintf_s.$(OBJEXT): secapi/$(am__dirstamp) \ secapi/$(DEPDIR)/$(am__dirstamp) +secapi/lib32_libmsvcrt_a-strerror_s.$(OBJEXT): secapi/$(am__dirstamp) \ + secapi/$(DEPDIR)/$(am__dirstamp) secapi/lib32_libmsvcrt_a-vsprintf_s.$(OBJEXT): secapi/$(am__dirstamp) \ secapi/$(DEPDIR)/$(am__dirstamp) secapi/lib32_libmsvcrt_a-wmemcpy_s.$(OBJEXT): secapi/$(am__dirstamp) \ @@ -8642,6 +8648,8 @@ secapi/$(DEPDIR)/$(am__dirstamp) secapi/lib64_libmsvcrt_a-sprintf_s.$(OBJEXT): secapi/$(am__dirstamp) \ secapi/$(DEPDIR)/$(am__dirstamp) +secapi/lib64_libmsvcrt_a-strerror_s.$(OBJEXT): secapi/$(am__dirstamp) \ + secapi/$(DEPDIR)/$(am__dirstamp) secapi/lib64_libmsvcrt_a-vsprintf_s.$(OBJEXT): secapi/$(am__dirstamp) \ secapi/$(DEPDIR)/$(am__dirstamp) secapi/lib64_libmsvcrt_a-wmemcpy_s.$(OBJEXT): secapi/$(am__dirstamp) \ @@ -11020,6 +11028,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib32_libmsvcrt_a-memcpy_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib32_libmsvcrt_a-rand_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib32_libmsvcrt_a-sprintf_s.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib32_libmsvcrt_a-strerror_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib32_libmsvcrt_a-vsprintf_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib32_libmsvcrt_a-wmemcpy_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib64_libmsvcrt_a-_access_s.Po@am__quote@ @@ -11055,6 +11064,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib64_libmsvcrt_a-memcpy_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib64_libmsvcrt_a-rand_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib64_libmsvcrt_a-sprintf_s.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib64_libmsvcrt_a-strerror_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib64_libmsvcrt_a-vsprintf_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@secapi/$(DEPDIR)/lib64_libmsvcrt_a-wmemcpy_s.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_Exit.Po@am__quote@ @@ -20383,6 +20393,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o secapi/lib32_libmsvcrt_a-sprintf_s.obj `if test -f 'secapi/sprintf_s.c'; then $(CYGPATH_W) 'secapi/sprintf_s.c'; else $(CYGPATH_W) '$(srcdir)/secapi/sprintf_s.c'; fi` +secapi/lib32_libmsvcrt_a-strerror_s.o: secapi/strerror_s.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT secapi/lib32_libmsvcrt_a-strerror_s.o -MD -MP -MF secapi/$(DEPDIR)/lib32_libmsvcrt_a-strerror_s.Tpo -c -o secapi/lib32_libmsvcrt_a-strerror_s.o `test -f 'secapi/strerror_s.c' || echo '$(srcdir)/'`secapi/strerror_s.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) secapi/$(DEPDIR)/lib32_libmsvcrt_a-strerror_s.Tpo secapi/$(DEPDIR)/lib32_libmsvcrt_a-strerror_s.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='secapi/strerror_s.c' object='secapi/lib32_libmsvcrt_a-strerror_s.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o secapi/lib32_libmsvcrt_a-strerror_s.o `test -f 'secapi/strerror_s.c' || echo '$(srcdir)/'`secapi/strerror_s.c + +secapi/lib32_libmsvcrt_a-strerror_s.obj: secapi/strerror_s.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT secapi/lib32_libmsvcrt_a-strerror_s.obj -MD -MP -MF secapi/$(DEPDIR)/lib32_libmsvcrt_a-strerror_s.Tpo -c -o secapi/lib32_libmsvcrt_a-strerror_s.obj `if test -f 'secapi/strerror_s.c'; then $(CYGPATH_W) 'secapi/strerror_s.c'; else $(CYGPATH_W) '$(srcdir)/secapi/strerror_s.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) secapi/$(DEPDIR)/lib32_libmsvcrt_a-strerror_s.Tpo secapi/$(DEPDIR)/lib32_libmsvcrt_a-strerror_s.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='secapi/strerror_s.c' object='secapi/lib32_libmsvcrt_a-strerror_s.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o secapi/lib32_libmsvcrt_a-strerror_s.obj `if test -f 'secapi/strerror_s.c'; then $(CYGPATH_W) 'secapi/strerror_s.c'; else $(CYGPATH_W) '$(srcdir)/secapi/strerror_s.c'; fi` + secapi/lib32_libmsvcrt_a-vsprintf_s.o: secapi/vsprintf_s.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT secapi/lib32_libmsvcrt_a-vsprintf_s.o -MD -MP -MF secapi/$(DEPDIR)/lib32_libmsvcrt_a-vsprintf_s.Tpo -c -o secapi/lib32_libmsvcrt_a-vsprintf_s.o `test -f 'secapi/vsprintf_s.c' || echo '$(srcdir)/'`secapi/vsprintf_s.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) secapi/$(DEPDIR)/lib32_libmsvcrt_a-vsprintf_s.Tpo secapi/$(DEPDIR)/lib32_libmsvcrt_a-vsprintf_s.Po @@ -29469,6 +29493,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o secapi/lib64_libmsvcrt_a-sprintf_s.obj `if test -f 'secapi/sprintf_s.c'; then $(CYGPATH_W) 'secapi/sprintf_s.c'; else $(CYGPATH_W) '$(srcdir)/secapi/sprintf_s.c'; fi` +secapi/lib64_libmsvcrt_a-strerror_s.o: secapi/strerror_s.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT secapi/lib64_libmsvcrt_a-strerror_s.o -MD -MP -MF secapi/$(DEPDIR)/lib64_libmsvcrt_a-strerror_s.Tpo -c -o secapi/lib64_libmsvcrt_a-strerror_s.o `test -f 'secapi/strerror_s.c' || echo '$(srcdir)/'`secapi/strerror_s.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) secapi/$(DEPDIR)/lib64_libmsvcrt_a-strerror_s.Tpo secapi/$(DEPDIR)/lib64_libmsvcrt_a-strerror_s.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='secapi/strerror_s.c' object='secapi/lib64_libmsvcrt_a-strerror_s.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o secapi/lib64_libmsvcrt_a-strerror_s.o `test -f 'secapi/strerror_s.c' || echo '$(srcdir)/'`secapi/strerror_s.c + +secapi/lib64_libmsvcrt_a-strerror_s.obj: secapi/strerror_s.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT secapi/lib64_libmsvcrt_a-strerror_s.obj -MD -MP -MF secapi/$(DEPDIR)/lib64_libmsvcrt_a-strerror_s.Tpo -c -o secapi/lib64_libmsvcrt_a-strerror_s.obj `if test -f 'secapi/strerror_s.c'; then $(CYGPATH_W) 'secapi/strerror_s.c'; else $(CYGPATH_W) '$(srcdir)/secapi/strerror_s.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) secapi/$(DEPDIR)/lib64_libmsvcrt_a-strerror_s.Tpo secapi/$(DEPDIR)/lib64_libmsvcrt_a-strerror_s.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='secapi/strerror_s.c' object='secapi/lib64_libmsvcrt_a-strerror_s.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o secapi/lib64_libmsvcrt_a-strerror_s.obj `if test -f 'secapi/strerror_s.c'; then $(CYGPATH_W) 'secapi/strerror_s.c'; else $(CYGPATH_W) '$(srcdir)/secapi/strerror_s.c'; fi` + secapi/lib64_libmsvcrt_a-vsprintf_s.o: secapi/vsprintf_s.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmsvcrt_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT secapi/lib64_libmsvcrt_a-vsprintf_s.o -MD -MP -MF secapi/$(DEPDIR)/lib64_libmsvcrt_a-vsprintf_s.Tpo -c -o secapi/lib64_libmsvcrt_a-vsprintf_s.o `test -f 'secapi/vsprintf_s.c' || echo '$(srcdir)/'`secapi/vsprintf_s.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) secapi/$(DEPDIR)/lib64_libmsvcrt_a-vsprintf_s.Tpo secapi/$(DEPDIR)/lib64_libmsvcrt_a-vsprintf_s.Po Modified: trunk/mingw-w64-crt/lib32/msvcrt.def.in =================================================================== --- trunk/mingw-w64-crt/lib32/msvcrt.def.in 2014-03-27 12:30:27 UTC (rev 6558) +++ trunk/mingw-w64-crt/lib32/msvcrt.def.in 2014-03-30 12:30:27 UTC (rev 6559) @@ -1202,7 +1202,7 @@ sscanf_s strcat_s strcpy_s -strerror_s +; strerror_s replaced by emu strncat_s strncpy_s ; strnlen replaced by emu Modified: trunk/mingw-w64-crt/lib64/msvcrt.def.in =================================================================== --- trunk/mingw-w64-crt/lib64/msvcrt.def.in 2014-03-27 12:30:27 UTC (rev 6558) +++ trunk/mingw-w64-crt/lib64/msvcrt.def.in 2014-03-30 12:30:27 UTC (rev 6559) @@ -1192,7 +1192,7 @@ strcpy_s strcspn strerror -strerror_s +; strerror_s replaced by emu strftime strlen strncat Added: trunk/mingw-w64-crt/secapi/strerror_s.c =================================================================== --- trunk/mingw-w64-crt/secapi/strerror_s.c (rev 0) +++ trunk/mingw-w64-crt/secapi/strerror_s.c 2014-03-30 12:30:27 UTC (rev 6559) @@ -0,0 +1,54 @@ +#include <windows.h> +#include <malloc.h> +#include <errno.h> +#include <msvcrt.h> + +char * __cdecl strerror (int); +errno_t __cdecl strerror_s (char *, size_t, int); +int __cdecl sprintf_s (char *, size_t, const char *, ...); +static errno_t __cdecl _int_strerror_s (char *, size_t, int); +static errno_t __cdecl _stub (char *, size_t, int); + +errno_t __cdecl (*__MINGW_IMP_SYMBOL(strerror_s))(char *, size_t, int) = _stub; + +static errno_t __cdecl +_stub (char *buffer, size_t numberOfElements, int errnum) +{ + errno_t __cdecl (*f)(char *, size_t, int) = __MINGW_IMP_SYMBOL(strerror_s); + + if (f == _stub) + { + f = (errno_t __cdecl (*)(char *, size_t, int)) + GetProcAddress (__mingw_get_msvcrt_handle (), "strerror_s"); + if (!f) + f = _int_strerror_s; + __MINGW_IMP_SYMBOL(strerror_s) = f; + } + return (*f)(buffer, numberOfElements, errnum); +} + +errno_t __cdecl +strerror_s (char *buffer, size_t numberOfElements, int errnum) +{ + return _stub (buffer, numberOfElements, errnum); +} + +static errno_t __cdecl +_int_strerror_s (char *buffer, size_t numberOfElements, int errnum) +{ + char *errmsg = strerror(errnum); + + if (!errmsg || !buffer || numberOfElements == 0) + { + errno = EINVAL; + return EINVAL; + } + + if (sprintf_s(buffer, numberOfElements, "%s", errmsg) == -1) + { + errno = EINVAL; + return EINVAL; + } + + return 0; +} Property changes on: trunk/mingw-w64-crt/secapi/strerror_s.c ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cj...@us...> - 2014-03-27 12:30:35
|
Revision: 6558 http://sourceforge.net/p/mingw-w64/code/6558 Author: cjacek Date: 2014-03-27 12:30:27 +0000 (Thu, 27 Mar 2014) Log Message: ----------- Added dxgi1_2.h missing in previous commit. Added Paths: ----------- trunk/mingw-w64-headers/direct-x/include/dxgi1_2.h Added: trunk/mingw-w64-headers/direct-x/include/dxgi1_2.h =================================================================== --- trunk/mingw-w64-headers/direct-x/include/dxgi1_2.h (rev 0) +++ trunk/mingw-w64-headers/direct-x/include/dxgi1_2.h 2014-03-27 12:30:27 UTC (rev 6558) @@ -0,0 +1,290 @@ +/*** Autogenerated by WIDL 1.6 from direct-x/include/dxgi1_2.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __dxgi1_2_h__ +#define __dxgi1_2_h__ + +/* Forward declarations */ + +#ifndef __IDXGIDevice2_FWD_DEFINED__ +#define __IDXGIDevice2_FWD_DEFINED__ +typedef interface IDXGIDevice2 IDXGIDevice2; +#endif + +/* Headers for imported files */ + +#include <dxgi.h> + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum _DXGI_OFFER_RESOURCE_PRIORITY { + DXGI_OFFER_RESOURCE_PRIORITY_LOW = 1, + DXGI_OFFER_RESOURCE_PRIORITY_NORMAL = 2, + DXGI_OFFER_RESOURCE_PRIORITY_HIGH = 3 +} DXGI_OFFER_RESOURCE_PRIORITY; +/***************************************************************************** + * IDXGIDevice2 interface + */ +#ifndef __IDXGIDevice2_INTERFACE_DEFINED__ +#define __IDXGIDevice2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDevice2, 0x05008617, 0xfbfd, 0x4051, 0xa7,0x90, 0x14,0x48,0x84,0xb4,0xf6,0xa9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("05008617-fbfd-4051-a790-144884b4f6a9") +IDXGIDevice2 : public IDXGIDevice1 +{ + virtual HRESULT STDMETHODCALLTYPE OfferResources( + UINT NumResources, + IDXGIResource *const *ppResources, + DXGI_OFFER_RESOURCE_PRIORITY Priority) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReclaimResources( + UINT NumResources, + IDXGIResource *const *ppResources, + WINBOOL *pDiscarded) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnqueueSetEvent( + HANDLE hEvent) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDevice2, 0x05008617, 0xfbfd, 0x4051, 0xa7,0x90, 0x14,0x48,0x84,0xb4,0xf6,0xa9) +#endif +#else +typedef struct IDXGIDevice2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDevice2* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDevice2* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDevice2* This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIDevice2* This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIDevice2* This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIDevice2* This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIDevice2* This, + REFIID riid, + void **parent); + + /*** IDXGIDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAdapter)( + IDXGIDevice2* This, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDXGIDevice2* This, + const DXGI_SURFACE_DESC *desc, + UINT surface_count, + DXGI_USAGE usage, + const DXGI_SHARED_RESOURCE *shared_resource, + IDXGISurface **surface); + + HRESULT (STDMETHODCALLTYPE *QueryResourceResidency)( + IDXGIDevice2* This, + IUnknown *const *resources, + DXGI_RESIDENCY *residency, + UINT resource_count); + + HRESULT (STDMETHODCALLTYPE *SetGPUThreadPriority)( + IDXGIDevice2* This, + INT priority); + + HRESULT (STDMETHODCALLTYPE *GetGPUThreadPriority)( + IDXGIDevice2* This, + INT *priority); + + /*** IDXGIDevice1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGIDevice2* This, + UINT MaxLatency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGIDevice2* This, + UINT *pMaxLatency); + + /*** IDXGIDevice2 methods ***/ + HRESULT (STDMETHODCALLTYPE *OfferResources)( + IDXGIDevice2* This, + UINT NumResources, + IDXGIResource *const *ppResources, + DXGI_OFFER_RESOURCE_PRIORITY Priority); + + HRESULT (STDMETHODCALLTYPE *ReclaimResources)( + IDXGIDevice2* This, + UINT NumResources, + IDXGIResource *const *ppResources, + WINBOOL *pDiscarded); + + HRESULT (STDMETHODCALLTYPE *EnqueueSetEvent)( + IDXGIDevice2* This, + HANDLE hEvent); + + END_INTERFACE +} IDXGIDevice2Vtbl; +interface IDXGIDevice2 { + CONST_VTBL IDXGIDevice2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDevice2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDevice2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDevice2_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIDevice2_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIDevice2_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIDevice2_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIDevice2_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDevice methods ***/ +#define IDXGIDevice2_GetAdapter(This,adapter) (This)->lpVtbl->GetAdapter(This,adapter) +#define IDXGIDevice2_CreateSurface(This,desc,surface_count,usage,shared_resource,surface) (This)->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface) +#define IDXGIDevice2_QueryResourceResidency(This,resources,residency,resource_count) (This)->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count) +#define IDXGIDevice2_SetGPUThreadPriority(This,priority) (This)->lpVtbl->SetGPUThreadPriority(This,priority) +#define IDXGIDevice2_GetGPUThreadPriority(This,priority) (This)->lpVtbl->GetGPUThreadPriority(This,priority) +/*** IDXGIDevice1 methods ***/ +#define IDXGIDevice2_SetMaximumFrameLatency(This,MaxLatency) (This)->lpVtbl->SetMaximumFrameLatency(This,MaxLatency) +#define IDXGIDevice2_GetMaximumFrameLatency(This,pMaxLatency) (This)->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency) +/*** IDXGIDevice2 methods ***/ +#define IDXGIDevice2_OfferResources(This,NumResources,ppResources,Priority) (This)->lpVtbl->OfferResources(This,NumResources,ppResources,Priority) +#define IDXGIDevice2_ReclaimResources(This,NumResources,ppResources,pDiscarded) (This)->lpVtbl->ReclaimResources(This,NumResources,ppResources,pDiscarded) +#define IDXGIDevice2_EnqueueSetEvent(This,hEvent) (This)->lpVtbl->EnqueueSetEvent(This,hEvent) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_QueryInterface(IDXGIDevice2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDevice2_AddRef(IDXGIDevice2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDevice2_Release(IDXGIDevice2* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_SetPrivateData(IDXGIDevice2* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice2_SetPrivateDataInterface(IDXGIDevice2* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIDevice2_GetPrivateData(IDXGIDevice2* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice2_GetParent(IDXGIDevice2* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDevice methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_GetAdapter(IDXGIDevice2* This,IDXGIAdapter **adapter) { + return This->lpVtbl->GetAdapter(This,adapter); +} +static FORCEINLINE HRESULT IDXGIDevice2_CreateSurface(IDXGIDevice2* This,const DXGI_SURFACE_DESC *desc,UINT surface_count,DXGI_USAGE usage,const DXGI_SHARED_RESOURCE *shared_resource,IDXGISurface **surface) { + return This->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface); +} +static FORCEINLINE HRESULT IDXGIDevice2_QueryResourceResidency(IDXGIDevice2* This,IUnknown *const *resources,DXGI_RESIDENCY *residency,UINT resource_count) { + return This->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count); +} +static FORCEINLINE HRESULT IDXGIDevice2_SetGPUThreadPriority(IDXGIDevice2* This,INT priority) { + return This->lpVtbl->SetGPUThreadPriority(This,priority); +} +static FORCEINLINE HRESULT IDXGIDevice2_GetGPUThreadPriority(IDXGIDevice2* This,INT *priority) { + return This->lpVtbl->GetGPUThreadPriority(This,priority); +} +/*** IDXGIDevice1 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_SetMaximumFrameLatency(IDXGIDevice2* This,UINT MaxLatency) { + return This->lpVtbl->SetMaximumFrameLatency(This,MaxLatency); +} +static FORCEINLINE HRESULT IDXGIDevice2_GetMaximumFrameLatency(IDXGIDevice2* This,UINT *pMaxLatency) { + return This->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency); +} +/*** IDXGIDevice2 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice2_OfferResources(IDXGIDevice2* This,UINT NumResources,IDXGIResource *const *ppResources,DXGI_OFFER_RESOURCE_PRIORITY Priority) { + return This->lpVtbl->OfferResources(This,NumResources,ppResources,Priority); +} +static FORCEINLINE HRESULT IDXGIDevice2_ReclaimResources(IDXGIDevice2* This,UINT NumResources,IDXGIResource *const *ppResources,WINBOOL *pDiscarded) { + return This->lpVtbl->ReclaimResources(This,NumResources,ppResources,pDiscarded); +} +static FORCEINLINE HRESULT IDXGIDevice2_EnqueueSetEvent(IDXGIDevice2* This,HANDLE hEvent) { + return This->lpVtbl->EnqueueSetEvent(This,hEvent); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDXGIDevice2_OfferResources_Proxy( + IDXGIDevice2* This, + UINT NumResources, + IDXGIResource *const *ppResources, + DXGI_OFFER_RESOURCE_PRIORITY Priority); +void __RPC_STUB IDXGIDevice2_OfferResources_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDXGIDevice2_ReclaimResources_Proxy( + IDXGIDevice2* This, + UINT NumResources, + IDXGIResource *const *ppResources, + WINBOOL *pDiscarded); +void __RPC_STUB IDXGIDevice2_ReclaimResources_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDXGIDevice2_EnqueueSetEvent_Proxy( + IDXGIDevice2* This, + HANDLE hEvent); +void __RPC_STUB IDXGIDevice2_EnqueueSetEvent_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IDXGIDevice2_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __dxgi1_2_h__ */ Property changes on: trunk/mingw-w64-headers/direct-x/include/dxgi1_2.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cj...@us...> - 2014-03-27 10:38:37
|
Revision: 6557 http://sourceforge.net/p/mingw-w64/code/6557 Author: cjacek Date: 2014-03-27 10:38:30 +0000 (Thu, 27 Mar 2014) Log Message: ----------- wine-import.sh: Updated list of imported files. Modified Paths: -------------- experimental/wine/wine-import.sh Modified: experimental/wine/wine-import.sh =================================================================== --- experimental/wine/wine-import.sh 2014-03-27 10:37:37 UTC (rev 6556) +++ experimental/wine/wine-import.sh 2014-03-27 10:38:30 UTC (rev 6557) @@ -159,9 +159,11 @@ d3d10 \ d3d10_1 \ d3d11 \ + d3d11sdklayers \ d3dcommon \ ddstream \ dxgi \ + dxgi1_2 \ mediaobj \ mmstream \ qedit; do This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cj...@us...> - 2014-03-27 10:37:47
|
Revision: 6556 http://sourceforge.net/p/mingw-w64/code/6556 Author: cjacek Date: 2014-03-27 10:37:37 +0000 (Thu, 27 Mar 2014) Log Message: ----------- Updated imported headers to current Wine version. Modified Paths: -------------- trunk/mingw-w64-headers/Makefile.am trunk/mingw-w64-headers/Makefile.in trunk/mingw-w64-headers/direct-x/include/d3dx9tex.h trunk/mingw-w64-headers/direct-x/include/dxgi.h trunk/mingw-w64-headers/direct-x/include/dxgi.idl trunk/mingw-w64-headers/include/activdbg.h trunk/mingw-w64-headers/include/adhoc.h trunk/mingw-w64-headers/include/fsrmscreen.h trunk/mingw-w64-headers/include/sapi54.h trunk/mingw-w64-headers/include/wmsdkidl.h trunk/mingw-w64-headers/include/wmsdkidl.idl trunk/mingw-w64-headers/include/wsdhost.h trunk/mingw-w64-headers/include/xmllite.h trunk/mingw-w64-headers/include/xmllite.idl Added Paths: ----------- trunk/mingw-w64-headers/direct-x/include/dxgi1_2.idl Modified: trunk/mingw-w64-headers/Makefile.am =================================================================== --- trunk/mingw-w64-headers/Makefile.am 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/Makefile.am 2014-03-27 10:37:37 UTC (rev 6556) @@ -174,6 +174,7 @@ direct-x/include/ddstream.idl \ direct-x/include/dmodshow.idl \ direct-x/include/dxgi.idl \ + direct-x/include/dxgi1_2.idl \ direct-x/include/mediaobj.idl \ direct-x/include/medparam.idl \ direct-x/include/mmstream.idl \ Modified: trunk/mingw-w64-headers/Makefile.in =================================================================== --- trunk/mingw-w64-headers/Makefile.in 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/Makefile.in 2014-03-27 10:37:37 UTC (rev 6556) @@ -398,6 +398,7 @@ @HAVE_WIDL_TRUE@ direct-x/include/ddstream.idl \ @HAVE_WIDL_TRUE@ direct-x/include/dmodshow.idl \ @HAVE_WIDL_TRUE@ direct-x/include/dxgi.idl \ +@HAVE_WIDL_TRUE@ direct-x/include/dxgi1_2.idl \ @HAVE_WIDL_TRUE@ direct-x/include/mediaobj.idl \ @HAVE_WIDL_TRUE@ direct-x/include/medparam.idl \ @HAVE_WIDL_TRUE@ direct-x/include/mmstream.idl \ Modified: trunk/mingw-w64-headers/direct-x/include/d3dx9tex.h =================================================================== --- trunk/mingw-w64-headers/direct-x/include/d3dx9tex.h 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/direct-x/include/d3dx9tex.h 2014-03-27 10:37:37 UTC (rev 6556) @@ -40,6 +40,11 @@ #define D3DX_FILTER_SRGB_OUT 0x00400000 #define D3DX_FILTER_SRGB 0x00600000 +#define D3DX_SKIP_DDS_MIP_LEVELS_MASK 0x1f +#define D3DX_SKIP_DDS_MIP_LEVELS_SHIFT 26 +#define D3DX_SKIP_DDS_MIP_LEVELS(l, f) ((((l) & D3DX_SKIP_DDS_MIP_LEVELS_MASK) \ + << D3DX_SKIP_DDS_MIP_LEVELS_SHIFT) | ((f) == D3DX_DEFAULT ? D3DX_FILTER_BOX : (f))) + #define D3DX_NORMALMAP_MIRROR_U 0x00010000 #define D3DX_NORMALMAP_MIRROR_V 0x00020000 #define D3DX_NORMALMAP_MIRROR 0x00030000 Modified: trunk/mingw-w64-headers/direct-x/include/dxgi.h =================================================================== --- trunk/mingw-w64-headers/direct-x/include/dxgi.h 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/direct-x/include/dxgi.h 2014-03-27 10:37:37 UTC (rev 6556) @@ -72,6 +72,11 @@ typedef interface IDXGIAdapter1 IDXGIAdapter1; #endif +#ifndef __IDXGIDevice1_FWD_DEFINED__ +#define __IDXGIDevice1_FWD_DEFINED__ +typedef interface IDXGIDevice1 IDXGIDevice1; +#endif + #ifndef __IDXGIFactory1_FWD_DEFINED__ #define __IDXGIFactory1_FWD_DEFINED__ typedef interface IDXGIFactory1 IDXGIFactory1; @@ -2487,6 +2492,199 @@ #endif /* __IDXGIAdapter1_INTERFACE_DEFINED__ */ /***************************************************************************** + * IDXGIDevice1 interface + */ +#ifndef __IDXGIDevice1_INTERFACE_DEFINED__ +#define __IDXGIDevice1_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDXGIDevice1, 0x77db970f, 0x6276, 0x48ba, 0xba,0x28, 0x07,0x01,0x43,0xb4,0x39,0x2c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("77db970f-6276-48ba-ba28-070143b4392c") +IDXGIDevice1 : public IDXGIDevice +{ + virtual HRESULT STDMETHODCALLTYPE SetMaximumFrameLatency( + UINT MaxLatency) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaximumFrameLatency( + UINT *pMaxLatency) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDXGIDevice1, 0x77db970f, 0x6276, 0x48ba, 0xba,0x28, 0x07,0x01,0x43,0xb4,0x39,0x2c) +#endif +#else +typedef struct IDXGIDevice1Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDXGIDevice1* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDXGIDevice1* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDXGIDevice1* This); + + /*** IDXGIObject methods ***/ + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + IDXGIDevice1* This, + REFGUID guid, + UINT data_size, + const void *data); + + HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( + IDXGIDevice1* This, + REFGUID guid, + const IUnknown *object); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + IDXGIDevice1* This, + REFGUID guid, + UINT *data_size, + void *data); + + HRESULT (STDMETHODCALLTYPE *GetParent)( + IDXGIDevice1* This, + REFIID riid, + void **parent); + + /*** IDXGIDevice methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAdapter)( + IDXGIDevice1* This, + IDXGIAdapter **adapter); + + HRESULT (STDMETHODCALLTYPE *CreateSurface)( + IDXGIDevice1* This, + const DXGI_SURFACE_DESC *desc, + UINT surface_count, + DXGI_USAGE usage, + const DXGI_SHARED_RESOURCE *shared_resource, + IDXGISurface **surface); + + HRESULT (STDMETHODCALLTYPE *QueryResourceResidency)( + IDXGIDevice1* This, + IUnknown *const *resources, + DXGI_RESIDENCY *residency, + UINT resource_count); + + HRESULT (STDMETHODCALLTYPE *SetGPUThreadPriority)( + IDXGIDevice1* This, + INT priority); + + HRESULT (STDMETHODCALLTYPE *GetGPUThreadPriority)( + IDXGIDevice1* This, + INT *priority); + + /*** IDXGIDevice1 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetMaximumFrameLatency)( + IDXGIDevice1* This, + UINT MaxLatency); + + HRESULT (STDMETHODCALLTYPE *GetMaximumFrameLatency)( + IDXGIDevice1* This, + UINT *pMaxLatency); + + END_INTERFACE +} IDXGIDevice1Vtbl; +interface IDXGIDevice1 { + CONST_VTBL IDXGIDevice1Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDXGIDevice1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDXGIDevice1_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDXGIDevice1_Release(This) (This)->lpVtbl->Release(This) +/*** IDXGIObject methods ***/ +#define IDXGIDevice1_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) +#define IDXGIDevice1_SetPrivateDataInterface(This,guid,object) (This)->lpVtbl->SetPrivateDataInterface(This,guid,object) +#define IDXGIDevice1_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) +#define IDXGIDevice1_GetParent(This,riid,parent) (This)->lpVtbl->GetParent(This,riid,parent) +/*** IDXGIDevice methods ***/ +#define IDXGIDevice1_GetAdapter(This,adapter) (This)->lpVtbl->GetAdapter(This,adapter) +#define IDXGIDevice1_CreateSurface(This,desc,surface_count,usage,shared_resource,surface) (This)->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface) +#define IDXGIDevice1_QueryResourceResidency(This,resources,residency,resource_count) (This)->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count) +#define IDXGIDevice1_SetGPUThreadPriority(This,priority) (This)->lpVtbl->SetGPUThreadPriority(This,priority) +#define IDXGIDevice1_GetGPUThreadPriority(This,priority) (This)->lpVtbl->GetGPUThreadPriority(This,priority) +/*** IDXGIDevice1 methods ***/ +#define IDXGIDevice1_SetMaximumFrameLatency(This,MaxLatency) (This)->lpVtbl->SetMaximumFrameLatency(This,MaxLatency) +#define IDXGIDevice1_GetMaximumFrameLatency(This,pMaxLatency) (This)->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDXGIDevice1_QueryInterface(IDXGIDevice1* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDXGIDevice1_AddRef(IDXGIDevice1* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDXGIDevice1_Release(IDXGIDevice1* This) { + return This->lpVtbl->Release(This); +} +/*** IDXGIObject methods ***/ +static FORCEINLINE HRESULT IDXGIDevice1_SetPrivateData(IDXGIDevice1* This,REFGUID guid,UINT data_size,const void *data) { + return This->lpVtbl->SetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice1_SetPrivateDataInterface(IDXGIDevice1* This,REFGUID guid,const IUnknown *object) { + return This->lpVtbl->SetPrivateDataInterface(This,guid,object); +} +static FORCEINLINE HRESULT IDXGIDevice1_GetPrivateData(IDXGIDevice1* This,REFGUID guid,UINT *data_size,void *data) { + return This->lpVtbl->GetPrivateData(This,guid,data_size,data); +} +static FORCEINLINE HRESULT IDXGIDevice1_GetParent(IDXGIDevice1* This,REFIID riid,void **parent) { + return This->lpVtbl->GetParent(This,riid,parent); +} +/*** IDXGIDevice methods ***/ +static FORCEINLINE HRESULT IDXGIDevice1_GetAdapter(IDXGIDevice1* This,IDXGIAdapter **adapter) { + return This->lpVtbl->GetAdapter(This,adapter); +} +static FORCEINLINE HRESULT IDXGIDevice1_CreateSurface(IDXGIDevice1* This,const DXGI_SURFACE_DESC *desc,UINT surface_count,DXGI_USAGE usage,const DXGI_SHARED_RESOURCE *shared_resource,IDXGISurface **surface) { + return This->lpVtbl->CreateSurface(This,desc,surface_count,usage,shared_resource,surface); +} +static FORCEINLINE HRESULT IDXGIDevice1_QueryResourceResidency(IDXGIDevice1* This,IUnknown *const *resources,DXGI_RESIDENCY *residency,UINT resource_count) { + return This->lpVtbl->QueryResourceResidency(This,resources,residency,resource_count); +} +static FORCEINLINE HRESULT IDXGIDevice1_SetGPUThreadPriority(IDXGIDevice1* This,INT priority) { + return This->lpVtbl->SetGPUThreadPriority(This,priority); +} +static FORCEINLINE HRESULT IDXGIDevice1_GetGPUThreadPriority(IDXGIDevice1* This,INT *priority) { + return This->lpVtbl->GetGPUThreadPriority(This,priority); +} +/*** IDXGIDevice1 methods ***/ +static FORCEINLINE HRESULT IDXGIDevice1_SetMaximumFrameLatency(IDXGIDevice1* This,UINT MaxLatency) { + return This->lpVtbl->SetMaximumFrameLatency(This,MaxLatency); +} +static FORCEINLINE HRESULT IDXGIDevice1_GetMaximumFrameLatency(IDXGIDevice1* This,UINT *pMaxLatency) { + return This->lpVtbl->GetMaximumFrameLatency(This,pMaxLatency); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDXGIDevice1_SetMaximumFrameLatency_Proxy( + IDXGIDevice1* This, + UINT MaxLatency); +void __RPC_STUB IDXGIDevice1_SetMaximumFrameLatency_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDXGIDevice1_GetMaximumFrameLatency_Proxy( + IDXGIDevice1* This, + UINT *pMaxLatency); +void __RPC_STUB IDXGIDevice1_GetMaximumFrameLatency_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IDXGIDevice1_INTERFACE_DEFINED__ */ + +/***************************************************************************** * IDXGIFactory1 interface */ #ifndef __IDXGIFactory1_INTERFACE_DEFINED__ Modified: trunk/mingw-w64-headers/direct-x/include/dxgi.idl =================================================================== --- trunk/mingw-w64-headers/direct-x/include/dxgi.idl 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/direct-x/include/dxgi.idl 2014-03-27 10:37:37 UTC (rev 6556) @@ -446,6 +446,18 @@ [ object, + uuid(77db970f-6276-48ba-ba28-070143b4392c), + local, + pointer_default(unique) +] +interface IDXGIDevice1 : IDXGIDevice +{ + HRESULT SetMaximumFrameLatency([in] UINT MaxLatency); + HRESULT GetMaximumFrameLatency([out] UINT *pMaxLatency); +} + +[ + object, uuid(770aae78-f26f-4dba-a829-253c83d1b387), local, pointer_default(unique) Added: trunk/mingw-w64-headers/direct-x/include/dxgi1_2.idl =================================================================== --- trunk/mingw-w64-headers/direct-x/include/dxgi1_2.idl (rev 0) +++ trunk/mingw-w64-headers/direct-x/include/dxgi1_2.idl 2014-03-27 10:37:37 UTC (rev 6556) @@ -0,0 +1,47 @@ +/* + * Copyright 2014 Jacek Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "dxgi.idl"; + +typedef enum _DXGI_OFFER_RESOURCE_PRIORITY { + DXGI_OFFER_RESOURCE_PRIORITY_LOW = 1, + DXGI_OFFER_RESOURCE_PRIORITY_NORMAL, + DXGI_OFFER_RESOURCE_PRIORITY_HIGH +} DXGI_OFFER_RESOURCE_PRIORITY; + +[ + object, + uuid(05008617-fbfd-4051-a790-144884b4f6a9), + local, + pointer_default(unique) +] +interface IDXGIDevice2 : IDXGIDevice1 +{ + HRESULT OfferResources( + [in] UINT NumResources, + [in, size_is(NumResources)] IDXGIResource *const *ppResources, + [in] DXGI_OFFER_RESOURCE_PRIORITY Priority); + + HRESULT ReclaimResources( + [in] UINT NumResources, + [in, size_is(NumResources)] IDXGIResource *const *ppResources, + [out, size_is(NumResources)] BOOL *pDiscarded); + + HRESULT EnqueueSetEvent( + [in] HANDLE hEvent); +} Property changes on: trunk/mingw-w64-headers/direct-x/include/dxgi1_2.idl ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Modified: trunk/mingw-w64-headers/include/activdbg.h =================================================================== --- trunk/mingw-w64-headers/include/activdbg.h 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/include/activdbg.h 2014-03-27 10:37:37 UTC (rev 6556) @@ -1,4 +1,4 @@ -/*** Autogenerated by WIDL 1.6 from activdbg.idl - Do not edit ***/ +/*** Autogenerated by WIDL 1.6 from include/activdbg.idl - Do not edit ***/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 Modified: trunk/mingw-w64-headers/include/adhoc.h =================================================================== --- trunk/mingw-w64-headers/include/adhoc.h 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/include/adhoc.h 2014-03-27 10:37:37 UTC (rev 6556) @@ -1,4 +1,4 @@ -/*** Autogenerated by WIDL 1.6 from adhoc.idl - Do not edit ***/ +/*** Autogenerated by WIDL 1.6 from include/adhoc.idl - Do not edit ***/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 Modified: trunk/mingw-w64-headers/include/fsrmscreen.h =================================================================== --- trunk/mingw-w64-headers/include/fsrmscreen.h 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/include/fsrmscreen.h 2014-03-27 10:37:37 UTC (rev 6556) @@ -1,4 +1,4 @@ -/*** Autogenerated by WIDL 1.6 from fsrmscreen.idl - Do not edit ***/ +/*** Autogenerated by WIDL 1.6 from include/fsrmscreen.idl - Do not edit ***/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 Modified: trunk/mingw-w64-headers/include/sapi54.h =================================================================== --- trunk/mingw-w64-headers/include/sapi54.h 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/include/sapi54.h 2014-03-27 10:37:37 UTC (rev 6556) @@ -1,4 +1,4 @@ -/*** Autogenerated by WIDL 1.6 from sapi54.idl - Do not edit ***/ +/*** Autogenerated by WIDL 1.6 from include/sapi54.idl - Do not edit ***/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 Modified: trunk/mingw-w64-headers/include/wmsdkidl.h =================================================================== --- trunk/mingw-w64-headers/include/wmsdkidl.h 2014-03-27 10:37:10 UTC (rev 6555) +++ trunk/mingw-w64-headers/include/wmsdkidl.h 2014-03-27 10:37:37 UTC (rev 6556) @@ -27,6 +27,31 @@ typedef interface IWMReaderCallback IWMReaderCallback; #endif +#ifndef __IWMStreamList_FWD_DEFINED__ +#define __IWMStreamList_FWD_DEFINED__ +typedef interface IWMStreamList IWMStreamList; +#endif + +#ifndef __IWMMutualExclusion_FWD_DEFINED__ +#define __IWMMutualExclusion_FWD_DEFINED__ +typedef interface IWMMutualExclusion IWMMutualExclusion; +#endif + +#ifndef __IWMStreamConfig_FWD_DEFINED__ +#define __IWMStreamConfig_FWD_DEFINED__ +typedef interface IWMStreamConfig IWMStreamConfig; +#endif + +#ifndef __IWMProfile_FWD_DEFINED__ +#define __IWMProfile_FWD_DEFINED__ +typedef interface IWMProfile IWMProfile; +#endif + +#ifndef __IWMProfileManager_FWD_DEFINED__ +#define __IWMProfileManager_FWD_DEFINED__ +typedef interface IWMProfileManager IWMProfileManager; +#endif + #ifndef __IWMMediaProps_FWD_DEFINED__ #define __IWMMediaProps_FWD_DEFINED__ typedef interface IWMMediaProps IWMMediaProps; @@ -142,6 +167,13 @@ WMT_CLEANPOINT_ONLY = 1, WMT_ON = 2 } WMT_STREAM_SELECTION; +typedef enum WMT_VERSION { + WMT_VER_4_0 = 0x40000, + WMT_VER_7_0 = 0x70000, + WMT_VER_8_0 = 0x80000, + WMT_VER_9_0 = 0x90000 +} WMT_VERSION; +typedef LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE; /***************************************************************************** * IWMStatusCallback interface */ @@ -353,6 +385,1165 @@ #endif /* __IWMReaderCallback_INTERFACE_DEFINED__ */ /***************************************************************************** + * IWMStreamList interface + */ +#ifndef __IWMStreamList_INTERFACE_DEFINED__ +#define __IWMStreamList_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMStreamList, 0x96406bdd, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bdd-2b2b-11d3-b36b-00c04f6108ff") +IWMStreamList : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStreams( + WORD *pwStreamNumArray, + WORD *pcStreams) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStream( + WORD wStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStream( + WORD wStreamNum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMStreamList, 0x96406bdd, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMStreamListVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMStreamList* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMStreamList* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMStreamList* This); + + /*** IWMStreamList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreams)( + IWMStreamList* This, + WORD *pwStreamNumArray, + WORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMStreamList* This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMStreamList* This, + WORD wStreamNum); + + END_INTERFACE +} IWMStreamListVtbl; +interface IWMStreamList { + CONST_VTBL IWMStreamListVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMStreamList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMStreamList_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMStreamList_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStreamList methods ***/ +#define IWMStreamList_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams) +#define IWMStreamList_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum) +#define IWMStreamList_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMStreamList_QueryInterface(IWMStreamList* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMStreamList_AddRef(IWMStreamList* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMStreamList_Release(IWMStreamList* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStreamList methods ***/ +static FORCEINLINE HRESULT IWMStreamList_GetStreams(IWMStreamList* This,WORD *pwStreamNumArray,WORD *pcStreams) { + return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams); +} +static FORCEINLINE HRESULT IWMStreamList_AddStream(IWMStreamList* This,WORD wStreamNum) { + return This->lpVtbl->AddStream(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMStreamList_RemoveStream(IWMStreamList* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStream(This,wStreamNum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IWMStreamList_GetStreams_Proxy( + IWMStreamList* This, + WORD *pwStreamNumArray, + WORD *pcStreams); +void __RPC_STUB IWMStreamList_GetStreams_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamList_AddStream_Proxy( + IWMStreamList* This, + WORD wStreamNum); +void __RPC_STUB IWMStreamList_AddStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamList_RemoveStream_Proxy( + IWMStreamList* This, + WORD wStreamNum); +void __RPC_STUB IWMStreamList_RemoveStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IWMStreamList_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMMutualExclusion interface + */ +#ifndef __IWMMutualExclusion_INTERFACE_DEFINED__ +#define __IWMMutualExclusion_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMMutualExclusion, 0x96406bde, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bde-2b2b-11d3-b36b-00c04f6108ff") +IWMMutualExclusion : public IWMStreamList +{ + virtual HRESULT STDMETHODCALLTYPE GetType( + GUID *pguidType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetType( + REFGUID guidType) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMMutualExclusion, 0x96406bde, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMMutualExclusionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMMutualExclusion* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMMutualExclusion* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMMutualExclusion* This); + + /*** IWMStreamList methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreams)( + IWMMutualExclusion* This, + WORD *pwStreamNumArray, + WORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMMutualExclusion* This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMMutualExclusion* This, + WORD wStreamNum); + + /*** IWMMutualExclusion methods ***/ + HRESULT (STDMETHODCALLTYPE *GetType)( + IWMMutualExclusion* This, + GUID *pguidType); + + HRESULT (STDMETHODCALLTYPE *SetType)( + IWMMutualExclusion* This, + REFGUID guidType); + + END_INTERFACE +} IWMMutualExclusionVtbl; +interface IWMMutualExclusion { + CONST_VTBL IWMMutualExclusionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMMutualExclusion_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMMutualExclusion_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMMutualExclusion_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStreamList methods ***/ +#define IWMMutualExclusion_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams) +#define IWMMutualExclusion_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum) +#define IWMMutualExclusion_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum) +/*** IWMMutualExclusion methods ***/ +#define IWMMutualExclusion_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType) +#define IWMMutualExclusion_SetType(This,guidType) (This)->lpVtbl->SetType(This,guidType) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMMutualExclusion_QueryInterface(IWMMutualExclusion* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMMutualExclusion_AddRef(IWMMutualExclusion* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMMutualExclusion_Release(IWMMutualExclusion* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStreamList methods ***/ +static FORCEINLINE HRESULT IWMMutualExclusion_GetStreams(IWMMutualExclusion* This,WORD *pwStreamNumArray,WORD *pcStreams) { + return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams); +} +static FORCEINLINE HRESULT IWMMutualExclusion_AddStream(IWMMutualExclusion* This,WORD wStreamNum) { + return This->lpVtbl->AddStream(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMMutualExclusion_RemoveStream(IWMMutualExclusion* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStream(This,wStreamNum); +} +/*** IWMMutualExclusion methods ***/ +static FORCEINLINE HRESULT IWMMutualExclusion_GetType(IWMMutualExclusion* This,GUID *pguidType) { + return This->lpVtbl->GetType(This,pguidType); +} +static FORCEINLINE HRESULT IWMMutualExclusion_SetType(IWMMutualExclusion* This,REFGUID guidType) { + return This->lpVtbl->SetType(This,guidType); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IWMMutualExclusion_GetType_Proxy( + IWMMutualExclusion* This, + GUID *pguidType); +void __RPC_STUB IWMMutualExclusion_GetType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMMutualExclusion_SetType_Proxy( + IWMMutualExclusion* This, + REFGUID guidType); +void __RPC_STUB IWMMutualExclusion_SetType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IWMMutualExclusion_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMStreamConfig interface + */ +#ifndef __IWMStreamConfig_INTERFACE_DEFINED__ +#define __IWMStreamConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMStreamConfig, 0x96406bdc, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bdc-2b2b-11d3-b36b-00c04f6108ff") +IWMStreamConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStreamType( + GUID *pguidStreamType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamNumber( + WORD *pwStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamNumber( + WORD wStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamName( + WCHAR *pwszStreamName, + WORD *pcchStreamName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamName( + LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectionName( + WCHAR *pwszInputName, + WORD *pcchInputName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetConnectionName( + LPCWSTR_WMSDK_TYPE_SAFE pwszInputName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBitrate( + DWORD *pdwBitrate) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBitrate( + DWORD pdwBitrate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBufferWindow( + DWORD *pmsBufferWindow) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBufferWindow( + DWORD msBufferWindow) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMStreamConfig, 0x96406bdc, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMStreamConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMStreamConfig* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMStreamConfig* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMStreamConfig* This); + + /*** IWMStreamConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStreamType)( + IWMStreamConfig* This, + GUID *pguidStreamType); + + HRESULT (STDMETHODCALLTYPE *GetStreamNumber)( + IWMStreamConfig* This, + WORD *pwStreamNum); + + HRESULT (STDMETHODCALLTYPE *SetStreamNumber)( + IWMStreamConfig* This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *GetStreamName)( + IWMStreamConfig* This, + WCHAR *pwszStreamName, + WORD *pcchStreamName); + + HRESULT (STDMETHODCALLTYPE *SetStreamName)( + IWMStreamConfig* This, + LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName); + + HRESULT (STDMETHODCALLTYPE *GetConnectionName)( + IWMStreamConfig* This, + WCHAR *pwszInputName, + WORD *pcchInputName); + + HRESULT (STDMETHODCALLTYPE *SetConnectionName)( + IWMStreamConfig* This, + LPCWSTR_WMSDK_TYPE_SAFE pwszInputName); + + HRESULT (STDMETHODCALLTYPE *GetBitrate)( + IWMStreamConfig* This, + DWORD *pdwBitrate); + + HRESULT (STDMETHODCALLTYPE *SetBitrate)( + IWMStreamConfig* This, + DWORD pdwBitrate); + + HRESULT (STDMETHODCALLTYPE *GetBufferWindow)( + IWMStreamConfig* This, + DWORD *pmsBufferWindow); + + HRESULT (STDMETHODCALLTYPE *SetBufferWindow)( + IWMStreamConfig* This, + DWORD msBufferWindow); + + END_INTERFACE +} IWMStreamConfigVtbl; +interface IWMStreamConfig { + CONST_VTBL IWMStreamConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMStreamConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMStreamConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMStreamConfig_Release(This) (This)->lpVtbl->Release(This) +/*** IWMStreamConfig methods ***/ +#define IWMStreamConfig_GetStreamType(This,pguidStreamType) (This)->lpVtbl->GetStreamType(This,pguidStreamType) +#define IWMStreamConfig_GetStreamNumber(This,pwStreamNum) (This)->lpVtbl->GetStreamNumber(This,pwStreamNum) +#define IWMStreamConfig_SetStreamNumber(This,wStreamNum) (This)->lpVtbl->SetStreamNumber(This,wStreamNum) +#define IWMStreamConfig_GetStreamName(This,pwszStreamName,pcchStreamName) (This)->lpVtbl->GetStreamName(This,pwszStreamName,pcchStreamName) +#define IWMStreamConfig_SetStreamName(This,pwszStreamName) (This)->lpVtbl->SetStreamName(This,pwszStreamName) +#define IWMStreamConfig_GetConnectionName(This,pwszInputName,pcchInputName) (This)->lpVtbl->GetConnectionName(This,pwszInputName,pcchInputName) +#define IWMStreamConfig_SetConnectionName(This,pwszInputName) (This)->lpVtbl->SetConnectionName(This,pwszInputName) +#define IWMStreamConfig_GetBitrate(This,pdwBitrate) (This)->lpVtbl->GetBitrate(This,pdwBitrate) +#define IWMStreamConfig_SetBitrate(This,pdwBitrate) (This)->lpVtbl->SetBitrate(This,pdwBitrate) +#define IWMStreamConfig_GetBufferWindow(This,pmsBufferWindow) (This)->lpVtbl->GetBufferWindow(This,pmsBufferWindow) +#define IWMStreamConfig_SetBufferWindow(This,msBufferWindow) (This)->lpVtbl->SetBufferWindow(This,msBufferWindow) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMStreamConfig_QueryInterface(IWMStreamConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMStreamConfig_AddRef(IWMStreamConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMStreamConfig_Release(IWMStreamConfig* This) { + return This->lpVtbl->Release(This); +} +/*** IWMStreamConfig methods ***/ +static FORCEINLINE HRESULT IWMStreamConfig_GetStreamType(IWMStreamConfig* This,GUID *pguidStreamType) { + return This->lpVtbl->GetStreamType(This,pguidStreamType); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetStreamNumber(IWMStreamConfig* This,WORD *pwStreamNum) { + return This->lpVtbl->GetStreamNumber(This,pwStreamNum); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetStreamNumber(IWMStreamConfig* This,WORD wStreamNum) { + return This->lpVtbl->SetStreamNumber(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetStreamName(IWMStreamConfig* This,WCHAR *pwszStreamName,WORD *pcchStreamName) { + return This->lpVtbl->GetStreamName(This,pwszStreamName,pcchStreamName); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetStreamName(IWMStreamConfig* This,LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName) { + return This->lpVtbl->SetStreamName(This,pwszStreamName); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetConnectionName(IWMStreamConfig* This,WCHAR *pwszInputName,WORD *pcchInputName) { + return This->lpVtbl->GetConnectionName(This,pwszInputName,pcchInputName); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetConnectionName(IWMStreamConfig* This,LPCWSTR_WMSDK_TYPE_SAFE pwszInputName) { + return This->lpVtbl->SetConnectionName(This,pwszInputName); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetBitrate(IWMStreamConfig* This,DWORD *pdwBitrate) { + return This->lpVtbl->GetBitrate(This,pdwBitrate); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetBitrate(IWMStreamConfig* This,DWORD pdwBitrate) { + return This->lpVtbl->SetBitrate(This,pdwBitrate); +} +static FORCEINLINE HRESULT IWMStreamConfig_GetBufferWindow(IWMStreamConfig* This,DWORD *pmsBufferWindow) { + return This->lpVtbl->GetBufferWindow(This,pmsBufferWindow); +} +static FORCEINLINE HRESULT IWMStreamConfig_SetBufferWindow(IWMStreamConfig* This,DWORD msBufferWindow) { + return This->lpVtbl->SetBufferWindow(This,msBufferWindow); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetStreamType_Proxy( + IWMStreamConfig* This, + GUID *pguidStreamType); +void __RPC_STUB IWMStreamConfig_GetStreamType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetStreamNumber_Proxy( + IWMStreamConfig* This, + WORD *pwStreamNum); +void __RPC_STUB IWMStreamConfig_GetStreamNumber_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetStreamNumber_Proxy( + IWMStreamConfig* This, + WORD wStreamNum); +void __RPC_STUB IWMStreamConfig_SetStreamNumber_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetStreamName_Proxy( + IWMStreamConfig* This, + WCHAR *pwszStreamName, + WORD *pcchStreamName); +void __RPC_STUB IWMStreamConfig_GetStreamName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetStreamName_Proxy( + IWMStreamConfig* This, + LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName); +void __RPC_STUB IWMStreamConfig_SetStreamName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetConnectionName_Proxy( + IWMStreamConfig* This, + WCHAR *pwszInputName, + WORD *pcchInputName); +void __RPC_STUB IWMStreamConfig_GetConnectionName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetConnectionName_Proxy( + IWMStreamConfig* This, + LPCWSTR_WMSDK_TYPE_SAFE pwszInputName); +void __RPC_STUB IWMStreamConfig_SetConnectionName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetBitrate_Proxy( + IWMStreamConfig* This, + DWORD *pdwBitrate); +void __RPC_STUB IWMStreamConfig_GetBitrate_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetBitrate_Proxy( + IWMStreamConfig* This, + DWORD pdwBitrate); +void __RPC_STUB IWMStreamConfig_SetBitrate_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetBufferWindow_Proxy( + IWMStreamConfig* This, + DWORD *pmsBufferWindow); +void __RPC_STUB IWMStreamConfig_GetBufferWindow_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetBufferWindow_Proxy( + IWMStreamConfig* This, + DWORD msBufferWindow); +void __RPC_STUB IWMStreamConfig_SetBufferWindow_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IWMStreamConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMProfile interface + */ +#ifndef __IWMProfile_INTERFACE_DEFINED__ +#define __IWMProfile_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMProfile, 0x96406bdb, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96406bdb-2b2b-11d3-b36b-00c04f6108ff") +IWMProfile : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetVersion( + WMT_VERSION *pdwVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetName( + WCHAR *pwszName, + DWORD *pcchName) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetName( + const WCHAR *pwszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + WCHAR *pwszDescription, + DWORD *pcchDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetDescription( + const WCHAR *pwszDescription) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamCount( + DWORD *pcStreams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStream( + DWORD dwStreamIndex, + IWMStreamConfig **ppConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamByNumber( + WORD wStreamNum, + IWMStreamConfig **ppConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStream( + IWMStreamConfig *pConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveStreamByNumber( + WORD wStreamNum) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddStream( + IWMStreamConfig *pConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReconfigStream( + IWMStreamConfig *pConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateNewStream( + REFGUID guidStreamType, + IWMStreamConfig **ppConfig) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMutualExclusionCount( + DWORD *pcME) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMutualExclusion( + DWORD dwMEIndex, + IWMMutualExclusion **ppME) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveMutualExclusion( + IWMMutualExclusion *pME) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddMutualExclusion( + IWMMutualExclusion *pME) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateNewMutualExclusion( + IWMMutualExclusion **ppME) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMProfile, 0x96406bdb, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) +#endif +#else +typedef struct IWMProfileVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMProfile* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMProfile* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMProfile* This); + + /*** IWMProfile methods ***/ + HRESULT (STDMETHODCALLTYPE *GetVersion)( + IWMProfile* This, + WMT_VERSION *pdwVersion); + + HRESULT (STDMETHODCALLTYPE *GetName)( + IWMProfile* This, + WCHAR *pwszName, + DWORD *pcchName); + + HRESULT (STDMETHODCALLTYPE *SetName)( + IWMProfile* This, + const WCHAR *pwszName); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + IWMProfile* This, + WCHAR *pwszDescription, + DWORD *pcchDescription); + + HRESULT (STDMETHODCALLTYPE *SetDescription)( + IWMProfile* This, + const WCHAR *pwszDescription); + + HRESULT (STDMETHODCALLTYPE *GetStreamCount)( + IWMProfile* This, + DWORD *pcStreams); + + HRESULT (STDMETHODCALLTYPE *GetStream)( + IWMProfile* This, + DWORD dwStreamIndex, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *GetStreamByNumber)( + IWMProfile* This, + WORD wStreamNum, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *RemoveStream)( + IWMProfile* This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *RemoveStreamByNumber)( + IWMProfile* This, + WORD wStreamNum); + + HRESULT (STDMETHODCALLTYPE *AddStream)( + IWMProfile* This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *ReconfigStream)( + IWMProfile* This, + IWMStreamConfig *pConfig); + + HRESULT (STDMETHODCALLTYPE *CreateNewStream)( + IWMProfile* This, + REFGUID guidStreamType, + IWMStreamConfig **ppConfig); + + HRESULT (STDMETHODCALLTYPE *GetMutualExclusionCount)( + IWMProfile* This, + DWORD *pcME); + + HRESULT (STDMETHODCALLTYPE *GetMutualExclusion)( + IWMProfile* This, + DWORD dwMEIndex, + IWMMutualExclusion **ppME); + + HRESULT (STDMETHODCALLTYPE *RemoveMutualExclusion)( + IWMProfile* This, + IWMMutualExclusion *pME); + + HRESULT (STDMETHODCALLTYPE *AddMutualExclusion)( + IWMProfile* This, + IWMMutualExclusion *pME); + + HRESULT (STDMETHODCALLTYPE *CreateNewMutualExclusion)( + IWMProfile* This, + IWMMutualExclusion **ppME); + + END_INTERFACE +} IWMProfileVtbl; +interface IWMProfile { + CONST_VTBL IWMProfileVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMProfile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMProfile_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMProfile_Release(This) (This)->lpVtbl->Release(This) +/*** IWMProfile methods ***/ +#define IWMProfile_GetVersion(This,pdwVersion) (This)->lpVtbl->GetVersion(This,pdwVersion) +#define IWMProfile_GetName(This,pwszName,pcchName) (This)->lpVtbl->GetName(This,pwszName,pcchName) +#define IWMProfile_SetName(This,pwszName) (This)->lpVtbl->SetName(This,pwszName) +#define IWMProfile_GetDescription(This,pwszDescription,pcchDescription) (This)->lpVtbl->GetDescription(This,pwszDescription,pcchDescription) +#define IWMProfile_SetDescription(This,pwszDescription) (This)->lpVtbl->SetDescription(This,pwszDescription) +#define IWMProfile_GetStreamCount(This,pcStreams) (This)->lpVtbl->GetStreamCount(This,pcStreams) +#define IWMProfile_GetStream(This,dwStreamIndex,ppConfig) (This)->lpVtbl->GetStream(This,dwStreamIndex,ppConfig) +#define IWMProfile_GetStreamByNumber(This,wStreamNum,ppConfig) (This)->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig) +#define IWMProfile_RemoveStream(This,pConfig) (This)->lpVtbl->RemoveStream(This,pConfig) +#define IWMProfile_RemoveStreamByNumber(This,wStreamNum) (This)->lpVtbl->RemoveStreamByNumber(This,wStreamNum) +#define IWMProfile_AddStream(This,pConfig) (This)->lpVtbl->AddStream(This,pConfig) +#define IWMProfile_ReconfigStream(This,pConfig) (This)->lpVtbl->ReconfigStream(This,pConfig) +#define IWMProfile_CreateNewStream(This,guidStreamType,ppConfig) (This)->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig) +#define IWMProfile_GetMutualExclusionCount(This,pcME) (This)->lpVtbl->GetMutualExclusionCount(This,pcME) +#define IWMProfile_GetMutualExclusion(This,dwMEIndex,ppME) (This)->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME) +#define IWMProfile_RemoveMutualExclusion(This,pME) (This)->lpVtbl->RemoveMutualExclusion(This,pME) +#define IWMProfile_AddMutualExclusion(This,pME) (This)->lpVtbl->AddMutualExclusion(This,pME) +#define IWMProfile_CreateNewMutualExclusion(This,ppME) (This)->lpVtbl->CreateNewMutualExclusion(This,ppME) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMProfile_QueryInterface(IWMProfile* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMProfile_AddRef(IWMProfile* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMProfile_Release(IWMProfile* This) { + return This->lpVtbl->Release(This); +} +/*** IWMProfile methods ***/ +static FORCEINLINE HRESULT IWMProfile_GetVersion(IWMProfile* This,WMT_VERSION *pdwVersion) { + return This->lpVtbl->GetVersion(This,pdwVersion); +} +static FORCEINLINE HRESULT IWMProfile_GetName(IWMProfile* This,WCHAR *pwszName,DWORD *pcchName) { + return This->lpVtbl->GetName(This,pwszName,pcchName); +} +static FORCEINLINE HRESULT IWMProfile_SetName(IWMProfile* This,const WCHAR *pwszName) { + return This->lpVtbl->SetName(This,pwszName); +} +static FORCEINLINE HRESULT IWMProfile_GetDescription(IWMProfile* This,WCHAR *pwszDescription,DWORD *pcchDescription) { + return This->lpVtbl->GetDescription(This,pwszDescription,pcchDescription); +} +static FORCEINLINE HRESULT IWMProfile_SetDescription(IWMProfile* This,const WCHAR *pwszDescription) { + return This->lpVtbl->SetDescription(This,pwszDescription); +} +static FORCEINLINE HRESULT IWMProfile_GetStreamCount(IWMProfile* This,DWORD *pcStreams) { + return This->lpVtbl->GetStreamCount(This,pcStreams); +} +static FORCEINLINE HRESULT IWMProfile_GetStream(IWMProfile* This,DWORD dwStreamIndex,IWMStreamConfig **ppConfig) { + return This->lpVtbl->GetStream(This,dwStreamIndex,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile_GetStreamByNumber(IWMProfile* This,WORD wStreamNum,IWMStreamConfig **ppConfig) { + return This->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile_RemoveStream(IWMProfile* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->RemoveStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile_RemoveStreamByNumber(IWMProfile* This,WORD wStreamNum) { + return This->lpVtbl->RemoveStreamByNumber(This,wStreamNum); +} +static FORCEINLINE HRESULT IWMProfile_AddStream(IWMProfile* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->AddStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile_ReconfigStream(IWMProfile* This,IWMStreamConfig *pConfig) { + return This->lpVtbl->ReconfigStream(This,pConfig); +} +static FORCEINLINE HRESULT IWMProfile_CreateNewStream(IWMProfile* This,REFGUID guidStreamType,IWMStreamConfig **ppConfig) { + return This->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig); +} +static FORCEINLINE HRESULT IWMProfile_GetMutualExclusionCount(IWMProfile* This,DWORD *pcME) { + return This->lpVtbl->GetMutualExclusionCount(This,pcME); +} +static FORCEINLINE HRESULT IWMProfile_GetMutualExclusion(IWMProfile* This,DWORD dwMEIndex,IWMMutualExclusion **ppME) { + return This->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME); +} +static FORCEINLINE HRESULT IWMProfile_RemoveMutualExclusion(IWMProfile* This,IWMMutualExclusion *pME) { + return This->lpVtbl->RemoveMutualExclusion(This,pME); +} +static FORCEINLINE HRESULT IWMProfile_AddMutualExclusion(IWMProfile* This,IWMMutualExclusion *pME) { + return This->lpVtbl->AddMutualExclusion(This,pME); +} +static FORCEINLINE HRESULT IWMProfile_CreateNewMutualExclusion(IWMProfile* This,IWMMutualExclusion **ppME) { + return This->lpVtbl->CreateNewMutualExclusion(This,ppME); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IWMProfile_GetVersion_Proxy( + IWMProfile* This, + WMT_VERSION *pdwVersion); +void __RPC_STUB IWMProfile_GetVersion_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_GetName_Proxy( + IWMProfile* This, + WCHAR *pwszName, + DWORD *pcchName); +void __RPC_STUB IWMProfile_GetName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_SetName_Proxy( + IWMProfile* This, + const WCHAR *pwszName); +void __RPC_STUB IWMProfile_SetName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_GetDescription_Proxy( + IWMProfile* This, + WCHAR *pwszDescription, + DWORD *pcchDescription); +void __RPC_STUB IWMProfile_GetDescription_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_SetDescription_Proxy( + IWMProfile* This, + const WCHAR *pwszDescription); +void __RPC_STUB IWMProfile_SetDescription_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_GetStreamCount_Proxy( + IWMProfile* This, + DWORD *pcStreams); +void __RPC_STUB IWMProfile_GetStreamCount_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_GetStream_Proxy( + IWMProfile* This, + DWORD dwStreamIndex, + IWMStreamConfig **ppConfig); +void __RPC_STUB IWMProfile_GetStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_GetStreamByNumber_Proxy( + IWMProfile* This, + WORD wStreamNum, + IWMStreamConfig **ppConfig); +void __RPC_STUB IWMProfile_GetStreamByNumber_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_RemoveStream_Proxy( + IWMProfile* This, + IWMStreamConfig *pConfig); +void __RPC_STUB IWMProfile_RemoveStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_RemoveStreamByNumber_Proxy( + IWMProfile* This, + WORD wStreamNum); +void __RPC_STUB IWMProfile_RemoveStreamByNumber_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_AddStream_Proxy( + IWMProfile* This, + IWMStreamConfig *pConfig); +void __RPC_STUB IWMProfile_AddStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_ReconfigStream_Proxy( + IWMProfile* This, + IWMStreamConfig *pConfig); +void __RPC_STUB IWMProfile_ReconfigStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_CreateNewStream_Proxy( + IWMProfile* This, + REFGUID guidStreamType, + IWMStreamConfig **ppConfig); +void __RPC_STUB IWMProfile_CreateNewStream_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_GetMutualExclusionCount_Proxy( + IWMProfile* This, + DWORD *pcME); +void __RPC_STUB IWMProfile_GetMutualExclusionCount_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_GetMutualExclusion_Proxy( + IWMProfile* This, + DWORD dwMEIndex, + IWMMutualExclusion **ppME); +void __RPC_STUB IWMProfile_GetMutualExclusion_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_RemoveMutualExclusion_Proxy( + IWMProfile* This, + IWMMutualExclusion *pME); +void __RPC_STUB IWMProfile_RemoveMutualExclusion_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_AddMutualExclusion_Proxy( + IWMProfile* This, + IWMMutualExclusion *pME); +void __RPC_STUB IWMProfile_AddMutualExclusion_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IWMProfile_CreateNewMutualExclusion_Proxy( + IWMProfile* This, + IWMMutualExclusion **ppME); +void __RPC_STUB IWMProfile_CreateNewMutualExclusion_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IWMProfile_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IWMProfileManager interface + */ +#ifndef __IWMProfileManager_INTERFACE_DEFINED__ +#define __IWMProfileManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IWMProfileManager, 0xd16679f2, 0x6ca0, 0x472d, 0x8d,0x31, 0x2f,0x5d,0x55,0xae,0xe1,0x55); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d16679f2-6ca0-472d-8d31-2f5d55aee155") +IWMProfileManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateEmptyProfile( + WMT_VERSION dwVersion, + IWMProfile **ppProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadProfileByID( + REFGUID guidProfile, + IWMProfile **ppProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadProfileByData( + const WCHAR *pwszProfile, + IWMProfile **ppProfile) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveProfile( + IWMProfile *pIWMProfile, + WCHAR *pwszProfile, + DWORD *pdwLength) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSystemProfileCount( + DWORD *pcProfiles) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadSystemProfile( + DWORD dwProfileIndex, + IWMProfile **ppProfile) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IWMProfileManager, 0xd16679f2, 0x6ca0, 0x472d, 0x8d,0x31, 0x2f,0x5d,0x55,0xae,0xe1,0x55) +#endif +#else +typedef struct IWMProfileManagerVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IWMProfileManager* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IWMProfileManager* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IWMProfileManager* This); + + /*** IWMProfileManager methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateEmptyProfile)( + IWMProfileManager* This, + WMT_VERSION dwVersion, + IWMProfile **ppProfile); + + HRESULT (STDMETHODCALLTYPE *LoadProfileByID)( + IWMProfileManager* This, + REFGUID guidProfile, + IWMProfile **ppProfile); + + HRESULT (STDMETHODCALLTYPE *LoadProfileByData)( + IWMProfileManager* This, + const WCHAR *pwszProfile, + IWMProfile **ppProfile); + + HRESULT (STDMETHODCALLTYPE *SaveProfile)( + IWMProfileManager* This, + IWMProfile *pIWMProfile, + WCHAR *pwszProfile, + DWORD *pdwLength); + + HRESULT (STDMETHODCALLTYPE *GetSystemProfileCount)( + IWMProfileManager* This, + DWORD *pcProfiles); + + HRESULT (STDMETHODCALLTYPE *LoadSystemProfile)( + IWMProfileManager* This, + DWORD dwProfileIndex, + IWMProfile **ppProfile); + + END_INTERFACE +} IWMProfileManagerVtbl; +interface IWMProfileManager { + CONST_VTBL IWMProfileManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IWMProfileManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IWMProfileManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IWMProfileManager_Release(This) (This)->lpVtbl->Release(This) +/*** IWMProfileManager methods ***/ +#define IWMProfileManager_CreateEmptyProfile(This,dwVersion,ppProfile) (This)->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile) +#define IWMProfileManager_LoadProfileByID(This,guidProfile,ppProfile) (This)->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile) +#define IWMProfileManager_LoadProfileByData(This,pwszProfile,ppProfile) (This)->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile) +#define IWMProfileManager_SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) (This)->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) +#define IWMProfileManager_GetSystemProfileCount(This,pcProfiles) (This)->lpVtbl->GetSystemProfileCount(This,pcProfiles) +#define IWMProfileManager_LoadSystemProfile(This,dwProfileIndex,ppProfile) (This)->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IWMProfileManager_QueryInterface(IWMProfileManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IWMProfileManager_AddRef(IWMProfileManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IWMProfileManager_Release(IWMProfileManager* This) { + return This->lpVtbl->Release(This); +} +/*** IWMProfileManager methods ***/ +static FORCEINLINE HRESULT IWMProfileManager_CreateEmptyProfile(IWMProfileManager* This,WMT_VERSION dwVersion,IWMProfile **ppProfile) { + return This->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile); +} +static FORCEINLINE HRESULT IWMProfileManager_LoadProfileByID(IWMProfileManager* This,REFGUID guidProfile,IWMProfile **ppProfile) { + return This->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile); +} +static FORCEINLINE HRESULT IWMProfileManager_LoadProfileByData(IWMProfileManager* This,const WCHAR *pwszPr... [truncated message content] |
From: <cj...@us...> - 2014-03-27 10:37:20
|
Revision: 6555 http://sourceforge.net/p/mingw-w64/code/6555 Author: cjacek Date: 2014-03-27 10:37:10 +0000 (Thu, 27 Mar 2014) Log Message: ----------- widl: Removed wine-import.sh. Removed Paths: ------------- trunk/mingw-w64-tools/widl/wine-import.sh Deleted: trunk/mingw-w64-tools/widl/wine-import.sh =================================================================== --- trunk/mingw-w64-tools/widl/wine-import.sh 2014-03-27 08:00:38 UTC (rev 6554) +++ trunk/mingw-w64-tools/widl/wine-import.sh 2014-03-27 10:37:10 UTC (rev 6555) @@ -1,41 +0,0 @@ -#!/bin/bash - -set -e - -WINE_DIR=$1 - -if test -z $WINE_DIR; then - echo "Usage: wine-impot.sh wine_dir" - exit 1 -fi - -for f in client.c expr.c expr.h hash.c hash.h header.c header.h parser.h parser.l parser.tab.c parser.tab.h parser.y \ - parser.yy.c proxy.c register.c server.c typegen.c typegen.h typelib.c typelib.h typelib_struct.h typetree.c typetree.h \ - utils.c utils.h widl.c widl.h widltypes.h write_msft.c -do - cp $WINE_DIR/tools/widl/$f src -done - -for f in ppl.l ppl.yy.c ppy.tab.c ppy.tab.h ppy.y preproc.c wpp.c wpp_private.h -do - cp $WINE_DIR/libs/wpp/$f src/wpp -done - -for f in basetsd.h guiddef.h poppack.h pshpack1.h pshpack2.h pshpack4.h pshpack8.h winbase.h windef.h winerror.h winnls.h winnt.h winnt.rh -do - cp $WINE_DIR/include/$f include -done - -for f in list.h rpcfc.h wpp.h -do - cp $WINE_DIR/include/wine/$f include/wine -done - -for f in getopt.c getopt1.c -do - cp $WINE_DIR/libs/port/$f src/port/ -done - -sed s/Wine/WIDL/ < $WINE_DIR/VERSION >VERSION -autoconf - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-27 08:00:52
|
Revision: 6554 http://sourceforge.net/p/mingw-w64/code/6554 Author: ktietz70 Date: 2014-03-27 08:00:38 +0000 (Thu, 27 Mar 2014) Log Message: ----------- Rewrite FSRM-API as IDL. Modified Paths: -------------- trunk/mingw-w64-headers/Makefile.am trunk/mingw-w64-headers/Makefile.in trunk/mingw-w64-headers/include/fsrmquota.h trunk/mingw-w64-headers/include/fsrmreports.h trunk/mingw-w64-headers/include/fsrmscreen.h Added Paths: ----------- trunk/mingw-w64-headers/include/fsrmquota.idl trunk/mingw-w64-headers/include/fsrmreports.idl trunk/mingw-w64-headers/include/fsrmscreen.idl Modified: trunk/mingw-w64-headers/Makefile.am =================================================================== --- trunk/mingw-w64-headers/Makefile.am 2014-03-26 14:49:17 UTC (rev 6553) +++ trunk/mingw-w64-headers/Makefile.am 2014-03-27 08:00:38 UTC (rev 6554) @@ -79,6 +79,9 @@ include/endpointvolume.idl \ include/fsrm.idl \ include/fsrmenums.idl \ + include/fsrmquota.idl \ + include/fsrmreports.idl \ + include/fsrmscreen.idl \ include/fusion.idl \ include/fwptypes.idl \ include/hstring.idl \ Modified: trunk/mingw-w64-headers/Makefile.in =================================================================== --- trunk/mingw-w64-headers/Makefile.in 2014-03-26 14:49:17 UTC (rev 6553) +++ trunk/mingw-w64-headers/Makefile.in 2014-03-27 08:00:38 UTC (rev 6554) @@ -303,6 +303,9 @@ @HAVE_WIDL_TRUE@ include/endpointvolume.idl \ @HAVE_WIDL_TRUE@ include/fsrm.idl \ @HAVE_WIDL_TRUE@ include/fsrmenums.idl \ +@HAVE_WIDL_TRUE@ include/fsrmquota.idl \ +@HAVE_WIDL_TRUE@ include/fsrmreports.idl \ +@HAVE_WIDL_TRUE@ include/fsrmscreen.idl \ @HAVE_WIDL_TRUE@ include/fusion.idl \ @HAVE_WIDL_TRUE@ include/fwptypes.idl \ @HAVE_WIDL_TRUE@ include/hstring.idl \ Modified: trunk/mingw-w64-headers/include/fsrmquota.h =================================================================== --- trunk/mingw-w64-headers/include/fsrmquota.h 2014-03-26 14:49:17 UTC (rev 6553) +++ trunk/mingw-w64-headers/include/fsrmquota.h 2014-03-27 08:00:38 UTC (rev 6554) @@ -1,336 +1,932 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <fsrmenums.h> -#include <fsrm.h> +/*** Autogenerated by WIDL 1.6 from fsrmquota.idl - Do not edit ***/ -#ifndef _INC_FSRMQUOTA -#define _INC_FSRMQUOTA -#if (_WIN32_WINNT >= 0x0600) +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif -#ifndef __IFsrmAction_FWD_DEFINED__ -#define __IFsrmAction_FWD_DEFINED__ -typedef struct IFsrmAction IFsrmAction; -#endif /* __IFsrmAction_FWD_DEFINED__ */ +#include <rpc.h> +#include <rpcndr.h> -#ifndef __IFsrmActionCommand_FWD_DEFINED__ -#define __IFsrmActionCommand_FWD_DEFINED__ -typedef struct IFsrmActionCommand IFsrmActionCommand; -#endif /* __IFsrmActionCommand_FWD_DEFINED__ */ +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif -#ifndef __IFsrmActionEmail_FWD_DEFINED__ -#define __IFsrmActionEmail_FWD_DEFINED__ -typedef struct IFsrmActionEmail IFsrmActionEmail; -#endif /* __IFsrmActionEmail_FWD_DEFINED__ */ +#ifndef __fsrmquota_h__ +#define __fsrmquota_h__ -#ifndef __IFsrmActionEmail2_FWD_DEFINED__ -#define __IFsrmActionEmail2_FWD_DEFINED__ -typedef struct IFsrmActionEmail2 IFsrmActionEmail2; -#endif /* __IFsrmActionEmail2_FWD_DEFINED__ */ +/* Forward declarations */ -#ifndef __IFsrmActionEventLog_FWD_DEFINED__ -#define __IFsrmActionEventLog_FWD_DEFINED__ -typedef struct IFsrmActionEventLog IFsrmActionEventLog; -#endif /* __IFsrmActionEventLog_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaManager_FWD_DEFINED__ +#define __IFsrmQuotaManager_FWD_DEFINED__ +typedef interface IFsrmQuotaManager IFsrmQuotaManager; +#endif -#ifndef __IFsrmActionReport_FWD_DEFINED__ -#define __IFsrmActionReport_FWD_DEFINED__ -typedef struct IFsrmActionReport IFsrmActionReport; -#endif /* __IFsrmActionReport_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__ +#define __IFsrmQuotaTemplateManager_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager; +#endif +#ifndef __IFsrmQuotaBase_FWD_DEFINED__ +#define __IFsrmQuotaBase_FWD_DEFINED__ +typedef interface IFsrmQuotaBase IFsrmQuotaBase; +#endif + +#ifndef __IFsrmQuotaObject_FWD_DEFINED__ +#define __IFsrmQuotaObject_FWD_DEFINED__ +typedef interface IFsrmQuotaObject IFsrmQuotaObject; +#endif + +#ifndef __IFsrmQuotaTemplate_FWD_DEFINED__ +#define __IFsrmQuotaTemplate_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplate IFsrmQuotaTemplate; +#endif + +#ifndef __IFsrmQuota_FWD_DEFINED__ +#define __IFsrmQuota_FWD_DEFINED__ +typedef interface IFsrmQuota IFsrmQuota; +#endif + #ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__ #define __IFsrmAutoApplyQuota_FWD_DEFINED__ -typedef struct IFsrmAutoApplyQuota IFsrmAutoApplyQuota; -#endif /* __IFsrmAutoApplyQuota_FWD_DEFINED__ */ +typedef interface IFsrmAutoApplyQuota IFsrmAutoApplyQuota; +#endif -#ifndef __IFsrmClassificationManager_FWD_DEFINED__ -#define __IFsrmClassificationManager_FWD_DEFINED__ -typedef struct IFsrmClassificationManager IFsrmClassificationManager; -#endif /* __IFsrmClassificationManager_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaManagerEx_FWD_DEFINED__ +#define __IFsrmQuotaManagerEx_FWD_DEFINED__ +typedef interface IFsrmQuotaManagerEx IFsrmQuotaManagerEx; +#endif -#ifndef __IFsrmClassificationRule_FWD_DEFINED__ -#define __IFsrmClassificationRule_FWD_DEFINED__ -typedef struct IFsrmClassificationRule IFsrmClassificationRule; -#endif /* __IFsrmClassificationRule_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__ +#define __IFsrmQuotaTemplateImported_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported; +#endif -#ifndef __IFsrmClassifierModuleDefinition_FWD_DEFINED__ -#define __IFsrmClassifierModuleDefinition_FWD_DEFINED__ -typedef struct IFsrmClassifierModuleDefinition IFsrmClassifierModuleDefinition; -#endif /* __IFsrmClassifierModuleDefinition_FWD_DEFINED__ */ +/* Headers for imported files */ -#ifndef __IFsrmClassifierModuleImplementation_FWD_DEFINED__ -#define __IFsrmClassifierModuleImplementation_FWD_DEFINED__ -typedef struct IFsrmClassifierModuleImplementation IFsrmClassifierModuleImplementation; -#endif /* __IFsrmClassifierModuleImplementation_FWD_DEFINED__ */ +#include <oaidl.h> +#include <fsrmenums.h> +#include <fsrm.h> -#ifndef __IFsrmCollection_FWD_DEFINED__ -#define __IFsrmCollection_FWD_DEFINED__ -typedef struct IFsrmCollection IFsrmCollection; -#endif /* __IFsrmCollection_FWD_DEFINED__ */ +#ifdef __cplusplus +extern "C" { +#endif -#ifndef __IFsrmCommittableCollection_FWD_DEFINED__ -#define __IFsrmCommittableCollection_FWD_DEFINED__ -typedef struct IFsrmCommittableCollection IFsrmCommittableCollection; -#endif /* __IFsrmCommittableCollection_FWD_DEFINED__ */ +#include <winapifamily.h> -#ifndef __IFsrmDerivedObjectsResult_FWD_DEFINED__ -#define __IFsrmDerivedObjectsResult_FWD_DEFINED__ -typedef struct IFsrmDerivedObjectsResult IFsrmDerivedObjectsResult; -#endif /* __IFsrmDerivedObjectsResult_FWD_DEFINED__ */ +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__ +#define __IFsrmAutoApplyQuota_FWD_DEFINED__ +typedef interface IFsrmAutoApplyQuota IFsrmAutoApplyQuota; +#endif -#ifndef __IFsrmExportImport_FWD_DEFINED__ -#define __IFsrmExportImport_FWD_DEFINED__ -typedef struct IFsrmExportImport IFsrmExportImport; -#endif /* __IFsrmExportImport_FWD_DEFINED__ */ +#ifndef __IFsrmQuota_FWD_DEFINED__ +#define __IFsrmQuota_FWD_DEFINED__ +typedef interface IFsrmQuota IFsrmQuota; +#endif -#ifndef __IFsrmFileGroup_FWD_DEFINED__ -#define __IFsrmFileGroup_FWD_DEFINED__ -typedef struct IFsrmFileGroup IFsrmFileGroup; -#endif /* __IFsrmFileGroup_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaBase_FWD_DEFINED__ +#define __IFsrmQuotaBase_FWD_DEFINED__ +typedef interface IFsrmQuotaBase IFsrmQuotaBase; +#endif -#ifndef __IFsrmFileGroupImported_FWD_DEFINED__ -#define __IFsrmFileGroupImported_FWD_DEFINED__ -typedef struct IFsrmFileGroupImported IFsrmFileGroupImported; -#endif /* __IFsrmFileGroupImported_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaObject_FWD_DEFINED__ +#define __IFsrmQuotaObject_FWD_DEFINED__ +typedef interface IFsrmQuotaObject IFsrmQuotaObject; +#endif -#ifndef __IFsrmFileGroupManager_FWD_DEFINED__ -#define __IFsrmFileGroupManager_FWD_DEFINED__ -typedef struct IFsrmFileGroupManager IFsrmFileGroupManager; -#endif /* __IFsrmFileGroupManager_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaManager_FWD_DEFINED__ +#define __IFsrmQuotaManager_FWD_DEFINED__ +typedef interface IFsrmQuotaManager IFsrmQuotaManager; +#endif -#ifndef __IFsrmFileManagementJob_FWD_DEFINED__ -#define __IFsrmFileManagementJob_FWD_DEFINED__ -typedef struct IFsrmFileManagementJob IFsrmFileManagementJob; -#endif /* __IFsrmFileManagementJob_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaTemplate_FWD_DEFINED__ +#define __IFsrmQuotaTemplate_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplate IFsrmQuotaTemplate; +#endif -#ifndef __IFsrmFileManagementJobManager_FWD_DEFINED__ -#define __IFsrmFileManagementJobManager_FWD_DEFINED__ -typedef struct IFsrmFileManagementJobManager IFsrmFileManagementJobManager; -#endif /* __IFsrmFileManagementJobManager_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__ +#define __IFsrmQuotaTemplateImported_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported; +#endif -#ifndef __IFsrmFileScreen_FWD_DEFINED__ -#define __IFsrmFileScreen_FWD_DEFINED__ -typedef struct IFsrmFileScreen IFsrmFileScreen; -#endif /* __IFsrmFileScreen_FWD_DEFINED__ */ +#ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__ +#define __IFsrmQuotaTemplateManager_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager; +#endif -#ifndef __IFsrmFileScreenBase_FWD_DEFINED__ -#define __IFsrmFileScreenBase_FWD_DEFINED__ -typedef struct IFsrmFileScreenBase IFsrmFileScreenBase; -#endif /* __IFsrmFileScreenBase_FWD_DEFINED__ */ +typedef LONG FSRM_QUOTA_THRESHOLD; +#define FSRM_DISPID_QUOTA_BASE (FSRM_DISPID_FEATURE_QUOTA | 0x100000) -#ifndef __IFsrmFileScreenException_FWD_DEFINED__ -#define __IFsrmFileScreenException_FWD_DEFINED__ -typedef struct IFsrmFileScreenException IFsrmFileScreenException; -#endif /* __IFsrmFileScreenException_FWD_DEFINED__ */ +#define FSRM_DISPID_QUOTA_OBJECT (FSRM_DISPID_QUOTA_BASE | 0x10000) -#ifndef __IFsrmFileScreenManager_FWD_DEFINED__ -#define __IFsrmFileScreenManager_FWD_DEFINED__ -typedef struct IFsrmFileScreenManager IFsrmFileScreenManager; -#endif /* __IFsrmFileScreenManager_FWD_DEFINED__ */ +#define FSRM_DISPID_QUOTA (FSRM_DISPID_QUOTA_OBJECT | 0x1000) -#ifndef __IFsrmFileScreenTemplate_FWD_DEFINED__ -#define __IFsrmFileScreenTemplate_FWD_DEFINED__ -typedef struct IFsrmFileScreenTemplate IFsrmFileScreenTemplate; -#endif /* __IFsrmFileScreenTemplate_FWD_DEFINED__ */ +#define FSRM_DISPID_AUTOAPPLYQUOTA (FSRM_DISPID_QUOTA_OBJECT | 0x2000) -#ifndef __IFsrmFileScreenTemplateImported_FWD_DEFINED__ -#define __IFsrmFileScreenTemplateImported_FWD_DEFINED__ -typedef struct IFsrmFileScreenTemplateImported IFsrmFileScreenTemplateImported; -#endif /* __IFsrmFileScreenTemplateImported_FWD_DEFINED__ */ +#define FSRM_DISPID_QUOTA_TEMPLATE (FSRM_DISPID_QUOTA_BASE | 0x20000) -#ifndef __IFsrmFileScreenTemplateManager_FWD_DEFINED__ -#define __IFsrmFileScreenTemplateManager_FWD_DEFINED__ -typedef struct IFsrmFileScreenTemplateManager IFsrmFileScreenTemplateManager; -#endif /* __IFsrmFileScreenTemplateManager_FWD_DEFINED__ */ +#define FSRM_DISPID_QUOTA_TEMPLATE_IMPORTED (FSRM_DISPID_QUOTA_TEMPLATE | 0x1000) -#ifndef __IFsrmMutableCollection_FWD_DEFINED__ -#define __IFsrmMutableCollection_FWD_DEFINED__ -typedef struct IFsrmMutableCollection IFsrmMutableCollection; -#endif /* __IFsrmMutableCollection_FWD_DEFINED__ */ +#define FSRM_DISPID_QUOTA_MANAGER (FSRM_DISPID_FEATURE_QUOTA | 0x200000) -#ifndef __IFsrmObject_FWD_DEFINED__ -#define __IFsrmObject_FWD_DEFINED__ -typedef struct IFsrmObject IFsrmObject; -#endif /* __IFsrmObject_FWD_DEFINED__ */ +#define FSRM_DISPID_QUOTA_TEMPLATE_MANAGER (FSRM_DISPID_FEATURE_QUOTA | 0x300000) -#ifndef __IFsrmPathMapper_FWD_DEFINED__ -#define __IFsrmPathMapper_FWD_DEFINED__ -typedef struct IFsrmPathMapper IFsrmPathMapper; -#endif /* __IFsrmPathMapper_FWD_DEFINED__ */ +#define FSRM_DISPID_QUOTA_MANAGER_EX (FSRM_DISPID_FEATURE_QUOTA | 0x400000) -#ifndef __IFsrmPipelineModuleConnector_FWD_DEFINED__ -#define __IFsrmPipelineModuleConnector_FWD_DEFINED__ -typedef struct IFsrmPipelineModuleConnector IFsrmPipelineModuleConnector; -#endif /* __IFsrmPipelineModuleConnector_FWD_DEFINED__ */ +#define FsrmMaxNumberThresholds (16) -#ifndef __IFsrmPipelineModuleDefinition_FWD_DEFINED__ -#define __IFsrmPipelineModuleDefinition_FWD_DEFINED__ -typedef struct IFsrmPipelineModuleDefinition IFsrmPipelineModuleDefinition; -#endif /* __IFsrmPipelineModuleDefinition_FWD_DEFINED__ */ +#define FsrmMinThresholdValue (1) -#ifndef __IFsrmPipelineModuleImplementation_FWD_DEFINED__ -#define __IFsrmPipelineModuleImplementation_FWD_DEFINED__ -typedef struct IFsrmPipelineModuleImplementation IFsrmPipelineModuleImplementation; -#endif /* __IFsrmPipelineModuleImplementation_FWD_DEFINED__ */ +#define FsrmMaxThresholdValue (250) -#ifndef __IFsrmProperty_FWD_DEFINED__ -#define __IFsrmProperty_FWD_DEFINED__ -typedef struct IFsrmProperty IFsrmProperty; -#endif /* __IFsrmProperty_FWD_DEFINED__ */ +#define FsrmMinQuotaLimit (1024) -#ifndef __IFsrmPropertyBag_FWD_DEFINED__ -#define __IFsrmPropertyBag_FWD_DEFINED__ -typedef struct IFsrmPropertyBag IFsrmPropertyBag; -#endif /* __IFsrmPropertyBag_FWD_DEFINED__ */ +#define FsrmMaxExcludeFolders (32) -#ifndef __IFsrmPropertyCondition_FWD_DEFINED__ -#define __IFsrmPropertyCondition_FWD_DEFINED__ -typedef struct IFsrmPropertyCondition IFsrmPropertyCondition; -#endif /* __IFsrmPropertyCondition_FWD_DEFINED__ */ +/***************************************************************************** + * IFsrmQuotaManager interface + */ +#ifndef __IFsrmQuotaManager_INTERFACE_DEFINED__ +#define __IFsrmQuotaManager_INTERFACE_DEFINED__ -#ifndef __IFsrmPropertyDefinition_FWD_DEFINED__ -#define __IFsrmPropertyDefinition_FWD_DEFINED__ -typedef struct IFsrmPropertyDefinition IFsrmPropertyDefinition; -#endif /* __IFsrmPropertyDefinition_FWD_DEFINED__ */ +DEFINE_GUID(IID_IFsrmQuotaManager, 0x8bb68c7d, 0x19d8, 0x4ffb, 0x80,0x9e, 0xbe,0x4f,0xc1,0x73,0x40,0x14); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8bb68c7d-19d8-4ffb-809e-be4fc1734014") +IFsrmQuotaManager : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE get_ActionVariables( + SAFEARRAY **variables) = 0; -#ifndef __IFsrmQuota_FWD_DEFINED__ -#define __IFsrmQuota_FWD_DEFINED__ -typedef struct IFsrmQuota IFsrmQuota; -#endif /* __IFsrmQuota_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE get_ActionVariableDescriptions( + SAFEARRAY **descriptions) = 0; -#ifndef __IFsrmQuotaBase_FWD_DEFINED__ -#define __IFsrmQuotaBase_FWD_DEFINED__ -typedef struct IFsrmQuotaBase IFsrmQuotaBase; -#endif /* __IFsrmQuotaBase_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE CreateQuota( + BSTR path, + IFsrmQuota **quota) = 0; -#ifndef __IFsrmQuotaManager_FWD_DEFINED__ -#define __IFsrmQuotaManager_FWD_DEFINED__ -typedef struct IFsrmQuotaManager IFsrmQuotaManager; -#endif /* __IFsrmQuotaManager_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE CreateAutoApplyQuota( + BSTR quotaTemplateName, + BSTR path, + IFsrmAutoApplyQuota **quota) = 0; -#ifndef __IFsrmQuotaManagerEx_FWD_DEFINED__ -#define __IFsrmQuotaManagerEx_FWD_DEFINED__ -typedef struct IFsrmQuotaManagerEx IFsrmQuotaManagerEx; -#endif /* __IFsrmQuotaManagerEx_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE GetQuota( + BSTR path, + IFsrmQuota **quota) = 0; -#ifndef __IFsrmQuotaObject_FWD_DEFINED__ -#define __IFsrmQuotaObject_FWD_DEFINED__ -typedef struct IFsrmQuotaObject IFsrmQuotaObject; -#endif /* __IFsrmQuotaObject_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE GetAutoApplyQuota( + BSTR path, + IFsrmAutoApplyQuota **quota) = 0; -#ifndef __IFsrmQuotaTemplate_FWD_DEFINED__ -#define __IFsrmQuotaTemplate_FWD_DEFINED__ -typedef struct IFsrmQuotaTemplate IFsrmQuotaTemplate; -#endif /* __IFsrmQuotaTemplate_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE GetRestrictiveQuota( + BSTR path, + IFsrmQuota **quota) = 0; -#ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__ -#define __IFsrmQuotaTemplateImported_FWD_DEFINED__ -typedef struct IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported; -#endif /* __IFsrmQuotaTemplateImported_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE EnumQuotas( + BSTR path = L"", + FsrmEnumOptions options = FsrmEnumOptions_None, + IFsrmCommittableCollection **quotas) = 0; -#ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__ -#define __IFsrmQuotaTemplateManager_FWD_DEFINED__ -typedef struct IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager; -#endif /* __IFsrmQuotaTemplateManager_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE EnumAutoApplyQuotas( + BSTR path = L"", + FsrmEnumOptions options = FsrmEnumOptions_None, + IFsrmCommittableCollection **quotas) = 0; -#ifndef __IFsrmReport_FWD_DEFINED__ -#define __IFsrmReport_FWD_DEFINED__ -typedef struct IFsrmReport IFsrmReport; -#endif /* __IFsrmReport_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE EnumEffectiveQuotas( + BSTR path, + FsrmEnumOptions options = FsrmEnumOptions_None, + IFsrmCommittableCollection **quotas) = 0; -#ifndef __IFsrmReportJob_FWD_DEFINED__ -#define __IFsrmReportJob_FWD_DEFINED__ -typedef struct IFsrmReportJob IFsrmReportJob; -#endif /* __IFsrmReportJob_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE Scan( + BSTR strPath) = 0; -#ifndef __IFsrmReportManager_FWD_DEFINED__ -#define __IFsrmReportManager_FWD_DEFINED__ -typedef struct IFsrmReportManager IFsrmReportManager; -#endif /* __IFsrmReportManager_FWD_DEFINED__ */ + virtual HRESULT STDMETHODCALLTYPE CreateQuotaCollection( + IFsrmCommittableCollection **collection) = 0; -#ifndef __IFsrmReportScheduler_FWD_DEFINED__ -#define __IFsrmReportScheduler_FWD_DEFINED__ -typedef struct IFsrmReportScheduler IFsrmReportScheduler; -#endif /* __IFsrmReportScheduler_FWD_DEFINED__ */ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFsrmQuotaManager, 0x8bb68c7d, 0x19d8, 0x4ffb, 0x80,0x9e, 0xbe,0x4f,0xc1,0x73,0x40,0x14) +#endif +#else +typedef struct IFsrmQuotaManagerVtbl { + BEGIN_INTERFACE -#ifndef __IFsrmRule_FWD_DEFINED__ -#define __IFsrmRule_FWD_DEFINED__ -typedef struct IFsrmRule IFsrmRule; -#endif /* __IFsrmRule_FWD_DEFINED__ */ + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFsrmQuotaManager* This, + REFIID riid, + void **ppvObject); -#ifndef __IFsrmSetting_FWD_DEFINED__ -#define __IFsrmSetting_FWD_DEFINED__ -typedef struct IFsrmSetting IFsrmSetting; -#endif /* __IFsrmSetting_FWD_DEFINED__ */ + ULONG (STDMETHODCALLTYPE *AddRef)( + IFsrmQuotaManager* This); -#ifndef __IFsrmStorageModuleDefinition_FWD_DEFINED__ -#define __IFsrmStorageModuleDefinition_FWD_DEFINED__ -typedef struct IFsrmStorageModuleDefinition IFsrmStorageModuleDefinition; -#endif /* __IFsrmStorageModuleDefinition_FWD_DEFINED__ */ + ULONG (STDMETHODCALLTYPE *Release)( + IFsrmQuotaManager* This); -#ifndef __IFsrmStorageModuleImplementation_FWD_DEFINED__ -#define __IFsrmStorageModuleImplementation_FWD_DEFINED__ -typedef struct IFsrmStorageModuleImplementation IFsrmStorageModuleImplementation; -#endif /* __IFsrmStorageModuleImplementation_FWD_DEFINED__ */ + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFsrmQuotaManager* This, + UINT *pctinfo); -#undef INTERFACE -#define INTERFACE IFsrmQuotaBase -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFsrmQuotaManager* This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFsrmQuotaManager* This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFsrmQuotaManager* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IFsrmQuotaManager methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ActionVariables)( + IFsrmQuotaManager* This, + SAFEARRAY **variables); + + HRESULT (STDMETHODCALLTYPE *get_ActionVariableDescriptions)( + IFsrmQuotaManager* This, + SAFEARRAY **descriptions); + + HRESULT (STDMETHODCALLTYPE *CreateQuota)( + IFsrmQuotaManager* This, + BSTR path, + IFsrmQuota **quota); + + HRESULT (STDMETHODCALLTYPE *CreateAutoApplyQuota)( + IFsrmQuotaManager* This, + BSTR quotaTemplateName, + BSTR path, + IFsrmAutoApplyQuota **quota); + + HRESULT (STDMETHODCALLTYPE *GetQuota)( + IFsrmQuotaManager* This, + BSTR path, + IFsrmQuota **quota); + + HRESULT (STDMETHODCALLTYPE *GetAutoApplyQuota)( + IFsrmQuotaManager* This, + BSTR path, + IFsrmAutoApplyQuota **quota); + + HRESULT (STDMETHODCALLTYPE *GetRestrictiveQuota)( + IFsrmQuotaManager* This, + BSTR path, + IFsrmQuota **quota); + + HRESULT (STDMETHODCALLTYPE *EnumQuotas)( + IFsrmQuotaManager* This, + BSTR path, + FsrmEnumOptions options, + IFsrmCommittableCollection **quotas); + + HRESULT (STDMETHODCALLTYPE *EnumAutoApplyQuotas)( + IFsrmQuotaManager* This, + BSTR path, + FsrmEnumOptions options, + IFsrmCommittableCollection **quotas); + + HRESULT (STDMETHODCALLTYPE *EnumEffectiveQuotas)( + IFsrmQuotaManager* This, + BSTR path, + FsrmEnumOptions options, + IFsrmCommittableCollection **quotas); + + HRESULT (STDMETHODCALLTYPE *Scan)( + IFsrmQuotaManager* This, + BSTR strPath); + + HRESULT (STDMETHODCALLTYPE *CreateQuotaCollection)( + IFsrmQuotaManager* This, + IFsrmCommittableCollection **collection); + + END_INTERFACE +} IFsrmQuotaManagerVtbl; +interface IFsrmQuotaManager { + CONST_VTBL IFsrmQuotaManagerVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFsrmQuotaManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFsrmQuotaManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFsrmQuotaManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IFsrmQuotaManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IFsrmQuotaManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IFsrmQuotaManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IFsrmQuotaManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IFsrmQuotaManager methods ***/ +#define IFsrmQuotaManager_get_ActionVariables(This,variables) (This)->lpVtbl->get_ActionVariables(This,variables) +#define IFsrmQuotaManager_get_ActionVariableDescriptions(This,descriptions) (This)->lpVtbl->get_ActionVariableDescriptions(This,descriptions) +#define IFsrmQuotaManager_CreateQuota(This,path,quota) (This)->lpVtbl->CreateQuota(This,path,quota) +#define IFsrmQuotaManager_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) (This)->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota) +#define IFsrmQuotaManager_GetQuota(This,path,quota) (This)->lpVtbl->GetQuota(This,path,quota) +#define IFsrmQuotaManager_GetAutoApplyQuota(This,path,quota) (This)->lpVtbl->GetAutoApplyQuota(This,path,quota) +#define IFsrmQuotaManager_GetRestrictiveQuota(This,path,quota) (This)->lpVtbl->GetRestrictiveQuota(This,path,quota) +#define IFsrmQuotaManager_EnumQuotas(This,path,options,quotas) (This)->lpVtbl->EnumQuotas(This,path,options,quotas) +#define IFsrmQuotaManager_EnumAutoApplyQuotas(This,path,options,quotas) (This)->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas) +#define IFsrmQuotaManager_EnumEffectiveQuotas(This,path,options,quotas) (This)->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas) +#define IFsrmQuotaManager_Scan(This,strPath) (This)->lpVtbl->Scan(This,strPath) +#define IFsrmQuotaManager_CreateQuotaCollection(This,collection) (This)->lpVtbl->CreateQuotaCollection(This,collection) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaManager_QueryInterface(IFsrmQuotaManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFsrmQuotaManager_AddRef(IFsrmQuotaManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFsrmQuotaManager_Release(IFsrmQuotaManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaManager_GetTypeInfoCount(IFsrmQuotaManager* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_GetTypeInfo(IFsrmQuotaManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_GetIDsOfNames(IFsrmQuotaManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_Invoke(IFsrmQuotaManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IFsrmQuotaManager methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaManager_get_ActionVariables(IFsrmQuotaManager* This,SAFEARRAY **variables) { + return This->lpVtbl->get_ActionVariables(This,variables); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_get_ActionVariableDescriptions(IFsrmQuotaManager* This,SAFEARRAY **descriptions) { + return This->lpVtbl->get_ActionVariableDescriptions(This,descriptions); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_CreateQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) { + return This->lpVtbl->CreateQuota(This,path,quota); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_CreateAutoApplyQuota(IFsrmQuotaManager* This,BSTR quotaTemplateName,BSTR path,IFsrmAutoApplyQuota **quota) { + return This->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_GetQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) { + return This->lpVtbl->GetQuota(This,path,quota); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_GetAutoApplyQuota(IFsrmQuotaManager* This,BSTR path,IFsrmAutoApplyQuota **quota) { + return This->lpVtbl->GetAutoApplyQuota(This,path,quota); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_GetRestrictiveQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) { + return This->lpVtbl->GetRestrictiveQuota(This,path,quota); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_EnumQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) { + return This->lpVtbl->EnumQuotas(This,path,options,quotas); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_EnumAutoApplyQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) { + return This->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_EnumEffectiveQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) { + return This->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_Scan(IFsrmQuotaManager* This,BSTR strPath) { + return This->lpVtbl->Scan(This,strPath); +} +static FORCEINLINE HRESULT IFsrmQuotaManager_CreateQuotaCollection(IFsrmQuotaManager* This,IFsrmCommittableCollection **collection) { + return This->lpVtbl->CreateQuotaCollection(This,collection); +} #endif -DECLARE_INTERFACE_(IFsrmQuotaBase,IFsrmObject) +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_get_ActionVariables_Proxy( + IFsrmQuotaManager* This, + SAFEARRAY **variables); +void __RPC_STUB IFsrmQuotaManager_get_ActionVariables_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_get_ActionVariableDescriptions_Proxy( + IFsrmQuotaManager* This, + SAFEARRAY **descriptions); +void __RPC_STUB IFsrmQuotaManager_get_ActionVariableDescriptions_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_CreateQuota_Proxy( + IFsrmQuotaManager* This, + BSTR path, + IFsrmQuota **quota); +void __RPC_STUB IFsrmQuotaManager_CreateQuota_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_CreateAutoApplyQuota_Proxy( + IFsrmQuotaManager* This, + BSTR quotaTemplateName, + BSTR path, + IFsrmAutoApplyQuota **quota); +void __RPC_STUB IFsrmQuotaManager_CreateAutoApplyQuota_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_GetQuota_Proxy( + IFsrmQuotaManager* This, + BSTR path, + IFsrmQuota **quota); +void __RPC_STUB IFsrmQuotaManager_GetQuota_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_GetAutoApplyQuota_Proxy( + IFsrmQuotaManager* This, + BSTR path, + IFsrmAutoApplyQuota **quota); +void __RPC_STUB IFsrmQuotaManager_GetAutoApplyQuota_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_GetRestrictiveQuota_Proxy( + IFsrmQuotaManager* This, + BSTR path, + IFsrmQuota **quota); +void __RPC_STUB IFsrmQuotaManager_GetRestrictiveQuota_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_EnumQuotas_Proxy( + IFsrmQuotaManager* This, + BSTR path, + FsrmEnumOptions options, + IFsrmCommittableCollection **quotas); +void __RPC_STUB IFsrmQuotaManager_EnumQuotas_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_EnumAutoApplyQuotas_Proxy( + IFsrmQuotaManager* This, + BSTR path, + FsrmEnumOptions options, + IFsrmCommittableCollection **quotas); +void __RPC_STUB IFsrmQuotaManager_EnumAutoApplyQuotas_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_EnumEffectiveQuotas_Proxy( + IFsrmQuotaManager* This, + BSTR path, + FsrmEnumOptions options, + IFsrmCommittableCollection **quotas); +void __RPC_STUB IFsrmQuotaManager_EnumEffectiveQuotas_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_Scan_Proxy( + IFsrmQuotaManager* This, + BSTR strPath); +void __RPC_STUB IFsrmQuotaManager_Scan_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaManager_CreateQuotaCollection_Proxy( + IFsrmQuotaManager* This, + IFsrmCommittableCollection **collection); +void __RPC_STUB IFsrmQuotaManager_CreateQuotaCollection_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IFsrmQuotaManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFsrmQuotaTemplateManager interface + */ +#ifndef __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__ +#define __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFsrmQuotaTemplateManager, 0x4173ac41, 0x172d, 0x4d52, 0x96,0x3c, 0xfd,0xc7,0xe4,0x15,0xf7,0x17); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("4173ac41-172d-4d52-963c-fdc7e415f717") +IFsrmQuotaTemplateManager : public IDispatch { + virtual HRESULT STDMETHODCALLTYPE CreateTemplate( + IFsrmQuotaTemplate **quotaTemplate) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTemplate( + BSTR name = L"", + IFsrmQuotaTemplate **quotaTemplate) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumTemplates( + FsrmEnumOptions options = FsrmEnumOptions_None, + IFsrmCommittableCollection **quotaTemplates) = 0; + + virtual HRESULT STDMETHODCALLTYPE ExportTemplates( + VARIANT *quotaTemplateNamesArray = 0, + BSTR *serializedQuotaTemplates) = 0; + + virtual HRESULT STDMETHODCALLTYPE ImportTemplates( + BSTR serializedQuotaTemplates, + VARIANT *quotaTemplateNamesArray = 0, + IFsrmCommittableCollection **quotaTemplates) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFsrmQuotaTemplateManager, 0x4173ac41, 0x172d, 0x4d52, 0x96,0x3c, 0xfd,0xc7,0xe4,0x15,0xf7,0x17) +#endif +#else +typedef struct IFsrmQuotaTemplateManagerVtbl { BEGIN_INTERFACE - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFsrmQuotaTemplateManager* This, + REFIID riid, + void **ppvObject); - /* IDispatch methods */ - STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR* pctinfo) PURE; - STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int iTInfo,LCID lcid,ITypeInfo FAR* FAR* ppTInfo) PURE; - STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,OLECHAR FAR* FAR* rgszNames,unsigned int cNames,LCID lcid,DISPID FAR* rgDispId) PURE; - STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS FAR* pDispParams,VARIANT FAR* pVarResult,EXCEPINFO FAR* pExcepInfo,unsigned int FAR* puArgErr) PURE; + ULONG (STDMETHODCALLTYPE *AddRef)( + IFsrmQuotaTemplateManager* This); - /* IFsrmObject methods */ - STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE; - STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *description) PURE; - STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR description) PURE; - STDMETHOD_(HRESULT,Delete)(THIS) PURE; - STDMETHOD_(HRESULT,Commit)(THIS) PURE; + ULONG (STDMETHODCALLTYPE *Release)( + IFsrmQuotaTemplateManager* This); - /* IFsrmQuotaBase methods */ - STDMETHOD_(HRESULT,get_QuotaLimit)(THIS_ VARIANT *quotaLimit) PURE; - STDMETHOD_(HRESULT,put_QuotaLimit)(THIS_ VARIANT quotaLimit) PURE; - STDMETHOD_(HRESULT,get_QuotaFlags)(THIS_ __LONG32 *quotaFlags) PURE; - STDMETHOD_(HRESULT,put_QuotaFlags)(THIS_ __LONG32 quotaFlags) PURE; - STDMETHOD_(HRESULT,get_Thresholds)(THIS_ SAFEARRAY *thresholds) PURE; - STDMETHOD_(HRESULT,AddThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE; - STDMETHOD_(HRESULT,DeleteThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE; - STDMETHOD_(HRESULT,ModifyThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) PURE; - STDMETHOD_(HRESULT,CreateThresholdAction)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) PURE; - STDMETHOD_(HRESULT,EnumThresholdActions)(THIS_ FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) PURE; + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFsrmQuotaTemplateManager* This, + UINT *pctinfo); + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFsrmQuotaTemplateManager* This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFsrmQuotaTemplateManager* This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFsrmQuotaTemplateManager* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IFsrmQuotaTemplateManager methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateTemplate)( + IFsrmQuotaTemplateManager* This, + IFsrmQuotaTemplate **quotaTemplate); + + HRESULT (STDMETHODCALLTYPE *GetTemplate)( + IFsrmQuotaTemplateManager* This, + BSTR name, + IFsrmQuotaTemplate **quotaTemplate); + + HRESULT (STDMETHODCALLTYPE *EnumTemplates)( + IFsrmQuotaTemplateManager* This, + FsrmEnumOptions options, + IFsrmCommittableCollection **quotaTemplates); + + HRESULT (STDMETHODCALLTYPE *ExportTemplates)( + IFsrmQuotaTemplateManager* This, + VARIANT *quotaTemplateNamesArray, + BSTR *serializedQuotaTemplates); + + HRESULT (STDMETHODCALLTYPE *ImportTemplates)( + IFsrmQuotaTemplateManager* This, + BSTR serializedQuotaTemplates, + VARIANT *quotaTemplateNamesArray, + IFsrmCommittableCollection **quotaTemplates); + END_INTERFACE +} IFsrmQuotaTemplateManagerVtbl; +interface IFsrmQuotaTemplateManager { + CONST_VTBL IFsrmQuotaTemplateManagerVtbl* lpVtbl; }; + #ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFsrmQuotaTemplateManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFsrmQuotaTemplateManager_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFsrmQuotaTemplateManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IFsrmQuotaTemplateManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IFsrmQuotaTemplateManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IFsrmQuotaTemplateManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IFsrmQuotaTemplateManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IFsrmQuotaTemplateManager methods ***/ +#define IFsrmQuotaTemplateManager_CreateTemplate(This,quotaTemplate) (This)->lpVtbl->CreateTemplate(This,quotaTemplate) +#define IFsrmQuotaTemplateManager_GetTemplate(This,name,quotaTemplate) (This)->lpVtbl->GetTemplate(This,name,quotaTemplate) +#define IFsrmQuotaTemplateManager_EnumTemplates(This,options,quotaTemplates) (This)->lpVtbl->EnumTemplates(This,options,quotaTemplates) +#define IFsrmQuotaTemplateManager_ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates) (This)->lpVtbl->ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates) +#define IFsrmQuotaTemplateManager_ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates) (This)->lpVtbl->ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_QueryInterface(IFsrmQuotaTemplateManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFsrmQuotaTemplateManager_AddRef(IFsrmQuotaTemplateManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFsrmQuotaTemplateManager_Release(IFsrmQuotaTemplateManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTypeInfoCount(IFsrmQuotaTemplateManager* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTypeInfo(IFsrmQuotaTemplateManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetIDsOfNames(IFsrmQuotaTemplateManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_Invoke(IFsrmQuotaTemplateManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IFsrmQuotaTemplateManager methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_CreateTemplate(IFsrmQuotaTemplateManager* This,IFsrmQuotaTemplate **quotaTemplate) { + return This->lpVtbl->CreateTemplate(This,quotaTemplate); +} +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTemplate(IFsrmQuotaTemplateManager* This,BSTR name,IFsrmQuotaTemplate **quotaTemplate) { + return This->lpVtbl->GetTemplate(This,name,quotaTemplate); +} +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_EnumTemplates(IFsrmQuotaTemplateManager* This,FsrmEnumOptions options,IFsrmCommittableCollection **quotaTemplates) { + return This->lpVtbl->EnumTemplates(This,options,quotaTemplates); +} +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_ExportTemplates(IFsrmQuotaTemplateManager* This,VARIANT *quotaTemplateNamesArray,BSTR *serializedQuotaTemplates) { + return This->lpVtbl->ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates); +} +static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_ImportTemplates(IFsrmQuotaTemplateManager* This,BSTR serializedQuotaTemplates,VARIANT *quotaTemplateNamesArray,IFsrmCommittableCollection **quotaTemplates) { + return This->lpVtbl->ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IFsrmQuotaTemplateManager_CreateTemplate_Proxy( + IFsrmQuotaTemplateManager* This, + IFsrmQuotaTemplate **quotaTemplate); +void __RPC_STUB IFsrmQuotaTemplateManager_CreateTemplate_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaTemplateManager_GetTemplate_Proxy( + IFsrmQuotaTemplateManager* This, + BSTR name, + IFsrmQuotaTemplate **quotaTemplate); +void __RPC_STUB IFsrmQuotaTemplateManager_GetTemplate_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaTemplateManager_EnumTemplates_Proxy( + IFsrmQuotaTemplateManager* This, + FsrmEnumOptions options, + IFsrmCommittableCollection **quotaTemplates); +void __RPC_STUB IFsrmQuotaTemplateManager_EnumTemplates_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaTemplateManager_ExportTemplates_Proxy( + IFsrmQuotaTemplateManager* This, + VARIANT *quotaTemplateNamesArray, + BSTR *serializedQuotaTemplates); +void __RPC_STUB IFsrmQuotaTemplateManager_ExportTemplates_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaTemplateManager_ImportTemplates_Proxy( + IFsrmQuotaTemplateManager* This, + BSTR serializedQuotaTemplates, + VARIANT *quotaTemplateNamesArray, + IFsrmCommittableCollection **quotaTemplates); +void __RPC_STUB IFsrmQuotaTemplateManager_ImportTemplates_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFsrmQuotaBase interface + */ +#ifndef __IFsrmQuotaBase_INTERFACE_DEFINED__ +#define __IFsrmQuotaBase_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFsrmQuotaBase, 0x1568a795, 0x3924, 0x4118, 0xb7,0x4b, 0x68,0xd8,0xf0,0xfa,0x5d,0xaf); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1568a795-3924-4118-b74b-68d8f0fa5daf") +IFsrmQuotaBase : public IFsrmObject +{ + virtual HRESULT STDMETHODCALLTYPE get_QuotaLimit( + VARIANT *quotaLimit) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_QuotaLimit( + VARIANT quotaLimit) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_QuotaFlags( + LONG *quotaFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_QuotaFlags( + LONG quotaFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Thresholds( + SAFEARRAY **thresholds) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddThreshold( + FSRM_QUOTA_THRESHOLD threshold) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteThreshold( + FSRM_QUOTA_THRESHOLD threshold) = 0; + + virtual HRESULT STDMETHODCALLTYPE ModifyThreshold( + FSRM_QUOTA_THRESHOLD threshold, + FSRM_QUOTA_THRESHOLD newThreshold) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateThresholdAction( + FSRM_QUOTA_THRESHOLD threshold, + FsrmActionType actionType, + IFsrmAction **action) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumThresholdActions( + FSRM_QUOTA_THRESHOLD threshold, + IFsrmCollection **actions) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFsrmQuotaBase, 0x1568a795, 0x3924, 0x4118, 0xb7,0x4b, 0x68,0xd8,0xf0,0xfa,0x5d,0xaf) +#endif +#else +typedef struct IFsrmQuotaBaseVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFsrmQuotaBase* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFsrmQuotaBase* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFsrmQuotaBase* This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFsrmQuotaBase* This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFsrmQuotaBase* This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFsrmQuotaBase* This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFsrmQuotaBase* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IFsrmObject methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Id)( + IFsrmQuotaBase* This, + FSRM_OBJECT_ID *id); + + HRESULT (STDMETHODCALLTYPE *get_Description)( + IFsrmQuotaBase* This, + BSTR *description); + + HRESULT (STDMETHODCALLTYPE *put_Description)( + IFsrmQuotaBase* This, + BSTR description); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IFsrmQuotaBase* This); + + HRESULT (STDMETHODCALLTYPE *Commit)( + IFsrmQuotaBase* This); + + /*** IFsrmQuotaBase methods ***/ + HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)( + IFsrmQuotaBase* This, + VARIANT *quotaLimit); + + HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)( + IFsrmQuotaBase* This, + VARIANT quotaLimit); + + HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)( + IFsrmQuotaBase* This, + LONG *quotaFlags); + + HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)( + IFsrmQuotaBase* This, + LONG quotaFlags); + + HRESULT (STDMETHODCALLTYPE *get_Thresholds)( + IFsrmQuotaBase* This, + SAFEARRAY **thresholds); + + HRESULT (STDMETHODCALLTYPE *AddThreshold)( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold); + + HRESULT (STDMETHODCALLTYPE *DeleteThreshold)( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold); + + HRESULT (STDMETHODCALLTYPE *ModifyThreshold)( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold, + FSRM_QUOTA_THRESHOLD newThreshold); + + HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold, + FsrmActionType actionType, + IFsrmAction **action); + + HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold, + IFsrmCollection **actions); + + END_INTERFACE +} IFsrmQuotaBaseVtbl; +interface IFsrmQuotaBase { + CONST_VTBL IFsrmQuotaBaseVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ #define IFsrmQuotaBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) #define IFsrmQuotaBase_AddRef(This) (This)->lpVtbl->AddRef(This) #define IFsrmQuotaBase_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ #define IFsrmQuotaBase_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) #define IFsrmQuotaBase_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) #define IFsrmQuotaBase_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) #define IFsrmQuotaBase_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IFsrmObject methods ***/ #define IFsrmQuotaBase_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) #define IFsrmQuotaBase_get_Description(This,description) (This)->lpVtbl->get_Description(This,description) #define IFsrmQuotaBase_put_Description(This,description) (This)->lpVtbl->put_Description(This,description) -#define IFsrmQuotaBase_Delete() (This)->lpVtbl->Delete(This) -#define IFsrmQuotaBase_Commit() (This)->lpVtbl->Commit(This) +#define IFsrmQuotaBase_Delete(This) (This)->lpVtbl->Delete(This) +#define IFsrmQuotaBase_Commit(This) (This)->lpVtbl->Commit(This) +/*** IFsrmQuotaBase methods ***/ #define IFsrmQuotaBase_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit) #define IFsrmQuotaBase_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit) #define IFsrmQuotaBase_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags) @@ -341,72 +937,361 @@ #define IFsrmQuotaBase_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold) #define IFsrmQuotaBase_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action) #define IFsrmQuotaBase_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions) -#endif /*COBJMACROS*/ +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaBase_QueryInterface(IFsrmQuotaBase* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFsrmQuotaBase_AddRef(IFsrmQuotaBase* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFsrmQuotaBase_Release(IFsrmQuotaBase* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaBase_GetTypeInfoCount(IFsrmQuotaBase* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_GetTypeInfo(IFsrmQuotaBase* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_GetIDsOfNames(IFsrmQuotaBase* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_Invoke(IFsrmQuotaBase* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IFsrmObject methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaBase_get_Id(IFsrmQuotaBase* This,FSRM_OBJECT_ID *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_get_Description(IFsrmQuotaBase* This,BSTR *description) { + return This->lpVtbl->get_Description(This,description); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_put_Description(IFsrmQuotaBase* This,BSTR description) { + return This->lpVtbl->put_Description(This,description); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_Delete(IFsrmQuotaBase* This) { + return This->lpVtbl->Delete(This); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_Commit(IFsrmQuotaBase* This) { + return This->lpVtbl->Commit(This); +} +/*** IFsrmQuotaBase methods ***/ +static FORCEINLINE HRESULT IFsrmQuotaBase_get_QuotaLimit(IFsrmQuotaBase* This,VARIANT *quotaLimit) { + return This->lpVtbl->get_QuotaLimit(This,quotaLimit); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_put_QuotaLimit(IFsrmQuotaBase* This,VARIANT quotaLimit) { + return This->lpVtbl->put_QuotaLimit(This,quotaLimit); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_get_QuotaFlags(IFsrmQuotaBase* This,LONG *quotaFlags) { + return This->lpVtbl->get_QuotaFlags(This,quotaFlags); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_put_QuotaFlags(IFsrmQuotaBase* This,LONG quotaFlags) { + return This->lpVtbl->put_QuotaFlags(This,quotaFlags); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_get_Thresholds(IFsrmQuotaBase* This,SAFEARRAY **thresholds) { + return This->lpVtbl->get_Thresholds(This,thresholds); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_AddThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold) { + return This->lpVtbl->AddThreshold(This,threshold); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_DeleteThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold) { + return This->lpVtbl->DeleteThreshold(This,threshold); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_ModifyThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) { + return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_CreateThresholdAction(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) { + return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action); +} +static FORCEINLINE HRESULT IFsrmQuotaBase_EnumThresholdActions(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) { + return This->lpVtbl->EnumThresholdActions(This,threshold,actions); +} +#endif +#endif -#undef INTERFACE -#define INTERFACE IFsrmQuotaObject -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) #endif -DECLARE_INTERFACE_(IFsrmQuotaObject,IFsrmQuotaBase) + +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_get_QuotaLimit_Proxy( + IFsrmQuotaBase* This, + VARIANT *quotaLimit); +void __RPC_STUB IFsrmQuotaBase_get_QuotaLimit_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_put_QuotaLimit_Proxy( + IFsrmQuotaBase* This, + VARIANT quotaLimit); +void __RPC_STUB IFsrmQuotaBase_put_QuotaLimit_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_get_QuotaFlags_Proxy( + IFsrmQuotaBase* This, + LONG *quotaFlags); +void __RPC_STUB IFsrmQuotaBase_get_QuotaFlags_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_put_QuotaFlags_Proxy( + IFsrmQuotaBase* This, + LONG quotaFlags); +void __RPC_STUB IFsrmQuotaBase_put_QuotaFlags_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_get_Thresholds_Proxy( + IFsrmQuotaBase* This, + SAFEARRAY **thresholds); +void __RPC_STUB IFsrmQuotaBase_get_Thresholds_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_AddThreshold_Proxy( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold); +void __RPC_STUB IFsrmQuotaBase_AddThreshold_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_DeleteThreshold_Proxy( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold); +void __RPC_STUB IFsrmQuotaBase_DeleteThreshold_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_ModifyThreshold_Proxy( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold, + FSRM_QUOTA_THRESHOLD newThreshold); +void __RPC_STUB IFsrmQuotaBase_ModifyThreshold_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_CreateThresholdAction_Proxy( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold, + FsrmActionType actionType, + IFsrmAction **action); +void __RPC_STUB IFsrmQuotaBase_CreateThresholdAction_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmQuotaBase_EnumThresholdActions_Proxy( + IFsrmQuotaBase* This, + FSRM_QUOTA_THRESHOLD threshold, + IFsrmCollection **actions); +void __RPC_STUB IFsrmQuotaBase_EnumThresholdActions_Stub( + IRpcStubBuffer* This, + IRpcChanne... [truncated message content] |
From: <kti...@us...> - 2014-03-26 14:49:32
|
Revision: 6553 http://sourceforge.net/p/mingw-w64/code/6553 Author: ktietz70 Date: 2014-03-26 14:49:17 +0000 (Wed, 26 Mar 2014) Log Message: ----------- Merge with upstream widl from Wine Modified Paths: -------------- trunk/mingw-w64-tools/widl/src/header.c trunk/mingw-w64-tools/widl/src/header.h trunk/mingw-w64-tools/widl/src/parser.l trunk/mingw-w64-tools/widl/src/parser.tab.c trunk/mingw-w64-tools/widl/src/parser.tab.h trunk/mingw-w64-tools/widl/src/parser.y trunk/mingw-w64-tools/widl/src/parser.yy.c trunk/mingw-w64-tools/widl/src/register.c trunk/mingw-w64-tools/widl/src/typegen.c trunk/mingw-w64-tools/widl/src/typelib.c trunk/mingw-w64-tools/widl/src/typelib_struct.h trunk/mingw-w64-tools/widl/src/typetree.h trunk/mingw-w64-tools/widl/src/widl.c trunk/mingw-w64-tools/widl/src/widl.h trunk/mingw-w64-tools/widl/src/widltypes.h trunk/mingw-w64-tools/widl/src/write_msft.c Modified: trunk/mingw-w64-tools/widl/src/header.c =================================================================== --- trunk/mingw-w64-tools/widl/src/header.c 2014-03-25 16:43:45 UTC (rev 6552) +++ trunk/mingw-w64-tools/widl/src/header.c 2014-03-26 14:49:17 UTC (rev 6553) @@ -88,20 +88,16 @@ int is_attr(const attr_list_t *list, enum attr_type t) { const attr_t *attr; - if (list) { - LIST_FOR_EACH_ENTRY( attr, list, const attr_t, entry ) + if (list) LIST_FOR_EACH_ENTRY( attr, list, const attr_t, entry ) if (attr->type == t) return 1; - } return 0; } void *get_attrp(const attr_list_t *list, enum attr_type t) { const attr_t *attr; - if (list) { - LIST_FOR_EACH_ENTRY( attr, list, const attr_t, entry ) + if (list) LIST_FOR_EACH_ENTRY( attr, list, const attr_t, entry ) if (attr->type == t) return attr->u.pval; - } return NULL; } @@ -113,16 +109,6 @@ return 0; } -int is_void(const type_t *t) -{ - return type_get_type(t) == TYPE_VOID; -} - -int is_conformant_array(const type_t *t) -{ - return is_array(t) && type_array_has_conformance(t); -} - static void write_guid(FILE *f, const char *guid_prefix, const char *name, const UUID *uuid) { if (!uuid) return; @@ -1535,6 +1521,7 @@ case STMT_TYPEDEF: case STMT_MODULE: case STMT_CPPQUOTE: + case STMT_PRAGMA: case STMT_DECLARATION: /* not processed here */ break; @@ -1569,6 +1556,7 @@ case STMT_TYPEDEF: case STMT_MODULE: case STMT_CPPQUOTE: + case STMT_PRAGMA: case STMT_DECLARATION: /* not processed here */ break; @@ -1639,6 +1627,7 @@ break; case STMT_IMPORTLIB: case STMT_MODULE: + case STMT_PRAGMA: /* not included in header */ break; case STMT_IMPORT: Modified: trunk/mingw-w64-tools/widl/src/header.h =================================================================== --- trunk/mingw-w64-tools/widl/src/header.h 2014-03-25 16:43:45 UTC (rev 6552) +++ trunk/mingw-w64-tools/widl/src/header.h 2014-03-26 14:49:17 UTC (rev 6553) @@ -28,9 +28,6 @@ extern int is_attr(const attr_list_t *list, enum attr_type t); extern void *get_attrp(const attr_list_t *list, enum attr_type t); extern unsigned int get_attrv(const attr_list_t *list, enum attr_type t); -extern int is_void(const type_t *t); -extern int is_conformant_array(const type_t *t); -extern int is_declptr(const type_t *t); extern const char* get_name(const var_t *v); extern void write_type_left(FILE *h, type_t *t, int declonly); extern void write_type_right(FILE *h, type_t *t, int is_field); @@ -63,6 +60,31 @@ extern int has_out_arg_or_return(const var_t *func); extern int is_const_decl(const var_t *var); +static inline int is_ptr(const type_t *t) +{ + return type_get_type(t) == TYPE_POINTER; +} + +static inline int is_array(const type_t *t) +{ + return type_get_type(t) == TYPE_ARRAY; +} + +static inline int is_void(const type_t *t) +{ + return type_get_type(t) == TYPE_VOID; +} + +static inline int is_declptr(const type_t *t) +{ + return is_ptr(t) || (type_get_type(t) == TYPE_ARRAY && type_array_is_decl_as_ptr(t)); +} + +static inline int is_conformant_array(const type_t *t) +{ + return is_array(t) && type_array_has_conformance(t); +} + static inline int last_ptr(const type_t *type) { return is_ptr(type) && !is_declptr(type_pointer_get_ref(type)); Modified: trunk/mingw-w64-tools/widl/src/parser.l =================================================================== --- trunk/mingw-w64-tools/widl/src/parser.l 2014-03-25 16:43:45 UTC (rev 6552) +++ trunk/mingw-w64-tools/widl/src/parser.l 2014-03-26 14:49:17 UTC (rev 6553) @@ -37,6 +37,7 @@ %x WSTRQUOTE %x ATTR %x PP_LINE +%x PP_PRAGMA %x SQUOTE %{ @@ -89,6 +90,8 @@ static unsigned int xstrtoul(const char *nptr, char **endptr, int base) { #if defined(__MINGW32__) || defined(_MSC_VER) + /* Long might be not wide enough for LLP64 target, so we want to use + double-precision here instead. */ unsigned long long val; errno = 0; @@ -135,6 +138,7 @@ ************************************************************************** */ %% +<INITIAL>^{ws}*\#{ws}*pragma{ws}+ yy_push_state(PP_PRAGMA); <INITIAL,ATTR>^{ws}*\#{ws}* yy_push_state(PP_LINE); <PP_LINE>[^\n]* { int lineno; @@ -154,6 +158,8 @@ line_number = lineno - 1; /* We didn't read the newline */ input_name = xstrdup(fname); } +<PP_PRAGMA>midl_echo[^\n]* yyless(9); yy_pop_state(); return tCPPQUOTE; +<PP_PRAGMA>[^\n]* parser_lval.str = xstrdup(yytext); yy_pop_state(); return aPRAGMA; <INITIAL,ATTR>\" yy_push_state(QUOTE); cbufidx = 0; <QUOTE>\" { yy_pop_state(); @@ -425,7 +431,7 @@ struct keyword key, *kwp; key.kw = kw; kwp = bsearch(&key, keywords, NKEYWORDS, sizeof(keywords[0]), kw_cmp_func); - if (kwp && (flag_is_rt || kwp->token != tNAMESPACE)) { + if (kwp && (do_rt_extension || kwp->token != tNAMESPACE)) { parser_lval.str = xstrdup(kwp->kw); return kwp->token; } Modified: trunk/mingw-w64-tools/widl/src/parser.tab.c =================================================================== --- trunk/mingw-w64-tools/widl/src/parser.tab.c 2014-03-25 16:43:45 UTC (rev 6552) +++ trunk/mingw-w64-tools/widl/src/parser.tab.c 2014-03-26 14:49:17 UTC (rev 6553) @@ -1,9 +1,8 @@ -/* A Bison parser, made by GNU Bison 2.4.3. */ +/* A Bison parser, made by GNU Bison 2.7.12-4996. */ -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -45,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.4.3" +#define YYBISON_VERSION "2.7.12-4996" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -59,8 +58,6 @@ /* Pull parsers. */ #define YYPULL 1 -/* Using locations. */ -#define YYLSP_NEEDED 0 /* Substitute the variable and function names. */ #define yyparse parser_parse @@ -71,10 +68,8 @@ #define yydebug parser_debug #define yynerrs parser_nerrs - /* Copy the first part of user declarations. */ - -/* Line 189 of yacc.c */ +/* Line 371 of yacc.c */ #line 1 "parser.y" /* @@ -116,33 +111,6 @@ #include "expr.h" #include "typetree.h" -#if defined(YYBYACC) - /* Berkeley yacc (byacc) doesn't seem to know about these */ - /* Some *BSD supplied versions do define these though */ -# ifndef YYEMPTY -# define YYEMPTY (-1) /* Empty lookahead value of yychar */ -# endif -# ifndef YYLEX -# define YYLEX yylex() -# endif - -#elif defined(YYBISON) - /* Bison was used for original development */ - /* #define YYEMPTY -2 */ - /* #define YYLEX yylex() */ - -#else - /* No yacc we know yet */ -# if !defined(YYEMPTY) || !defined(YYLEX) -# error Yacc version/type unknown. This version needs to be verified for settings of YYEMPTY and YYLEX. -# elif defined(__GNUC__) /* gcc defines the #warning directive */ -# warning Yacc version/type unknown. It defines YYEMPTY and YYLEX, but is not tested - /* #else we just take a chance that it works... */ -# endif -#endif - -#define YYERROR_VERBOSE - static unsigned char pointer_default = RPC_FC_UP; typedef struct list typelist_t; @@ -219,6 +187,7 @@ static statement_t *make_statement_reference(type_t *type); static statement_t *make_statement_declaration(var_t *var); static statement_t *make_statement_library(typelib_t *typelib); +static statement_t *make_statement_pragma(const char *str); static statement_t *make_statement_cppquote(const char *str); static statement_t *make_statement_importlib(const char *str); static statement_t *make_statement_module(type_t *type); @@ -230,29 +199,37 @@ static attr_list_t *append_attribs(attr_list_t *, attr_list_t *); +/* Line 371 of yacc.c */ +#line 204 "parser.tab.c" -/* Line 189 of yacc.c */ -#line 236 "parser.tab.c" +# ifndef YY_NULL +# if defined __cplusplus && 201103L <= __cplusplus +# define YY_NULL nullptr +# else +# define YY_NULL 0 +# endif +# endif -/* Enabling traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif - /* Enabling verbose error messages. */ #ifdef YYERROR_VERBOSE # undef YYERROR_VERBOSE # define YYERROR_VERBOSE 1 #else -# define YYERROR_VERBOSE 0 +# define YYERROR_VERBOSE 1 #endif -/* Enabling the token table. */ -#ifndef YYTOKEN_TABLE -# define YYTOKEN_TABLE 0 +/* In a future release of Bison, this section will be replaced + by #include "parser.tab.h". */ +#ifndef YY_PARSER_PARSER_TAB_H_INCLUDED +# define YY_PARSER_PARSER_TAB_H_INCLUDED +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 #endif +#if YYDEBUG +extern int parser_debug; +#endif - /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE @@ -260,199 +237,198 @@ know about them. */ enum yytokentype { aIDENTIFIER = 258, - aKNOWNTYPE = 259, - aNUM = 260, - aHEXNUM = 261, - aDOUBLE = 262, - aSTRING = 263, - aWSTRING = 264, - aSQSTRING = 265, - aUUID = 266, - aEOF = 267, - SHL = 268, - SHR = 269, - MEMBERPTR = 270, - EQUALITY = 271, - INEQUALITY = 272, - GREATEREQUAL = 273, - LESSEQUAL = 274, - LOGICALOR = 275, - LOGICALAND = 276, - ELLIPSIS = 277, - tAGGREGATABLE = 278, - tALLOCATE = 279, - tANNOTATION = 280, - tAPPOBJECT = 281, - tASYNC = 282, - tASYNCUUID = 283, - tAUTOHANDLE = 284, - tBINDABLE = 285, - tBOOLEAN = 286, - tBROADCAST = 287, - tBYTE = 288, - tBYTECOUNT = 289, - tCALLAS = 290, - tCALLBACK = 291, - tCASE = 292, - tCDECL = 293, - tCHAR = 294, - tCOCLASS = 295, - tCODE = 296, - tCOMMSTATUS = 297, - tCONST = 298, - tCONTEXTHANDLE = 299, - tCONTEXTHANDLENOSERIALIZE = 300, - tCONTEXTHANDLESERIALIZE = 301, - tCONTROL = 302, - tCPPQUOTE = 303, - tDECODE = 304, - tDEFAULT = 305, - tDEFAULTBIND = 306, - tDEFAULTCOLLELEM = 307, - tDEFAULTVALUE = 308, - tDEFAULTVTABLE = 309, - tDISABLECONSISTENCYCHECK = 310, - tDISPLAYBIND = 311, - tDISPINTERFACE = 312, - tDLLNAME = 313, - tDOUBLE = 314, - tDUAL = 315, - tENABLEALLOCATE = 316, - tENCODE = 317, - tENDPOINT = 318, - tENTRY = 319, - tENUM = 320, - tERRORSTATUST = 321, - tEXPLICITHANDLE = 322, - tEXTERN = 323, - tFALSE = 324, - tFASTCALL = 325, - tFAULTSTATUS = 326, - tFLOAT = 327, - tFORCEALLOCATE = 328, - tHANDLE = 329, - tHANDLET = 330, - tHELPCONTEXT = 331, - tHELPFILE = 332, - tHELPSTRING = 333, - tHELPSTRINGCONTEXT = 334, - tHELPSTRINGDLL = 335, - tHIDDEN = 336, - tHYPER = 337, - tID = 338, - tIDEMPOTENT = 339, - tIGNORE = 340, - tIIDIS = 341, - tIMMEDIATEBIND = 342, - tIMPLICITHANDLE = 343, - tIMPORT = 344, - tIMPORTLIB = 345, - tIN = 346, - tIN_LINE = 347, - tINLINE = 348, - tINPUTSYNC = 349, - tINT = 350, - tINT3264 = 351, - tINT64 = 352, - tINTERFACE = 353, - tLCID = 354, - tLENGTHIS = 355, - tLIBRARY = 356, - tLICENSED = 357, - tLOCAL = 358, - tLONG = 359, - tMAYBE = 360, - tMESSAGE = 361, - tMETHODS = 362, - tMODULE = 363, - tNAMESPACE = 364, - tNOCODE = 365, - tNONBROWSABLE = 366, - tNONCREATABLE = 367, - tNONEXTENSIBLE = 368, - tNOTIFY = 369, - tNOTIFYFLAG = 370, - tNULL = 371, - tOBJECT = 372, - tODL = 373, - tOLEAUTOMATION = 374, - tOPTIMIZE = 375, - tOPTIONAL = 376, - tOUT = 377, - tPARTIALIGNORE = 378, - tPASCAL = 379, - tPOINTERDEFAULT = 380, - tPROGID = 381, - tPROPERTIES = 382, - tPROPGET = 383, - tPROPPUT = 384, - tPROPPUTREF = 385, - tPROXY = 386, - tPTR = 387, - tPUBLIC = 388, - tRANGE = 389, - tREADONLY = 390, - tREF = 391, - tREGISTER = 392, - tREPRESENTAS = 393, - tREQUESTEDIT = 394, - tRESTRICTED = 395, - tRETVAL = 396, - tSAFEARRAY = 397, - tSHORT = 398, - tSIGNED = 399, - tSIZEIS = 400, - tSIZEOF = 401, - tSMALL = 402, - tSOURCE = 403, - tSTATIC = 404, - tSTDCALL = 405, - tSTRICTCONTEXTHANDLE = 406, - tSTRING = 407, - tSTRUCT = 408, - tSWITCH = 409, - tSWITCHIS = 410, - tSWITCHTYPE = 411, - tTHREADING = 412, - tTRANSMITAS = 413, - tTRUE = 414, - tTYPEDEF = 415, - tUIDEFAULT = 416, - tUNION = 417, - tUNIQUE = 418, - tUNSIGNED = 419, - tUSESGETLASTERROR = 420, - tUSERMARSHAL = 421, - tUUID = 422, - tV1ENUM = 423, - tVARARG = 424, - tVERSION = 425, - tVIPROGID = 426, - tVOID = 427, - tWCHAR = 428, - tWIREMARSHAL = 429, - tAPARTMENT = 430, - tNEUTRAL = 431, - tSINGLE = 432, - tFREE = 433, - tBOTH = 434, - ADDRESSOF = 435, - NEG = 436, - POS = 437, - PPTR = 438, - CAST = 439 + aPRAGMA = 259, + aKNOWNTYPE = 260, + aNUM = 261, + aHEXNUM = 262, + aDOUBLE = 263, + aSTRING = 264, + aWSTRING = 265, + aSQSTRING = 266, + aUUID = 267, + aEOF = 268, + SHL = 269, + SHR = 270, + MEMBERPTR = 271, + EQUALITY = 272, + INEQUALITY = 273, + GREATEREQUAL = 274, + LESSEQUAL = 275, + LOGICALOR = 276, + LOGICALAND = 277, + ELLIPSIS = 278, + tAGGREGATABLE = 279, + tALLOCATE = 280, + tANNOTATION = 281, + tAPPOBJECT = 282, + tASYNC = 283, + tASYNCUUID = 284, + tAUTOHANDLE = 285, + tBINDABLE = 286, + tBOOLEAN = 287, + tBROADCAST = 288, + tBYTE = 289, + tBYTECOUNT = 290, + tCALLAS = 291, + tCALLBACK = 292, + tCASE = 293, + tCDECL = 294, + tCHAR = 295, + tCOCLASS = 296, + tCODE = 297, + tCOMMSTATUS = 298, + tCONST = 299, + tCONTEXTHANDLE = 300, + tCONTEXTHANDLENOSERIALIZE = 301, + tCONTEXTHANDLESERIALIZE = 302, + tCONTROL = 303, + tCPPQUOTE = 304, + tDECODE = 305, + tDEFAULT = 306, + tDEFAULTBIND = 307, + tDEFAULTCOLLELEM = 308, + tDEFAULTVALUE = 309, + tDEFAULTVTABLE = 310, + tDISABLECONSISTENCYCHECK = 311, + tDISPLAYBIND = 312, + tDISPINTERFACE = 313, + tDLLNAME = 314, + tDOUBLE = 315, + tDUAL = 316, + tENABLEALLOCATE = 317, + tENCODE = 318, + tENDPOINT = 319, + tENTRY = 320, + tENUM = 321, + tERRORSTATUST = 322, + tEXPLICITHANDLE = 323, + tEXTERN = 324, + tFALSE = 325, + tFASTCALL = 326, + tFAULTSTATUS = 327, + tFLOAT = 328, + tFORCEALLOCATE = 329, + tHANDLE = 330, + tHANDLET = 331, + tHELPCONTEXT = 332, + tHELPFILE = 333, + tHELPSTRING = 334, + tHELPSTRINGCONTEXT = 335, + tHELPSTRINGDLL = 336, + tHIDDEN = 337, + tHYPER = 338, + tID = 339, + tIDEMPOTENT = 340, + tIGNORE = 341, + tIIDIS = 342, + tIMMEDIATEBIND = 343, + tIMPLICITHANDLE = 344, + tIMPORT = 345, + tIMPORTLIB = 346, + tIN = 347, + tIN_LINE = 348, + tINLINE = 349, + tINPUTSYNC = 350, + tINT = 351, + tINT3264 = 352, + tINT64 = 353, + tINTERFACE = 354, + tLCID = 355, + tLENGTHIS = 356, + tLIBRARY = 357, + tLICENSED = 358, + tLOCAL = 359, + tLONG = 360, + tMAYBE = 361, + tMESSAGE = 362, + tMETHODS = 363, + tMODULE = 364, + tNAMESPACE = 365, + tNOCODE = 366, + tNONBROWSABLE = 367, + tNONCREATABLE = 368, + tNONEXTENSIBLE = 369, + tNOTIFY = 370, + tNOTIFYFLAG = 371, + tNULL = 372, + tOBJECT = 373, + tODL = 374, + tOLEAUTOMATION = 375, + tOPTIMIZE = 376, + tOPTIONAL = 377, + tOUT = 378, + tPARTIALIGNORE = 379, + tPASCAL = 380, + tPOINTERDEFAULT = 381, + tPROGID = 382, + tPROPERTIES = 383, + tPROPGET = 384, + tPROPPUT = 385, + tPROPPUTREF = 386, + tPROXY = 387, + tPTR = 388, + tPUBLIC = 389, + tRANGE = 390, + tREADONLY = 391, + tREF = 392, + tREGISTER = 393, + tREPRESENTAS = 394, + tREQUESTEDIT = 395, + tRESTRICTED = 396, + tRETVAL = 397, + tSAFEARRAY = 398, + tSHORT = 399, + tSIGNED = 400, + tSIZEIS = 401, + tSIZEOF = 402, + tSMALL = 403, + tSOURCE = 404, + tSTATIC = 405, + tSTDCALL = 406, + tSTRICTCONTEXTHANDLE = 407, + tSTRING = 408, + tSTRUCT = 409, + tSWITCH = 410, + tSWITCHIS = 411, + tSWITCHTYPE = 412, + tTHREADING = 413, + tTRANSMITAS = 414, + tTRUE = 415, + tTYPEDEF = 416, + tUIDEFAULT = 417, + tUNION = 418, + tUNIQUE = 419, + tUNSIGNED = 420, + tUSESGETLASTERROR = 421, + tUSERMARSHAL = 422, + tUUID = 423, + tV1ENUM = 424, + tVARARG = 425, + tVERSION = 426, + tVIPROGID = 427, + tVOID = 428, + tWCHAR = 429, + tWIREMARSHAL = 430, + tAPARTMENT = 431, + tNEUTRAL = 432, + tSINGLE = 433, + tFREE = 434, + tBOTH = 435, + ADDRESSOF = 436, + NEG = 437, + POS = 438, + PPTR = 439, + CAST = 440 }; #endif - #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { +/* Line 387 of yacc.c */ +#line 129 "parser.y" -/* Line 214 of yacc.c */ -#line 155 "parser.y" - attr_t *attr; attr_list_t *attr_list; str_list_t *str_list; @@ -479,22 +455,37 @@ enum storage_class stgclass; - -/* Line 214 of yacc.c */ -#line 485 "parser.tab.c" +/* Line 387 of yacc.c */ +#line 460 "parser.tab.c" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif +extern YYSTYPE parser_lval; +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int parser_parse (void *YYPARSE_PARAM); +#else +int parser_parse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int parser_parse (void); +#else +int parser_parse (); +#endif +#endif /* ! YYPARSE_PARAM */ + +#endif /* !YY_PARSER_PARSER_TAB_H_INCLUDED */ + /* Copy the second part of user declarations. */ +/* Line 390 of yacc.c */ +#line 488 "parser.tab.c" -/* Line 264 of yacc.c */ -#line 497 "parser.tab.c" - #ifdef short # undef short #endif @@ -546,24 +537,33 @@ # if defined YYENABLE_NLS && YYENABLE_NLS # if ENABLE_NLS # include <libintl.h> /* INFRINGES ON USER NAME SPACE */ -# define YY_(msgid) dgettext ("bison-runtime", msgid) +# define YY_(Msgid) dgettext ("bison-runtime", Msgid) # endif # endif # ifndef YY_ -# define YY_(msgid) msgid +# define YY_(Msgid) Msgid # endif #endif +#ifndef __attribute__ +/* This feature is available in gcc versions 2.5 and later. */ +# if (! defined __GNUC__ || __GNUC__ < 2 \ + || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)) +# define __attribute__(Spec) /* empty */ +# endif +#endif + /* Suppress unused-variable warnings by "using" E. */ #if ! defined lint || defined __GNUC__ -# define YYUSE(e) ((void) (e)) +# define YYUSE(E) ((void) (E)) #else -# define YYUSE(e) /* empty */ +# define YYUSE(E) /* empty */ #endif + /* Identity function, used to suppress warnings about constant conditions. */ #ifndef lint -# define YYID(n) (n) +# define YYID(N) (N) #else #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) @@ -596,11 +596,12 @@ # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 + /* Use EXIT_SUCCESS as a witness for stdlib.h. */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # endif @@ -623,24 +624,24 @@ # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif -# if (defined __cplusplus && ! defined _STDLIB_H \ +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif @@ -669,23 +670,7 @@ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif +# define YYCOPY_NEEDED 1 /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of @@ -705,23 +690,43 @@ #endif +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from SRC to DST. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(Dst, Src, Count) \ + __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) +# else +# define YYCOPY(Dst, Src, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (Dst)[yyi] = (Src)[yyi]; \ + } \ + while (YYID (0)) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + /* YYFINAL -- State number of the termination state. */ #define YYFINAL 3 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 3002 +#define YYLAST 3077 /* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 209 +#define YYNTOKENS 210 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 101 /* YYNRULES -- Number of rules. */ -#define YYNRULES 386 +#define YYNRULES 387 /* YYNRULES -- Number of states. */ -#define YYNSTATES 678 +#define YYNSTATES 679 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 -#define YYMAXUTOK 439 +#define YYMAXUTOK 440 #define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) @@ -732,16 +737,16 @@ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 193, 2, 2, 2, 192, 185, 2, - 206, 207, 190, 189, 180, 188, 200, 191, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 182, 205, - 186, 208, 187, 181, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 194, 2, 2, 2, 193, 186, 2, + 207, 208, 191, 190, 181, 189, 201, 192, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 183, 206, + 187, 209, 188, 182, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 201, 2, 202, 184, 2, 2, 2, 2, 2, + 2, 202, 2, 203, 185, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 203, 183, 204, 194, 2, 2, 2, + 2, 2, 2, 204, 184, 205, 195, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -772,7 +777,8 @@ 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, - 175, 176, 177, 178, 179, 195, 196, 197, 198, 199 + 175, 176, 177, 178, 179, 180, 196, 197, 198, 199, + 200 }; #if YYDEBUG @@ -783,219 +789,219 @@ 0, 0, 3, 5, 6, 12, 15, 18, 22, 25, 28, 31, 34, 35, 38, 44, 47, 51, 54, 57, 60, 63, 66, 67, 70, 71, 73, 75, 78, 81, - 83, 86, 88, 91, 93, 96, 98, 101, 104, 107, - 110, 115, 119, 123, 129, 132, 136, 141, 142, 144, - 146, 150, 152, 156, 160, 163, 167, 171, 174, 175, - 177, 181, 183, 187, 192, 194, 198, 199, 201, 206, - 208, 210, 212, 214, 216, 221, 226, 228, 230, 232, - 234, 236, 238, 240, 242, 244, 246, 251, 253, 255, - 257, 262, 264, 266, 268, 273, 278, 280, 282, 284, - 286, 291, 296, 301, 306, 311, 313, 318, 320, 322, - 327, 329, 334, 336, 338, 343, 348, 350, 352, 354, + 83, 86, 88, 90, 93, 95, 98, 100, 103, 106, + 109, 112, 117, 121, 125, 131, 134, 138, 143, 144, + 146, 148, 152, 154, 158, 162, 165, 169, 173, 176, + 177, 179, 183, 185, 189, 194, 196, 200, 201, 203, + 208, 210, 212, 214, 216, 218, 223, 228, 230, 232, + 234, 236, 238, 240, 242, 244, 246, 248, 253, 255, + 257, 259, 264, 266, 268, 270, 275, 280, 282, 284, + 286, 288, 293, 298, 303, 308, 313, 315, 320, 322, + 324, 329, 331, 336, 338, 340, 345, 350, 352, 354, 356, 358, 360, 362, 364, 366, 368, 370, 372, 374, - 376, 381, 383, 385, 387, 392, 397, 399, 401, 403, - 405, 407, 414, 416, 421, 423, 425, 427, 432, 434, - 436, 438, 443, 448, 453, 458, 460, 462, 467, 472, - 477, 479, 481, 486, 491, 496, 498, 500, 502, 504, - 506, 508, 510, 511, 514, 519, 523, 524, 527, 529, - 531, 535, 539, 541, 547, 549, 553, 554, 556, 558, - 560, 562, 564, 566, 568, 570, 572, 574, 576, 582, - 586, 590, 594, 598, 602, 606, 610, 614, 618, 622, - 626, 630, 634, 638, 642, 646, 650, 654, 657, 660, - 663, 666, 669, 672, 676, 680, 686, 692, 697, 701, - 703, 707, 709, 711, 712, 715, 720, 724, 727, 730, - 731, 734, 737, 739, 743, 746, 748, 752, 755, 756, - 758, 759, 761, 763, 765, 767, 769, 771, 773, 776, - 779, 781, 783, 785, 787, 789, 791, 792, 794, 796, - 799, 801, 804, 807, 809, 811, 813, 816, 819, 822, - 828, 831, 832, 835, 838, 841, 844, 847, 850, 854, - 857, 861, 867, 873, 874, 877, 880, 883, 886, 893, - 902, 905, 908, 911, 914, 917, 920, 926, 928, 930, - 932, 934, 936, 937, 940, 943, 947, 948, 950, 953, - 956, 959, 963, 966, 968, 970, 974, 977, 982, 986, - 989, 991, 995, 998, 999, 1001, 1005, 1008, 1010, 1014, - 1019, 1023, 1026, 1028, 1032, 1035, 1036, 1038, 1040, 1044, - 1047, 1049, 1053, 1058, 1060, 1064, 1065, 1068, 1071, 1073, - 1077, 1079, 1083, 1085, 1087, 1089, 1091, 1093, 1095, 1097, - 1099, 1105, 1107, 1109, 1111, 1113, 1116, 1118, 1121, 1123, - 1126, 1131, 1137, 1143, 1154, 1156, 1160 + 376, 378, 383, 385, 387, 389, 394, 399, 401, 403, + 405, 407, 409, 416, 418, 423, 425, 427, 429, 434, + 436, 438, 440, 445, 450, 455, 460, 462, 464, 469, + 474, 479, 481, 483, 488, 493, 498, 500, 502, 504, + 506, 508, 510, 512, 513, 516, 521, 525, 526, 529, + 531, 533, 537, 541, 543, 549, 551, 555, 556, 558, + 560, 562, 564, 566, 568, 570, 572, 574, 576, 578, + 584, 588, 592, 596, 600, 604, 608, 612, 616, 620, + 624, 628, 632, 636, 640, 644, 648, 652, 656, 659, + 662, 665, 668, 671, 674, 678, 682, 688, 694, 699, + 703, 705, 709, 711, 713, 714, 717, 722, 726, 729, + 732, 733, 736, 739, 741, 745, 748, 750, 754, 757, + 758, 760, 761, 763, 765, 767, 769, 771, 773, 775, + 778, 781, 783, 785, 787, 789, 791, 793, 794, 796, + 798, 801, 803, 806, 809, 811, 813, 815, 818, 821, + 824, 830, 833, 834, 837, 840, 843, 846, 849, 852, + 856, 859, 863, 869, 875, 876, 879, 882, 885, 888, + 895, 904, 907, 910, 913, 916, 919, 922, 928, 930, + 932, 934, 936, 938, 939, 942, 945, 949, 950, 952, + 955, 958, 961, 965, 968, 970, 972, 976, 979, 984, + 988, 991, 993, 997, 1000, 1001, 1003, 1007, 1010, 1012, + 1016, 1021, 1025, 1028, 1030, 1034, 1037, 1038, 1040, 1042, + 1046, 1049, 1051, 1055, 1060, 1062, 1066, 1067, 1070, 1073, + 1075, 1079, 1081, 1085, 1087, 1089, 1091, 1093, 1095, 1097, + 1099, 1101, 1107, 1109, 1111, 1113, 1115, 1118, 1120, 1123, + 1125, 1128, 1133, 1139, 1145, 1156, 1158, 1162 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yytype_int16 yyrhs[] = { - 210, 0, -1, 211, -1, -1, 211, 265, 203, 211, - 204, -1, 211, 277, -1, 211, 276, -1, 211, 262, - 205, -1, 211, 264, -1, 211, 280, -1, 211, 223, - -1, 211, 215, -1, -1, 212, 277, -1, 212, 265, - 203, 212, 204, -1, 212, 276, -1, 212, 262, 205, - -1, 212, 264, -1, 212, 280, -1, 212, 215, -1, - 212, 220, -1, 212, 223, -1, -1, 213, 215, -1, - -1, 205, -1, 217, -1, 216, 205, -1, 255, 205, - -1, 219, -1, 307, 205, -1, 241, -1, 65, 3, - -1, 305, -1, 153, 3, -1, 308, -1, 162, 3, - -1, 230, 241, -1, 230, 305, -1, 230, 308, -1, - 48, 206, 8, 207, -1, 89, 8, 205, -1, 218, - 212, 12, -1, 90, 206, 8, 207, 214, -1, 101, - 3, -1, 230, 221, 203, -1, 222, 212, 204, 214, - -1, -1, 226, -1, 227, -1, 225, 180, 227, -1, - 225, -1, 225, 180, 22, -1, 230, 285, 296, -1, - 285, 296, -1, 201, 244, 202, -1, 201, 190, 202, - -1, 201, 202, -1, -1, 230, -1, 201, 231, 202, - -1, 233, -1, 231, 180, 233, -1, 231, 202, 201, - 233, -1, 8, -1, 232, 180, 8, -1, -1, 23, - -1, 25, 206, 8, 207, -1, 26, -1, 27, -1, - 29, -1, 30, -1, 32, -1, 35, 206, 258, 207, - -1, 37, 206, 245, 207, -1, 41, -1, 42, -1, - 44, -1, 45, -1, 46, -1, 47, -1, 49, -1, - 50, -1, 51, -1, 52, -1, 53, 206, 247, 207, - -1, 54, -1, 55, -1, 56, -1, 58, 206, 8, - 207, -1, 60, -1, 61, -1, 62, -1, 63, 206, - 232, 207, -1, 64, 206, 247, 207, -1, 67, -1, - 71, -1, 73, -1, 74, -1, 76, 206, 246, 207, - -1, 77, 206, 8, 207, -1, 78, 206, 8, 207, - -1, 79, 206, 246, 207, -1, 80, 206, 8, 207, - -1, 81, -1, 83, 206, 246, 207, -1, 84, -1, - 85, -1, 86, 206, 244, 207, -1, 87, -1, 88, - 206, 227, 207, -1, 91, -1, 94, -1, 100, 206, - 242, 207, -1, 99, 206, 246, 207, -1, 99, -1, - 102, -1, 103, -1, 105, -1, 106, -1, 110, -1, + 211, 0, -1, 212, -1, -1, 212, 266, 204, 212, + 205, -1, 212, 278, -1, 212, 277, -1, 212, 263, + 206, -1, 212, 265, -1, 212, 281, -1, 212, 224, + -1, 212, 216, -1, -1, 213, 278, -1, 213, 266, + 204, 213, 205, -1, 213, 277, -1, 213, 263, 206, + -1, 213, 265, -1, 213, 281, -1, 213, 216, -1, + 213, 221, -1, 213, 224, -1, -1, 214, 216, -1, + -1, 206, -1, 218, -1, 217, 206, -1, 256, 206, + -1, 220, -1, 308, 206, -1, 4, -1, 242, -1, + 66, 3, -1, 306, -1, 154, 3, -1, 309, -1, + 163, 3, -1, 231, 242, -1, 231, 306, -1, 231, + 309, -1, 49, 207, 9, 208, -1, 90, 9, 206, + -1, 219, 213, 13, -1, 91, 207, 9, 208, 215, + -1, 102, 3, -1, 231, 222, 204, -1, 223, 213, + 205, 215, -1, -1, 227, -1, 228, -1, 226, 181, + 228, -1, 226, -1, 226, 181, 23, -1, 231, 286, + 297, -1, 286, 297, -1, 202, 245, 203, -1, 202, + 191, 203, -1, 202, 203, -1, -1, 231, -1, 202, + 232, 203, -1, 234, -1, 232, 181, 234, -1, 232, + 203, 202, 234, -1, 9, -1, 233, 181, 9, -1, + -1, 24, -1, 26, 207, 9, 208, -1, 27, -1, + 28, -1, 30, -1, 31, -1, 33, -1, 36, 207, + 259, 208, -1, 38, 207, 246, 208, -1, 42, -1, + 43, -1, 45, -1, 46, -1, 47, -1, 48, -1, + 50, -1, 51, -1, 52, -1, 53, -1, 54, 207, + 248, 208, -1, 55, -1, 56, -1, 57, -1, 59, + 207, 9, 208, -1, 61, -1, 62, -1, 63, -1, + 64, 207, 233, 208, -1, 65, 207, 248, 208, -1, + 68, -1, 72, -1, 74, -1, 75, -1, 77, 207, + 247, 208, -1, 78, 207, 9, 208, -1, 79, 207, + 9, 208, -1, 80, 207, 247, 208, -1, 81, 207, + 9, 208, -1, 82, -1, 84, 207, 247, 208, -1, + 85, -1, 86, -1, 87, 207, 245, 208, -1, 88, + -1, 89, 207, 228, 208, -1, 92, -1, 95, -1, + 101, 207, 243, 208, -1, 100, 207, 247, 208, -1, + 100, -1, 103, -1, 104, -1, 106, -1, 107, -1, 111, -1, 112, -1, 113, -1, 114, -1, 115, -1, - 117, -1, 118, -1, 119, -1, 120, 206, 8, 207, - -1, 121, -1, 122, -1, 123, -1, 125, 206, 304, - 207, -1, 126, 206, 8, 207, -1, 128, -1, 129, - -1, 130, -1, 131, -1, 133, -1, 134, 206, 246, - 180, 246, 207, -1, 135, -1, 138, 206, 306, 207, - -1, 139, -1, 140, -1, 141, -1, 145, 206, 242, - 207, -1, 148, -1, 151, -1, 152, -1, 155, 206, - 244, 207, -1, 156, 206, 306, 207, -1, 158, 206, - 306, 207, -1, 157, 206, 303, 207, -1, 161, -1, - 165, -1, 166, 206, 306, 207, -1, 167, 206, 234, - 207, -1, 28, 206, 234, 207, -1, 168, -1, 169, - -1, 170, 206, 309, 207, -1, 171, 206, 8, 207, - -1, 174, 206, 306, 207, -1, 304, -1, 11, -1, - 8, -1, 38, -1, 70, -1, 124, -1, 150, -1, - -1, 236, 237, -1, 37, 246, 182, 252, -1, 50, - 182, 252, -1, -1, 239, 180, -1, 239, -1, 240, - -1, 239, 180, 240, -1, 258, 208, 246, -1, 258, - -1, 65, 257, 203, 238, 204, -1, 243, -1, 242, - 180, 243, -1, -1, 244, -1, 5, -1, 6, -1, - 7, -1, 69, -1, 116, -1, 159, -1, 8, -1, - 9, -1, 10, -1, 3, -1, 244, 181, 244, 182, - 244, -1, 244, 20, 244, -1, 244, 21, 244, -1, - 244, 183, 244, -1, 244, 184, 244, -1, 244, 185, - 244, -1, 244, 16, 244, -1, 244, 17, 244, -1, - 244, 187, 244, -1, 244, 186, 244, -1, 244, 18, - 244, -1, 244, 19, 244, -1, 244, 13, 244, -1, - 244, 14, 244, -1, 244, 189, 244, -1, 244, 188, - 244, -1, 244, 192, 244, -1, 244, 190, 244, -1, - 244, 191, 244, -1, 193, 244, -1, 194, 244, -1, - 189, 244, -1, 188, 244, -1, 185, 244, -1, 190, - 244, -1, 244, 15, 3, -1, 244, 200, 3, -1, - 206, 285, 292, 207, 244, -1, 146, 206, 285, 292, - 207, -1, 244, 201, 244, 202, -1, 206, 244, 207, - -1, 246, -1, 245, 180, 246, -1, 244, -1, 244, - -1, -1, 248, 249, -1, 229, 285, 301, 205, -1, - 229, 308, 205, -1, 253, 205, -1, 230, 205, -1, - -1, 251, 250, -1, 253, 205, -1, 205, -1, 229, - 285, 288, -1, 229, 305, -1, 255, -1, 230, 285, - 302, -1, 285, 302, -1, -1, 258, -1, -1, 3, - -1, 4, -1, 3, -1, 4, -1, 33, -1, 173, - -1, 261, -1, 144, 261, -1, 164, 261, -1, 164, - -1, 72, -1, 59, -1, 31, -1, 66, -1, 75, - -1, -1, 95, -1, 95, -1, 143, 260, -1, 147, - -1, 104, 260, -1, 82, 260, -1, 97, -1, 39, - -1, 96, -1, 40, 3, -1, 40, 4, -1, 230, - 262, -1, 263, 203, 266, 204, 214, -1, 109, 3, - -1, -1, 266, 267, -1, 229, 277, -1, 57, 3, - -1, 57, 4, -1, 230, 268, -1, 127, 182, -1, - 270, 253, 205, -1, 107, 182, -1, 271, 254, 205, - -1, 269, 203, 270, 271, 204, -1, 269, 203, 274, - 205, 204, -1, -1, 182, 4, -1, 98, 3, -1, - 98, 4, -1, 230, 274, -1, 275, 273, 203, 213, - 204, 214, -1, 275, 182, 3, 203, 219, 213, 204, - 214, -1, 272, 214, -1, 274, 205, -1, 268, 205, - -1, 108, 3, -1, 108, 4, -1, 230, 278, -1, - 279, 203, 213, 204, 214, -1, 68, -1, 149, -1, - 137, -1, 93, -1, 43, -1, -1, 284, 283, -1, - 306, 286, -1, 287, 306, 286, -1, -1, 287, -1, - 283, 286, -1, 282, 286, -1, 281, 286, -1, 190, - 284, 288, -1, 235, 288, -1, 289, -1, 258, -1, - 206, 288, 207, -1, 289, 228, -1, 289, 206, 224, - 207, -1, 190, 284, 292, -1, 235, 292, -1, 293, - -1, 190, 284, 296, -1, 235, 296, -1, -1, 290, - -1, 206, 291, 207, -1, 293, 228, -1, 228, -1, - 206, 224, 207, -1, 293, 206, 224, 207, -1, 190, - 284, 296, -1, 235, 296, -1, 297, -1, 190, 284, - 296, -1, 235, 296, -1, -1, 294, -1, 258, -1, - 206, 295, 207, -1, 297, 228, -1, 228, -1, 206, - 224, 207, -1, 297, 206, 224, 207, -1, 288, -1, - 298, 180, 288, -1, -1, 182, 247, -1, 294, 299, - -1, 300, -1, 301, 180, 300, -1, 288, -1, 288, - 208, 247, -1, 175, -1, 176, -1, 177, -1, 178, - -1, 179, -1, 136, -1, 163, -1, 132, -1, 153, - 257, 203, 248, 204, -1, 172, -1, 4, -1, 259, - -1, 241, -1, 65, 3, -1, 305, -1, 153, 3, - -1, 308, -1, 162, 3, -1, 142, 206, 306, 207, - -1, 229, 160, 229, 285, 298, -1, 162, 257, 203, - 251, 204, -1, 162, 257, 154, 206, 253, 207, 256, - 203, 236, 204, -1, 5, -1, 5, 200, 5, -1, - 6, -1 + 116, -1, 118, -1, 119, -1, 120, -1, 121, 207, + 9, 208, -1, 122, -1, 123, -1, 124, -1, 126, + 207, 305, 208, -1, 127, 207, 9, 208, -1, 129, + -1, 130, -1, 131, -1, 132, -1, 134, -1, 135, + 207, 247, 181, 247, 208, -1, 136, -1, 139, 207, + 307, 208, -1, 140, -1, 141, -1, 142, -1, 146, + 207, 243, 208, -1, 149, -1, 152, -1, 153, -1, + 156, 207, 245, 208, -1, 157, 207, 307, 208, -1, + 159, 207, 307, 208, -1, 158, 207, 304, 208, -1, + 162, -1, 166, -1, 167, 207, 307, 208, -1, 168, + 207, 235, 208, -1, 29, 207, 235, 208, -1, 169, + -1, 170, -1, 171, 207, 310, 208, -1, 172, 207, + 9, 208, -1, 175, 207, 307, 208, -1, 305, -1, + 12, -1, 9, -1, 39, -1, 71, -1, 125, -1, + 151, -1, -1, 237, 238, -1, 38, 247, 183, 253, + -1, 51, 183, 253, -1, -1, 240, 181, -1, 240, + -1, 241, -1, 240, 181, 241, -1, 259, 209, 247, + -1, 259, -1, 66, 258, 204, 239, 205, -1, 244, + -1, 243, 181, 244, -1, -1, 245, -1, 6, -1, + 7, -1, 8, -1, 70, -1, 117, -1, 160, -1, + 9, -1, 10, -1, 11, -1, 3, -1, 245, 182, + 245, 183, 245, -1, 245, 21, 245, -1, 245, 22, + 245, -1, 245, 184, 245, -1, 245, 185, 245, -1, + 245, 186, 245, -1, 245, 17, 245, -1, 245, 18, + 245, -1, 245, 188, 245, -1, 245, 187, 245, -1, + 245, 19, 245, -1, 245, 20, 245, -1, 245, 14, + 245, -1, 245, 15, 245, -1, 245, 190, 245, -1, + 245, 189, 245, -1, 245, 193, 245, -1, 245, 191, + 245, -1, 245, 192, 245, -1, 194, 245, -1, 195, + 245, -1, 190, 245, -1, 189, 245, -1, 186, 245, + -1, 191, 245, -1, 245, 16, 3, -1, 245, 201, + 3, -1, 207, 286, 293, 208, 245, -1, 147, 207, + 286, 293, 208, -1, 245, 202, 245, 203, -1, 207, + 245, 208, -1, 247, -1, 246, 181, 247, -1, 245, + -1, 245, -1, -1, 249, 250, -1, 230, 286, 302, + 206, -1, 230, 309, 206, -1, 254, 206, -1, 231, + 206, -1, -1, 252, 251, -1, 254, 206, -1, 206, + -1, 230, 286, 289, -1, 230, 306, -1, 256, -1, + 231, 286, 303, -1, 286, 303, -1, -1, 259, -1, + -1, 3, -1, 5, -1, 3, -1, 5, -1, 34, + -1, 174, -1, 262, -1, 145, 262, -1, 165, 262, + -1, 165, -1, 73, -1, 60, -1, 32, -1, 67, + -1, 76, -1, -1, 96, -1, 96, -1, 144, 261, + -1, 148, -1, 105, 261, -1, 83, 261, -1, 98, + -1, 40, -1, 97, -1, 41, 3, -1, 41, 5, + -1, 231, 263, -1, 264, 204, 267, 205, 215, -1, + 110, 3, -1, -1, 267, 268, -1, 230, 278, -1, + 58, 3, -1, 58, 5, -1, 231, 269, -1, 128, + 183, -1, 271, 254, 206, -1, 108, 183, -1, 272, + 255, 206, -1, 270, 204, 271, 272, 205, -1, 270, + 204, 275, 206, 205, -1, -1, 183, 5, -1, 99, + 3, -1, 99, 5, -1, 231, 275, -1, 276, 274, + 204, 214, 205, 215, -1, 276, 183, 3, 204, 220, + 214, 205, 215, -1, 273, 215, -1, 275, 206, -1, + 269, 206, -1, 109, 3, -1, 109, 5, -1, 231, + 279, -1, 280, 204, 214, 205, 215, -1, 69, -1, + 150, -1, 138, -1, 94, -1, 44, -1, -1, 285, + 284, -1, 307, 287, -1, 288, 307, 287, -1, -1, + 288, -1, 284, 287, -1, 283, 287, -1, 282, 287, + -1, 191, 285, 289, -1, 236, 289, -1, 290, -1, + 259, -1, 207, 289, 208, -1, 290, 229, -1, 290, + 207, 225, 208, -1, 191, 285, 293, -1, 236, 293, + -1, 294, -1, 191, 285, 297, -1, 236, 297, -1, + -1, 291, -1, 207, 292, 208, -1, 294, 229, -1, + 229, -1, 207, 225, 208, -1, 294, 207, 225, 208, + -1, 191, 285, 297, -1, 236, 297, -1, 298, -1, + 191, 285, 297, -1, 236, 297, -1, -1, 295, -1, + 259, -1, 207, 296, 208, -1, 298, 229, -1, 229, + -1, 207, 225, 208, -1, 298, 207, 225, 208, -1, + 289, -1, 299, 181, 289, -1, -1, 183, 248, -1, + 295, 300, -1, 301, -1, 302, 181, 301, -1, 289, + -1, 289, 209, 248, -1, 176, -1, 177, -1, 178, + -1, 179, -1, 180, -1, 137, -1, 164, -1, 133, + -1, 154, 258, 204, 249, 205, -1, 173, -1, 5, + -1, 260, -1, 242, -1, 66, 3, -1, 306, -1, + 154, 3, -1, 309, -1, 163, 3, -1, 143, 207, + 307, 208, -1, 230, 161, 230, 286, 299, -1, 163, + 258, 204, 252, 205, -1, 163, 258, 155, 207, 254, + 208, 257, 204, 237, 205, -1, 6, -1, 6, 201, + 6, -1, 7, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 331, 331, 345, 346, 348, 349, 350, 353, 356, - 357, 358, 361, 362, 363, 364, 365, 366, 369, 370, - 371, 372, 375, 376, 379, 380, 384, 385, 386, 387, - 388, 392, 393, 394, 395, 396, 397, 398, 399, 400, - 403, 405, 413, 419, 423, 425, 429, 436, 437, 440, - 441, 444, 445, 449, 454, 461, 465, 466, 469, 470, - 474, 477, 478, 479, 482, 483, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, - 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, - 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, - 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, - 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, - 560, 561, 565, 566, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 584, 585, 586, 587, 588, 592, 593, 598, 599, - 600, 601, 604, 605, 608, 612, 618, 619, 620, 623, - 627, 639, 643, 648, 651, 652, 655, 656, 659, 660, - 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, - 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, - 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, - 691, 692, 693, 694, 695, 696, 698, 700, 701, 704, - 705, 708, 714, 720, 721, 724, 729, 736, 737, 740, - 741, 745, 746, 749, 753, 759, 767, 771, 776, 777, - 780, 781, 782, 785, 787, 790, 791, 792, 793, 794, - 795, 796, 797, 798, 799, 800, 803, 804, 807, 808, - 809, 810, 811, 812, 813, 814, 817, 818, 826, 832, - 836, 840, 841, 845, 848, 849, 852, 861, 862, 865, - 866, 869, 875, 881, 882, 885, 886, 889, 899, 908, - 914, 918, 919, 922, 923, 926, 931, 938, 939, 940, - 944, 948, 951, 952, 955, 956, 960, 961, 965, 966, - 967, 971, 973, 975, 979, 980, 981, 982, 990, 992, - 994, 999, 1001, 1006, 1007, 1012, 1013, 1014, 1015, 1020, - 1029, 1031, 1032, 1037, 1039, 1043, 1044, 1051, 1052, 1053, - 1054, 1055, 1060, 1068, 1069, 1072, 1073, 1076, 1083, 1084, - 1089, 1090, 1094, 1095, 1096, 1097, 1098, 1102, 1103, 1104, - 1107, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, - 1119, 1122, 1130, 1132, 1138, 1139, 1140 + 0, 308, 308, 322, 323, 325, 326, 327, 330, 333, + 334, 335, 338, 339, 340, 342, 343, 344, 347, 348, + 349, 350, 353, 354, 357, 358, 362, 363, 364, 365, + 366, 367, 371, 372, 373, 374, 375, 376, 377, 378, + 379, 382, 384, 392, 398, 402, 404, 408, 415, 416, + 419, 420, 423, 424, 428, 433, 440, 444, 445, 448, + 449, 453, 456, 457, 458, 461, 462, 465, 466, 467, + 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, + 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, + 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, + 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, + 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, + 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, + 538, 539, 540, 544, 545, 546, 547, 548, 549, 550, + 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, + 561, 562, 563, 564, 565, 566, 567, 571, 572, 577, + 578, 579, 580, 583, 584, 587, 591, 597, 598, 599, + 602, 606, 618, 622, 627, 630, 631, 634, 635, 638, + 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, + 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, + 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, + 669, 670, 671, 672, 673, 674, 675, 677, 679, 680, + 683, 684, 687, 693, 699, 700, 703, 708, 715, 716, + 719, 720, 724, 725, 728, 732, 738, 746, 750, 755, + 756, 759, 760, 761, 764, 766, 769, 770, 771, 772, + 773, 774, 775, 776, 777, 778, 779, 782, 783, 786, + 787, 788, 789, 790, 791, 792, 793, 796, 797, 805, + 811, 815, 818, 819, 823, 826, 827, 830, 839, 840, + 843, 844, 847, 853, 859, 860, 863, 864, 867, 877, + 886, 892, 896, 897, 900, 901, 904, 909, 916, 917, + 918, 922, 926, 929, 930, 933, 934, 938, 939, 943, + 944, 945, 949, 951, 953, 957, 958, 959, 960, 968, + 970, 972, 977, 979, 984, 985, 990, 991, 992, 993, + 998, 1007, 1009, 1010, 1015, 1017, 1021, 1022, 1029, 1030, + 1031, 1032, 1033, 1038, 1046, 1047, 1050, 1051, 1054, 1061, + 1062, 1067, 1068, 1072, 1073, 1074, 1075, 1076, 1080, 1081, + 1082, 1085, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, + 1096, 1097, 1100, 1107, 1109, 1115, 1116, 1117 }; #endif -#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE +#if YYDEBUG || YYERROR_VERBOSE || 1 /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { - "$end", "error", "$undefined", "aIDENTIFIER", "aKNOWNTYPE", "aNUM", - "aHEXNUM", "aDOUBLE", "aSTRING", "aWSTRING", "aSQSTRING", "aUUID", - "aEOF", "SHL", "SHR", "MEMBERPTR", "EQUALITY", "INEQUALITY", + "$end", "error", "$undefined", "aIDENTIFIER", "aPRAGMA", "aKNOWNTYPE", + "aNUM", "aHEXNUM", "aDOUBLE", "aSTRING", "aWSTRING", "aSQSTRING", + "aUUID", "aEOF", "SHL", "SHR", "MEMBERPTR", "EQUALITY", "INEQUALITY", "GREATEREQUAL", "LESSEQUAL", "LOGICALOR", "LOGICALAND", "ELLIPSIS", "tAGGREGATABLE", "tALLOCATE", "tANNOTATION", "tAPPOBJECT", "tASYNC", "tASYNCUUID", "tAUTOHANDLE", "tBINDABLE", "tBOOLEAN", "tBROADCAST", @@ -1052,7 +1058,7 @@ "any_declarator_no_direct", "m_any_declarator", "any_direct_declarator", "declarator_list", "m_bitfield", "struct_declarator", "struct_declarator_list", "init_declarator", "threading_type", - "pointer_type", "structdef", "type", "typedef", "uniondef", "version", 0 + "pointer_type", "structdef", "type", "typedef", "uniondef", "version", YY_NULL }; #endif @@ -1079,54 +1085,54 @@ 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, - 44, 63, 58, 124, 94, 38, 60, 62, 45, 43, - 42, 47, 37, 33, 126, 435, 436, 437, 438, 439, - 46, 91, 93, 123, 125, 59, 40, 41, 61 + 435, 44, 63, 58, 124, 94, 38, 60, 62, 45, + 43, 42, 47, 37, 33, 126, 436, 437, 438, 439, + 440, 46, 91, 93, 123, 125, 59, 40, 41, 61 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint16 yyr1[] = { - 0, 209, 210, 211, 211, 211, 211, 211, 211, 211, - 211, 211, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 213, 213, 214, 214, 215, 215, 215, 215, - 215, 216, 216, 216, 216, 216, 216, 216, 216, 216, - 217, 218, 219, 220, 221, 222, 223, 224, 224, 225, - 225, 226, 226, 227, 227, 228, 228, 228, 229, 229, - 230, 231, 231, 231, 232, 232, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 234, 234, 235, 235, - 235, 235, 236, 236, 237, 237, 238, 238, 238, 239, - 239, 240, 240, 241, 242, 242, 243, 243, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 244, 244, 245, - 245, 246, 247, 248, 248, 249, 249, 250, 250, 251, - 251, 252, 252, 253, 253, 254, 255, 255, 256, 256, - 257, 257, 257, 258, 258, 259, 259, 259, 259, 259, - 259, 259, 259, 259, 259, 259, 260, 260, 261, 261, - 261, 261, 261, 261, 261, 261, 262, 262, 263, 264, - 265, 266, 266, 267, 268, 268, 269, 270, 270, 271, - 271, 272, 272, 273, 273, 274, 274, 275, 276, 276, - 276, 277, 277, 278, 278, 279, 280, 281, 281, 281, - 282, 283, 284, 284, 285, 285, 286, 286, 287, 287, - 287, 288, 288, 288, 289, 289, 289, 289, 290, 290, - 290, 291, 291, 292, 292, 293, 293, 293, 293, 293, - 294, 294, 294, 295, 295, 296, 296, 297, 297, 297, - 297, 297, 297, 298, 298, 299, 299, 300, 301, 301, - 302, 302, 303, 303, 303, 303, 303, 304, 304, 304, - 305, 306, 306, 306, 306, 306, 306, 306, 306, 306, - 306, 307, 308, 308, 309, 309, 309 + 0, 210, 211, 212, 212, 212, 212, 212, 212, 212, + 212, 212, 213, 213, 213, 213, 213, 213, 213, 213, + 213, 213, 214, 214, 215, ... [truncated message content] |
From: <kti...@us...> - 2014-03-25 16:43:57
|
Revision: 6552 http://sourceforge.net/p/mingw-w64/code/6552 Author: ktietz70 Date: 2014-03-25 16:43:45 +0000 (Tue, 25 Mar 2014) Log Message: ----------- Add ALG-API interfaces. Modified Paths: -------------- trunk/mingw-w64-headers/Makefile.am trunk/mingw-w64-headers/Makefile.in Added Paths: ----------- trunk/mingw-w64-headers/include/alg.h trunk/mingw-w64-headers/include/alg.idl Modified: trunk/mingw-w64-headers/Makefile.am =================================================================== --- trunk/mingw-w64-headers/Makefile.am 2014-03-25 16:28:33 UTC (rev 6551) +++ trunk/mingw-w64-headers/Makefile.am 2014-03-25 16:43:45 UTC (rev 6552) @@ -65,6 +65,7 @@ include/activprof.idl \ include/activscp.idl \ include/adhoc.idl \ + include/alg.idl \ include/audioclient.idl \ include/audioendpoints.idl \ include/audiopolicy.idl \ Modified: trunk/mingw-w64-headers/Makefile.in =================================================================== --- trunk/mingw-w64-headers/Makefile.in 2014-03-25 16:28:33 UTC (rev 6551) +++ trunk/mingw-w64-headers/Makefile.in 2014-03-25 16:43:45 UTC (rev 6552) @@ -289,6 +289,7 @@ @HAVE_WIDL_TRUE@ include/activprof.idl \ @HAVE_WIDL_TRUE@ include/activscp.idl \ @HAVE_WIDL_TRUE@ include/adhoc.idl \ +@HAVE_WIDL_TRUE@ include/alg.idl \ @HAVE_WIDL_TRUE@ include/audioclient.idl \ @HAVE_WIDL_TRUE@ include/audioendpoints.idl \ @HAVE_WIDL_TRUE@ include/audiopolicy.idl \ Added: trunk/mingw-w64-headers/include/alg.h =================================================================== --- trunk/mingw-w64-headers/include/alg.h (rev 0) +++ trunk/mingw-w64-headers/include/alg.h 2014-03-25 16:43:45 UTC (rev 6552) @@ -0,0 +1,1933 @@ +/*** Autogenerated by WIDL 1.6 from alg.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __alg_h__ +#define __alg_h__ + +/* Forward declarations */ + +#ifndef __IAdapterInfo_FWD_DEFINED__ +#define __IAdapterInfo_FWD_DEFINED__ +typedef interface IAdapterInfo IAdapterInfo; +#endif + +#ifndef __IPendingProxyConnection_FWD_DEFINED__ +#define __IPendingProxyConnection_FWD_DEFINED__ +typedef interface IPendingProxyConnection IPendingProxyConnection; +#endif + +#ifndef __IDataChannel_FWD_DEFINED__ +#define __IDataChannel_FWD_DEFINED__ +typedef interface IDataChannel IDataChannel; +#endif + +#ifndef __IPersistentDataChannel_FWD_DEFINED__ +#define __IPersistentDataChannel_FWD_DEFINED__ +typedef interface IPersistentDataChannel IPersistentDataChannel; +#endif + +#ifndef __IPrimaryControlChannel_FWD_DEFINED__ +#define __IPrimaryControlChannel_FWD_DEFINED__ +typedef interface IPrimaryControlChannel IPrimaryControlChannel; +#endif + +#ifndef __ISecondaryControlChannel_FWD_DEFINED__ +#define __ISecondaryControlChannel_FWD_DEFINED__ +typedef interface ISecondaryControlChannel ISecondaryControlChannel; +#endif + +#ifndef __IEnumAdapterInfo_FWD_DEFINED__ +#define __IEnumAdapterInfo_FWD_DEFINED__ +typedef interface IEnumAdapterInfo IEnumAdapterInfo; +#endif + +#ifndef __IAdapterNotificationSink_FWD_DEFINED__ +#define __IAdapterNotificationSink_FWD_DEFINED__ +typedef interface IAdapterNotificationSink IAdapterNotificationSink; +#endif + +#ifndef __IApplicationGatewayServices_FWD_DEFINED__ +#define __IApplicationGatewayServices_FWD_DEFINED__ +typedef interface IApplicationGatewayServices IApplicationGatewayServices; +#endif + +#ifndef __IApplicationGateway_FWD_DEFINED__ +#define __IApplicationGateway_FWD_DEFINED__ +typedef interface IApplicationGateway IApplicationGateway; +#endif + +#ifndef __ApplicationGatewayServices_FWD_DEFINED__ +#define __ApplicationGatewayServices_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ApplicationGatewayServices ApplicationGatewayServices; +#else +typedef struct ApplicationGatewayServices ApplicationGatewayServices; +#endif /* defined __cplusplus */ +#endif /* defined __ApplicationGatewayServices_FWD_DEFINED__ */ + +#ifndef __PrimaryControlChannel_FWD_DEFINED__ +#define __PrimaryControlChannel_FWD_DEFINED__ +#ifdef __cplusplus +typedef class PrimaryControlChannel PrimaryControlChannel; +#else +typedef struct PrimaryControlChannel PrimaryControlChannel; +#endif /* defined __cplusplus */ +#endif /* defined __PrimaryControlChannel_FWD_DEFINED__ */ + +#ifndef __SecondaryControlChannel_FWD_DEFINED__ +#define __SecondaryControlChannel_FWD_DEFINED__ +#ifdef __cplusplus +typedef class SecondaryControlChannel SecondaryControlChannel; +#else +typedef struct SecondaryControlChannel SecondaryControlChannel; +#endif /* defined __cplusplus */ +#endif /* defined __SecondaryControlChannel_FWD_DEFINED__ */ + +#ifndef __AdapterInfo_FWD_DEFINED__ +#define __AdapterInfo_FWD_DEFINED__ +#ifdef __cplusplus +typedef class AdapterInfo AdapterInfo; +#else +typedef struct AdapterInfo AdapterInfo; +#endif /* defined __cplusplus */ +#endif /* defined __AdapterInfo_FWD_DEFINED__ */ + +#ifndef __EnumAdapterInfo_FWD_DEFINED__ +#define __EnumAdapterInfo_FWD_DEFINED__ +#ifdef __cplusplus +typedef class EnumAdapterInfo EnumAdapterInfo; +#else +typedef struct EnumAdapterInfo EnumAdapterInfo; +#endif /* defined __cplusplus */ +#endif /* defined __EnumAdapterInfo_FWD_DEFINED__ */ + +#ifndef __PendingProxyConnection_FWD_DEFINED__ +#define __PendingProxyConnection_FWD_DEFINED__ +#ifdef __cplusplus +typedef class PendingProxyConnection PendingProxyConnection; +#else +typedef struct PendingProxyConnection PendingProxyConnection; +#endif /* defined __cplusplus */ +#endif /* defined __PendingProxyConnection_FWD_DEFINED__ */ + +#ifndef __DataChannel_FWD_DEFINED__ +#define __DataChannel_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DataChannel DataChannel; +#else +typedef struct DataChannel DataChannel; +#endif /* defined __cplusplus */ +#endif /* defined __DataChannel_FWD_DEFINED__ */ + +#ifndef __PersistentDataChannel_FWD_DEFINED__ +#define __PersistentDataChannel_FWD_DEFINED__ +#ifdef __cplusplus +typedef class PersistentDataChannel PersistentDataChannel; +#else +typedef struct PersistentDataChannel PersistentDataChannel; +#endif /* defined __cplusplus */ +#endif /* defined __PersistentDataChannel_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include <oaidl.h> +#include <ocidl.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +typedef enum _ALG_ADAPTER_TYPE { + eALG_PRIVATE = 0x1, + eALG_BOUNDARY = 0x2, + eALG_FIREWALLED = 0x4 +} ALG_ADAPTER_TYPE; +typedef enum _ALG_CAPTURE { + eALG_SOURCE_CAPTURE = 0x1, + eALG_DESTINATION_CAPTURE = 0x2 +} ALG_CAPTURE; +typedef enum _ALG_DIRECTION { + eALG_INBOUND = 0x1, + eALG_OUTBOUND = 0x2, + eALG_BOTH = 0x3 +} ALG_DIRECTION; +typedef enum _ALG_NOTIFICATION { + eALG_NONE = 0x0, + eALG_SESSION_CREATION = 0x1, + eALG_SESSION_DELETION = 0x2, + eALG_SESSION_BOTH = 0x3 +} ALG_NOTIFICATION; +typedef enum _ALG_PROTOCOL { + eALG_TCP = 0x1, + eALG_UDP = 0x2 +} ALG_PROTOCOL; +typedef struct _ALG_PRIMARY_CHANNEL_PROPERTIES { + ALG_PROTOCOL eProtocol; + USHORT usCapturePort; + ALG_CAPTURE eCaptureType; + WINBOOL fCaptureInbound; + ULONG ulListeningAddress; + USHORT usListeningPort; + ULONG ulAdapterIndex; +} ALG_PRIMARY_CHANNEL_PROPERTIES; +typedef struct _ALG_SECONDARY_CHANNEL_PROPERTIES { + ALG_PROTOCOL eProtocol; + ULONG ulPrivateAddress; + USHORT usPrivatePort; + ULONG ulPublicAddress; + USHORT usPublicPort; + ULONG ulRemoteAddress; + USHORT usRemotePort; + ULONG ulListenAddress; + USHORT usListenPort; + ALG_DIRECTION eDirection; + WINBOOL fPersistent; +} ALG_SECONDARY_CHANNEL_PROPERTIES; +typedef struct _ALG_DATA_CHANNEL_PROPERTIES { + ALG_PROTOCOL eProtocol; + ULONG ulPrivateAddress; + USHORT usPrivatePort; + ULONG ulPublicAddress; + USHORT usPublicPort; + ULONG ulRemoteAddress; + USHORT usRemotePort; + ALG_DIRECTION eDirection; + ALG_NOTIFICATION eDesiredNotification; +} ALG_DATA_CHANNEL_PROPERTIES; +typedef struct _ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES { + ALG_PROTOCOL eProtocol; + ULONG ulPrivateAddress; + USHORT usPrivatePort; + ULONG ulPublicAddress; + USHORT usPublicPort; + ULONG ulRemoteAddress; + USHORT usRemotePort; + ALG_DIRECTION eDirection; +} ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES; +#define ALG_MAXIMUM_PORT_RANGE_SIZE (10) + +/***************************************************************************** + * IAdapterInfo interface + */ +#ifndef __IAdapterInfo_INTERFACE_DEFINED__ +#define __IAdapterInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAdapterInfo, 0x480bf94a, 0x09fd, 0x4f8a, 0xa3,0xe0, 0xb0,0x70,0x02,0x82,0xd8,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("480bf94a-09fd-4f8a-a3e0-b0700282d84d") +IAdapterInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetAdapterIndex( + ULONG *pulIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAdapterType( + ALG_ADAPTER_TYPE *pAdapterType) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAdapterAddresses( + ULONG *pulAddressCount, + ULONG **prgAddresses) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAdapterInfo, 0x480bf94a, 0x09fd, 0x4f8a, 0xa3,0xe0, 0xb0,0x70,0x02,0x82,0xd8,0x4d) +#endif +#else +typedef struct IAdapterInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAdapterInfo* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAdapterInfo* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAdapterInfo* This); + + /*** IAdapterInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetAdapterIndex)( + IAdapterInfo* This, + ULONG *pulIndex); + + HRESULT (STDMETHODCALLTYPE *GetAdapterType)( + IAdapterInfo* This, + ALG_ADAPTER_TYPE *pAdapterType); + + HRESULT (STDMETHODCALLTYPE *GetAdapterAddresses)( + IAdapterInfo* This, + ULONG *pulAddressCount, + ULONG **prgAddresses); + + END_INTERFACE +} IAdapterInfoVtbl; +interface IAdapterInfo { + CONST_VTBL IAdapterInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAdapterInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAdapterInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAdapterInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IAdapterInfo methods ***/ +#define IAdapterInfo_GetAdapterIndex(This,pulIndex) (This)->lpVtbl->GetAdapterIndex(This,pulIndex) +#define IAdapterInfo_GetAdapterType(This,pAdapterType) (This)->lpVtbl->GetAdapterType(This,pAdapterType) +#define IAdapterInfo_GetAdapterAddresses(This,pulAddressCount,prgAddresses) (This)->lpVtbl->GetAdapterAddresses(This,pulAddressCount,prgAddresses) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAdapterInfo_QueryInterface(IAdapterInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAdapterInfo_AddRef(IAdapterInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAdapterInfo_Release(IAdapterInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IAdapterInfo methods ***/ +static FORCEINLINE HRESULT IAdapterInfo_GetAdapterIndex(IAdapterInfo* This,ULONG *pulIndex) { + return This->lpVtbl->GetAdapterIndex(This,pulIndex); +} +static FORCEINLINE HRESULT IAdapterInfo_GetAdapterType(IAdapterInfo* This,ALG_ADAPTER_TYPE *pAdapterType) { + return This->lpVtbl->GetAdapterType(This,pAdapterType); +} +static FORCEINLINE HRESULT IAdapterInfo_GetAdapterAddresses(IAdapterInfo* This,ULONG *pulAddressCount,ULONG **prgAddresses) { + return This->lpVtbl->GetAdapterAddresses(This,pulAddressCount,prgAddresses); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IAdapterInfo_GetAdapterIndex_Proxy( + IAdapterInfo* This, + ULONG *pulIndex); +void __RPC_STUB IAdapterInfo_GetAdapterIndex_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdapterInfo_GetAdapterType_Proxy( + IAdapterInfo* This, + ALG_ADAPTER_TYPE *pAdapterType); +void __RPC_STUB IAdapterInfo_GetAdapterType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdapterInfo_GetAdapterAddresses_Proxy( + IAdapterInfo* This, + ULONG *pulAddressCount, + ULONG **prgAddresses); +void __RPC_STUB IAdapterInfo_GetAdapterAddresses_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IAdapterInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPendingProxyConnection interface + */ +#ifndef __IPendingProxyConnection_INTERFACE_DEFINED__ +#define __IPendingProxyConnection_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPendingProxyConnection, 0xb68e5043, 0x3e3d, 0x4cc2, 0xb9,0xc1, 0x5f,0x8f,0x88,0xfe,0xe8,0x1c); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b68e5043-3e3d-4cc2-b9c1-5f8f88fee81c") +IPendingProxyConnection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPendingProxyConnection, 0xb68e5043, 0x3e3d, 0x4cc2, 0xb9,0xc1, 0x5f,0x8f,0x88,0xfe,0xe8,0x1c) +#endif +#else +typedef struct IPendingProxyConnectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPendingProxyConnection* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPendingProxyConnection* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPendingProxyConnection* This); + + /*** IPendingProxyConnection methods ***/ + HRESULT (STDMETHODCALLTYPE *Cancel)( + IPendingProxyConnection* This); + + END_INTERFACE +} IPendingProxyConnectionVtbl; +interface IPendingProxyConnection { + CONST_VTBL IPendingProxyConnectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPendingProxyConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPendingProxyConnection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPendingProxyConnection_Release(This) (This)->lpVtbl->Release(This) +/*** IPendingProxyConnection methods ***/ +#define IPendingProxyConnection_Cancel(This) (This)->lpVtbl->Cancel(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPendingProxyConnection_QueryInterface(IPendingProxyConnection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPendingProxyConnection_AddRef(IPendingProxyConnection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPendingProxyConnection_Release(IPendingProxyConnection* This) { + return This->lpVtbl->Release(This); +} +/*** IPendingProxyConnection methods ***/ +static FORCEINLINE HRESULT IPendingProxyConnection_Cancel(IPendingProxyConnection* This) { + return This->lpVtbl->Cancel(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IPendingProxyConnection_Cancel_Proxy( + IPendingProxyConnection* This); +void __RPC_STUB IPendingProxyConnection_Cancel_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IPendingProxyConnection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDataChannel interface + */ +#ifndef __IDataChannel_INTERFACE_DEFINED__ +#define __IDataChannel_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDataChannel, 0xad42d12a, 0x4ad0, 0x4856, 0x91,0x9e, 0xe8,0x54,0xc9,0x1d,0x18,0x56); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ad42d12a-4ad0-4856-919e-e854c91d1856") +IDataChannel : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelProperties( + ALG_DATA_CHANNEL_PROPERTIES **ppProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSessionCreationEventHandle( + HANDLE *pHandle) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSessionDeletionEventHandle( + HANDLE *pHandle) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDataChannel, 0xad42d12a, 0x4ad0, 0x4856, 0x91,0x9e, 0xe8,0x54,0xc9,0x1d,0x18,0x56) +#endif +#else +typedef struct IDataChannelVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDataChannel* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDataChannel* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDataChannel* This); + + /*** IDataChannel methods ***/ + HRESULT (STDMETHODCALLTYPE *Cancel)( + IDataChannel* This); + + HRESULT (STDMETHODCALLTYPE *GetChannelProperties)( + IDataChannel* This, + ALG_DATA_CHANNEL_PROPERTIES **ppProperties); + + HRESULT (STDMETHODCALLTYPE *GetSessionCreationEventHandle)( + IDataChannel* This, + HANDLE *pHandle); + + HRESULT (STDMETHODCALLTYPE *GetSessionDeletionEventHandle)( + IDataChannel* This, + HANDLE *pHandle); + + END_INTERFACE +} IDataChannelVtbl; +interface IDataChannel { + CONST_VTBL IDataChannelVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDataChannel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDataChannel_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDataChannel_Release(This) (This)->lpVtbl->Release(This) +/*** IDataChannel methods ***/ +#define IDataChannel_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IDataChannel_GetChannelProperties(This,ppProperties) (This)->lpVtbl->GetChannelProperties(This,ppProperties) +#define IDataChannel_GetSessionCreationEventHandle(This,pHandle) (This)->lpVtbl->GetSessionCreationEventHandle(This,pHandle) +#define IDataChannel_GetSessionDeletionEventHandle(This,pHandle) (This)->lpVtbl->GetSessionDeletionEventHandle(This,pHandle) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDataChannel_QueryInterface(IDataChannel* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDataChannel_AddRef(IDataChannel* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDataChannel_Release(IDataChannel* This) { + return This->lpVtbl->Release(This); +} +/*** IDataChannel methods ***/ +static FORCEINLINE HRESULT IDataChannel_Cancel(IDataChannel* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IDataChannel_GetChannelProperties(IDataChannel* This,ALG_DATA_CHANNEL_PROPERTIES **ppProperties) { + return This->lpVtbl->GetChannelProperties(This,ppProperties); +} +static FORCEINLINE HRESULT IDataChannel_GetSessionCreationEventHandle(IDataChannel* This,HANDLE *pHandle) { + return This->lpVtbl->GetSessionCreationEventHandle(This,pHandle); +} +static FORCEINLINE HRESULT IDataChannel_GetSessionDeletionEventHandle(IDataChannel* This,HANDLE *pHandle) { + return This->lpVtbl->GetSessionDeletionEventHandle(This,pHandle); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IDataChannel_Cancel_Proxy( + IDataChannel* This); +void __RPC_STUB IDataChannel_Cancel_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDataChannel_GetChannelProperties_Proxy( + IDataChannel* This, + ALG_DATA_CHANNEL_PROPERTIES **ppProperties); +void __RPC_STUB IDataChannel_GetChannelProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDataChannel_GetSessionCreationEventHandle_Proxy( + IDataChannel* This, + HANDLE *pHandle); +void __RPC_STUB IDataChannel_GetSessionCreationEventHandle_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDataChannel_GetSessionDeletionEventHandle_Proxy( + IDataChannel* This, + HANDLE *pHandle); +void __RPC_STUB IDataChannel_GetSessionDeletionEventHandle_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IDataChannel_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPersistentDataChannel interface + */ +#ifndef __IPersistentDataChannel_INTERFACE_DEFINED__ +#define __IPersistentDataChannel_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPersistentDataChannel, 0xa180e934, 0xd92a, 0x415d, 0x91,0x44, 0x75,0x9f,0x80,0x54,0xe8,0xf6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a180e934-d92a-415d-9144-759f8054e8f6") +IPersistentDataChannel : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelProperties( + ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES **ppProperties) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPersistentDataChannel, 0xa180e934, 0xd92a, 0x415d, 0x91,0x44, 0x75,0x9f,0x80,0x54,0xe8,0xf6) +#endif +#else +typedef struct IPersistentDataChannelVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPersistentDataChannel* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPersistentDataChannel* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPersistentDataChannel* This); + + /*** IPersistentDataChannel methods ***/ + HRESULT (STDMETHODCALLTYPE *Cancel)( + IPersistentDataChannel* This); + + HRESULT (STDMETHODCALLTYPE *GetChannelProperties)( + IPersistentDataChannel* This, + ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES **ppProperties); + + END_INTERFACE +} IPersistentDataChannelVtbl; +interface IPersistentDataChannel { + CONST_VTBL IPersistentDataChannelVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPersistentDataChannel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPersistentDataChannel_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPersistentDataChannel_Release(This) (This)->lpVtbl->Release(This) +/*** IPersistentDataChannel methods ***/ +#define IPersistentDataChannel_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IPersistentDataChannel_GetChannelProperties(This,ppProperties) (This)->lpVtbl->GetChannelProperties(This,ppProperties) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPersistentDataChannel_QueryInterface(IPersistentDataChannel* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPersistentDataChannel_AddRef(IPersistentDataChannel* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPersistentDataChannel_Release(IPersistentDataChannel* This) { + return This->lpVtbl->Release(This); +} +/*** IPersistentDataChannel methods ***/ +static FORCEINLINE HRESULT IPersistentDataChannel_Cancel(IPersistentDataChannel* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IPersistentDataChannel_GetChannelProperties(IPersistentDataChannel* This,ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES **ppProperties) { + return This->lpVtbl->GetChannelProperties(This,ppProperties); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IPersistentDataChannel_Cancel_Proxy( + IPersistentDataChannel* This); +void __RPC_STUB IPersistentDataChannel_Cancel_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IPersistentDataChannel_GetChannelProperties_Proxy( + IPersistentDataChannel* This, + ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES **ppProperties); +void __RPC_STUB IPersistentDataChannel_GetChannelProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IPersistentDataChannel_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IPrimaryControlChannel interface + */ +#ifndef __IPrimaryControlChannel_INTERFACE_DEFINED__ +#define __IPrimaryControlChannel_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IPrimaryControlChannel, 0x1a2e8b62, 0x9012, 0x4be6, 0x84,0xae, 0x32,0xbd,0x66,0xba,0x65,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1a2e8b62-9012-4be6-84ae-32bd66ba657a") +IPrimaryControlChannel : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelProperties( + ALG_PRIMARY_CHANNEL_PROPERTIES **ppProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOriginalDestinationInformation( + ULONG ulSourceAddress, + USHORT usSourcePort, + ULONG *pulOriginalDestinationAddress, + USHORT *pusOriginalDestinationPort, + ULONG *pulRemapDestinationAddress, + USHORT *pulRemapDestinationPort, + IAdapterInfo **ppReceiveAdapter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IPrimaryControlChannel, 0x1a2e8b62, 0x9012, 0x4be6, 0x84,0xae, 0x32,0xbd,0x66,0xba,0x65,0x7a) +#endif +#else +typedef struct IPrimaryControlChannelVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IPrimaryControlChannel* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IPrimaryControlChannel* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IPrimaryControlChannel* This); + + /*** IPrimaryControlChannel methods ***/ + HRESULT (STDMETHODCALLTYPE *Cancel)( + IPrimaryControlChannel* This); + + HRESULT (STDMETHODCALLTYPE *GetChannelProperties)( + IPrimaryControlChannel* This, + ALG_PRIMARY_CHANNEL_PROPERTIES **ppProperties); + + HRESULT (STDMETHODCALLTYPE *GetOriginalDestinationInformation)( + IPrimaryControlChannel* This, + ULONG ulSourceAddress, + USHORT usSourcePort, + ULONG *pulOriginalDestinationAddress, + USHORT *pusOriginalDestinationPort, + ULONG *pulRemapDestinationAddress, + USHORT *pulRemapDestinationPort, + IAdapterInfo **ppReceiveAdapter); + + END_INTERFACE +} IPrimaryControlChannelVtbl; +interface IPrimaryControlChannel { + CONST_VTBL IPrimaryControlChannelVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IPrimaryControlChannel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IPrimaryControlChannel_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IPrimaryControlChannel_Release(This) (This)->lpVtbl->Release(This) +/*** IPrimaryControlChannel methods ***/ +#define IPrimaryControlChannel_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IPrimaryControlChannel_GetChannelProperties(This,ppProperties) (This)->lpVtbl->GetChannelProperties(This,ppProperties) +#define IPrimaryControlChannel_GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,pulRemapDestinationAddress,pulRemapDestinationPort,ppReceiveAdapter) (This)->lpVtbl->GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,pulRemapDestinationAddress,pulRemapDestinationPort,ppReceiveAdapter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IPrimaryControlChannel_QueryInterface(IPrimaryControlChannel* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IPrimaryControlChannel_AddRef(IPrimaryControlChannel* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IPrimaryControlChannel_Release(IPrimaryControlChannel* This) { + return This->lpVtbl->Release(This); +} +/*** IPrimaryControlChannel methods ***/ +static FORCEINLINE HRESULT IPrimaryControlChannel_Cancel(IPrimaryControlChannel* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IPrimaryControlChannel_GetChannelProperties(IPrimaryControlChannel* This,ALG_PRIMARY_CHANNEL_PROPERTIES **ppProperties) { + return This->lpVtbl->GetChannelProperties(This,ppProperties); +} +static FORCEINLINE HRESULT IPrimaryControlChannel_GetOriginalDestinationInformation(IPrimaryControlChannel* This,ULONG ulSourceAddress,USHORT usSourcePort,ULONG *pulOriginalDestinationAddress,USHORT *pusOriginalDestinationPort,ULONG *pulRemapDestinationAddress,USHORT *pulRemapDestinationPort,IAdapterInfo **ppReceiveAdapter) { + return This->lpVtbl->GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,pulRemapDestinationAddress,pulRemapDestinationPort,ppReceiveAdapter); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IPrimaryControlChannel_Cancel_Proxy( + IPrimaryControlChannel* This); +void __RPC_STUB IPrimaryControlChannel_Cancel_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IPrimaryControlChannel_GetChannelProperties_Proxy( + IPrimaryControlChannel* This, + ALG_PRIMARY_CHANNEL_PROPERTIES **ppProperties); +void __RPC_STUB IPrimaryControlChannel_GetChannelProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IPrimaryControlChannel_GetOriginalDestinationInformation_Proxy( + IPrimaryControlChannel* This, + ULONG ulSourceAddress, + USHORT usSourcePort, + ULONG *pulOriginalDestinationAddress, + USHORT *pusOriginalDestinationPort, + ULONG *pulRemapDestinationAddress, + USHORT *pulRemapDestinationPort, + IAdapterInfo **ppReceiveAdapter); +void __RPC_STUB IPrimaryControlChannel_GetOriginalDestinationInformation_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IPrimaryControlChannel_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * ISecondaryControlChannel interface + */ +#ifndef __ISecondaryControlChannel_INTERFACE_DEFINED__ +#define __ISecondaryControlChannel_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_ISecondaryControlChannel, 0xa23f9d10, 0x714c, 0x41fe, 0x84,0x71, 0xff,0xb1,0x9b,0xc2,0x84,0x54); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a23f9d10-714c-41fe-8471-ffb19bc28454") +ISecondaryControlChannel : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Cancel( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetChannelProperties( + ALG_SECONDARY_CHANNEL_PROPERTIES **ppProperties) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetOriginalDestinationInformation( + ULONG ulSourceAddress, + USHORT usSourcePort, + ULONG *pulOriginalDestinationAddress, + USHORT *pusOriginalDestinationPort, + IAdapterInfo **ppReceiveAdapter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(ISecondaryControlChannel, 0xa23f9d10, 0x714c, 0x41fe, 0x84,0x71, 0xff,0xb1,0x9b,0xc2,0x84,0x54) +#endif +#else +typedef struct ISecondaryControlChannelVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + ISecondaryControlChannel* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + ISecondaryControlChannel* This); + + ULONG (STDMETHODCALLTYPE *Release)( + ISecondaryControlChannel* This); + + /*** ISecondaryControlChannel methods ***/ + HRESULT (STDMETHODCALLTYPE *Cancel)( + ISecondaryControlChannel* This); + + HRESULT (STDMETHODCALLTYPE *GetChannelProperties)( + ISecondaryControlChannel* This, + ALG_SECONDARY_CHANNEL_PROPERTIES **ppProperties); + + HRESULT (STDMETHODCALLTYPE *GetOriginalDestinationInformation)( + ISecondaryControlChannel* This, + ULONG ulSourceAddress, + USHORT usSourcePort, + ULONG *pulOriginalDestinationAddress, + USHORT *pusOriginalDestinationPort, + IAdapterInfo **ppReceiveAdapter); + + END_INTERFACE +} ISecondaryControlChannelVtbl; +interface ISecondaryControlChannel { + CONST_VTBL ISecondaryControlChannelVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define ISecondaryControlChannel_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define ISecondaryControlChannel_AddRef(This) (This)->lpVtbl->AddRef(This) +#define ISecondaryControlChannel_Release(This) (This)->lpVtbl->Release(This) +/*** ISecondaryControlChannel methods ***/ +#define ISecondaryControlChannel_Cancel(This) (This)->lpVtbl->Cancel(This) +#define ISecondaryControlChannel_GetChannelProperties(This,ppProperties) (This)->lpVtbl->GetChannelProperties(This,ppProperties) +#define ISecondaryControlChannel_GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,ppReceiveAdapter) (This)->lpVtbl->GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,ppReceiveAdapter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT ISecondaryControlChannel_QueryInterface(ISecondaryControlChannel* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG ISecondaryControlChannel_AddRef(ISecondaryControlChannel* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG ISecondaryControlChannel_Release(ISecondaryControlChannel* This) { + return This->lpVtbl->Release(This); +} +/*** ISecondaryControlChannel methods ***/ +static FORCEINLINE HRESULT ISecondaryControlChannel_Cancel(ISecondaryControlChannel* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT ISecondaryControlChannel_GetChannelProperties(ISecondaryControlChannel* This,ALG_SECONDARY_CHANNEL_PROPERTIES **ppProperties) { + return This->lpVtbl->GetChannelProperties(This,ppProperties); +} +static FORCEINLINE HRESULT ISecondaryControlChannel_GetOriginalDestinationInformation(ISecondaryControlChannel* This,ULONG ulSourceAddress,USHORT usSourcePort,ULONG *pulOriginalDestinationAddress,USHORT *pusOriginalDestinationPort,IAdapterInfo **ppReceiveAdapter) { + return This->lpVtbl->GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,ppReceiveAdapter); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE ISecondaryControlChannel_Cancel_Proxy( + ISecondaryControlChannel* This); +void __RPC_STUB ISecondaryControlChannel_Cancel_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ISecondaryControlChannel_GetChannelProperties_Proxy( + ISecondaryControlChannel* This, + ALG_SECONDARY_CHANNEL_PROPERTIES **ppProperties); +void __RPC_STUB ISecondaryControlChannel_GetChannelProperties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE ISecondaryControlChannel_GetOriginalDestinationInformation_Proxy( + ISecondaryControlChannel* This, + ULONG ulSourceAddress, + USHORT usSourcePort, + ULONG *pulOriginalDestinationAddress, + USHORT *pusOriginalDestinationPort, + IAdapterInfo **ppReceiveAdapter); +void __RPC_STUB ISecondaryControlChannel_GetOriginalDestinationInformation_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __ISecondaryControlChannel_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumAdapterInfo interface + */ +#ifndef __IEnumAdapterInfo_INTERFACE_DEFINED__ +#define __IEnumAdapterInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumAdapterInfo, 0xa23f9d11, 0x714c, 0x41fe, 0x84,0x71, 0xff,0xb1,0x9b,0xc2,0x84,0x54); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a23f9d11-714c-41fe-8471-ffb19bc28454") +IEnumAdapterInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG celt, + IAdapterInfo **rgAI, + ULONG *pCeltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG celt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumAdapterInfo **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumAdapterInfo, 0xa23f9d11, 0x714c, 0x41fe, 0x84,0x71, 0xff,0xb1,0x9b,0xc2,0x84,0x54) +#endif +#else +typedef struct IEnumAdapterInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumAdapterInfo* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumAdapterInfo* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IEnumAdapterInfo* This); + + /*** IEnumAdapterInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumAdapterInfo* This, + ULONG celt, + IAdapterInfo **rgAI, + ULONG *pCeltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumAdapterInfo* This, + ULONG celt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumAdapterInfo* This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumAdapterInfo* This, + IEnumAdapterInfo **ppEnum); + + END_INTERFACE +} IEnumAdapterInfoVtbl; +interface IEnumAdapterInfo { + CONST_VTBL IEnumAdapterInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumAdapterInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumAdapterInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumAdapterInfo_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumAdapterInfo methods ***/ +#define IEnumAdapterInfo_Next(This,celt,rgAI,pCeltFetched) (This)->lpVtbl->Next(This,celt,rgAI,pCeltFetched) +#define IEnumAdapterInfo_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) +#define IEnumAdapterInfo_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumAdapterInfo_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumAdapterInfo_QueryInterface(IEnumAdapterInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumAdapterInfo_AddRef(IEnumAdapterInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumAdapterInfo_Release(IEnumAdapterInfo* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumAdapterInfo methods ***/ +static FORCEINLINE HRESULT IEnumAdapterInfo_Next(IEnumAdapterInfo* This,ULONG celt,IAdapterInfo **rgAI,ULONG *pCeltFetched) { + return This->lpVtbl->Next(This,celt,rgAI,pCeltFetched); +} +static FORCEINLINE HRESULT IEnumAdapterInfo_Skip(IEnumAdapterInfo* This,ULONG celt) { + return This->lpVtbl->Skip(This,celt); +} +static FORCEINLINE HRESULT IEnumAdapterInfo_Reset(IEnumAdapterInfo* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumAdapterInfo_Clone(IEnumAdapterInfo* This,IEnumAdapterInfo **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumAdapterInfo_Next_Proxy( + IEnumAdapterInfo* This, + ULONG celt, + IAdapterInfo **rgAI, + ULONG *pCeltFetched); +void __RPC_STUB IEnumAdapterInfo_Next_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IEnumAdapterInfo_Skip_Proxy( + IEnumAdapterInfo* This, + ULONG celt); +void __RPC_STUB IEnumAdapterInfo_Skip_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IEnumAdapterInfo_Reset_Proxy( + IEnumAdapterInfo* This); +void __RPC_STUB IEnumAdapterInfo_Reset_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IEnumAdapterInfo_Clone_Proxy( + IEnumAdapterInfo* This, + IEnumAdapterInfo **ppEnum); +void __RPC_STUB IEnumAdapterInfo_Clone_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IEnumAdapterInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IAdapterNotificationSink interface + */ +#ifndef __IAdapterNotificationSink_INTERFACE_DEFINED__ +#define __IAdapterNotificationSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IAdapterNotificationSink, 0x44ab2dc3, 0x23b2, 0x47de, 0x82,0x28, 0x2e,0x1c,0xce,0xeb,0x99,0x11); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("44ab2dc3-23b2-47de-8228-2e1cceeb9911") +IAdapterNotificationSink : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE AdapterAdded( + IAdapterInfo *pAdapter) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdapterRemoved( + IAdapterInfo *pAdapter) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdapterModified( + IAdapterInfo *pAdapter) = 0; + + virtual HRESULT STDMETHODCALLTYPE AdapterUpdatePortMapping( + IAdapterInfo *pAdapter) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IAdapterNotificationSink, 0x44ab2dc3, 0x23b2, 0x47de, 0x82,0x28, 0x2e,0x1c,0xce,0xeb,0x99,0x11) +#endif +#else +typedef struct IAdapterNotificationSinkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IAdapterNotificationSink* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IAdapterNotificationSink* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IAdapterNotificationSink* This); + + /*** IAdapterNotificationSink methods ***/ + HRESULT (STDMETHODCALLTYPE *AdapterAdded)( + IAdapterNotificationSink* This, + IAdapterInfo *pAdapter); + + HRESULT (STDMETHODCALLTYPE *AdapterRemoved)( + IAdapterNotificationSink* This, + IAdapterInfo *pAdapter); + + HRESULT (STDMETHODCALLTYPE *AdapterModified)( + IAdapterNotificationSink* This, + IAdapterInfo *pAdapter); + + HRESULT (STDMETHODCALLTYPE *AdapterUpdatePortMapping)( + IAdapterNotificationSink* This, + IAdapterInfo *pAdapter); + + END_INTERFACE +} IAdapterNotificationSinkVtbl; +interface IAdapterNotificationSink { + CONST_VTBL IAdapterNotificationSinkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IAdapterNotificationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IAdapterNotificationSink_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IAdapterNotificationSink_Release(This) (This)->lpVtbl->Release(This) +/*** IAdapterNotificationSink methods ***/ +#define IAdapterNotificationSink_AdapterAdded(This,pAdapter) (This)->lpVtbl->AdapterAdded(This,pAdapter) +#define IAdapterNotificationSink_AdapterRemoved(This,pAdapter) (This)->lpVtbl->AdapterRemoved(This,pAdapter) +#define IAdapterNotificationSink_AdapterModified(This,pAdapter) (This)->lpVtbl->AdapterModified(This,pAdapter) +#define IAdapterNotificationSink_AdapterUpdatePortMapping(This,pAdapter) (This)->lpVtbl->AdapterUpdatePortMapping(This,pAdapter) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IAdapterNotificationSink_QueryInterface(IAdapterNotificationSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IAdapterNotificationSink_AddRef(IAdapterNotificationSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IAdapterNotificationSink_Release(IAdapterNotificationSink* This) { + return This->lpVtbl->Release(This); +} +/*** IAdapterNotificationSink methods ***/ +static FORCEINLINE HRESULT IAdapterNotificationSink_AdapterAdded(IAdapterNotificationSink* This,IAdapterInfo *pAdapter) { + return This->lpVtbl->AdapterAdded(This,pAdapter); +} +static FORCEINLINE HRESULT IAdapterNotificationSink_AdapterRemoved(IAdapterNotificationSink* This,IAdapterInfo *pAdapter) { + return This->lpVtbl->AdapterRemoved(This,pAdapter); +} +static FORCEINLINE HRESULT IAdapterNotificationSink_AdapterModified(IAdapterNotificationSink* This,IAdapterInfo *pAdapter) { + return This->lpVtbl->AdapterModified(This,pAdapter); +} +static FORCEINLINE HRESULT IAdapterNotificationSink_AdapterUpdatePortMapping(IAdapterNotificationSink* This,IAdapterInfo *pAdapter) { + return This->lpVtbl->AdapterUpdatePortMapping(This,pAdapter); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IAdapterNotificationSink_AdapterAdded_Proxy( + IAdapterNotificationSink* This, + IAdapterInfo *pAdapter); +void __RPC_STUB IAdapterNotificationSink_AdapterAdded_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdapterNotificationSink_AdapterRemoved_Proxy( + IAdapterNotificationSink* This, + IAdapterInfo *pAdapter); +void __RPC_STUB IAdapterNotificationSink_AdapterRemoved_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdapterNotificationSink_AdapterModified_Proxy( + IAdapterNotificationSink* This, + IAdapterInfo *pAdapter); +void __RPC_STUB IAdapterNotificationSink_AdapterModified_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IAdapterNotificationSink_AdapterUpdatePortMapping_Proxy( + IAdapterNotificationSink* This, + IAdapterInfo *pAdapter); +void __RPC_STUB IAdapterNotificationSink_AdapterUpdatePortMapping_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IAdapterNotificationSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IApplicationGatewayServices interface + */ +#ifndef __IApplicationGatewayServices_INTERFACE_DEFINED__ +#define __IApplicationGatewayServices_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IApplicationGatewayServices, 0x5134842a, 0xfdce, 0x485d, 0x93,0xcd, 0xde,0x16,0x40,0x64,0x3b,0xbe); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5134842a-fdce-485d-93cd-de1640643bbe") +IApplicationGatewayServices : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreatePrimaryControlChannel( + ULONG uAdapterIndex, + ALG_PROTOCOL eProtocol, + USHORT usPortToCapture, + ALG_CAPTURE eCaptureType, + WINBOOL fCaptureInbound, + ULONG ulListenAddress, + USHORT usListenPort, + IPrimaryControlChannel **ppIControlChannel) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateSecondaryControlChannel( + ALG_PROTOCOL eProtocol, + ULONG ulPrivateAddress, + USHORT usPrivatePort, + ULONG ulPublicAddress, + USHORT usPublicPort, + ULONG ulRemoteAddress, + USHORT usRemotePort, + ULONG ulListenAddress, + USHORT usListenPort, + ALG_DIRECTION eDirection, + WINBOOL fPersistent, + ISecondaryControlChannel **ppControlChannel) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBestSourceAddressForDestinationAddress( + ULONG ulDstAddress, + WINBOOL fDemandDial, + ULONG *pulBestSrcAddress) = 0; + + virtual HRESULT STDMETHODCALLTYPE PrepareProxyConnection( + ALG_PROTOCOL eProtocol, + ULONG ulSrcAddress, + USHORT usSrcPort, + ULONG ulDstAddress, + USHORT usDstPort, + WINBOOL fNoTimeout, + IPendingProxyConnection **ppPendingConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE PrepareSourceModifiedProxyConnection( + ALG_PROTOCOL eProtocol, + ULONG ulSrcAddress, + USHORT usSrcPort, + ULONG ulDstAddress, + USHORT usDstPort, + ULONG ulNewSrcAddress, + USHORT usNewSourcePort, + IPendingProxyConnection **ppPendingConnection) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDataChannel( + ALG_PROTOCOL eProtocol, + ULONG ulPrivateAddress, + USHORT usPrivatePort, + ULONG ulPublicAddress, + USHORT usPublicPort, + ULONG ulRemoteAddress, + USHORT usRemotePort, + ALG_DIRECTION eDirection, + ALG_NOTIFICATION eDesiredNotification, + WINBOOL fNoTimeout, + IDataChannel **ppDataChannel) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreatePersistentDataChannel( + ALG_PROTOCOL eProtocol, + ULONG ulPrivateAddress, + USHORT usPrivatePort, + ULONG ulPublicAddress, + USHORT usPublicPort, + ULONG ulRemoteAddress, + USHORT usRemotePort, + ALG_DIRECTION eDirection, + IPersistentDataChannel **ppIPersistentDataChannel) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReservePort( + USHORT usPortCount, + USHORT *pusReservedPort) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseReservedPort( + USHORT usReservedPortBase, + USHORT usPortCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumerateAdapters( + IEnumAdapterInfo **ppIEnumAdapterInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartAdapterNotifications( + IAdapterNotificationSink *pSink, + DWORD *pdwCookie) = 0; + + virtual HRESULT STDMETHODCALLTYPE StopAdapterNotifications( + DWORD dwCookieOfSink) = 0; + + virtual HRESULT STDMETHODCALLTYPE LookupAdapterPortMapping( + ULONG ulAdapterIndex, + UCHAR Protocol, + ULONG ulDestinationAddress, + USHORT usDestinationPort, + ULONG *pulRemapAddress, + USHORT *pusRemapPort) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IApplicationGatewayServices, 0x5134842a, 0xfdce, 0x485d, 0x93,0xcd, 0xde,0x16,0x40,0x64,0x3b,0xbe) +#endif +#else +typedef struct IApplicationGatewayServicesVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IApplicationGatewayServices* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IApplicationGatewayServices* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IApplicationGatewayServices* This); + + /*** IApplicationGatewayServices methods ***/ + HRESULT (STDMETHODCALLTYPE *CreatePrimaryControlChannel)( + IApplicationGatewayServices* This, + ULONG uAdapterIndex, + ALG_PROTOCOL eProtocol, + USHORT usPortToCapture, + ALG_CAPTURE eCaptureType, + WINBOOL fCaptureInbound, + ULONG ulListenAddress, + USHORT usListenPort, + IPrimaryControlChannel **ppIControlChannel); + + HRESULT (STDMETHODCALLTYPE *CreateSecondaryControlChannel)( + IApplicationGatewayServices* This, + ALG_PROTOCOL eProtocol, + ULONG ulPrivateAddress, + USHORT usPrivatePort, + ULONG ulPublicAddress, + USHORT usPublicPort, + ULONG ulRemoteAddress, + USHORT usRemotePort, + ULONG ulListenAddress, + USHORT usListenPort, + ALG_DIRECTION eDirection, + WINBOOL fPersistent, + ISecondaryControlChannel **ppControlChannel); + + HRESULT (STDMETHODCALLTYPE *GetBestSourceAddressForDestinationAddress)( + IApplicationGatewayServices* This, + ULONG ulDstAddress, + WINBOOL fDemandDial, + ULONG *pulBestSrcAddress); + + HRESULT (STDMETHODCALLTYPE *PrepareProxyConnection)( + IApplicationGatewayServices* This, + ALG_PROTOCOL eProtocol, + ULONG ulSrcAddress, + USHORT usSrcPort, + ULONG ulDstAddress, + USHORT usDstPort, + WINBOOL fNoTimeout, + IPendingProxyConnection **ppPendingConnection); + + HRESULT (STDMETHODCALLTYPE *PrepareSourceModifiedProxyConnection)( + IApplicationGatewayServices* This, + ALG_PROTOCOL eProtocol, + ULONG ulSrcAddress, + USHORT usSrcPort, + ULONG ulDstAddress, + USHORT usDstPort, + ULONG ulNewSrcAddress, + USHORT usNewSourcePort, + IPendingProxyConnection **ppPendingConnection); + + HRESULT (STDMETHODCALLTYPE *CreateDataChannel)( + IApplicationGatewayServices* This, + ALG_PROTOCOL eProtocol, + ULONG ulPrivateAddress, + USHORT usPrivatePort, + ULONG ulPublicAddress, + USHORT usPublicPort, + ULONG ulRemoteAddress, + USHORT usRemotePort, + ALG_DIRECTION eDirection, + ALG_NOTIFICATION eDesiredNotification, + WINBOOL fNoTimeout, + IDataChannel **ppDataChannel); + + HRESULT (STDMETHODCALLTYPE *CreatePersistentDataChannel)( + IApplicationGatewayServices* This, + ALG_PROTOCOL eProtocol, + ULONG ulPrivateAddress, + USHORT usPrivatePort, + ULONG ulPublicAddress, + USHORT usPublicPort, + ULONG ulRemoteAddress, + USHORT usRemotePort, + ALG_DIRECTION eDirection, + IPersistentDataChannel **ppIPersistentDataChannel); + + HRESULT (STDMETHODCALLTYPE *ReservePort)( + IApplicationGatewayServices* This, + USHORT usPortCount, + USHORT *pusReservedPort); + + HRESULT (STDMETHODCALLTYPE *ReleaseReservedPort)( + IApplicationGatewayServices* This, + USHORT usReservedPortBase, + USHORT usPortCount); + + HRESULT (STDMETHODCALLTYPE *EnumerateAdapters)( + IApplicationGatewayServices* This, + IEnumAdapterInfo **ppIEnumAdapterInfo); + + HRESULT (STDMETHODCALLTYPE *StartAdapterNotifications)( + IApplicationGatewayServices* This, + IAdapterNotificationSink *pSink, + DWORD *pdwCookie); + + HRESULT (STDMETHODCALLTYPE *StopAdapterNotifications)( + IApplicationGatewayServices* This, + DWORD dwCookieOfSink); + + HRESULT (STDMETHODCALLTYPE *LookupAdapterPortMapping)( + IApplicationGatewayServices* This, + ULONG ulAdapterIndex, + UCHAR Protocol, + ULONG ulDestinationAddress, + USHORT usDestinationPort, + ULONG *pulRemapAddress, + USHORT *pusRemapPort); + + END_INTERFACE +} IApplicationGatewayServicesVtbl; +interface IApplicationGatewayServices { + CONST_VTBL IApplicationGatewayServicesVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IApplicationGatewayServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IApplicationGatewayServices_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IApplicationGatewayServices_Release(This) (This)->lpVtbl->Release(This) +/*** IApplicationGatewayServices methods ***/ +#define IApplicationGatewayServices_CreatePrimaryControlChannel(This,uAdapterIndex,eProtocol,usPortToCapture,eCaptureType,fCaptureInbound,ulListenAddress,usListenPort,ppIControlChannel) (This)->lpVtbl->CreatePrimaryControlChannel(This,uAdapterIndex,eProtocol,usPortToCapture,eCaptureType,fCaptureInbound,ulListenAddress,usListenPort,ppIControlChannel) +#define IApplicationGatewayServices_CreateSecondaryControlChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,ulListenAddress,usListenPort,eDirection,fPersistent,ppControlChannel) (This)->lpVtbl->CreateSecondaryControlChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,ulListenAddress,usListenPort,eDirection,fPersistent,ppControlChannel) +#define IApplicationGatewayServices_GetBestSourceAddressForDestinationAddress(This,ulDstAddress,fDemandDial,pulBestSrcAddress) (This)->lpVtbl->GetBestSourceAddressForDestinationAddress(This,ulDstAddress,fDemandDial,pulBestSrcAddress) +#define IApplicationGatewayServices_PrepareProxyConnection(This,eProtocol,ulSrcAddress,usSrcPort,ulDstAddress,usDstPort,fNoTimeout,ppPendingConnection) (This)->lpVtbl->PrepareProxyConnection(This,eProtocol,ulSrcAddress,usSrcPort,ulDstAddress,usDstPort,fNoTimeout,ppPendingConnection) +#define IApplicationGatewayServices_PrepareSourceModifiedProxyConnection(This,eProtocol,ulSrcAddress,usSrcPort,ulDstAddress,usDstPort,ulNewSrcAddress,usNewSourcePort,ppPendingConnection) (This)->lpVtbl->PrepareSourceModifiedProxyConnection(This,eProtocol,ulSrcAddress,usSrcPort,ulDstAddress,usDstPort,ulNewSrcAddress,usNewSourcePort,ppPendingConnection) +#define IApplicationGatewayServices_CreateDataChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,eDirection,eDesiredNotification,fNoTimeout,ppDataChannel) (This)->lpVtbl->CreateDataChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,eDirection,eDesiredNotification,fNoTimeout,ppDataChannel) +#define IApplicationGatewayServices_CreatePersistentDataChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,eDirection,ppIPersistentDataChannel) (This)->lpVtbl->CreatePersistentDataChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,eDirection,ppIPersistentDataChannel) +#define IApplicationGatewayServices_ReservePort(This,usPortCount,pusReservedPort) (This)->lpVtbl->ReservePort(This,usPortCount,pusReservedPort) +#define IApplicationGatewayServices_ReleaseReservedPort(This,usReservedPortBase,usPortCount) (This)->lpVtbl->ReleaseReservedPort(This,usReservedPortBase,usPortCount) +#define IApplicationGatewayServices_EnumerateAdapters(This,ppIEnumAdapterInfo) (This)->lpVtbl->EnumerateAdapters(This,ppIEnumAdapterInfo) +#define IApplicationGatewayServices_StartAdapterNotifications(This,pSink,pdwCookie) (This)->lpVtbl->StartAdapterNotifications(This,pSink,pdwCookie) +#define IApplicationGatewayServices_StopAdapterNotifications(This,dwCookieOfSink) (This)->lpVtbl->StopAdapterNotifications(This,dwCookieOfSink) +#define IApplicationGatewayServices_LookupAdapterPortMapping(This,ulAdapterIndex,Protocol,ulDestinationAddress,usDestinationPort,pulRemapAddress,pusRemapPort) (This)->lpVtbl->LookupAdapterPortMapping(This,ulAdapterIndex,Protocol,ulDestinationAddress,usDestinationPort,pulRemapAddress,pusRemapPort) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IApplicationGatewayServices_QueryInterface(IApplicationGatewayServices* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IApplicationGatewayServices_Ad... [truncated message content] |
From: <kti...@us...> - 2014-03-25 16:29:02
|
Revision: 6551 http://sourceforge.net/p/mingw-w64/code/6551 Author: ktietz70 Date: 2014-03-25 16:28:33 +0000 (Tue, 25 Mar 2014) Log Message: ----------- Add AdHoc API interfaces Modified Paths: -------------- trunk/mingw-w64-headers/Makefile.am trunk/mingw-w64-headers/Makefile.in trunk/mingw-w64-headers/include/adhoc.h Added Paths: ----------- trunk/mingw-w64-headers/include/adhoc.idl Modified: trunk/mingw-w64-headers/Makefile.am =================================================================== --- trunk/mingw-w64-headers/Makefile.am 2014-03-25 16:13:24 UTC (rev 6550) +++ trunk/mingw-w64-headers/Makefile.am 2014-03-25 16:28:33 UTC (rev 6551) @@ -64,6 +64,7 @@ include/activdbg100.idl \ include/activprof.idl \ include/activscp.idl \ + include/adhoc.idl \ include/audioclient.idl \ include/audioendpoints.idl \ include/audiopolicy.idl \ Modified: trunk/mingw-w64-headers/Makefile.in =================================================================== --- trunk/mingw-w64-headers/Makefile.in 2014-03-25 16:13:24 UTC (rev 6550) +++ trunk/mingw-w64-headers/Makefile.in 2014-03-25 16:28:33 UTC (rev 6551) @@ -288,6 +288,7 @@ @HAVE_WIDL_TRUE@ include/activdbg100.idl \ @HAVE_WIDL_TRUE@ include/activprof.idl \ @HAVE_WIDL_TRUE@ include/activscp.idl \ +@HAVE_WIDL_TRUE@ include/adhoc.idl \ @HAVE_WIDL_TRUE@ include/audioclient.idl \ @HAVE_WIDL_TRUE@ include/audioendpoints.idl \ @HAVE_WIDL_TRUE@ include/audiopolicy.idl \ Modified: trunk/mingw-w64-headers/include/adhoc.h =================================================================== --- trunk/mingw-w64-headers/include/adhoc.h 2014-03-25 16:13:24 UTC (rev 6550) +++ trunk/mingw-w64-headers/include/adhoc.h 2014-03-25 16:28:33 UTC (rev 6551) @@ -1,399 +1,1788 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#ifndef _INC_ADHOC -#define _INC_ADHOC +/*** Autogenerated by WIDL 1.6 from adhoc.idl - Do not edit ***/ -#if (_WIN32_WINNT >= 0x0600) +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif -typedef enum tagDOT11_ADHOC_AUTH_ALGORITHM { - DOT11_ADHOC_AUTH_ALGO_INVALID = -1, - DOT11_ADHOC_AUTH_ALGO_80211_OPEN = 1, - DOT11_ADHOC_AUTH_ALGO_RSNA_PSK = 7 -} DOT11_ADHOC_AUTH_ALGORITHM; +#include <rpc.h> +#include <rpcndr.h> +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __adhoc_h__ +#define __adhoc_h__ + +/* Forward declarations */ + +#ifndef __IDot11AdHocManager_FWD_DEFINED__ +#define __IDot11AdHocManager_FWD_DEFINED__ +typedef interface IDot11AdHocManager IDot11AdHocManager; +#endif + +#ifndef __IDot11AdHocManagerNotificationSink_FWD_DEFINED__ +#define __IDot11AdHocManagerNotificationSink_FWD_DEFINED__ +typedef interface IDot11AdHocManagerNotificationSink IDot11AdHocManagerNotificationSink; +#endif + +#ifndef __IEnumDot11AdHocNetworks_FWD_DEFINED__ +#define __IEnumDot11AdHocNetworks_FWD_DEFINED__ +typedef interface IEnumDot11AdHocNetworks IEnumDot11AdHocNetworks; +#endif + +#ifndef __IDot11AdHocNetwork_FWD_DEFINED__ +#define __IDot11AdHocNetwork_FWD_DEFINED__ +typedef interface IDot11AdHocNetwork IDot11AdHocNetwork; +#endif + +#ifndef __IDot11AdHocNetworkNotificationSink_FWD_DEFINED__ +#define __IDot11AdHocNetworkNotificationSink_FWD_DEFINED__ +typedef interface IDot11AdHocNetworkNotificationSink IDot11AdHocNetworkNotificationSink; +#endif + +#ifndef __IDot11AdHocInterface_FWD_DEFINED__ +#define __IDot11AdHocInterface_FWD_DEFINED__ +typedef interface IDot11AdHocInterface IDot11AdHocInterface; +#endif + +#ifndef __IEnumDot11AdHocInterfaces_FWD_DEFINED__ +#define __IEnumDot11AdHocInterfaces_FWD_DEFINED__ +typedef interface IEnumDot11AdHocInterfaces IEnumDot11AdHocInterfaces; +#endif + +#ifndef __IEnumDot11AdHocSecuritySettings_FWD_DEFINED__ +#define __IEnumDot11AdHocSecuritySettings_FWD_DEFINED__ +typedef interface IEnumDot11AdHocSecuritySettings IEnumDot11AdHocSecuritySettings; +#endif + +#ifndef __IDot11AdHocSecuritySettings_FWD_DEFINED__ +#define __IDot11AdHocSecuritySettings_FWD_DEFINED__ +typedef interface IDot11AdHocSecuritySettings IDot11AdHocSecuritySettings; +#endif + +#ifndef __IDot11AdHocInterfaceNotificationSink_FWD_DEFINED__ +#define __IDot11AdHocInterfaceNotificationSink_FWD_DEFINED__ +typedef interface IDot11AdHocInterfaceNotificationSink IDot11AdHocInterfaceNotificationSink; +#endif + +#ifndef __Dot11AdHocManager_FWD_DEFINED__ +#define __Dot11AdHocManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class Dot11AdHocManager Dot11AdHocManager; +#else +typedef struct Dot11AdHocManager Dot11AdHocManager; +#endif /* defined __cplusplus */ +#endif /* defined __Dot11AdHocManager_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include <oaidl.h> +#include <unknwn.h> +#include <wtypes.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#ifndef __IDot11AdHocManager_FWD_DEFINED__ +#define __IDot11AdHocManager_FWD_DEFINED__ +typedef interface IDot11AdHocManager IDot11AdHocManager; +#endif + +#ifndef __IDot11AdHocManagerNotificationSink_FWD_DEFINED__ +#define __IDot11AdHocManagerNotificationSink_FWD_DEFINED__ +typedef interface IDot11AdHocManagerNotificationSink IDot11AdHocManagerNotificationSink; +#endif + +#ifndef __IDot11AdHocNetwork_FWD_DEFINED__ +#define __IDot11AdHocNetwork_FWD_DEFINED__ +typedef interface IDot11AdHocNetwork IDot11AdHocNetwork; +#endif + +#ifndef __IDot11AdHocNetworkNotificationSink_FWD_DEFINED__ +#define __IDot11AdHocNetworkNotificationSink_FWD_DEFINED__ +typedef interface IDot11AdHocNetworkNotificationSink IDot11AdHocNetworkNotificationSink; +#endif + +#ifndef __IDot11AdHocInterface_FWD_DEFINED__ +#define __IDot11AdHocInterface_FWD_DEFINED__ +typedef interface IDot11AdHocInterface IDot11AdHocInterface; +#endif + +#ifndef __IDot11AdHocInterfaceNotificationSink_FWD_DEFINED__ +#define __IDot11AdHocInterfaceNotificationSink_FWD_DEFINED__ +typedef interface IDot11AdHocInterfaceNotificationSink IDot11AdHocInterfaceNotificationSink; +#endif + +#ifndef __IDot11AdHocSecuritySettings_FWD_DEFINED__ +#define __IDot11AdHocSecuritySettings_FWD_DEFINED__ +typedef interface IDot11AdHocSecuritySettings IDot11AdHocSecuritySettings; +#endif + +#ifndef __IEnumDot11AdHocInterfaces_FWD_DEFINED__ +#define __IEnumDot11AdHocInterfaces_FWD_DEFINED__ +typedef interface IEnumDot11AdHocInterfaces IEnumDot11AdHocInterfaces; +#endif + +#ifndef __IEnumDot11AdHocNetworks_FWD_DEFINED__ +#define __IEnumDot11AdHocNetworks_FWD_DEFINED__ +typedef interface IEnumDot11AdHocNetworks IEnumDot11AdHocNetworks; +#endif + +#ifndef __IEnumDot11AdHocSecuritySettings_FWD_DEFINED__ +#define __IEnumDot11AdHocSecuritySettings_FWD_DEFINED__ +typedef interface IEnumDot11AdHocSecuritySettings IEnumDot11AdHocSecuritySettings; +#endif + typedef enum tagDOT11_ADHOC_CIPHER_ALGORITHM { - DOT11_ADHOC_CIPHER_ALGO_INVALID = -1, - DOT11_ADHOC_CIPHER_ALGO_NONE = 0x00, - DOT11_ADHOC_CIPHER_ALGO_CCMP = 0x04, - DOT11_ADHOC_CIPHER_ALGO_WEP = 0x101 + DOT11_ADHOC_CIPHER_ALGO_INVALID = -1, + DOT11_ADHOC_CIPHER_ALGO_NONE = 0x0, + DOT11_ADHOC_CIPHER_ALGO_CCMP = 0x4, + DOT11_ADHOC_CIPHER_ALGO_WEP = 0x101 } DOT11_ADHOC_CIPHER_ALGORITHM; - +typedef enum tagDOT11_ADHOC_AUTH_ALGORITHM { + DOT11_ADHOC_AUTH_ALGO_INVALID = -1, + DOT11_ADHOC_AUTH_ALGO_80211_OPEN = 1, + DOT11_ADHOC_AUTH_ALGO_RSNA_PSK = 7 +} DOT11_ADHOC_AUTH_ALGORITHM; +typedef enum tagDOT11_ADHOC_NETWORK_CONNECTION_STATUS { + DOT11_ADHOC_NETWORK_CONNECTION_STATUS_INVALID = 0, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS_DISCONNECTED = 11, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS_CONNECTING = 12, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS_CONNECTED = 13, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS_FORMED = 14 +} DOT11_ADHOC_NETWORK_CONNECTION_STATUS; typedef enum tagDOT11_ADHOC_CONNECT_FAIL_REASON { - DOT11_ADHOC_CONNECT_FAIL_DOMAIN_MISMATCH = 0, - DOT11_ADHOC_CONNECT_FAIL_PASSPHRASE_MISMATCH = 1, - DOT11_ADHOC_CONNECT_FAIL_OTHER = 2 + DOT11_ADHOC_CONNECT_FAIL_DOMAIN_MISMATCH = 0, + DOT11_ADHOC_CONNECT_FAIL_PASSPHRASE_MISMATCH = 1, + DOT11_ADHOC_CONNECT_FAIL_OTHER = 2 } DOT11_ADHOC_CONNECT_FAIL_REASON; +EXTERN_C const CLSID CLSID_AdHocManager; +/***************************************************************************** + * IDot11AdHocManager interface + */ +#ifndef __IDot11AdHocManager_INTERFACE_DEFINED__ +#define __IDot11AdHocManager_INTERFACE_DEFINED__ -typedef enum tagDOT11_ADHOC_NETWORK_CONNECTION_STATUS { - DOT11_ADHOC_NETWORK_CONNECTION_STATUS_INVALID = 0, - DOT11_ADHOC_NETWORK_CONNECTION_STATUS_DISCONNECTED = 11, - DOT11_ADHOC_NETWORK_CONNECTION_STATUS_CONNECTING = 12, - DOT11_ADHOC_NETWORK_CONNECTION_STATUS_CONNECTED = 13, - DOT11_ADHOC_NETWORK_CONNECTION_STATUS_FORMED = 14 -} DOT11_ADHOC_NETWORK_CONNECTION_STATUS; +DEFINE_GUID(IID_IDot11AdHocManager, 0x8f10cc26, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f10cc26-cf0d-42a0-acbe-e2de7007384d") +IDot11AdHocManager : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE CreateNetwork( + LPCWSTR Name, + LPCWSTR Password, + LONG GeographicalId, + IDot11AdHocInterface *pInterface, + IDot11AdHocSecuritySettings *pSecurity, + GUID *pContextGuid, + IDot11AdHocNetwork **pIAdHoc) = 0; -typedef struct IDot11AdHocInterfaceNotificationSink IDot11AdHocInterfaceNotificationSink; -typedef struct IDot11AdHocInterface IDot11AdHocInterface; -typedef struct IDot11AdHocManager IDot11AdHocManager; -typedef struct IDot11AdHocManagerNotificationSink IDot11AdHocManagerNotificationSink; -typedef struct IDot11AdHocNetwork IDot11AdHocNetwork; -typedef struct IEnumDot11AdHocSecuritySettings IEnumDot11AdHocSecuritySettings; -typedef struct IEnumDot11AdHocNetworks IEnumDot11AdHocNetworks; -typedef struct IDot11AdHocSecuritySettings IDot11AdHocSecuritySettings; -typedef struct IEnumDot11AdHocNetworks IEnumDot11AdHocNetworks; -typedef struct IEnumDot11AdHocInterfaces IEnumDot11AdHocInterfaces; + virtual HRESULT STDMETHODCALLTYPE CommitCreatedNetwork( + IDot11AdHocNetwork *pIAdHoc, + BOOLEAN fSaveProfile, + BOOLEAN fMakeSavedProfileUserSpecific) = 0; -#undef INTERFACE -#define INTERFACE IDot11AdHocInterfaceNotificationSink -DECLARE_INTERFACE_(IDot11AdHocInterfaceNotificationSink,IUnknown) -{ - BEGIN_INTERFACE + virtual HRESULT STDMETHODCALLTYPE GetIEnumDot11AdHocNetworks( + GUID *pContextGuid, + IEnumDot11AdHocNetworks **ppEnum) = 0; - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + virtual HRESULT STDMETHODCALLTYPE GetIEnumDot11AdHocInterfaces( + IEnumDot11AdHocInterfaces **ppEnum) = 0; - /* IDot11AdHocInterfaceNotificationSink methods */ - STDMETHOD_(HRESULT,OnConnectionStatusChange)(THIS_ DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus) PURE; + virtual HRESULT STDMETHODCALLTYPE GetNetwork( + GUID *NetworkSignature, + IDot11AdHocNetwork **pNetwork) = 0; - END_INTERFACE }; -#ifdef COBJMACROS -#define IDot11AdHocInterfaceNotificationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) -#define IDot11AdHocInterfaceNotificationSink_AddRef(This) (This)->lpVtbl->AddRef(This) -#define IDot11AdHocInterfaceNotificationSink_Release(This) (This)->lpVtbl->Release(This) -#define IDot11AdHocInterfaceNotificationSink_OnConnectionStatusChange(This,eStatus) (This)->lpVtbl->OnConnectionStatusChange(This,eStatus) -#endif /*COBJMACROS*/ - -#undef INTERFACE -#define INTERFACE IDot11AdHocInterface -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDot11AdHocManager, 0x8f10cc26, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d) #endif -DECLARE_INTERFACE_(IDot11AdHocInterface,IUnknown) -{ +#else +typedef struct IDot11AdHocManagerVtbl { BEGIN_INTERFACE - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDot11AdHocManager* This, + REFIID riid, + void **ppvObject); - /* IDot11AdHocInterface methods */ - STDMETHOD_(HRESULT,GetDeviceSignature)(THIS_ GUID *pSignature) PURE; - STDMETHOD_(HRESULT,GetFriendlyName)(THIS_ LPWSTR *ppszName) PURE; - STDMETHOD_(HRESULT,IsDot11d)(THIS_ BOOLEAN *pf11d) PURE; - STDMETHOD_(HRESULT,IsAdHocCapable)(THIS_ BOOLEAN *pfAdHocCapable) PURE; - STDMETHOD_(HRESULT,IsRadioOn)(THIS_ BOOLEAN *pfIsRadioOn) PURE; - STDMETHOD_(HRESULT,GetActiveNetwork)(THIS_ IDot11AdHocNetwork **ppNetwork) PURE; - STDMETHOD_(HRESULT,GetIEnumSecuritySettings)(THIS_ IEnumDot11AdHocSecuritySettings **ppEnum) PURE; - STDMETHOD_(HRESULT,GetIEnumDot11AdHocNetworks)(THIS_ GUID *pFilterGuid,IEnumDot11AdHocNetworks **ppEnum) PURE; - STDMETHOD_(HRESULT,GetStatus)(THIS_ DOT11_ADHOC_NETWORK_CONNECTION_STATUS *pState) PURE; + ULONG (STDMETHODCALLTYPE *AddRef)( + IDot11AdHocManager* This); - END_INTERFACE -}; -#ifdef COBJMACROS -#define IDot11AdHocInterface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) -#define IDot11AdHocInterface_AddRef(This) (This)->lpVtbl->AddRef(This) -#define IDot11AdHocInterface_Release(This) (This)->lpVtbl->Release(This) -#define IDot11AdHocInterface_GetDeviceSignature(This,pSignature) (This)->lpVtbl->GetDeviceSignature(This,pSignature) -#define IDot11AdHocInterface_GetFriendlyName(This,ppszName) (This)->lpVtbl->GetFriendlyName(This,ppszName) -#define IDot11AdHocInterface_IsDot11d(This,pf11d) (This)->lpVtbl->IsDot11d(This,pf11d) -#define IDot11AdHocInterface_IsAdHocCapable(This,pfAdHocCapable) (This)->lpVtbl->IsAdHocCapable(This,pfAdHocCapable) -#define IDot11AdHocInterface_IsRadioOn(This,pfIsRadioOn) (This)->lpVtbl->IsRadioOn(This,pfIsRadioOn) -#define IDot11AdHocInterface_GetActiveNetwork(This,ppNetwork) (This)->lpVtbl->GetActiveNetwork(This,ppNetwork) -#define IDot11AdHocInterface_GetIEnumSecuritySettings(This,ppEnum) (This)->lpVtbl->GetIEnumSecuritySettings(This,ppEnum) -#define IDot11AdHocInterface_GetIEnumDot11AdHocNetworks(This,pFilterGuid,ppEnum) (This)->lpVtbl->GetIEnumDot11AdHocNetworks(This,pFilterGuid,ppEnum) -#define IDot11AdHocInterface_GetStatus(This,pState) (This)->lpVtbl->GetStatus(This,pState) -#endif /*COBJMACROS*/ + ULONG (STDMETHODCALLTYPE *Release)( + IDot11AdHocManager* This); -#undef INTERFACE -#define INTERFACE IDot11AdHocManager -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) -#endif -DECLARE_INTERFACE_(IDot11AdHocManager,IUnknown) -{ - BEGIN_INTERFACE + /*** IDot11AdHocManager methods ***/ + HRESULT (STDMETHODCALLTYPE *CreateNetwork)( + IDot11AdHocManager* This, + LPCWSTR Name, + LPCWSTR Password, + LONG GeographicalId, + IDot11AdHocInterface *pInterface, + IDot11AdHocSecuritySettings *pSecurity, + GUID *pContextGuid, + IDot11AdHocNetwork **pIAdHoc); - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + HRESULT (STDMETHODCALLTYPE *CommitCreatedNetwork)( + IDot11AdHocManager* This, + IDot11AdHocNetwork *pIAdHoc, + BOOLEAN fSaveProfile, + BOOLEAN fMakeSavedProfileUserSpecific); - /* IDot11AdHocManager methods */ - STDMETHOD_(HRESULT,CreateNetwork)(THIS_ LPCWSTR Name,LPCWSTR Password,LONG GeographicalId,IDot11AdHocInterface *pInterface,IDot11AdHocSecuritySettings *pSecurity,GUID *pContextGuid,IDot11AdHocNetwork **pIAdHoc) PURE; - STDMETHOD_(HRESULT,CommitCreatedNetwork)(THIS_ IDot11AdHocNetwork *pIAdHoc,BOOLEAN fSaveProfile,BOOLEAN fMakeSavedProfileUserSpecific) PURE; - STDMETHOD_(HRESULT,GetIEnumDot11AdHocNetworks)(THIS_ GUID *pContextGuid,IEnumDot11AdHocNetworks **ppEnum) PURE; - STDMETHOD_(HRESULT,GetIEnumDot11AdHocInterfaces)(THIS_ IEnumDot11AdHocInterfaces **ppEnum) PURE; - STDMETHOD_(HRESULT,GetNetwork)(THIS_ GUID *NetworkSignature,IDot11AdHocNetwork **pNetwork) PURE; + HRESULT (STDMETHODCALLTYPE *GetIEnumDot11AdHocNetworks)( + IDot11AdHocManager* This, + GUID *pContextGuid, + IEnumDot11AdHocNetworks **ppEnum); + HRESULT (STDMETHODCALLTYPE *GetIEnumDot11AdHocInterfaces)( + IDot11AdHocManager* This, + IEnumDot11AdHocInterfaces **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetNetwork)( + IDot11AdHocManager* This, + GUID *NetworkSignature, + IDot11AdHocNetwork **pNetwork); + END_INTERFACE +} IDot11AdHocManagerVtbl; +interface IDot11AdHocManager { + CONST_VTBL IDot11AdHocManagerVtbl* lpVtbl; }; + #ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ #define IDot11AdHocManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) #define IDot11AdHocManager_AddRef(This) (This)->lpVtbl->AddRef(This) #define IDot11AdHocManager_Release(This) (This)->lpVtbl->Release(This) +/*** IDot11AdHocManager methods ***/ #define IDot11AdHocManager_CreateNetwork(This,Name,Password,GeographicalId,pInterface,pSecurity,pContextGuid,pIAdHoc) (This)->lpVtbl->CreateNetwork(This,Name,Password,GeographicalId,pInterface,pSecurity,pContextGuid,pIAdHoc) #define IDot11AdHocManager_CommitCreatedNetwork(This,pIAdHoc,fSaveProfile,fMakeSavedProfileUserSpecific) (This)->lpVtbl->CommitCreatedNetwork(This,pIAdHoc,fSaveProfile,fMakeSavedProfileUserSpecific) #define IDot11AdHocManager_GetIEnumDot11AdHocNetworks(This,pContextGuid,ppEnum) (This)->lpVtbl->GetIEnumDot11AdHocNetworks(This,pContextGuid,ppEnum) #define IDot11AdHocManager_GetIEnumDot11AdHocInterfaces(This,ppEnum) (This)->lpVtbl->GetIEnumDot11AdHocInterfaces(This,ppEnum) #define IDot11AdHocManager_GetNetwork(This,NetworkSignature,pNetwork) (This)->lpVtbl->GetNetwork(This,NetworkSignature,pNetwork) -#endif /*COBJMACROS*/ +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDot11AdHocManager_QueryInterface(IDot11AdHocManager* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDot11AdHocManager_AddRef(IDot11AdHocManager* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDot11AdHocManager_Release(IDot11AdHocManager* This) { + return This->lpVtbl->Release(This); +} +/*** IDot11AdHocManager methods ***/ +static FORCEINLINE HRESULT IDot11AdHocManager_CreateNetwork(IDot11AdHocManager* This,LPCWSTR Name,LPCWSTR Password,LONG GeographicalId,IDot11AdHocInterface *pInterface,IDot11AdHocSecuritySettings *pSecurity,GUID *pContextGuid,IDot11AdHocNetwork **pIAdHoc) { + return This->lpVtbl->CreateNetwork(This,Name,Password,GeographicalId,pInterface,pSecurity,pContextGuid,pIAdHoc); +} +static FORCEINLINE HRESULT IDot11AdHocManager_CommitCreatedNetwork(IDot11AdHocManager* This,IDot11AdHocNetwork *pIAdHoc,BOOLEAN fSaveProfile,BOOLEAN fMakeSavedProfileUserSpecific) { + return This->lpVtbl->CommitCreatedNetwork(This,pIAdHoc,fSaveProfile,fMakeSavedProfileUserSpecific); +} +static FORCEINLINE HRESULT IDot11AdHocManager_GetIEnumDot11AdHocNetworks(IDot11AdHocManager* This,GUID *pContextGuid,IEnumDot11AdHocNetworks **ppEnum) { + return This->lpVtbl->GetIEnumDot11AdHocNetworks(This,pContextGuid,ppEnum); +} +static FORCEINLINE HRESULT IDot11AdHocManager_GetIEnumDot11AdHocInterfaces(IDot11AdHocManager* This,IEnumDot11AdHocInterfaces **ppEnum) { + return This->lpVtbl->GetIEnumDot11AdHocInterfaces(This,ppEnum); +} +static FORCEINLINE HRESULT IDot11AdHocManager_GetNetwork(IDot11AdHocManager* This,GUID *NetworkSignature,IDot11AdHocNetwork **pNetwork) { + return This->lpVtbl->GetNetwork(This,NetworkSignature,pNetwork); +} +#endif +#endif -#undef INTERFACE -#define INTERFACE IDot11AdHocManagerNotificationSink -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) #endif -DECLARE_INTERFACE_(IDot11AdHocManagerNotificationSink,IUnknown) + +HRESULT STDMETHODCALLTYPE IDot11AdHocManager_CreateNetwork_Proxy( + IDot11AdHocManager* This, + LPCWSTR Name, + LPCWSTR Password, + LONG GeographicalId, + IDot11AdHocInterface *pInterface, + IDot11AdHocSecuritySettings *pSecurity, + GUID *pContextGuid, + IDot11AdHocNetwork **pIAdHoc); +void __RPC_STUB IDot11AdHocManager_CreateNetwork_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocManager_CommitCreatedNetwork_Proxy( + IDot11AdHocManager* This, + IDot11AdHocNetwork *pIAdHoc, + BOOLEAN fSaveProfile, + BOOLEAN fMakeSavedProfileUserSpecific); +void __RPC_STUB IDot11AdHocManager_CommitCreatedNetwork_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocManager_GetIEnumDot11AdHocNetworks_Proxy( + IDot11AdHocManager* This, + GUID *pContextGuid, + IEnumDot11AdHocNetworks **ppEnum); +void __RPC_STUB IDot11AdHocManager_GetIEnumDot11AdHocNetworks_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocManager_GetIEnumDot11AdHocInterfaces_Proxy( + IDot11AdHocManager* This, + IEnumDot11AdHocInterfaces **ppEnum); +void __RPC_STUB IDot11AdHocManager_GetIEnumDot11AdHocInterfaces_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocManager_GetNetwork_Proxy( + IDot11AdHocManager* This, + GUID *NetworkSignature, + IDot11AdHocNetwork **pNetwork); +void __RPC_STUB IDot11AdHocManager_GetNetwork_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IDot11AdHocManager_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDot11AdHocManagerNotificationSink interface + */ +#ifndef __IDot11AdHocManagerNotificationSink_INTERFACE_DEFINED__ +#define __IDot11AdHocManagerNotificationSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDot11AdHocManagerNotificationSink, 0x8f10cc27, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f10cc27-cf0d-42a0-acbe-e2de7007384d") +IDot11AdHocManagerNotificationSink : public IUnknown { + virtual HRESULT STDMETHODCALLTYPE OnNetworkAdd( + IDot11AdHocNetwork *pIAdHocNetwork) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnNetworkRemove( + GUID *Signature) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnInterfaceAdd( + IDot11AdHocInterface *pIAdHocInterface) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnInterfaceRemove( + GUID *Signature) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDot11AdHocManagerNotificationSink, 0x8f10cc27, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d) +#endif +#else +typedef struct IDot11AdHocManagerNotificationSinkVtbl { BEGIN_INTERFACE - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDot11AdHocManagerNotificationSink* This, + REFIID riid, + void **ppvObject); - /* IDot11AdHocManagerNotificationSink methods */ - STDMETHOD_(HRESULT,OnNetworkAdd)(THIS_ IDot11AdHocNetwork *pIAdHocNetwork) PURE; - STDMETHOD_(HRESULT,OnNetworkRemove)(THIS_ GUID *Signature) PURE; - STDMETHOD_(HRESULT,OnInterfaceAdd)(THIS_ IDot11AdHocInterface *pIAdHocInterface) PURE; - STDMETHOD_(HRESULT,OnInterfaceRemove)(THIS_ GUID *Signature) PURE; + ULONG (STDMETHODCALLTYPE *AddRef)( + IDot11AdHocManagerNotificationSink* This); + ULONG (STDMETHODCALLTYPE *Release)( + IDot11AdHocManagerNotificationSink* This); + + /*** IDot11AdHocManagerNotificationSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnNetworkAdd)( + IDot11AdHocManagerNotificationSink* This, + IDot11AdHocNetwork *pIAdHocNetwork); + + HRESULT (STDMETHODCALLTYPE *OnNetworkRemove)( + IDot11AdHocManagerNotificationSink* This, + GUID *Signature); + + HRESULT (STDMETHODCALLTYPE *OnInterfaceAdd)( + IDot11AdHocManagerNotificationSink* This, + IDot11AdHocInterface *pIAdHocInterface); + + HRESULT (STDMETHODCALLTYPE *OnInterfaceRemove)( + IDot11AdHocManagerNotificationSink* This, + GUID *Signature); + END_INTERFACE +} IDot11AdHocManagerNotificationSinkVtbl; +interface IDot11AdHocManagerNotificationSink { + CONST_VTBL IDot11AdHocManagerNotificationSinkVtbl* lpVtbl; }; + #ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ #define IDot11AdHocManagerNotificationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) #define IDot11AdHocManagerNotificationSink_AddRef(This) (This)->lpVtbl->AddRef(This) #define IDot11AdHocManagerNotificationSink_Release(This) (This)->lpVtbl->Release(This) +/*** IDot11AdHocManagerNotificationSink methods ***/ #define IDot11AdHocManagerNotificationSink_OnNetworkAdd(This,pIAdHocNetwork) (This)->lpVtbl->OnNetworkAdd(This,pIAdHocNetwork) #define IDot11AdHocManagerNotificationSink_OnNetworkRemove(This,Signature) (This)->lpVtbl->OnNetworkRemove(This,Signature) #define IDot11AdHocManagerNotificationSink_OnInterfaceAdd(This,pIAdHocInterface) (This)->lpVtbl->OnInterfaceAdd(This,pIAdHocInterface) #define IDot11AdHocManagerNotificationSink_OnInterfaceRemove(This,Signature) (This)->lpVtbl->OnInterfaceRemove(This,Signature) -#endif /*COBJMACROS*/ +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_QueryInterface(IDot11AdHocManagerNotificationSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDot11AdHocManagerNotificationSink_AddRef(IDot11AdHocManagerNotificationSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDot11AdHocManagerNotificationSink_Release(IDot11AdHocManagerNotificationSink* This) { + return This->lpVtbl->Release(This); +} +/*** IDot11AdHocManagerNotificationSink methods ***/ +static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_OnNetworkAdd(IDot11AdHocManagerNotificationSink* This,IDot11AdHocNetwork *pIAdHocNetwork) { + return This->lpVtbl->OnNetworkAdd(This,pIAdHocNetwork); +} +static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_OnNetworkRemove(IDot11AdHocManagerNotificationSink* This,GUID *Signature) { + return This->lpVtbl->OnNetworkRemove(This,Signature); +} +static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_OnInterfaceAdd(IDot11AdHocManagerNotificationSink* This,IDot11AdHocInterface *pIAdHocInterface) { + return This->lpVtbl->OnInterfaceAdd(This,pIAdHocInterface); +} +static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_OnInterfaceRemove(IDot11AdHocManagerNotificationSink* This,GUID *Signature) { + return This->lpVtbl->OnInterfaceRemove(This,Signature); +} +#endif +#endif -#undef INTERFACE -#define INTERFACE IDot11AdHocNetwork -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) #endif -DECLARE_INTERFACE_(IDot11AdHocNetwork,IUnknown) + +HRESULT STDMETHODCALLTYPE IDot11AdHocManagerNotificationSink_OnNetworkAdd_Proxy( + IDot11AdHocManagerNotificationSink* This, + IDot11AdHocNetwork *pIAdHocNetwork); +void __RPC_STUB IDot11AdHocManagerNotificationSink_OnNetworkAdd_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocManagerNotificationSink_OnNetworkRemove_Proxy( + IDot11AdHocManagerNotificationSink* This, + GUID *Signature); +void __RPC_STUB IDot11AdHocManagerNotificationSink_OnNetworkRemove_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocManagerNotificationSink_OnInterfaceAdd_Proxy( + IDot11AdHocManagerNotificationSink* This, + IDot11AdHocInterface *pIAdHocInterface); +void __RPC_STUB IDot11AdHocManagerNotificationSink_OnInterfaceAdd_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocManagerNotificationSink_OnInterfaceRemove_Proxy( + IDot11AdHocManagerNotificationSink* This, + GUID *Signature); +void __RPC_STUB IDot11AdHocManagerNotificationSink_OnInterfaceRemove_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IDot11AdHocManagerNotificationSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IEnumDot11AdHocNetworks interface + */ +#ifndef __IEnumDot11AdHocNetworks_INTERFACE_DEFINED__ +#define __IEnumDot11AdHocNetworks_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IEnumDot11AdHocNetworks, 0x8f10cc28, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f10cc28-cf0d-42a0-acbe-e2de7007384d") +IEnumDot11AdHocNetworks : public IUnknown { + virtual HRESULT STDMETHODCALLTYPE Next( + ULONG cElt, + IDot11AdHocNetwork **rgElt, + ULONG *pcEltFetched) = 0; + + virtual HRESULT STDMETHODCALLTYPE Skip( + ULONG cElt) = 0; + + virtual HRESULT STDMETHODCALLTYPE Reset( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Clone( + IEnumDot11AdHocNetworks **ppEnum) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IEnumDot11AdHocNetworks, 0x8f10cc28, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d) +#endif +#else +typedef struct IEnumDot11AdHocNetworksVtbl { BEGIN_INTERFACE - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IEnumDot11AdHocNetworks* This, + REFIID riid, + void **ppvObject); - /* IDot11AdHocNetwork methods */ - STDMETHOD_(HRESULT,GetStatus)(THIS_ DOT11_ADHOC_NETWORK_CONNECTION_STATUS *eStatus) PURE; - STDMETHOD_(HRESULT,GetSSID)(THIS_ LPWSTR *ppszwSSID) PURE; - STDMETHOD_(HRESULT,HasProfile)(THIS_ BOOLEAN *pf11d) PURE; - STDMETHOD_(HRESULT,GetProfileName)(THIS_ LPWSTR *ppszwProfileName) PURE; - STDMETHOD_(HRESULT,DeleteProfile)(THIS) PURE; - STDMETHOD_(HRESULT,GetSignalQuality)(THIS_ ULONG *puStrengthValue,ULONG *puStrengthMax) PURE; - STDMETHOD_(HRESULT,GetSecuritySetting)(THIS_ IDot11AdHocSecuritySettings **pAdHocSecuritySetting) PURE; - STDMETHOD_(HRESULT,GetContextGuid)(THIS_ GUID *pContextGuid) PURE; - STDMETHOD_(HRESULT,GetSignature)(THIS_ GUID *pSignature) PURE; - STDMETHOD_(HRESULT,GetInterface)(THIS_ IDot11AdHocInterface **pAdHocInterface) PURE; - STDMETHOD_(HRESULT,Connect)(THIS_ LPCWSTR Passphrase,LONG GeographicalId,BOOLEAN fSaveProfile,BOOLEAN fMakeSavedProfileUserSpecific) PURE; - STDMETHOD_(HRESULT,Disconnect)(THIS) PURE; + ULONG (STDMETHODCALLTYPE *AddRef)( + IEnumDot11AdHocNetworks* This); + ULONG (STDMETHODCALLTYPE *Release)( + IEnumDot11AdHocNetworks* This); + + /*** IEnumDot11AdHocNetworks methods ***/ + HRESULT (STDMETHODCALLTYPE *Next)( + IEnumDot11AdHocNetworks* This, + ULONG cElt, + IDot11AdHocNetwork **rgElt, + ULONG *pcEltFetched); + + HRESULT (STDMETHODCALLTYPE *Skip)( + IEnumDot11AdHocNetworks* This, + ULONG cElt); + + HRESULT (STDMETHODCALLTYPE *Reset)( + IEnumDot11AdHocNetworks* This); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IEnumDot11AdHocNetworks* This, + IEnumDot11AdHocNetworks **ppEnum); + END_INTERFACE +} IEnumDot11AdHocNetworksVtbl; +interface IEnumDot11AdHocNetworks { + CONST_VTBL IEnumDot11AdHocNetworksVtbl* lpVtbl; }; + #ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IEnumDot11AdHocNetworks_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IEnumDot11AdHocNetworks_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IEnumDot11AdHocNetworks_Release(This) (This)->lpVtbl->Release(This) +/*** IEnumDot11AdHocNetworks methods ***/ +#define IEnumDot11AdHocNetworks_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched) +#define IEnumDot11AdHocNetworks_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt) +#define IEnumDot11AdHocNetworks_Reset(This) (This)->lpVtbl->Reset(This) +#define IEnumDot11AdHocNetworks_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_QueryInterface(IEnumDot11AdHocNetworks* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IEnumDot11AdHocNetworks_AddRef(IEnumDot11AdHocNetworks* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IEnumDot11AdHocNetworks_Release(IEnumDot11AdHocNetworks* This) { + return This->lpVtbl->Release(This); +} +/*** IEnumDot11AdHocNetworks methods ***/ +static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_Next(IEnumDot11AdHocNetworks* This,ULONG cElt,IDot11AdHocNetwork **rgElt,ULONG *pcEltFetched) { + return This->lpVtbl->Next(This,cElt,rgElt,pcEltFetched); +} +static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_Skip(IEnumDot11AdHocNetworks* This,ULONG cElt) { + return This->lpVtbl->Skip(This,cElt); +} +static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_Reset(IEnumDot11AdHocNetworks* This) { + return This->lpVtbl->Reset(This); +} +static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_Clone(IEnumDot11AdHocNetworks* This,IEnumDot11AdHocNetworks **ppEnum) { + return This->lpVtbl->Clone(This,ppEnum); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IEnumDot11AdHocNetworks_Next_Proxy( + IEnumDot11AdHocNetworks* This, + ULONG cElt, + IDot11AdHocNetwork **rgElt, + ULONG *pcEltFetched); +void __RPC_STUB IEnumDot11AdHocNetworks_Next_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IEnumDot11AdHocNetworks_Skip_Proxy( + IEnumDot11AdHocNetworks* This, + ULONG cElt); +void __RPC_STUB IEnumDot11AdHocNetworks_Skip_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IEnumDot11AdHocNetworks_Reset_Proxy( + IEnumDot11AdHocNetworks* This); +void __RPC_STUB IEnumDot11AdHocNetworks_Reset_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IEnumDot11AdHocNetworks_Clone_Proxy( + IEnumDot11AdHocNetworks* This, + IEnumDot11AdHocNetworks **ppEnum); +void __RPC_STUB IEnumDot11AdHocNetworks_Clone_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IEnumDot11AdHocNetworks_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDot11AdHocNetwork interface + */ +#ifndef __IDot11AdHocNetwork_INTERFACE_DEFINED__ +#define __IDot11AdHocNetwork_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDot11AdHocNetwork, 0x8f10cc29, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f10cc29-cf0d-42a0-acbe-e2de7007384d") +IDot11AdHocNetwork : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetStatus( + DOT11_ADHOC_NETWORK_CONNECTION_STATUS *eStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSSID( + LPWSTR *ppszwSSID) = 0; + + virtual HRESULT STDMETHODCALLTYPE HasProfile( + BOOLEAN *pf11d) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProfileName( + LPWSTR *ppszwProfileName) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteProfile( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSignalQuality( + ULONG *puStrengthValue, + ULONG *puStrengthMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSecuritySetting( + IDot11AdHocSecuritySettings **pAdHocSecuritySetting) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetContextGuid( + GUID *pContextGuid) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSignature( + GUID *pSignature) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInterface( + IDot11AdHocInterface **pAdHocInterface) = 0; + + virtual HRESULT STDMETHODCALLTYPE Connect( + LPCWSTR Passphrase, + LONG GeographicalId, + BOOLEAN fSaveProfile, + BOOLEAN fMakeSavedProfileUserSpecific) = 0; + + virtual HRESULT STDMETHODCALLTYPE Disconnect( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDot11AdHocNetwork, 0x8f10cc29, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d) +#endif +#else +typedef struct IDot11AdHocNetworkVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDot11AdHocNetwork* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IDot11AdHocNetwork* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IDot11AdHocNetwork* This); + + /*** IDot11AdHocNetwork methods ***/ + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IDot11AdHocNetwork* This, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS *eStatus); + + HRESULT (STDMETHODCALLTYPE *GetSSID)( + IDot11AdHocNetwork* This, + LPWSTR *ppszwSSID); + + HRESULT (STDMETHODCALLTYPE *HasProfile)( + IDot11AdHocNetwork* This, + BOOLEAN *pf11d); + + HRESULT (STDMETHODCALLTYPE *GetProfileName)( + IDot11AdHocNetwork* This, + LPWSTR *ppszwProfileName); + + HRESULT (STDMETHODCALLTYPE *DeleteProfile)( + IDot11AdHocNetwork* This); + + HRESULT (STDMETHODCALLTYPE *GetSignalQuality)( + IDot11AdHocNetwork* This, + ULONG *puStrengthValue, + ULONG *puStrengthMax); + + HRESULT (STDMETHODCALLTYPE *GetSecuritySetting)( + IDot11AdHocNetwork* This, + IDot11AdHocSecuritySettings **pAdHocSecuritySetting); + + HRESULT (STDMETHODCALLTYPE *GetContextGuid)( + IDot11AdHocNetwork* This, + GUID *pContextGuid); + + HRESULT (STDMETHODCALLTYPE *GetSignature)( + IDot11AdHocNetwork* This, + GUID *pSignature); + + HRESULT (STDMETHODCALLTYPE *GetInterface)( + IDot11AdHocNetwork* This, + IDot11AdHocInterface **pAdHocInterface); + + HRESULT (STDMETHODCALLTYPE *Connect)( + IDot11AdHocNetwork* This, + LPCWSTR Passphrase, + LONG GeographicalId, + BOOLEAN fSaveProfile, + BOOLEAN fMakeSavedProfileUserSpecific); + + HRESULT (STDMETHODCALLTYPE *Disconnect)( + IDot11AdHocNetwork* This); + + END_INTERFACE +} IDot11AdHocNetworkVtbl; +interface IDot11AdHocNetwork { + CONST_VTBL IDot11AdHocNetworkVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ #define IDot11AdHocNetwork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) #define IDot11AdHocNetwork_AddRef(This) (This)->lpVtbl->AddRef(This) #define IDot11AdHocNetwork_Release(This) (This)->lpVtbl->Release(This) +/*** IDot11AdHocNetwork methods ***/ #define IDot11AdHocNetwork_GetStatus(This,eStatus) (This)->lpVtbl->GetStatus(This,eStatus) #define IDot11AdHocNetwork_GetSSID(This,ppszwSSID) (This)->lpVtbl->GetSSID(This,ppszwSSID) #define IDot11AdHocNetwork_HasProfile(This,pf11d) (This)->lpVtbl->HasProfile(This,pf11d) #define IDot11AdHocNetwork_GetProfileName(This,ppszwProfileName) (This)->lpVtbl->GetProfileName(This,ppszwProfileName) -#define IDot11AdHocNetwork_DeleteProfile() (This)->lpVtbl->DeleteProfile(This) +#define IDot11AdHocNetwork_DeleteProfile(This) (This)->lpVtbl->DeleteProfile(This) #define IDot11AdHocNetwork_GetSignalQuality(This,puStrengthValue,puStrengthMax) (This)->lpVtbl->GetSignalQuality(This,puStrengthValue,puStrengthMax) #define IDot11AdHocNetwork_GetSecuritySetting(This,pAdHocSecuritySetting) (This)->lpVtbl->GetSecuritySetting(This,pAdHocSecuritySetting) #define IDot11AdHocNetwork_GetContextGuid(This,pContextGuid) (This)->lpVtbl->GetContextGuid(This,pContextGuid) #define IDot11AdHocNetwork_GetSignature(This,pSignature) (This)->lpVtbl->GetSignature(This,pSignature) #define IDot11AdHocNetwork_GetInterface(This,pAdHocInterface) (This)->lpVtbl->GetInterface(This,pAdHocInterface) #define IDot11AdHocNetwork_Connect(This,Passphrase,GeographicalId,fSaveProfile,fMakeSavedProfileUserSpecific) (This)->lpVtbl->Connect(This,Passphrase,GeographicalId,fSaveProfile,fMakeSavedProfileUserSpecific) -#define IDot11AdHocNetwork_Disconnect() (This)->lpVtbl->Disconnect(This) -#endif /*COBJMACROS*/ +#define IDot11AdHocNetwork_Disconnect(This) (This)->lpVtbl->Disconnect(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDot11AdHocNetwork_QueryInterface(IDot11AdHocNetwork* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDot11AdHocNetwork_AddRef(IDot11AdHocNetwork* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDot11AdHocNetwork_Release(IDot11AdHocNetwork* This) { + return This->lpVtbl->Release(This); +} +/*** IDot11AdHocNetwork methods ***/ +static FORCEINLINE HRESULT IDot11AdHocNetwork_GetStatus(IDot11AdHocNetwork* This,DOT11_ADHOC_NETWORK_CONNECTION_STATUS *eStatus) { + return This->lpVtbl->GetStatus(This,eStatus); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_GetSSID(IDot11AdHocNetwork* This,LPWSTR *ppszwSSID) { + return This->lpVtbl->GetSSID(This,ppszwSSID); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_HasProfile(IDot11AdHocNetwork* This,BOOLEAN *pf11d) { + return This->lpVtbl->HasProfile(This,pf11d); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_GetProfileName(IDot11AdHocNetwork* This,LPWSTR *ppszwProfileName) { + return This->lpVtbl->GetProfileName(This,ppszwProfileName); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_DeleteProfile(IDot11AdHocNetwork* This) { + return This->lpVtbl->DeleteProfile(This); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_GetSignalQuality(IDot11AdHocNetwork* This,ULONG *puStrengthValue,ULONG *puStrengthMax) { + return This->lpVtbl->GetSignalQuality(This,puStrengthValue,puStrengthMax); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_GetSecuritySetting(IDot11AdHocNetwork* This,IDot11AdHocSecuritySettings **pAdHocSecuritySetting) { + return This->lpVtbl->GetSecuritySetting(This,pAdHocSecuritySetting); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_GetContextGuid(IDot11AdHocNetwork* This,GUID *pContextGuid) { + return This->lpVtbl->GetContextGuid(This,pContextGuid); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_GetSignature(IDot11AdHocNetwork* This,GUID *pSignature) { + return This->lpVtbl->GetSignature(This,pSignature); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_GetInterface(IDot11AdHocNetwork* This,IDot11AdHocInterface **pAdHocInterface) { + return This->lpVtbl->GetInterface(This,pAdHocInterface); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_Connect(IDot11AdHocNetwork* This,LPCWSTR Passphrase,LONG GeographicalId,BOOLEAN fSaveProfile,BOOLEAN fMakeSavedProfileUserSpecific) { + return This->lpVtbl->Connect(This,Passphrase,GeographicalId,fSaveProfile,fMakeSavedProfileUserSpecific); +} +static FORCEINLINE HRESULT IDot11AdHocNetwork_Disconnect(IDot11AdHocNetwork* This) { + return This->lpVtbl->Disconnect(This); +} +#endif +#endif -#undef INTERFACE -#define INTERFACE IDot11AdHocNetworkNotificationSink -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) #endif -DECLARE_INTERFACE_(IDot11AdHocNetworkNotificationSink,IUnknown) + +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_GetStatus_Proxy( + IDot11AdHocNetwork* This, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS *eStatus); +void __RPC_STUB IDot11AdHocNetwork_GetStatus_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_GetSSID_Proxy( + IDot11AdHocNetwork* This, + LPWSTR *ppszwSSID); +void __RPC_STUB IDot11AdHocNetwork_GetSSID_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_HasProfile_Proxy( + IDot11AdHocNetwork* This, + BOOLEAN *pf11d); +void __RPC_STUB IDot11AdHocNetwork_HasProfile_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_GetProfileName_Proxy( + IDot11AdHocNetwork* This, + LPWSTR *ppszwProfileName); +void __RPC_STUB IDot11AdHocNetwork_GetProfileName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_DeleteProfile_Proxy( + IDot11AdHocNetwork* This); +void __RPC_STUB IDot11AdHocNetwork_DeleteProfile_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_GetSignalQuality_Proxy( + IDot11AdHocNetwork* This, + ULONG *puStrengthValue, + ULONG *puStrengthMax); +void __RPC_STUB IDot11AdHocNetwork_GetSignalQuality_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_GetSecuritySetting_Proxy( + IDot11AdHocNetwork* This, + IDot11AdHocSecuritySettings **pAdHocSecuritySetting); +void __RPC_STUB IDot11AdHocNetwork_GetSecuritySetting_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_GetContextGuid_Proxy( + IDot11AdHocNetwork* This, + GUID *pContextGuid); +void __RPC_STUB IDot11AdHocNetwork_GetContextGuid_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_GetSignature_Proxy( + IDot11AdHocNetwork* This, + GUID *pSignature); +void __RPC_STUB IDot11AdHocNetwork_GetSignature_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_GetInterface_Proxy( + IDot11AdHocNetwork* This, + IDot11AdHocInterface **pAdHocInterface); +void __RPC_STUB IDot11AdHocNetwork_GetInterface_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_Connect_Proxy( + IDot11AdHocNetwork* This, + LPCWSTR Passphrase, + LONG GeographicalId, + BOOLEAN fSaveProfile, + BOOLEAN fMakeSavedProfileUserSpecific); +void __RPC_STUB IDot11AdHocNetwork_Connect_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetwork_Disconnect_Proxy( + IDot11AdHocNetwork* This); +void __RPC_STUB IDot11AdHocNetwork_Disconnect_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IDot11AdHocNetwork_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDot11AdHocNetworkNotificationSink interface + */ +#ifndef __IDot11AdHocNetworkNotificationSink_INTERFACE_DEFINED__ +#define __IDot11AdHocNetworkNotificationSink_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDot11AdHocNetworkNotificationSink, 0x8f10cc2a, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f10cc2a-cf0d-42a0-acbe-e2de7007384d") +IDot11AdHocNetworkNotificationSink : public IUnknown { + virtual HRESULT STDMETHODCALLTYPE OnStatusChange( + DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnConnectFail( + DOT11_ADHOC_CONNECT_FAIL_REASON eFailReason) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDot11AdHocNetworkNotificationSink, 0x8f10cc2a, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d) +#endif +#else +typedef struct IDot11AdHocNetworkNotificationSinkVtbl { BEGIN_INTERFACE - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDot11AdHocNetworkNotificationSink* This, + REFIID riid, + void **ppvObject); - /* IDot11AdHocNetworkNotificationSink methods */ - STDMETHOD_(HRESULT,OnStatusChange)(THIS_ DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus) PURE; - STDMETHOD_(HRESULT,OnConnectFail)(THIS_ DOT11_ADHOC_CONNECT_FAIL_REASON eFailReason) PURE; + ULONG (STDMETHODCALLTYPE *AddRef)( + IDot11AdHocNetworkNotificationSink* This); + ULONG (STDMETHODCALLTYPE *Release)( + IDot11AdHocNetworkNotificationSink* This); + + /*** IDot11AdHocNetworkNotificationSink methods ***/ + HRESULT (STDMETHODCALLTYPE *OnStatusChange)( + IDot11AdHocNetworkNotificationSink* This, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus); + + HRESULT (STDMETHODCALLTYPE *OnConnectFail)( + IDot11AdHocNetworkNotificationSink* This, + DOT11_ADHOC_CONNECT_FAIL_REASON eFailReason); + END_INTERFACE +} IDot11AdHocNetworkNotificationSinkVtbl; +interface IDot11AdHocNetworkNotificationSink { + CONST_VTBL IDot11AdHocNetworkNotificationSinkVtbl* lpVtbl; }; + #ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ #define IDot11AdHocNetworkNotificationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) #define IDot11AdHocNetworkNotificationSink_AddRef(This) (This)->lpVtbl->AddRef(This) #define IDot11AdHocNetworkNotificationSink_Release(This) (This)->lpVtbl->Release(This) +/*** IDot11AdHocNetworkNotificationSink methods ***/ #define IDot11AdHocNetworkNotificationSink_OnStatusChange(This,eStatus) (This)->lpVtbl->OnStatusChange(This,eStatus) #define IDot11AdHocNetworkNotificationSink_OnConnectFail(This,eFailReason) (This)->lpVtbl->OnConnectFail(This,eFailReason) -#endif /*COBJMACROS*/ +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IDot11AdHocNetworkNotificationSink_QueryInterface(IDot11AdHocNetworkNotificationSink* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IDot11AdHocNetworkNotificationSink_AddRef(IDot11AdHocNetworkNotificationSink* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IDot11AdHocNetworkNotificationSink_Release(IDot11AdHocNetworkNotificationSink* This) { + return This->lpVtbl->Release(This); +} +/*** IDot11AdHocNetworkNotificationSink methods ***/ +static FORCEINLINE HRESULT IDot11AdHocNetworkNotificationSink_OnStatusChange(IDot11AdHocNetworkNotificationSink* This,DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus) { + return This->lpVtbl->OnStatusChange(This,eStatus); +} +static FORCEINLINE HRESULT IDot11AdHocNetworkNotificationSink_OnConnectFail(IDot11AdHocNetworkNotificationSink* This,DOT11_ADHOC_CONNECT_FAIL_REASON eFailReason) { + return This->lpVtbl->OnConnectFail(This,eFailReason); +} +#endif +#endif -#undef INTERFACE -#define INTERFACE IDot11AdHocSecuritySettings -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) #endif -DECLARE_INTERFACE_(IDot11AdHocSecuritySettings,IUnknown) + +HRESULT STDMETHODCALLTYPE IDot11AdHocNetworkNotificationSink_OnStatusChange_Proxy( + IDot11AdHocNetworkNotificationSink* This, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus); +void __RPC_STUB IDot11AdHocNetworkNotificationSink_OnStatusChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IDot11AdHocNetworkNotificationSink_OnConnectFail_Proxy( + IDot11AdHocNetworkNotificationSink* This, + DOT11_ADHOC_CONNECT_FAIL_REASON eFailReason); +void __RPC_STUB IDot11AdHocNetworkNotificationSink_OnConnectFail_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IDot11AdHocNetworkNotificationSink_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IDot11AdHocInterface interface + */ +#ifndef __IDot11AdHocInterface_INTERFACE_DEFINED__ +#define __IDot11AdHocInterface_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IDot11AdHocInterface, 0x8f10cc2b, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("8f10cc2b-cf0d-42a0-acbe-e2de7007384d") +IDot11AdHocInterface : public IUnknown { + virtual HRESULT STDMETHODCALLTYPE GetDeviceSignature( + GUID *pSignature) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFriendlyName( + LPWSTR *ppszName) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsDot11d( + BOOLEAN *pf11d) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsAdHocCapable( + BOOLEAN *pfAdHocCapable) = 0; + + virtual HRESULT STDMETHODCALLTYPE IsRadioOn( + BOOLEAN *pfIsRadioOn) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetActiveNetwork( + IDot11AdHocNetwork **ppNetwork) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIEnumSecuritySettings( + IEnumDot11AdHocSecuritySettings **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIEnumDot11AdHocNetworks( + GUID *pFilterGuid, + IEnumDot11AdHocNetworks **ppEnum) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStatus( + DOT11_ADHOC_NETWORK_CONNECTION_STATUS *pState) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IDot11AdHocInterface, 0x8f10cc2b, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d) +#endif +#else +typedef struct IDot11AdHocInterfaceVtbl { BEGIN_INTERFACE - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IDot11AdHocInterface* This, + REFIID riid, + void **ppvObject); - /* IDot11AdHocSecuritySettings methods */ - STDMETHOD_(HRESULT,GetDot11AuthAlgorithm)(THIS_ DOT11_ADHOC_AUTH_ALGORITHM *pAuth) PURE; - STDMETHOD_(HRESULT,GetDot11CipherAlgorithm)(THIS_ DOT11_ADHOC_CIPHER_ALGORITHM *pCipher) PURE; + ULONG (STDMETHODCALLTYPE *AddRef)( + IDot11AdHocInterface* This); + ULONG (STDMETHODCALLTYPE *Release)( + IDot11AdHocInterface* This); + + /*** IDot11AdHocInterface methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDeviceSignature)( + IDot11AdHocInterface* This, + GUID *pSignature); + + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + IDot11AdHocInterface* This, + LPWSTR *ppszName); + + HRESULT (STDMETHODCALLTYPE *IsDot11d)( + IDot11AdHocInterface* This, + BOOLEAN *pf11d); + + HRESULT (STDMETHODCALLTYPE *IsAdHocCapable)( + IDot11AdHocInterface* This, + BOOLEAN *pfAdHocCapable); + + HRESULT (STDMETHODCALLTYPE *IsRadioOn)( + IDot11AdHocInterface* This, + BOOLEAN *pfIsRadioOn); + + HRESULT (STDMETHODCALLTYPE *GetActiveNetwork)( + IDot11AdHocInterface* This, + IDot11AdHocNetwork **ppNetwork); + + HRESULT (STDMETHODCALLTYPE *GetIEnumSecuritySettings)( + IDot11AdHocInterface* This, + IEnumDot11AdHocSecuritySettings **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetIEnumDot11AdHocNetworks)( + IDot11AdHocInterface* This, + GUID *pFilterGuid, + IEnumDot11AdHocNetworks **ppEnum); + + HRESULT (STDMETHODCALLTYPE *GetStatus)( + IDot11AdHocInterface* This, + DOT11_ADHOC_NETWORK_CONNECTION_STATUS *pState); + END_INTERFACE +} IDot11AdHocInterfaceVtbl; +interface IDot11AdHocInterface { + CONST_VTBL IDot11AdHocInterfaceVtbl* lpVtbl; }; + #ifdef COBJMACROS -#define IDot11AdHocSecuritySettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) -#define IDot11AdHocSecuritySettings_AddRef(This) (This)->lpVtbl->AddRef(This) -#define IDot11AdHocSecuritySettings_Release(This) (This)->lpVtbl->Release(This) -#define IDot11AdHocSecuritySettings_GetDot11AuthAlgorithm(This,pAuth) (This)->lpVtbl->GetDot11AuthAlgorithm(This,pAuth) -#define IDot11AdHocSecuritySettings_GetDot11CipherAlgorithm(This,pCipher) (This)->lpVtbl->GetDot11CipherAlgorithm(This,pCipher) -#endif /*COBJMACROS*/ +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IDot11AdHocInterface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IDot11AdHocInterface_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IDot11AdHocInterface_Release(This) (This)->lpVtbl->Release(This) +/*** IDot11AdHocInterface methods ***/ +#define IDot11AdHocInterface_GetDeviceSignature(This,pSignature) (This)->lpVtbl->GetDeviceSignature(This,pSignature) +#define IDot11AdHocInterface_GetFriendlyName(This,ppszName) (This)->lpVtbl->GetFriendlyName(This,ppszName) +#define IDot11AdHocInterface_IsDot11d(This,pf11d) (This)->lpVtbl->IsDot11d(This,pf11d) +#define IDot11AdHocInterface_IsAdHocCapable(This,pfAdHocCapable) (This)->lpVtbl->IsAdHocCapable(This,pfAdHocCapable) +#define IDot11AdHocInterface_IsRadioOn(This,pfIsRadioOn) (This)->lpVtbl->IsRadioOn(This,pfIsRadioOn) +#define IDot11AdHocInterface_GetActiveNetwork(This,ppNetwork) (This)->lpVtbl->GetActiveNetwork(This,ppNetwork) +#define IDot11AdHocInterface_GetIEnumSecuritySettings(This,ppEnum) (This)->lpVtbl->GetIEnumSecuritySettings(This,ppEnum) +#define IDot11AdHocInterface_GetIEnumDot11AdHocNetworks(This,pFilterGuid,ppEnum) (This)->lpVtbl->G... [truncated message content] |
From: <kti...@us...> - 2014-03-25 16:13:43
|
Revision: 6550 http://sourceforge.net/p/mingw-w64/code/6550 Author: ktietz70 Date: 2014-03-25 16:13:24 +0000 (Tue, 25 Mar 2014) Log Message: ----------- Rewrite FSRM-API headers fsrm.h and fsrmenums.h as IDL. Modified Paths: -------------- trunk/mingw-w64-headers/Makefile.am trunk/mingw-w64-headers/Makefile.in trunk/mingw-w64-headers/include/fsrm.h trunk/mingw-w64-headers/include/fsrmenums.h Added Paths: ----------- trunk/mingw-w64-headers/include/fsrm.idl trunk/mingw-w64-headers/include/fsrmenums.idl Modified: trunk/mingw-w64-headers/Makefile.am =================================================================== --- trunk/mingw-w64-headers/Makefile.am 2014-03-25 16:09:42 UTC (rev 6549) +++ trunk/mingw-w64-headers/Makefile.am 2014-03-25 16:13:24 UTC (rev 6550) @@ -75,6 +75,8 @@ include/downloadmgr.idl \ include/dxva2api.idl \ include/endpointvolume.idl \ + include/fsrm.idl \ + include/fsrmenums.idl \ include/fusion.idl \ include/fwptypes.idl \ include/hstring.idl \ Modified: trunk/mingw-w64-headers/Makefile.in =================================================================== --- trunk/mingw-w64-headers/Makefile.in 2014-03-25 16:09:42 UTC (rev 6549) +++ trunk/mingw-w64-headers/Makefile.in 2014-03-25 16:13:24 UTC (rev 6550) @@ -299,6 +299,8 @@ @HAVE_WIDL_TRUE@ include/downloadmgr.idl \ @HAVE_WIDL_TRUE@ include/dxva2api.idl \ @HAVE_WIDL_TRUE@ include/endpointvolume.idl \ +@HAVE_WIDL_TRUE@ include/fsrm.idl \ +@HAVE_WIDL_TRUE@ include/fsrmenums.idl \ @HAVE_WIDL_TRUE@ include/fusion.idl \ @HAVE_WIDL_TRUE@ include/fwptypes.idl \ @HAVE_WIDL_TRUE@ include/hstring.idl \ Modified: trunk/mingw-w64-headers/include/fsrm.h =================================================================== --- trunk/mingw-w64-headers/include/fsrm.h 2014-03-25 16:09:42 UTC (rev 6549) +++ trunk/mingw-w64-headers/include/fsrm.h 2014-03-25 16:13:24 UTC (rev 6550) @@ -1,403 +1,1020 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#ifndef _INC_FSRM -#define _INC_FSRM -#if (_WIN32_WINNT >= 0x0600) -#include <fsrmenums.h> +/*** Autogenerated by WIDL 1.6 from fsrm.idl - Do not edit ***/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __fsrm_h__ +#define __fsrm_h__ + +/* Forward declarations */ + +#ifndef __IFsrmCommittableCollection_FWD_DEFINED__ +#define __IFsrmCommittableCollection_FWD_DEFINED__ +typedef interface IFsrmCommittableCollection IFsrmCommittableCollection; +#endif + +#ifndef __IFsrmAccessDeniedRemediationClient_FWD_DEFINED__ +#define __IFsrmAccessDeniedRemediationClient_FWD_DEFINED__ +typedef interface IFsrmAccessDeniedRemediationClient IFsrmAccessDeniedRemediationClient; +#endif + #ifndef __IFsrmAction_FWD_DEFINED__ #define __IFsrmAction_FWD_DEFINED__ -typedef struct IFsrmAction IFsrmAction; -#endif /* __IFsrmAction_FWD_DEFINED__ */ +typedef interface IFsrmAction IFsrmAction; +#endif #ifndef __IFsrmActionCommand_FWD_DEFINED__ #define __IFsrmActionCommand_FWD_DEFINED__ -typedef struct IFsrmActionCommand IFsrmActionCommand; -#endif /* __IFsrmActionCommand_FWD_DEFINED__ */ +typedef interface IFsrmActionCommand IFsrmActionCommand; +#endif +#ifndef __IFsrmActionEventLog_FWD_DEFINED__ +#define __IFsrmActionEventLog_FWD_DEFINED__ +typedef interface IFsrmActionEventLog IFsrmActionEventLog; +#endif + +#ifndef __IFsrmActionReport_FWD_DEFINED__ +#define __IFsrmActionReport_FWD_DEFINED__ +typedef interface IFsrmActionReport IFsrmActionReport; +#endif + +#ifndef __IFsrmCollection_FWD_DEFINED__ +#define __IFsrmCollection_FWD_DEFINED__ +typedef interface IFsrmCollection IFsrmCollection; +#endif + +#ifndef __IFsrmDerivedObjectsResult_FWD_DEFINED__ +#define __IFsrmDerivedObjectsResult_FWD_DEFINED__ +typedef interface IFsrmDerivedObjectsResult IFsrmDerivedObjectsResult; +#endif + +#ifndef __IFsrmExportImport_FWD_DEFINED__ +#define __IFsrmExportImport_FWD_DEFINED__ +typedef interface IFsrmExportImport IFsrmExportImport; +#endif + +#ifndef __IFsrmObject_FWD_DEFINED__ +#define __IFsrmObject_FWD_DEFINED__ +typedef interface IFsrmObject IFsrmObject; +#endif + +#ifndef __IFsrmPathMapper_FWD_DEFINED__ +#define __IFsrmPathMapper_FWD_DEFINED__ +typedef interface IFsrmPathMapper IFsrmPathMapper; +#endif + +#ifndef __IFsrmSetting_FWD_DEFINED__ +#define __IFsrmSetting_FWD_DEFINED__ +typedef interface IFsrmSetting IFsrmSetting; +#endif + #ifndef __IFsrmActionEmail_FWD_DEFINED__ #define __IFsrmActionEmail_FWD_DEFINED__ -typedef struct IFsrmActionEmail IFsrmActionEmail; -#endif /* __IFsrmActionEmail_FWD_DEFINED__ */ +typedef interface IFsrmActionEmail IFsrmActionEmail; +#endif #ifndef __IFsrmActionEmail2_FWD_DEFINED__ #define __IFsrmActionEmail2_FWD_DEFINED__ -typedef struct IFsrmActionEmail2 IFsrmActionEmail2; -#endif /* __IFsrmActionEmail2_FWD_DEFINED__ */ +typedef interface IFsrmActionEmail2 IFsrmActionEmail2; +#endif -#ifndef __IFsrmActionEventLog_FWD_DEFINED__ -#define __IFsrmActionEventLog_FWD_DEFINED__ -typedef struct IFsrmActionEventLog IFsrmActionEventLog; -#endif /* __IFsrmActionEventLog_FWD_DEFINED__ */ +#ifndef __IFsrmMutableCollection_FWD_DEFINED__ +#define __IFsrmMutableCollection_FWD_DEFINED__ +typedef interface IFsrmMutableCollection IFsrmMutableCollection; +#endif -#ifndef __IFsrmActionReport_FWD_DEFINED__ -#define __IFsrmActionReport_FWD_DEFINED__ -typedef struct IFsrmActionReport IFsrmActionReport; -#endif /* __IFsrmActionReport_FWD_DEFINED__ */ +/* Headers for imported files */ -#ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__ -#define __IFsrmAutoApplyQuota_FWD_DEFINED__ -typedef struct IFsrmAutoApplyQuota IFsrmAutoApplyQuota; -#endif /* __IFsrmAutoApplyQuota_FWD_DEFINED__ */ +#include <oaidl.h> +#include <fsrmenums.h> -#ifndef __IFsrmClassificationManager_FWD_DEFINED__ -#define __IFsrmClassificationManager_FWD_DEFINED__ -typedef struct IFsrmClassificationManager IFsrmClassificationManager; -#endif /* __IFsrmClassificationManager_FWD_DEFINED__ */ +#ifdef __cplusplus +extern "C" { +#endif -#ifndef __IFsrmClassificationRule_FWD_DEFINED__ -#define __IFsrmClassificationRule_FWD_DEFINED__ -typedef struct IFsrmClassificationRule IFsrmClassificationRule; -#endif /* __IFsrmClassificationRule_FWD_DEFINED__ */ +#include <winapifamily.h> -#ifndef __IFsrmClassifierModuleDefinition_FWD_DEFINED__ -#define __IFsrmClassifierModuleDefinition_FWD_DEFINED__ -typedef struct IFsrmClassifierModuleDefinition IFsrmClassifierModuleDefinition; -#endif /* __IFsrmClassifierModuleDefinition_FWD_DEFINED__ */ +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#ifndef __IFsrmObject_FWD_DEFINED__ +#define __IFsrmObject_FWD_DEFINED__ +typedef interface IFsrmObject IFsrmObject; +#endif -#ifndef __IFsrmClassifierModuleImplementation_FWD_DEFINED__ -#define __IFsrmClassifierModuleImplementation_FWD_DEFINED__ -typedef struct IFsrmClassifierModuleImplementation IFsrmClassifierModuleImplementation; -#endif /* __IFsrmClassifierModuleImplementation_FWD_DEFINED__ */ - #ifndef __IFsrmCollection_FWD_DEFINED__ #define __IFsrmCollection_FWD_DEFINED__ -typedef struct IFsrmCollection IFsrmCollection; -#endif /* __IFsrmCollection_FWD_DEFINED__ */ +typedef interface IFsrmCollection IFsrmCollection; +#endif +#ifndef __IFsrmMutableCollection_FWD_DEFINED__ +#define __IFsrmMutableCollection_FWD_DEFINED__ +typedef interface IFsrmMutableCollection IFsrmMutableCollection; +#endif + #ifndef __IFsrmCommittableCollection_FWD_DEFINED__ #define __IFsrmCommittableCollection_FWD_DEFINED__ -typedef struct IFsrmCommittableCollection IFsrmCommittableCollection; -#endif /* __IFsrmCommittableCollection_FWD_DEFINED__ */ +typedef interface IFsrmCommittableCollection IFsrmCommittableCollection; +#endif -#ifndef __IFsrmDerivedObjectsResult_FWD_DEFINED__ -#define __IFsrmDerivedObjectsResult_FWD_DEFINED__ -typedef struct IFsrmDerivedObjectsResult IFsrmDerivedObjectsResult; -#endif /* __IFsrmDerivedObjectsResult_FWD_DEFINED__ */ +#ifndef __IFsrmAction_FWD_DEFINED__ +#define __IFsrmAction_FWD_DEFINED__ +typedef interface IFsrmAction IFsrmAction; +#endif +#ifndef __IFsrmActionEmail_FWD_DEFINED__ +#define __IFsrmActionEmail_FWD_DEFINED__ +typedef interface IFsrmActionEmail IFsrmActionEmail; +#endif + +#ifndef __IFsrmActionReport_FWD_DEFINED__ +#define __IFsrmActionReport_FWD_DEFINED__ +typedef interface IFsrmActionReport IFsrmActionReport; +#endif + +#ifndef __IFsrmActionEventLog_FWD_DEFINED__ +#define __IFsrmActionEventLog_FWD_DEFINED__ +typedef interface IFsrmActionEventLog IFsrmActionEventLog; +#endif + +#ifndef __IFsrmActionCommand_FWD_DEFINED__ +#define __IFsrmActionCommand_FWD_DEFINED__ +typedef interface IFsrmActionCommand IFsrmActionCommand; +#endif + +#ifndef __IFsrmSetting_FWD_DEFINED__ +#define __IFsrmSetting_FWD_DEFINED__ +typedef interface IFsrmSetting IFsrmSetting; +#endif + +#ifndef __IFsrmPathMapper_FWD_DEFINED__ +#define __IFsrmPathMapper_FWD_DEFINED__ +typedef interface IFsrmPathMapper IFsrmPathMapper; +#endif + #ifndef __IFsrmExportImport_FWD_DEFINED__ #define __IFsrmExportImport_FWD_DEFINED__ -typedef struct IFsrmExportImport IFsrmExportImport; -#endif /* __IFsrmExportImport_FWD_DEFINED__ */ +typedef interface IFsrmExportImport IFsrmExportImport; +#endif -#ifndef __IFsrmFileGroup_FWD_DEFINED__ -#define __IFsrmFileGroup_FWD_DEFINED__ -typedef struct IFsrmFileGroup IFsrmFileGroup; -#endif /* __IFsrmFileGroup_FWD_DEFINED__ */ +#define FSRM_DISPID_FEATURE_MASK (0xf000000) -#ifndef __IFsrmFileGroupImported_FWD_DEFINED__ -#define __IFsrmFileGroupImported_FWD_DEFINED__ -typedef struct IFsrmFileGroupImported IFsrmFileGroupImported; -#endif /* __IFsrmFileGroupImported_FWD_DEFINED__ */ +#define FSRM_DISPID_INTERFACE_A_MASK (0xf00000) -#ifndef __IFsrmFileGroupManager_FWD_DEFINED__ -#define __IFsrmFileGroupManager_FWD_DEFINED__ -typedef struct IFsrmFileGroupManager IFsrmFileGroupManager; -#endif /* __IFsrmFileGroupManager_FWD_DEFINED__ */ +#define FSRM_DISPID_INTERFACE_B_MASK (0xf0000) -#ifndef __IFsrmFileManagementJob_FWD_DEFINED__ -#define __IFsrmFileManagementJob_FWD_DEFINED__ -typedef struct IFsrmFileManagementJob IFsrmFileManagementJob; -#endif /* __IFsrmFileManagementJob_FWD_DEFINED__ */ +#define FSRM_DISPID_INTERFACE_C_MASK (0xf000) -#ifndef __IFsrmFileManagementJobManager_FWD_DEFINED__ -#define __IFsrmFileManagementJobManager_FWD_DEFINED__ -typedef struct IFsrmFileManagementJobManager IFsrmFileManagementJobManager; -#endif /* __IFsrmFileManagementJobManager_FWD_DEFINED__ */ +#define FSRM_DISPID_INTERFACE_D_MASK (0xf00) -#ifndef __IFsrmFileScreen_FWD_DEFINED__ -#define __IFsrmFileScreen_FWD_DEFINED__ -typedef struct IFsrmFileScreen IFsrmFileScreen; -#endif /* __IFsrmFileScreen_FWD_DEFINED__ */ +#define FSRM_DISPID_INTERFACE_MASK (0xffff00) -#ifndef __IFsrmFileScreenBase_FWD_DEFINED__ -#define __IFsrmFileScreenBase_FWD_DEFINED__ -typedef struct IFsrmFileScreenBase IFsrmFileScreenBase; -#endif /* __IFsrmFileScreenBase_FWD_DEFINED__ */ +#define FSRM_DISPID_IS_PROPERTY (0x80) -#ifndef __IFsrmFileScreenException_FWD_DEFINED__ -#define __IFsrmFileScreenException_FWD_DEFINED__ -typedef struct IFsrmFileScreenException IFsrmFileScreenException; -#endif /* __IFsrmFileScreenException_FWD_DEFINED__ */ +#define FSRM_DISPID_METHOD_NUM_MASK (0x7f) -#ifndef __IFsrmFileScreenManager_FWD_DEFINED__ -#define __IFsrmFileScreenManager_FWD_DEFINED__ -typedef struct IFsrmFileScreenManager IFsrmFileScreenManager; -#endif /* __IFsrmFileScreenManager_FWD_DEFINED__ */ +#define FSRM_DISPID_METHOD_MASK (0xff) -#ifndef __IFsrmFileScreenTemplate_FWD_DEFINED__ -#define __IFsrmFileScreenTemplate_FWD_DEFINED__ -typedef struct IFsrmFileScreenTemplate IFsrmFileScreenTemplate; -#endif /* __IFsrmFileScreenTemplate_FWD_DEFINED__ */ +#define FSRM_DISPID_FEATURE_GENERAL (0x1000000) -#ifndef __IFsrmFileScreenTemplateImported_FWD_DEFINED__ -#define __IFsrmFileScreenTemplateImported_FWD_DEFINED__ -typedef struct IFsrmFileScreenTemplateImported IFsrmFileScreenTemplateImported; -#endif /* __IFsrmFileScreenTemplateImported_FWD_DEFINED__ */ +#define FSRM_DISPID_FEATURE_QUOTA (0x2000000) -#ifndef __IFsrmFileScreenTemplateManager_FWD_DEFINED__ -#define __IFsrmFileScreenTemplateManager_FWD_DEFINED__ -typedef struct IFsrmFileScreenTemplateManager IFsrmFileScreenTemplateManager; -#endif /* __IFsrmFileScreenTemplateManager_FWD_DEFINED__ */ +#define FSRM_DISPID_FEATURE_FILESCREEN (0x3000000) -#ifndef __IFsrmMutableCollection_FWD_DEFINED__ -#define __IFsrmMutableCollection_FWD_DEFINED__ -typedef struct IFsrmMutableCollection IFsrmMutableCollection; -#endif /* __IFsrmMutableCollection_FWD_DEFINED__ */ +#define FSRM_DISPID_FEATURE_REPORTS (0x4000000) -#ifndef __IFsrmObject_FWD_DEFINED__ -#define __IFsrmObject_FWD_DEFINED__ -typedef struct IFsrmObject IFsrmObject; -#endif /* __IFsrmObject_FWD_DEFINED__ */ +#define FSRM_DISPID_FEATURE_CLASSIFICATION (0x5000000) -#ifndef __IFsrmPathMapper_FWD_DEFINED__ -#define __IFsrmPathMapper_FWD_DEFINED__ -typedef struct IFsrmPathMapper IFsrmPathMapper; -#endif /* __IFsrmPathMapper_FWD_DEFINED__ */ +#define FSRM_DISPID_FEATURE_PIPELINE (0x6000000) -#ifndef __IFsrmPipelineModuleConnector_FWD_DEFINED__ -#define __IFsrmPipelineModuleConnector_FWD_DEFINED__ -typedef struct IFsrmPipelineModuleConnector IFsrmPipelineModuleConnector; -#endif /* __IFsrmPipelineModuleConnector_FWD_DEFINED__ */ +#define FSRM_DISPID_OBJECT (FSRM_DISPID_FEATURE_GENERAL | 0x100000) -#ifndef __IFsrmPipelineModuleDefinition_FWD_DEFINED__ -#define __IFsrmPipelineModuleDefinition_FWD_DEFINED__ -typedef struct IFsrmPipelineModuleDefinition IFsrmPipelineModuleDefinition; -#endif /* __IFsrmPipelineModuleDefinition_FWD_DEFINED__ */ +#define FSRM_DISPID_COLLECTION (FSRM_DISPID_FEATURE_GENERAL | 0x200000) -#ifndef __IFsrmPipelineModuleImplementation_FWD_DEFINED__ -#define __IFsrmPipelineModuleImplementation_FWD_DEFINED__ -typedef struct IFsrmPipelineModuleImplementation IFsrmPipelineModuleImplementation; -#endif /* __IFsrmPipelineModuleImplementation_FWD_DEFINED__ */ +#define FSRM_DISPID_COLLECTION_MUTABLE (FSRM_DISPID_COLLECTION | 0x10000) -#ifndef __IFsrmProperty_FWD_DEFINED__ -#define __IFsrmProperty_FWD_DEFINED__ -typedef struct IFsrmProperty IFsrmProperty; -#endif /* __IFsrmProperty_FWD_DEFINED__ */ +#define FSRM_DISPID_COLLECTION_COMMITTABLE (FSRM_DISPID_COLLECTION_MUTABLE | 0x1000) -#ifndef __IFsrmPropertyBag_FWD_DEFINED__ -#define __IFsrmPropertyBag_FWD_DEFINED__ -typedef struct IFsrmPropertyBag IFsrmPropertyBag; -#endif /* __IFsrmPropertyBag_FWD_DEFINED__ */ +#define FSRM_DISPID_ACTION (FSRM_DISPID_FEATURE_GENERAL | 0x300000) -#ifndef __IFsrmPropertyCondition_FWD_DEFINED__ -#define __IFsrmPropertyCondition_FWD_DEFINED__ -typedef struct IFsrmPropertyCondition IFsrmPropertyCondition; -#endif /* __IFsrmPropertyCondition_FWD_DEFINED__ */ +#define FSRM_DISPID_ACTION_EMAIL (FSRM_DISPID_ACTION | 0x10000) -#ifndef __IFsrmPropertyDefinition_FWD_DEFINED__ -#define __IFsrmPropertyDefinition_FWD_DEFINED__ -typedef struct IFsrmPropertyDefinition IFsrmPropertyDefinition; -#endif /* __IFsrmPropertyDefinition_FWD_DEFINED__ */ +#define FSRM_DISPID_ACTION_REPORT (FSRM_DISPID_ACTION | 0x20000) -#ifndef __IFsrmQuota_FWD_DEFINED__ -#define __IFsrmQuota_FWD_DEFINED__ -typedef struct IFsrmQuota IFsrmQuota; -#endif /* __IFsrmQuota_FWD_DEFINED__ */ +#define FSRM_DISPID_ACTION_EVENTLOG (FSRM_DISPID_ACTION | 0x30000) -#ifndef __IFsrmQuotaBase_FWD_DEFINED__ -#define __IFsrmQuotaBase_FWD_DEFINED__ -typedef struct IFsrmQuotaBase IFsrmQuotaBase; -#endif /* __IFsrmQuotaBase_FWD_DEFINED__ */ +#define FSRM_DISPID_ACTION_COMMAND (FSRM_DISPID_ACTION | 0x40000) -#ifndef __IFsrmQuotaManager_FWD_DEFINED__ -#define __IFsrmQuotaManager_FWD_DEFINED__ -typedef struct IFsrmQuotaManager IFsrmQuotaManager; -#endif /* __IFsrmQuotaManager_FWD_DEFINED__ */ +#define FSRM_DISPID_ACTION_EMAIL2 (FSRM_DISPID_ACTION | 0x50000) -#ifndef __IFsrmQuotaManagerEx_FWD_DEFINED__ -#define __IFsrmQuotaManagerEx_FWD_DEFINED__ -typedef struct IFsrmQuotaManagerEx IFsrmQuotaManagerEx; -#endif /* __IFsrmQuotaManagerEx_FWD_DEFINED__ */ +#define FSRM_DISPID_SETTING (FSRM_DISPID_FEATURE_GENERAL | 0x400000) -#ifndef __IFsrmQuotaObject_FWD_DEFINED__ -#define __IFsrmQuotaObject_FWD_DEFINED__ -typedef struct IFsrmQuotaObject IFsrmQuotaObject; -#endif /* __IFsrmQuotaObject_FWD_DEFINED__ */ +#define FSRM_DISPID_PATHMAPPER (FSRM_DISPID_FEATURE_GENERAL | 0x500000) -#ifndef __IFsrmQuotaTemplate_FWD_DEFINED__ -#define __IFsrmQuotaTemplate_FWD_DEFINED__ -typedef struct IFsrmQuotaTemplate IFsrmQuotaTemplate; -#endif /* __IFsrmQuotaTemplate_FWD_DEFINED__ */ +#define FSRM_DISPID_EXPORTIMPORT (FSRM_DISPID_FEATURE_GENERAL | 0x600000) -#ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__ -#define __IFsrmQuotaTemplateImported_FWD_DEFINED__ -typedef struct IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported; -#endif /* __IFsrmQuotaTemplateImported_FWD_DEFINED__ */ +#define FSRM_DISPID_DERIVEDOBJECTSRESULT (FSRM_DISPID_FEATURE_GENERAL | 0x700000) -#ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__ -#define __IFsrmQuotaTemplateManager_FWD_DEFINED__ -typedef struct IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager; -#endif /* __IFsrmQuotaTemplateManager_FWD_DEFINED__ */ +#define FSRM_DISPID_ADR (FSRM_DISPID_FEATURE_GENERAL | 0x800000) -#ifndef __IFsrmReport_FWD_DEFINED__ -#define __IFsrmReport_FWD_DEFINED__ -typedef struct IFsrmReport IFsrmReport; -#endif /* __IFsrmReport_FWD_DEFINED__ */ +/***************************************************************************** + * IFsrmCommittableCollection interface + */ +#ifndef __IFsrmCommittableCollection_INTERFACE_DEFINED__ +#define __IFsrmCommittableCollection_INTERFACE_DEFINED__ -#ifndef __IFsrmReportJob_FWD_DEFINED__ -#define __IFsrmReportJob_FWD_DEFINED__ -typedef struct IFsrmReportJob IFsrmReportJob; -#endif /* __IFsrmReportJob_FWD_DEFINED__ */ +DEFINE_GUID(IID_IFsrmCommittableCollection, 0x96deb3b5, 0x8b91, 0x4a2a, 0x9d,0x93, 0x80,0xa3,0x5d,0x8a,0xa8,0x47); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("96deb3b5-8b91-4a2a-9d93-80a35d8aa847") +IFsrmCommittableCollection : public IFsrmMutableCollection +{ + virtual HRESULT STDMETHODCALLTYPE Commit( + FsrmCommitOptions options, + IFsrmCollection **results) = 0; -#ifndef __IFsrmReportManager_FWD_DEFINED__ -#define __IFsrmReportManager_FWD_DEFINED__ -typedef struct IFsrmReportManager IFsrmReportManager; -#endif /* __IFsrmReportManager_FWD_DEFINED__ */ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFsrmCommittableCollection, 0x96deb3b5, 0x8b91, 0x4a2a, 0x9d,0x93, 0x80,0xa3,0x5d,0x8a,0xa8,0x47) +#endif +#else +typedef struct IFsrmCommittableCollectionVtbl { + BEGIN_INTERFACE -#ifndef __IFsrmReportScheduler_FWD_DEFINED__ -#define __IFsrmReportScheduler_FWD_DEFINED__ -typedef struct IFsrmReportScheduler IFsrmReportScheduler; -#endif /* __IFsrmReportScheduler_FWD_DEFINED__ */ + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFsrmCommittableCollection* This, + REFIID riid, + void **ppvObject); -#ifndef __IFsrmRule_FWD_DEFINED__ -#define __IFsrmRule_FWD_DEFINED__ -typedef struct IFsrmRule IFsrmRule; -#endif /* __IFsrmRule_FWD_DEFINED__ */ + ULONG (STDMETHODCALLTYPE *AddRef)( + IFsrmCommittableCollection* This); -#ifndef __IFsrmSetting_FWD_DEFINED__ -#define __IFsrmSetting_FWD_DEFINED__ -typedef struct IFsrmSetting IFsrmSetting; -#endif /* __IFsrmSetting_FWD_DEFINED__ */ + ULONG (STDMETHODCALLTYPE *Release)( + IFsrmCommittableCollection* This); -#ifndef __IFsrmStorageModuleDefinition_FWD_DEFINED__ -#define __IFsrmStorageModuleDefinition_FWD_DEFINED__ -typedef struct IFsrmStorageModuleDefinition IFsrmStorageModuleDefinition; -#endif /* __IFsrmStorageModuleDefinition_FWD_DEFINED__ */ + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFsrmCommittableCollection* This, + UINT *pctinfo); -#ifndef __IFsrmStorageModuleImplementation_FWD_DEFINED__ -#define __IFsrmStorageModuleImplementation_FWD_DEFINED__ -typedef struct IFsrmStorageModuleImplementation IFsrmStorageModuleImplementation; -#endif /* __IFsrmStorageModuleImplementation_FWD_DEFINED__ */ + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFsrmCommittableCollection* This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); -#ifdef __cplusplus -extern "C" { + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFsrmCommittableCollection* This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFsrmCommittableCollection* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IFsrmCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *get__NewEnum)( + IFsrmCommittableCollection* This, + IUnknown **unknown); + + HRESULT (STDMETHODCALLTYPE *get_Item)( + IFsrmCommittableCollection* This, + LONG index, + VARIANT *item); + + HRESULT (STDMETHODCALLTYPE *get_Count)( + IFsrmCommittableCollection* This, + LONG *count); + + HRESULT (STDMETHODCALLTYPE *get_State)( + IFsrmCommittableCollection* This, + FsrmCollectionState *state); + + HRESULT (STDMETHODCALLTYPE *Cancel)( + IFsrmCommittableCollection* This); + + HRESULT (STDMETHODCALLTYPE *WaitForCompletion)( + IFsrmCommittableCollection* This, + LONG waitSeconds, + VARIANT_BOOL *completed); + + HRESULT (STDMETHODCALLTYPE *GetById)( + IFsrmCommittableCollection* This, + FSRM_OBJECT_ID id, + VARIANT *entry); + + /*** IFsrmMutableCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *Add)( + IFsrmCommittableCollection* This, + VARIANT item); + + HRESULT (STDMETHODCALLTYPE *Remove)( + IFsrmCommittableCollection* This, + LONG index); + + HRESULT (STDMETHODCALLTYPE *RemoveById)( + IFsrmCommittableCollection* This, + FSRM_OBJECT_ID id); + + HRESULT (STDMETHODCALLTYPE *Clone)( + IFsrmCommittableCollection* This, + IFsrmMutableCollection **collection); + + /*** IFsrmCommittableCollection methods ***/ + HRESULT (STDMETHODCALLTYPE *Commit)( + IFsrmCommittableCollection* This, + FsrmCommitOptions options, + IFsrmCollection **results); + + END_INTERFACE +} IFsrmCommittableCollectionVtbl; +interface IFsrmCommittableCollection { + CONST_VTBL IFsrmCommittableCollectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFsrmCommittableCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFsrmCommittableCollection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFsrmCommittableCollection_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IFsrmCommittableCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IFsrmCommittableCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IFsrmCommittableCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IFsrmCommittableCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IFsrmCollection methods ***/ +#define IFsrmCommittableCollection_get__NewEnum(This,unknown) (This)->lpVtbl->get__NewEnum(This,unknown) +#define IFsrmCommittableCollection_get_Item(This,index,item) (This)->lpVtbl->get_Item(This,index,item) +#define IFsrmCommittableCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) +#define IFsrmCommittableCollection_get_State(This,state) (This)->lpVtbl->get_State(This,state) +#define IFsrmCommittableCollection_Cancel(This) (This)->lpVtbl->Cancel(This) +#define IFsrmCommittableCollection_WaitForCompletion(This,waitSeconds,completed) (This)->lpVtbl->WaitForCompletion(This,waitSeconds,completed) +#define IFsrmCommittableCollection_GetById(This,id,entry) (This)->lpVtbl->GetById(This,id,entry) +/*** IFsrmMutableCollection methods ***/ +#define IFsrmCommittableCollection_Add(This,item) (This)->lpVtbl->Add(This,item) +#define IFsrmCommittableCollection_Remove(This,index) (This)->lpVtbl->Remove(This,index) +#define IFsrmCommittableCollection_RemoveById(This,id) (This)->lpVtbl->RemoveById(This,id) +#define IFsrmCommittableCollection_Clone(This,collection) (This)->lpVtbl->Clone(This,collection) +/*** IFsrmCommittableCollection methods ***/ +#define IFsrmCommittableCollection_Commit(This,options,results) (This)->lpVtbl->Commit(This,options,results) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFsrmCommittableCollection_QueryInterface(IFsrmCommittableCollection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFsrmCommittableCollection_AddRef(IFsrmCommittableCollection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFsrmCommittableCollection_Release(IFsrmCommittableCollection* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFsrmCommittableCollection_GetTypeInfoCount(IFsrmCommittableCollection* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_GetTypeInfo(IFsrmCommittableCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_GetIDsOfNames(IFsrmCommittableCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_Invoke(IFsrmCommittableCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IFsrmCollection methods ***/ +static FORCEINLINE HRESULT IFsrmCommittableCollection_get__NewEnum(IFsrmCommittableCollection* This,IUnknown **unknown) { + return This->lpVtbl->get__NewEnum(This,unknown); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_get_Item(IFsrmCommittableCollection* This,LONG index,VARIANT *item) { + return This->lpVtbl->get_Item(This,index,item); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_get_Count(IFsrmCommittableCollection* This,LONG *count) { + return This->lpVtbl->get_Count(This,count); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_get_State(IFsrmCommittableCollection* This,FsrmCollectionState *state) { + return This->lpVtbl->get_State(This,state); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_Cancel(IFsrmCommittableCollection* This) { + return This->lpVtbl->Cancel(This); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_WaitForCompletion(IFsrmCommittableCollection* This,LONG waitSeconds,VARIANT_BOOL *completed) { + return This->lpVtbl->WaitForCompletion(This,waitSeconds,completed); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_GetById(IFsrmCommittableCollection* This,FSRM_OBJECT_ID id,VARIANT *entry) { + return This->lpVtbl->GetById(This,id,entry); +} +/*** IFsrmMutableCollection methods ***/ +static FORCEINLINE HRESULT IFsrmCommittableCollection_Add(IFsrmCommittableCollection* This,VARIANT item) { + return This->lpVtbl->Add(This,item); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_Remove(IFsrmCommittableCollection* This,LONG index) { + return This->lpVtbl->Remove(This,index); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_RemoveById(IFsrmCommittableCollection* This,FSRM_OBJECT_ID id) { + return This->lpVtbl->RemoveById(This,id); +} +static FORCEINLINE HRESULT IFsrmCommittableCollection_Clone(IFsrmCommittableCollection* This,IFsrmMutableCollection **collection) { + return This->lpVtbl->Clone(This,collection); +} +/*** IFsrmCommittableCollection methods ***/ +static FORCEINLINE HRESULT IFsrmCommittableCollection_Commit(IFsrmCommittableCollection* This,FsrmCommitOptions options,IFsrmCollection **results) { + return This->lpVtbl->Commit(This,options,results); +} #endif +#endif -#define FsrmNeverModified 0x0000000000000000 -#define FsrmAlwaysModified 0xFFFFFFFFFFFFFFFF +#endif -typedef GUID FSRM_OBJECT_ID; -typedef __LONG32 FSRM_QUOTA_THRESHOLD; +HRESULT STDMETHODCALLTYPE IFsrmCommittableCollection_Commit_Proxy( + IFsrmCommittableCollection* This, + FsrmCommitOptions options, + IFsrmCollection **results); +void __RPC_STUB IFsrmCommittableCollection_Commit_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); -typedef enum _FsrmGetFilePropertyOptions { - FsrmGetFilePropertyOptions_None = 0x00000000, - FsrmGetFilePropertyOptions_NoRuleEvaluation = 0x00000001 -} FsrmGetFilePropertyOptions; +#endif /* __IFsrmCommittableCollection_INTERFACE_DEFINED__ */ -#ifdef __cplusplus +/***************************************************************************** + * IFsrmAccessDeniedRemediationClient interface + */ +#ifndef __IFsrmAccessDeniedRemediationClient_INTERFACE_DEFINED__ +#define __IFsrmAccessDeniedRemediationClient_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFsrmAccessDeniedRemediationClient, 0x40002314, 0x590b, 0x45a5, 0x8e,0x1b, 0x8c,0x05,0xda,0x52,0x7e,0x52); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("40002314-590b-45a5-8e1b-8c05da527e52") +IFsrmAccessDeniedRemediationClient : public IDispatch +{ + virtual HRESULT STDMETHODCALLTYPE Show( + ULONG_PTR parentWnd, + BSTR accessPath, + AdrClientErrorType errorType, + LONG flags, + BSTR windowTitle = L"", + BSTR windowMessage = L"", + LONG *result) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFsrmAccessDeniedRemediationClient, 0x40002314, 0x590b, 0x45a5, 0x8e,0x1b, 0x8c,0x05,0xda,0x52,0x7e,0x52) +#endif +#else +typedef struct IFsrmAccessDeniedRemediationClientVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFsrmAccessDeniedRemediationClient* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IFsrmAccessDeniedRemediationClient* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IFsrmAccessDeniedRemediationClient* This); + + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFsrmAccessDeniedRemediationClient* This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFsrmAccessDeniedRemediationClient* This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFsrmAccessDeniedRemediationClient* This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFsrmAccessDeniedRemediationClient* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IFsrmAccessDeniedRemediationClient methods ***/ + HRESULT (STDMETHODCALLTYPE *Show)( + IFsrmAccessDeniedRemediationClient* This, + ULONG_PTR parentWnd, + BSTR accessPath, + AdrClientErrorType errorType, + LONG flags, + BSTR windowTitle, + BSTR windowMessage, + LONG *result); + + END_INTERFACE +} IFsrmAccessDeniedRemediationClientVtbl; +interface IFsrmAccessDeniedRemediationClient { + CONST_VTBL IFsrmAccessDeniedRemediationClientVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IFsrmAccessDeniedRemediationClient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IFsrmAccessDeniedRemediationClient_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IFsrmAccessDeniedRemediationClient_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ +#define IFsrmAccessDeniedRemediationClient_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) +#define IFsrmAccessDeniedRemediationClient_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) +#define IFsrmAccessDeniedRemediationClient_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) +#define IFsrmAccessDeniedRemediationClient_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IFsrmAccessDeniedRemediationClient methods ***/ +#define IFsrmAccessDeniedRemediationClient_Show(This,parentWnd,accessPath,errorType,flags,windowTitle,windowMessage,result) (This)->lpVtbl->Show(This,parentWnd,accessPath,errorType,flags,windowTitle,windowMessage,result) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFsrmAccessDeniedRemediationClient_QueryInterface(IFsrmAccessDeniedRemediationClient* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); } +static FORCEINLINE ULONG IFsrmAccessDeniedRemediationClient_AddRef(IFsrmAccessDeniedRemediationClient* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFsrmAccessDeniedRemediationClient_Release(IFsrmAccessDeniedRemediationClient* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFsrmAccessDeniedRemediationClient_GetTypeInfoCount(IFsrmAccessDeniedRemediationClient* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFsrmAccessDeniedRemediationClient_GetTypeInfo(IFsrmAccessDeniedRemediationClient* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFsrmAccessDeniedRemediationClient_GetIDsOfNames(IFsrmAccessDeniedRemediationClient* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFsrmAccessDeniedRemediationClient_Invoke(IFsrmAccessDeniedRemediationClient* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IFsrmAccessDeniedRemediationClient methods ***/ +static FORCEINLINE HRESULT IFsrmAccessDeniedRemediationClient_Show(IFsrmAccessDeniedRemediationClient* This,ULONG_PTR parentWnd,BSTR accessPath,AdrClientErrorType errorType,LONG flags,BSTR windowTitle,BSTR windowMessage,LONG *result) { + return This->lpVtbl->Show(This,parentWnd,accessPath,errorType,flags,windowTitle,windowMessage,result); +} #endif +#endif -#undef INTERFACE -#define INTERFACE IFsrmAction -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) #endif -DECLARE_INTERFACE_(IFsrmAction,IDispatch) + +HRESULT STDMETHODCALLTYPE IFsrmAccessDeniedRemediationClient_Show_Proxy( + IFsrmAccessDeniedRemediationClient* This, + ULONG_PTR parentWnd, + BSTR accessPath, + AdrClientErrorType errorType, + LONG flags, + BSTR windowTitle, + BSTR windowMessage, + LONG *result); +void __RPC_STUB IFsrmAccessDeniedRemediationClient_Show_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IFsrmAccessDeniedRemediationClient_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFsrmAction interface + */ +#ifndef __IFsrmAction_INTERFACE_DEFINED__ +#define __IFsrmAction_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFsrmAction, 0x6cd6408a, 0xae60, 0x463b, 0x9e,0xf1, 0xe1,0x17,0x53,0x4d,0x69,0xdc); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("6cd6408a-ae60-463b-9ef1-e117534d69dc") +IFsrmAction : public IDispatch { + virtual HRESULT STDMETHODCALLTYPE get_Id( + FSRM_OBJECT_ID *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_ActionType( + FsrmActionType *actionType) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_RunLimitInterval( + LONG *minutes) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_RunLimitInterval( + LONG minutes) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFsrmAction, 0x6cd6408a, 0xae60, 0x463b, 0x9e,0xf1, 0xe1,0x17,0x53,0x4d,0x69,0xdc) +#endif +#else +typedef struct IFsrmActionVtbl { BEGIN_INTERFACE - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFsrmAction* This, + REFIID riid, + void **ppvObject); - /* IDispatch methods */ - STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR* pctinfo) PURE; - STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int iTInfo,LCID lcid,ITypeInfo FAR* FAR* ppTInfo) PURE; - STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,OLECHAR FAR* FAR* rgszNames,unsigned int cNames,LCID lcid,DISPID FAR* rgDispId) PURE; - STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS FAR* pDispParams,VARIANT FAR* pVarResult,EXCEPINFO FAR* pExcepInfo,unsigned int FAR* puArgErr) PURE; + ULONG (STDMETHODCALLTYPE *AddRef)( + IFsrmAction* This); - /* IFsrmAction methods */ - STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE; - STDMETHOD_(HRESULT,get_ActionType)(THIS_ FsrmActionType *actionType) PURE; - STDMETHOD_(HRESULT,put_RunLimitInterval)(THIS_ __LONG32 minutes) PURE; - STDMETHOD_(HRESULT,get_RunLimitInterval)(THIS_ __LONG32 *minutes) PURE; - STDMETHOD_(HRESULT,Delete)(THIS) PURE; + ULONG (STDMETHODCALLTYPE *Release)( + IFsrmAction* This); + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFsrmAction* This, + UINT *pctinfo); + + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFsrmAction* This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFsrmAction* This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFsrmAction* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IFsrmAction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Id)( + IFsrmAction* This, + FSRM_OBJECT_ID *id); + + HRESULT (STDMETHODCALLTYPE *get_ActionType)( + IFsrmAction* This, + FsrmActionType *actionType); + + HRESULT (STDMETHODCALLTYPE *get_RunLimitInterval)( + IFsrmAction* This, + LONG *minutes); + + HRESULT (STDMETHODCALLTYPE *put_RunLimitInterval)( + IFsrmAction* This, + LONG minutes); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IFsrmAction* This); + END_INTERFACE +} IFsrmActionVtbl; +interface IFsrmAction { + CONST_VTBL IFsrmActionVtbl* lpVtbl; }; + #ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ #define IFsrmAction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) #define IFsrmAction_AddRef(This) (This)->lpVtbl->AddRef(This) #define IFsrmAction_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ #define IFsrmAction_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) #define IFsrmAction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) #define IFsrmAction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) #define IFsrmAction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IFsrmAction methods ***/ #define IFsrmAction_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) #define IFsrmAction_get_ActionType(This,actionType) (This)->lpVtbl->get_ActionType(This,actionType) +#define IFsrmAction_get_RunLimitInterval(This,minutes) (This)->lpVtbl->get_RunLimitInterval(This,minutes) #define IFsrmAction_put_RunLimitInterval(This,minutes) (This)->lpVtbl->put_RunLimitInterval(This,minutes) -#define IFsrmAction_get_RunLimitInterval(This,minutes) (This)->lpVtbl->get_RunLimitInterval(This,minutes) -#define IFsrmAction_Delete() (This)->lpVtbl->Delete(This) -#endif /*COBJMACROS*/ +#define IFsrmAction_Delete(This) (This)->lpVtbl->Delete(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFsrmAction_QueryInterface(IFsrmAction* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFsrmAction_AddRef(IFsrmAction* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFsrmAction_Release(IFsrmAction* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFsrmAction_GetTypeInfoCount(IFsrmAction* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFsrmAction_GetTypeInfo(IFsrmAction* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFsrmAction_GetIDsOfNames(IFsrmAction* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFsrmAction_Invoke(IFsrmAction* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IFsrmAction methods ***/ +static FORCEINLINE HRESULT IFsrmAction_get_Id(IFsrmAction* This,FSRM_OBJECT_ID *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT IFsrmAction_get_ActionType(IFsrmAction* This,FsrmActionType *actionType) { + return This->lpVtbl->get_ActionType(This,actionType); +} +static FORCEINLINE HRESULT IFsrmAction_get_RunLimitInterval(IFsrmAction* This,LONG *minutes) { + return This->lpVtbl->get_RunLimitInterval(This,minutes); +} +static FORCEINLINE HRESULT IFsrmAction_put_RunLimitInterval(IFsrmAction* This,LONG minutes) { + return This->lpVtbl->put_RunLimitInterval(This,minutes); +} +static FORCEINLINE HRESULT IFsrmAction_Delete(IFsrmAction* This) { + return This->lpVtbl->Delete(This); +} +#endif +#endif -#undef INTERFACE -#define INTERFACE IFsrmActionCommand -#ifdef __GNUC__ -#warning COM interfaces layout in this header has not been verified. -#warning COM interfaces with incorrect layout may not work at all. -__MINGW_BROKEN_INTERFACE(INTERFACE) #endif -DECLARE_INTERFACE_(IFsrmActionCommand,IFsrmAction) + +HRESULT STDMETHODCALLTYPE IFsrmAction_get_Id_Proxy( + IFsrmAction* This, + FSRM_OBJECT_ID *id); +void __RPC_STUB IFsrmAction_get_Id_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmAction_get_ActionType_Proxy( + IFsrmAction* This, + FsrmActionType *actionType); +void __RPC_STUB IFsrmAction_get_ActionType_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmAction_get_RunLimitInterval_Proxy( + IFsrmAction* This, + LONG *minutes); +void __RPC_STUB IFsrmAction_get_RunLimitInterval_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmAction_put_RunLimitInterval_Proxy( + IFsrmAction* This, + LONG minutes); +void __RPC_STUB IFsrmAction_put_RunLimitInterval_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IFsrmAction_Delete_Proxy( + IFsrmAction* This); +void __RPC_STUB IFsrmAction_Delete_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IFsrmAction_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IFsrmActionCommand interface + */ +#ifndef __IFsrmActionCommand_INTERFACE_DEFINED__ +#define __IFsrmActionCommand_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IFsrmActionCommand, 0x12937789, 0xe247, 0x4917, 0x9c,0x20, 0xf3,0xee,0x9c,0x7e,0xe7,0x83); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("12937789-e247-4917-9c20-f3ee9c7ee783") +IFsrmActionCommand : public IFsrmAction { + virtual HRESULT STDMETHODCALLTYPE get_ExecutablePath( + BSTR *executablePath) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_ExecutablePath( + BSTR executablePath) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Arguments( + BSTR *arguments) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Arguments( + BSTR arguments) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_Account( + FsrmAccountType *account) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_Account( + FsrmAccountType account) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_WorkingDirectory( + BSTR *workingDirectory) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_WorkingDirectory( + BSTR workingDirectory) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_MonitorCommand( + VARIANT_BOOL *monitorCommand) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_MonitorCommand( + VARIANT_BOOL monitorCommand) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_KillTimeOut( + LONG *minutes) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_KillTimeOut( + LONG minutes) = 0; + + virtual HRESULT STDMETHODCALLTYPE get_LogResult( + VARIANT_BOOL *logResults) = 0; + + virtual HRESULT STDMETHODCALLTYPE put_LogResult( + VARIANT_BOOL logResults) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IFsrmActionCommand, 0x12937789, 0xe247, 0x4917, 0x9c,0x20, 0xf3,0xee,0x9c,0x7e,0xe7,0x83) +#endif +#else +typedef struct IFsrmActionCommandVtbl { BEGIN_INTERFACE - /* IUnknown methods */ - STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; - STDMETHOD_(ULONG, AddRef)(THIS) PURE; - STDMETHOD_(ULONG, Release)(THIS) PURE; + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IFsrmActionCommand* This, + REFIID riid, + void **ppvObject); - /* IDispatch methods */ - STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR* pctinfo) PURE; - STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int iTInfo,LCID lcid,ITypeInfo FAR* FAR* ppTInfo) PURE; - STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,OLECHAR FAR* FAR* rgszNames,unsigned int cNames,LCID lcid,DISPID FAR* rgDispId) PURE; - STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS FAR* pDispParams,VARIANT FAR* pVarResult,EXCEPINFO FAR* pExcepInfo,unsigned int FAR* puArgErr) PURE; + ULONG (STDMETHODCALLTYPE *AddRef)( + IFsrmActionCommand* This); - /* IFsrmAction methods */ - STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE; - STDMETHOD_(HRESULT,get_ActionType)(THIS_ FsrmActionType *actionType) PURE; - STDMETHOD_(HRESULT,put_RunLimitInterval)(THIS_ __LONG32 minutes) PURE; - STDMETHOD_(HRESULT,get_RunLimitInterval)(THIS_ __LONG32 *minutes) PURE; - STDMETHOD_(HRESULT,Delete)(THIS) PURE; + ULONG (STDMETHODCALLTYPE *Release)( + IFsrmActionCommand* This); - /* IFsrmActionCommand methods */ - STDMETHOD_(HRESULT,get_ExecutablePath)(THIS_ BSTR *executablePath) PURE; - STDMETHOD_(HRESULT,put_ExecutablePath)(THIS_ BSTR executablePath) PURE; - STDMETHOD_(HRESULT,get_Arguments)(THIS_ BSTR *arguments) PURE; - STDMETHOD_(HRESULT,put_Arguments)(THIS_ BSTR arguments) PURE; - STDMETHOD_(HRESULT,get_Account)(THIS_ FsrmAccountType *account) PURE; - STDMETHOD_(HRESULT,put_Account)(THIS_ FsrmAccountType account) PURE; - STDMETHOD_(HRESULT,get_WorkingDirectory)(THIS_ BSTR *workingDirectory) PURE; - STDMETHOD_(HRESULT,put_WorkingDirectory)(THIS_ BSTR workingDirectory) PURE; - STDMETHOD_(HRESULT,get_MonitorCommand)(THIS_ VARIANT_BOOL *monitorCommand) PURE; - STDMETHOD_(HRESULT,put_MonitorCommand)(THIS_ VARIANT_BOOL monitorCommand) PURE; - STDMETHOD_(HRESULT,get_KillTimeOut)(THIS_ __LONG32 *minutes) PURE; - STDMETHOD_(HRESULT,put_KillTimeOut)(THIS_ __LONG32 minutes) PURE; - STDMETHOD_(HRESULT,get_LogResult)(THIS_ VARIANT_BOOL *logResults) PURE; - STDMETHOD_(HRESULT,put_LogResult)(THIS_ VARIANT_BOOL logResults) PURE; + /*** IDispatch methods ***/ + HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( + IFsrmActionCommand* This, + UINT *pctinfo); + HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( + IFsrmActionCommand* This, + UINT iTInfo, + LCID lcid, + ITypeInfo **ppTInfo); + + HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( + IFsrmActionCommand* This, + REFIID riid, + LPOLESTR *rgszNames, + UINT cNames, + LCID lcid, + DISPID *rgDispId); + + HRESULT (STDMETHODCALLTYPE *Invoke)( + IFsrmActionCommand* This, + DISPID dispIdMember, + REFIID riid, + LCID lcid, + WORD wFlags, + DISPPARAMS *pDispParams, + VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, + UINT *puArgErr); + + /*** IFsrmAction methods ***/ + HRESULT (STDMETHODCALLTYPE *get_Id)( + IFsrmActionCommand* This, + FSRM_OBJECT_ID *id); + + HRESULT (STDMETHODCALLTYPE *get_ActionType)( + IFsrmActionCommand* This, + FsrmActionType *actionType); + + HRESULT (STDMETHODCALLTYPE *get_RunLimitInterval)( + IFsrmActionCommand* This, + LONG *minutes); + + HRESULT (STDMETHODCALLTYPE *put_RunLimitInterval)( + IFsrmActionCommand* This, + LONG minutes); + + HRESULT (STDMETHODCALLTYPE *Delete)( + IFsrmActionCommand* This); + + /*** IFsrmActionCommand methods ***/ + HRESULT (STDMETHODCALLTYPE *get_ExecutablePath)( + IFsrmActionCommand* This, + BSTR *executablePath); + + HRESULT (STDMETHODCALLTYPE *put_ExecutablePath)( + IFsrmActionCommand* This, + BSTR executablePath); + + HRESULT (STDMETHODCALLTYPE *get_Arguments)( + IFsrmActionCommand* This, + BSTR *arguments); + + HRESULT (STDMETHODCALLTYPE *put_Arguments)( + IFsrmActionCommand* This, + BSTR arguments); + + HRESULT (STDMETHODCALLTYPE *get_Account)( + IFsrmActionCommand* This, + FsrmAccountType *account); + + HRESULT (STDMETHODCALLTYPE *put_Account)( + IFsrmActionCommand* This, + FsrmAccountType account); + + HRESULT (STDMETHODCALLTYPE *get_WorkingDirectory)( + IFsrmActionCommand* This, + BSTR *workingDirectory); + + HRESULT (STDMETHODCALLTYPE *put_WorkingDirectory)( + IFsrmActionCommand* This, + BSTR workingDirectory); + + HRESULT (STDMETHODCALLTYPE *get_MonitorCommand)( + IFsrmActionCommand* This, + VARIANT_BOOL *monitorCommand); + + HRESULT (STDMETHODCALLTYPE *put_MonitorCommand)( + IFsrmActionCommand* This, + VARIANT_BOOL monitorCommand); + + HRESULT (STDMETHODCALLTYPE *get_KillTimeOut)( + IFsrmActionCommand* This, + LONG *minutes); + + HRESULT (STDMETHODCALLTYPE *put_KillTimeOut)( + IFsrmActionCommand* This, + LONG minutes); + + HRESULT (STDMETHODCALLTYPE *get_LogResult)( + IFsrmActionCommand* This, + VARIANT_BOOL *logResults); + + HRESULT (STDMETHODCALLTYPE *put_LogResult)( + IFsrmActionCommand* This, + VARIANT_BOOL logResults); + END_INTERFACE +} IFsrmActionCommandVtbl; +interface IFsrmActionCommand { + CONST_VTBL IFsrmActionCommandVtbl* lpVtbl; }; + #ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ #define IFsrmActionCommand_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) #define IFsrmActionCommand_AddRef(This) (This)->lpVtbl->AddRef(This) #define IFsrmActionCommand_Release(This) (This)->lpVtbl->Release(This) +/*** IDispatch methods ***/ #define IFsrmActionCommand_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) #define IFsrmActionCommand_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) #define IFsrmActionCommand_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) #define IFsrmActionCommand_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) +/*** IFsrmAction methods ***/ #define IFsrmActionCommand_get_Id(This,id) (This)->lpVtbl->get_Id(This,id) #define IFsrmActionCommand_get_ActionType(This,actionType) (This)->lpVtbl->get_ActionType(This,actionType) +#define IFsrmActionCommand_get_RunLimitInterval(This,minutes) (This)->lpVtbl->get_RunLimitInterval(This,minutes) #define IFsrmActionCommand_put_RunLimitInterval(This,minutes) (This)->lpVtbl->put_RunLimitInterval(This,minutes) -#define IFsrmActionCommand_get_RunLimitInterval(This,minutes) (This)->lpVtbl->get_RunLimitInterval(This,minutes) -#define IFsrmActionCommand_Delete() (This)->lpVtbl->Delete(This) +#define IFsrmActionCommand_Delete(This) (This)->lpVtbl->Delete(This) +/*** IFsrmActionCommand methods ***/ #define IFsrmActionCommand_get_ExecutablePath(This,executablePath) (This)->lpVtbl->get_ExecutablePath(This,executablePath) #define IFsrmActionCommand_put_ExecutablePath(This,executablePath) (This)->lpVtbl->put_ExecutablePath(This,executablePath) #define IFsrmActionCommand_get_Arguments(This,arguments) (This)->lpVtbl->get_Arguments(This,arguments) @@ -412,816 +1029,1861 @@ #define IFsrmActionCommand_put_KillTimeOut(This,minutes) (This)->lpVtbl->put_KillTimeOut(This,minutes) #define IFsrmActionCommand_get_LogResult(This,logResults) (This)->lpVtbl->get_LogResult(This,logResults) #define IFsrmActionCommand_put_LogResult(This,logResults) (This)->lpVtbl->put_LogResult(This,logResults) -#endif /*COBJMACROS*/ +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IFsrmActionCommand_QueryInterface(IFsrmActionCommand* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IFsrmActionCommand_AddRef(IFsrmActionCommand* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IFsrmActionCommand_Release(IFsrmActionCommand* This) { + return This->lpVtbl->Release(This); +} +/*** IDispatch methods ***/ +static FORCEINLINE HRESULT IFsrmActionCommand_GetTypeInfoCount(IFsrmActionCommand* This,UINT *pctinfo) { + return This->lpVtbl->GetTypeInfoCount(This,pctinfo); +} +static FORCEINLINE HRESULT IFsrmActionCommand_GetTypeInfo(IFsrmActionCommand* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { + return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); +} +static FORCEINLINE HRESULT IFsrmActionCommand_GetIDsOfNames(IFsrmActionCommand* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { + return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); +} +static FORCEINLINE HRESULT IFsrmActionCommand_Invoke(IFsrmActionCommand* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { + return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); +} +/*** IFsrmAction methods ***/ +static FORCEINLINE HRESULT IFsrmActionCommand_get_Id(IFsrmActionCommand* This,FSRM_OBJECT_ID *id) { + return This->lpVtbl->get_Id(This,id); +} +static FORCEINLINE HRESULT IFsrmActionCommand_get_ActionType(IFsrmActionCommand* This,FsrmActionType *actionType) { + return This->lpVtbl->get_ActionType(This,actionType); +} +static FORCEINLINE HRESULT IFsrmActionCommand_get_RunLimitInterval(IFsrmActionCommand* This,LONG *minutes) { + return This->lpVtbl->get_RunLimitInterval(This,minutes); +} +static FORCEINLINE HRESULT IFsrmActionCommand_put_RunLimitInterval(IFsrmActionCommand* This,LONG minutes) { + return This->lpVtbl->put_RunLimitInterval(This,minutes); +} +static FORCEINLINE HRESULT IFsrmActionCommand_Delete(IFsrmActionCommand* This) { + return This->lpVtbl->Delete(This); +} +/*** IFsrmActionCommand methods ***/ +static FORCEINLINE HRESULT IFsrmActionCommand_get_ExecutablePath(IFsrmActionCommand* This,BSTR *executablePath) { + return This->lpVtbl->get_ExecutablePath(This,executablePath); +} +static FORCEINLINE HRESULT IFsrmActionCommand_put_ExecutablePath(IFsrmActionCommand* This,BSTR executablePath) { + return This->lpVtbl->put_ExecutablePath(This,executablePath); +} +static FORCEINLINE HRESULT IFsrmActionCommand_get_Arguments(IFsrmActionCommand* This,BSTR *arguments) { + return This->lpVtbl->get_Arguments(This,arguments); +} +static FORCEINLINE HRESULT IFsrmActionCommand_put_Arguments(IFsrmActionCommand* This,BSTR arguments) { + return This->lpVtbl->put_Arguments(This,arguments); +} +static FORCEINLINE HRESULT IFsrmActionCommand_get_Account(IFsrmActionCommand* This,FsrmAccountType *account) { + return This->lpVtbl->get_Account(This,account); +} +static FORCEINLINE HRESULT IFsrmActionCommand_put_Account(IFsrmActionCommand* This,FsrmAccountType account) { + return This->lpVtbl->put_Account(This,account); +} +static FORCEINLINE HRESULT IFsrmActionCommand_get_WorkingDirectory(IFsrmActionCommand* This,BSTR *workingDirectory) { + return This->lpVtbl->get_WorkingDirectory(This,workingDirectory); +} +static FORCEINLINE HRESULT IFsrmActionCommand_put_WorkingDirectory(IFsrmActionCommand* This,BSTR workingDirectory) { + return This->lpVtbl->put_WorkingDirectory(This,workingDirectory); +} +static FORCEINLINE HRESULT IFsrmActionCommand_get_MonitorCommand(IFsrmActionCommand* This,VARIANT_BOOL *monitorCommand) { + return This->lpVtbl->get_MonitorCommand(This,monitorCommand);... [truncated message content] |
From: <kti...@us...> - 2014-03-25 16:09:57
|
Revision: 6549 http://sourceforge.net/p/mingw-w64/code/6549 Author: ktietz70 Date: 2014-03-25 16:09:42 +0000 (Tue, 25 Mar 2014) Log Message: ----------- Add active-debugging APIs Modified Paths: -------------- trunk/mingw-w64-headers/Makefile.am trunk/mingw-w64-headers/Makefile.in Added Paths: ----------- trunk/mingw-w64-headers/include/activdbg.h trunk/mingw-w64-headers/include/activdbg.idl trunk/mingw-w64-headers/include/activdbg100.h trunk/mingw-w64-headers/include/activdbg100.idl Modified: trunk/mingw-w64-headers/Makefile.am =================================================================== --- trunk/mingw-w64-headers/Makefile.am 2014-03-24 15:51:29 UTC (rev 6548) +++ trunk/mingw-w64-headers/Makefile.am 2014-03-25 16:09:42 UTC (rev 6549) @@ -60,6 +60,8 @@ IDL_SRCS = \ include/activation.idl \ include/activaut.idl \ + include/activdbg.idl \ + include/activdbg100.idl \ include/activprof.idl \ include/activscp.idl \ include/audioclient.idl \ Modified: trunk/mingw-w64-headers/Makefile.in =================================================================== --- trunk/mingw-w64-headers/Makefile.in 2014-03-24 15:51:29 UTC (rev 6548) +++ trunk/mingw-w64-headers/Makefile.in 2014-03-25 16:09:42 UTC (rev 6549) @@ -284,6 +284,8 @@ @HAVE_WIDL_TRUE@IDL_SRCS = \ @HAVE_WIDL_TRUE@ include/activation.idl \ @HAVE_WIDL_TRUE@ include/activaut.idl \ +@HAVE_WIDL_TRUE@ include/activdbg.idl \ +@HAVE_WIDL_TRUE@ include/activdbg100.idl \ @HAVE_WIDL_TRUE@ include/activprof.idl \ @HAVE_WIDL_TRUE@ include/activscp.idl \ @HAVE_WIDL_TRUE@ include/audioclient.idl \ Added: trunk/mingw-w64-headers/include/activdbg.h =================================================================== --- trunk/mingw-w64-headers/include/activdbg.h (rev 0) +++ trunk/mingw-w64-headers/include/activdbg.h 2014-03-25 16:09:42 UTC (rev 6549) @@ -0,0 +1,11475 @@ +/*** Autogenerated by WIDL 1.6 from activdbg.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __activdbg_h__ +#define __activdbg_h__ + +/* Forward declarations */ + +#ifndef __IActiveScriptDebug32_FWD_DEFINED__ +#define __IActiveScriptDebug32_FWD_DEFINED__ +typedef interface IActiveScriptDebug32 IActiveScriptDebug32; +#endif + +#ifndef __IActiveScriptDebug64_FWD_DEFINED__ +#define __IActiveScriptDebug64_FWD_DEFINED__ +typedef interface IActiveScriptDebug64 IActiveScriptDebug64; +#endif + +#ifndef __IActiveScriptSiteDebug32_FWD_DEFINED__ +#define __IActiveScriptSiteDebug32_FWD_DEFINED__ +typedef interface IActiveScriptSiteDebug32 IActiveScriptSiteDebug32; +#endif + +#ifndef __IActiveScriptSiteDebug64_FWD_DEFINED__ +#define __IActiveScriptSiteDebug64_FWD_DEFINED__ +typedef interface IActiveScriptSiteDebug64 IActiveScriptSiteDebug64; +#endif + +#ifndef __IActiveScriptSiteDebugEx_FWD_DEFINED__ +#define __IActiveScriptSiteDebugEx_FWD_DEFINED__ +typedef interface IActiveScriptSiteDebugEx IActiveScriptSiteDebugEx; +#endif + +#ifndef __IActiveScriptErrorDebug_FWD_DEFINED__ +#define __IActiveScriptErrorDebug_FWD_DEFINED__ +typedef interface IActiveScriptErrorDebug IActiveScriptErrorDebug; +#endif + +#ifndef __IDebugCodeContext_FWD_DEFINED__ +#define __IDebugCodeContext_FWD_DEFINED__ +typedef interface IDebugCodeContext IDebugCodeContext; +#endif + +#ifndef __IDebugExpression_FWD_DEFINED__ +#define __IDebugExpression_FWD_DEFINED__ +typedef interface IDebugExpression IDebugExpression; +#endif + +#ifndef __IDebugExpressionContext_FWD_DEFINED__ +#define __IDebugExpressionContext_FWD_DEFINED__ +typedef interface IDebugExpressionContext IDebugExpressionContext; +#endif + +#ifndef __IDebugExpressionCallBack_FWD_DEFINED__ +#define __IDebugExpressionCallBack_FWD_DEFINED__ +typedef interface IDebugExpressionCallBack IDebugExpressionCallBack; +#endif + +#ifndef __IDebugStackFrame_FWD_DEFINED__ +#define __IDebugStackFrame_FWD_DEFINED__ +typedef interface IDebugStackFrame IDebugStackFrame; +#endif + +#ifndef __IDebugStackFrameSniffer_FWD_DEFINED__ +#define __IDebugStackFrameSniffer_FWD_DEFINED__ +typedef interface IDebugStackFrameSniffer IDebugStackFrameSniffer; +#endif + +#ifndef __IDebugStackFrameSnifferEx32_FWD_DEFINED__ +#define __IDebugStackFrameSnifferEx32_FWD_DEFINED__ +typedef interface IDebugStackFrameSnifferEx32 IDebugStackFrameSnifferEx32; +#endif + +#ifndef __IDebugStackFrameSnifferEx64_FWD_DEFINED__ +#define __IDebugStackFrameSnifferEx64_FWD_DEFINED__ +typedef interface IDebugStackFrameSnifferEx64 IDebugStackFrameSnifferEx64; +#endif + +#ifndef __IDebugSyncOperation_FWD_DEFINED__ +#define __IDebugSyncOperation_FWD_DEFINED__ +typedef interface IDebugSyncOperation IDebugSyncOperation; +#endif + +#ifndef __IDebugAsyncOperation_FWD_DEFINED__ +#define __IDebugAsyncOperation_FWD_DEFINED__ +typedef interface IDebugAsyncOperation IDebugAsyncOperation; +#endif + +#ifndef __IDebugAsyncOperationCallBack_FWD_DEFINED__ +#define __IDebugAsyncOperationCallBack_FWD_DEFINED__ +typedef interface IDebugAsyncOperationCallBack IDebugAsyncOperationCallBack; +#endif + +#ifndef __IEnumDebugCodeContexts_FWD_DEFINED__ +#define __IEnumDebugCodeContexts_FWD_DEFINED__ +typedef interface IEnumDebugCodeContexts IEnumDebugCodeContexts; +#endif + +#ifndef __IEnumDebugStackFrames_FWD_DEFINED__ +#define __IEnumDebugStackFrames_FWD_DEFINED__ +typedef interface IEnumDebugStackFrames IEnumDebugStackFrames; +#endif + +#ifndef __IEnumDebugStackFrames64_FWD_DEFINED__ +#define __IEnumDebugStackFrames64_FWD_DEFINED__ +typedef interface IEnumDebugStackFrames64 IEnumDebugStackFrames64; +#endif + +#ifndef __IDebugDocumentInfo_FWD_DEFINED__ +#define __IDebugDocumentInfo_FWD_DEFINED__ +typedef interface IDebugDocumentInfo IDebugDocumentInfo; +#endif + +#ifndef __IDebugDocumentProvider_FWD_DEFINED__ +#define __IDebugDocumentProvider_FWD_DEFINED__ +typedef interface IDebugDocumentProvider IDebugDocumentProvider; +#endif + +#ifndef __IDebugDocument_FWD_DEFINED__ +#define __IDebugDocument_FWD_DEFINED__ +typedef interface IDebugDocument IDebugDocument; +#endif + +#ifndef __IDebugDocumentText_FWD_DEFINED__ +#define __IDebugDocumentText_FWD_DEFINED__ +typedef interface IDebugDocumentText IDebugDocumentText; +#endif + +#ifndef __IDebugDocumentTextEvents_FWD_DEFINED__ +#define __IDebugDocumentTextEvents_FWD_DEFINED__ +typedef interface IDebugDocumentTextEvents IDebugDocumentTextEvents; +#endif + +#ifndef __IDebugDocumentTextAuthor_FWD_DEFINED__ +#define __IDebugDocumentTextAuthor_FWD_DEFINED__ +typedef interface IDebugDocumentTextAuthor IDebugDocumentTextAuthor; +#endif + +#ifndef __IDebugDocumentTextExternalAuthor_FWD_DEFINED__ +#define __IDebugDocumentTextExternalAuthor_FWD_DEFINED__ +typedef interface IDebugDocumentTextExternalAuthor IDebugDocumentTextExternalAuthor; +#endif + +#ifndef __IDebugDocumentHelper32_FWD_DEFINED__ +#define __IDebugDocumentHelper32_FWD_DEFINED__ +typedef interface IDebugDocumentHelper32 IDebugDocumentHelper32; +#endif + +#ifndef __IDebugDocumentHelper64_FWD_DEFINED__ +#define __IDebugDocumentHelper64_FWD_DEFINED__ +typedef interface IDebugDocumentHelper64 IDebugDocumentHelper64; +#endif + +#ifndef __IDebugDocumentHost_FWD_DEFINED__ +#define __IDebugDocumentHost_FWD_DEFINED__ +typedef interface IDebugDocumentHost IDebugDocumentHost; +#endif + +#ifndef __IDebugDocumentContext_FWD_DEFINED__ +#define __IDebugDocumentContext_FWD_DEFINED__ +typedef interface IDebugDocumentContext IDebugDocumentContext; +#endif + +#ifndef __IDebugSessionProvider_FWD_DEFINED__ +#define __IDebugSessionProvider_FWD_DEFINED__ +typedef interface IDebugSessionProvider IDebugSessionProvider; +#endif + +#ifndef __IApplicationDebugger_FWD_DEFINED__ +#define __IApplicationDebugger_FWD_DEFINED__ +typedef interface IApplicationDebugger IApplicationDebugger; +#endif + +#ifndef __IApplicationDebuggerUI_FWD_DEFINED__ +#define __IApplicationDebuggerUI_FWD_DEFINED__ +typedef interface IApplicationDebuggerUI IApplicationDebuggerUI; +#endif + +#ifndef __IMachineDebugManager_FWD_DEFINED__ +#define __IMachineDebugManager_FWD_DEFINED__ +typedef interface IMachineDebugManager IMachineDebugManager; +#endif + +#ifndef __IMachineDebugManagerCookie_FWD_DEFINED__ +#define __IMachineDebugManagerCookie_FWD_DEFINED__ +typedef interface IMachineDebugManagerCookie IMachineDebugManagerCookie; +#endif + +#ifndef __IMachineDebugManagerEvents_FWD_DEFINED__ +#define __IMachineDebugManagerEvents_FWD_DEFINED__ +typedef interface IMachineDebugManagerEvents IMachineDebugManagerEvents; +#endif + +#ifndef __IProcessDebugManager32_FWD_DEFINED__ +#define __IProcessDebugManager32_FWD_DEFINED__ +typedef interface IProcessDebugManager32 IProcessDebugManager32; +#endif + +#ifndef __IProcessDebugManager64_FWD_DEFINED__ +#define __IProcessDebugManager64_FWD_DEFINED__ +typedef interface IProcessDebugManager64 IProcessDebugManager64; +#endif + +#ifndef __IRemoteDebugApplication_FWD_DEFINED__ +#define __IRemoteDebugApplication_FWD_DEFINED__ +typedef interface IRemoteDebugApplication IRemoteDebugApplication; +#endif + +#ifndef __IDebugApplication32_FWD_DEFINED__ +#define __IDebugApplication32_FWD_DEFINED__ +typedef interface IDebugApplication32 IDebugApplication32; +#endif + +#ifndef __IDebugApplication64_FWD_DEFINED__ +#define __IDebugApplication64_FWD_DEFINED__ +typedef interface IDebugApplication64 IDebugApplication64; +#endif + +#ifndef __IRemoteDebugApplicationEvents_FWD_DEFINED__ +#define __IRemoteDebugApplicationEvents_FWD_DEFINED__ +typedef interface IRemoteDebugApplicationEvents IRemoteDebugApplicationEvents; +#endif + +#ifndef __IDebugApplicationNode_FWD_DEFINED__ +#define __IDebugApplicationNode_FWD_DEFINED__ +typedef interface IDebugApplicationNode IDebugApplicationNode; +#endif + +#ifndef __IDebugApplicationNodeEvents_FWD_DEFINED__ +#define __IDebugApplicationNodeEvents_FWD_DEFINED__ +typedef interface IDebugApplicationNodeEvents IDebugApplicationNodeEvents; +#endif + +#ifndef __AsyncIDebugApplicationNodeEvents_FWD_DEFINED__ +#define __AsyncIDebugApplicationNodeEvents_FWD_DEFINED__ +typedef interface AsyncIDebugApplicationNodeEvents AsyncIDebugApplicationNodeEvents; +#endif + +#ifndef __IDebugThreadCall32_FWD_DEFINED__ +#define __IDebugThreadCall32_FWD_DEFINED__ +typedef interface IDebugThreadCall32 IDebugThreadCall32; +#endif + +#ifndef __IDebugThreadCall64_FWD_DEFINED__ +#define __IDebugThreadCall64_FWD_DEFINED__ +typedef interface IDebugThreadCall64 IDebugThreadCall64; +#endif + +#ifndef __IRemoteDebugApplicationThread_FWD_DEFINED__ +#define __IRemoteDebugApplicationThread_FWD_DEFINED__ +typedef interface IRemoteDebugApplicationThread IRemoteDebugApplicationThread; +#endif + +#ifndef __IDebugApplicationThread_FWD_DEFINED__ +#define __IDebugApplicationThread_FWD_DEFINED__ +typedef interface IDebugApplicationThread IDebugApplicationThread; +#endif + +#ifndef __IDebugApplicationThread64_FWD_DEFINED__ +#define __IDebugApplicationThread64_FWD_DEFINED__ +typedef interface IDebugApplicationThread64 IDebugApplicationThread64; +#endif + +#ifndef __IDebugCookie_FWD_DEFINED__ +#define __IDebugCookie_FWD_DEFINED__ +typedef interface IDebugCookie IDebugCookie; +#endif + +#ifndef __IEnumDebugApplicationNodes_FWD_DEFINED__ +#define __IEnumDebugApplicationNodes_FWD_DEFINED__ +typedef interface IEnumDebugApplicationNodes IEnumDebugApplicationNodes; +#endif + +#ifndef __IEnumRemoteDebugApplications_FWD_DEFINED__ +#define __IEnumRemoteDebugApplications_FWD_DEFINED__ +typedef interface IEnumRemoteDebugApplications IEnumRemoteDebugApplications; +#endif + +#ifndef __IEnumRemoteDebugApplicationThreads_FWD_DEFINED__ +#define __IEnumRemoteDebugApplicationThreads_FWD_DEFINED__ +typedef interface IEnumRemoteDebugApplicationThreads IEnumRemoteDebugApplicationThreads; +#endif + +#ifndef __IDebugFormatter_FWD_DEFINED__ +#define __IDebugFormatter_FWD_DEFINED__ +typedef interface IDebugFormatter IDebugFormatter; +#endif + +#ifndef __ISimpleConnectionPoint_FWD_DEFINED__ +#define __ISimpleConnectionPoint_FWD_DEFINED__ +typedef interface ISimpleConnectionPoint ISimpleConnectionPoint; +#endif + +#ifndef __IDebugHelper_FWD_DEFINED__ +#define __IDebugHelper_FWD_DEFINED__ +typedef interface IDebugHelper IDebugHelper; +#endif + +#ifndef __IEnumDebugExpressionContexts_FWD_DEFINED__ +#define __IEnumDebugExpressionContexts_FWD_DEFINED__ +typedef interface IEnumDebugExpressionContexts IEnumDebugExpressionContexts; +#endif + +#ifndef __IProvideExpressionContexts_FWD_DEFINED__ +#define __IProvideExpressionContexts_FWD_DEFINED__ +typedef interface IProvideExpressionContexts IProvideExpressionContexts; +#endif + +#ifndef __ProcessDebugManager_FWD_DEFINED__ +#define __ProcessDebugManager_FWD_DEFINED__ +#ifdef __cplusplus +typedef class ProcessDebugManager ProcessDebugManager; +#else +typedef struct ProcessDebugManager ProcessDebugManager; +#endif /* defined __cplusplus */ +#endif /* defined __ProcessDebugManager_FWD_DEFINED__ */ + +#ifndef __DebugHelper_FWD_DEFINED__ +#define __DebugHelper_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DebugHelper DebugHelper; +#else +typedef struct DebugHelper DebugHelper; +#endif /* defined __cplusplus */ +#endif /* defined __DebugHelper_FWD_DEFINED__ */ + +#ifndef __CDebugDocumentHelper_FWD_DEFINED__ +#define __CDebugDocumentHelper_FWD_DEFINED__ +#ifdef __cplusplus +typedef class CDebugDocumentHelper CDebugDocumentHelper; +#else +typedef struct CDebugDocumentHelper CDebugDocumentHelper; +#endif /* defined __cplusplus */ +#endif /* defined __CDebugDocumentHelper_FWD_DEFINED__ */ + +#ifndef __MachineDebugManager_RETAIL_FWD_DEFINED__ +#define __MachineDebugManager_RETAIL_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MachineDebugManager_RETAIL MachineDebugManager_RETAIL; +#else +typedef struct MachineDebugManager_RETAIL MachineDebugManager_RETAIL; +#endif /* defined __cplusplus */ +#endif /* defined __MachineDebugManager_RETAIL_FWD_DEFINED__ */ + +#ifndef __MachineDebugManager_DEBUG_FWD_DEFINED__ +#define __MachineDebugManager_DEBUG_FWD_DEFINED__ +#ifdef __cplusplus +typedef class MachineDebugManager_DEBUG MachineDebugManager_DEBUG; +#else +typedef struct MachineDebugManager_DEBUG MachineDebugManager_DEBUG; +#endif /* defined __cplusplus */ +#endif /* defined __MachineDebugManager_DEBUG_FWD_DEFINED__ */ + +#ifndef __DefaultDebugSessionProvider_FWD_DEFINED__ +#define __DefaultDebugSessionProvider_FWD_DEFINED__ +#ifdef __cplusplus +typedef class DefaultDebugSessionProvider DefaultDebugSessionProvider; +#else +typedef struct DefaultDebugSessionProvider DefaultDebugSessionProvider; +#endif /* defined __cplusplus */ +#endif /* defined __DefaultDebugSessionProvider_FWD_DEFINED__ */ + +/* Headers for imported files */ + +#include <ocidl.h> +#include <oleidl.h> +#include <oaidl.h> +#include <activscp.h> +#include <dbgprop.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +#ifndef __ActivDbg_h +#define __ActivDbg_h +#ifndef __IActiveScriptDebug32_FWD_DEFINED__ +#define __IActiveScriptDebug32_FWD_DEFINED__ +typedef interface IActiveScriptDebug32 IActiveScriptDebug32; +#endif + +#ifndef __IActiveScriptDebug64_FWD_DEFINED__ +#define __IActiveScriptDebug64_FWD_DEFINED__ +typedef interface IActiveScriptDebug64 IActiveScriptDebug64; +#endif + +#ifndef __IActiveScriptErrorDebug_FWD_DEFINED__ +#define __IActiveScriptErrorDebug_FWD_DEFINED__ +typedef interface IActiveScriptErrorDebug IActiveScriptErrorDebug; +#endif + +#ifndef __IActiveScriptSiteDebug32_FWD_DEFINED__ +#define __IActiveScriptSiteDebug32_FWD_DEFINED__ +typedef interface IActiveScriptSiteDebug32 IActiveScriptSiteDebug32; +#endif + +#ifndef __IActiveScriptSiteDebug64_FWD_DEFINED__ +#define __IActiveScriptSiteDebug64_FWD_DEFINED__ +typedef interface IActiveScriptSiteDebug64 IActiveScriptSiteDebug64; +#endif + +#ifndef __IActiveScriptSiteDebugEx_FWD_DEFINED__ +#define __IActiveScriptSiteDebugEx_FWD_DEFINED__ +typedef interface IActiveScriptSiteDebugEx IActiveScriptSiteDebugEx; +#endif + +#ifndef __IActiveScriptTextInfo_FWD_DEFINED__ +#define __IActiveScriptTextInfo_FWD_DEFINED__ +typedef interface IActiveScriptTextInfo IActiveScriptTextInfo; +#endif + +#ifndef __IApplicationDebugger_FWD_DEFINED__ +#define __IApplicationDebugger_FWD_DEFINED__ +typedef interface IApplicationDebugger IApplicationDebugger; +#endif + +#ifndef __IDebugApplication32_FWD_DEFINED__ +#define __IDebugApplication32_FWD_DEFINED__ +typedef interface IDebugApplication32 IDebugApplication32; +#endif + +#ifndef __IDebugApplication64_FWD_DEFINED__ +#define __IDebugApplication64_FWD_DEFINED__ +typedef interface IDebugApplication64 IDebugApplication64; +#endif + +#ifndef __IDebugApplicationNode_FWD_DEFINED__ +#define __IDebugApplicationNode_FWD_DEFINED__ +typedef interface IDebugApplicationNode IDebugApplicationNode; +#endif + +#ifndef __IDebugApplicationNodeEvents_FWD_DEFINED__ +#define __IDebugApplicationNodeEvents_FWD_DEFINED__ +typedef interface IDebugApplicationNodeEvents IDebugApplicationNodeEvents; +#endif + +#ifndef __AsyncIDebugApplicationNodeEvents_FWD_DEFINED__ +#define __AsyncIDebugApplicationNodeEvents_FWD_DEFINED__ +typedef interface AsyncIDebugApplicationNodeEvents AsyncIDebugApplicationNodeEvents; +#endif + +#ifndef __IDebugApplicationThread_FWD_DEFINED__ +#define __IDebugApplicationThread_FWD_DEFINED__ +typedef interface IDebugApplicationThread IDebugApplicationThread; +#endif + +#ifndef __IDebugAsyncOperation_FWD_DEFINED__ +#define __IDebugAsyncOperation_FWD_DEFINED__ +typedef interface IDebugAsyncOperation IDebugAsyncOperation; +#endif + +#ifndef __IDebugAsyncOperationCallBack_FWD_DEFINED__ +#define __IDebugAsyncOperationCallBack_FWD_DEFINED__ +typedef interface IDebugAsyncOperationCallBack IDebugAsyncOperationCallBack; +#endif + +#ifndef __IDebugCodeContext_FWD_DEFINED__ +#define __IDebugCodeContext_FWD_DEFINED__ +typedef interface IDebugCodeContext IDebugCodeContext; +#endif + +#ifndef __IDebugDocument_FWD_DEFINED__ +#define __IDebugDocument_FWD_DEFINED__ +typedef interface IDebugDocument IDebugDocument; +#endif + +#ifndef __IDebugDocumentContext_FWD_DEFINED__ +#define __IDebugDocumentContext_FWD_DEFINED__ +typedef interface IDebugDocumentContext IDebugDocumentContext; +#endif + +#ifndef __IDebugDocumentHelper32_FWD_DEFINED__ +#define __IDebugDocumentHelper32_FWD_DEFINED__ +typedef interface IDebugDocumentHelper32 IDebugDocumentHelper32; +#endif + +#ifndef __IDebugDocumentHelper64_FWD_DEFINED__ +#define __IDebugDocumentHelper64_FWD_DEFINED__ +typedef interface IDebugDocumentHelper64 IDebugDocumentHelper64; +#endif + +#ifndef __IDebugDocumentHost_FWD_DEFINED__ +#define __IDebugDocumentHost_FWD_DEFINED__ +typedef interface IDebugDocumentHost IDebugDocumentHost; +#endif + +#ifndef __IDebugDocumentInfo_FWD_DEFINED__ +#define __IDebugDocumentInfo_FWD_DEFINED__ +typedef interface IDebugDocumentInfo IDebugDocumentInfo; +#endif + +#ifndef __IDebugDocumentProvider_FWD_DEFINED__ +#define __IDebugDocumentProvider_FWD_DEFINED__ +typedef interface IDebugDocumentProvider IDebugDocumentProvider; +#endif + +#ifndef __IDebugDocumentText_FWD_DEFINED__ +#define __IDebugDocumentText_FWD_DEFINED__ +typedef interface IDebugDocumentText IDebugDocumentText; +#endif + +#ifndef __IDebugDocumentTextAuthor_FWD_DEFINED__ +#define __IDebugDocumentTextAuthor_FWD_DEFINED__ +typedef interface IDebugDocumentTextAuthor IDebugDocumentTextAuthor; +#endif + +#ifndef __IDebugDocumentTextEvents_FWD_DEFINED__ +#define __IDebugDocumentTextEvents_FWD_DEFINED__ +typedef interface IDebugDocumentTextEvents IDebugDocumentTextEvents; +#endif + +#ifndef __IDebugExpression_FWD_DEFINED__ +#define __IDebugExpression_FWD_DEFINED__ +typedef interface IDebugExpression IDebugExpression; +#endif + +#ifndef __IDebugExpressionCallBack_FWD_DEFINED__ +#define __IDebugExpressionCallBack_FWD_DEFINED__ +typedef interface IDebugExpressionCallBack IDebugExpressionCallBack; +#endif + +#ifndef __IDebugExpressionContext_FWD_DEFINED__ +#define __IDebugExpressionContext_FWD_DEFINED__ +typedef interface IDebugExpressionContext IDebugExpressionContext; +#endif + +#ifndef __IDebugFormatter_FWD_DEFINED__ +#define __IDebugFormatter_FWD_DEFINED__ +typedef interface IDebugFormatter IDebugFormatter; +#endif + +#ifndef __IDebugSessionProvider_FWD_DEFINED__ +#define __IDebugSessionProvider_FWD_DEFINED__ +typedef interface IDebugSessionProvider IDebugSessionProvider; +#endif + +#ifndef __IDebugStackFrame_FWD_DEFINED__ +#define __IDebugStackFrame_FWD_DEFINED__ +typedef interface IDebugStackFrame IDebugStackFrame; +#endif + +#ifndef __IDebugStackFrameSniffer_FWD_DEFINED__ +#define __IDebugStackFrameSniffer_FWD_DEFINED__ +typedef interface IDebugStackFrameSniffer IDebugStackFrameSniffer; +#endif + +#ifndef __IDebugSyncOperation_FWD_DEFINED__ +#define __IDebugSyncOperation_FWD_DEFINED__ +typedef interface IDebugSyncOperation IDebugSyncOperation; +#endif + +#ifndef __IDebugThreadCall32_FWD_DEFINED__ +#define __IDebugThreadCall32_FWD_DEFINED__ +typedef interface IDebugThreadCall32 IDebugThreadCall32; +#endif + +#ifndef __IDebugThreadCall64_FWD_DEFINED__ +#define __IDebugThreadCall64_FWD_DEFINED__ +typedef interface IDebugThreadCall64 IDebugThreadCall64; +#endif + +#ifndef __IEnumActiveScriptDebugs_FWD_DEFINED__ +#define __IEnumActiveScriptDebugs_FWD_DEFINED__ +typedef interface IEnumActiveScriptDebugs IEnumActiveScriptDebugs; +#endif + +#ifndef __IEnumDebugApplicationNodes_FWD_DEFINED__ +#define __IEnumDebugApplicationNodes_FWD_DEFINED__ +typedef interface IEnumDebugApplicationNodes IEnumDebugApplicationNodes; +#endif + +#ifndef __IEnumDebugCodeContexts_FWD_DEFINED__ +#define __IEnumDebugCodeContexts_FWD_DEFINED__ +typedef interface IEnumDebugCodeContexts IEnumDebugCodeContexts; +#endif + +#ifndef __IEnumDebugDocumentContexts_FWD_DEFINED__ +#define __IEnumDebugDocumentContexts_FWD_DEFINED__ +typedef interface IEnumDebugDocumentContexts IEnumDebugDocumentContexts; +#endif + +#ifndef __IEnumDebugExpressionContexts_FWD_DEFINED__ +#define __IEnumDebugExpressionContexts_FWD_DEFINED__ +typedef interface IEnumDebugExpressionContexts IEnumDebugExpressionContexts; +#endif + +#ifndef __IEnumDebugObjectBrowsers_FWD_DEFINED__ +#define __IEnumDebugObjectBrowsers_FWD_DEFINED__ +typedef interface IEnumDebugObjectBrowsers IEnumDebugObjectBrowsers; +#endif + +#ifndef __IEnumDebugStackFrames_FWD_DEFINED__ +#define __IEnumDebugStackFrames_FWD_DEFINED__ +typedef interface IEnumDebugStackFrames IEnumDebugStackFrames; +#endif + +#ifndef __IEnumDebugStackFrames64_FWD_DEFINED__ +#define __IEnumDebugStackFrames64_FWD_DEFINED__ +typedef interface IEnumDebugStackFrames64 IEnumDebugStackFrames64; +#endif + +#ifndef __IEnumRemoteDebugApplications_FWD_DEFINED__ +#define __IEnumRemoteDebugApplications_FWD_DEFINED__ +typedef interface IEnumRemoteDebugApplications IEnumRemoteDebugApplications; +#endif + +#ifndef __IEnumRemoteDebugApplicationThreads_FWD_DEFINED__ +#define __IEnumRemoteDebugApplicationThreads_FWD_DEFINED__ +typedef interface IEnumRemoteDebugApplicationThreads IEnumRemoteDebugApplicationThreads; +#endif + +#ifndef __IMachineDebugManager_FWD_DEFINED__ +#define __IMachineDebugManager_FWD_DEFINED__ +typedef interface IMachineDebugManager IMachineDebugManager; +#endif + +#ifndef __IMachineDebugManagerCookie_FWD_DEFINED__ +#define __IMachineDebugManagerCookie_FWD_DEFINED__ +typedef interface IMachineDebugManagerCookie IMachineDebugManagerCookie; +#endif + +#ifndef __IMachineDebugManagerEvents_FWD_DEFINED__ +#define __IMachineDebugManagerEvents_FWD_DEFINED__ +typedef interface IMachineDebugManagerEvents IMachineDebugManagerEvents; +#endif + +#ifndef __IProcessDebugManager_FWD_DEFINED__ +#define __IProcessDebugManager_FWD_DEFINED__ +typedef interface IProcessDebugManager IProcessDebugManager; +#endif + +#ifndef __IProvideExpressionContexts_FWD_DEFINED__ +#define __IProvideExpressionContexts_FWD_DEFINED__ +typedef interface IProvideExpressionContexts IProvideExpressionContexts; +#endif + +#ifndef __IRemoteDebugApplication_FWD_DEFINED__ +#define __IRemoteDebugApplication_FWD_DEFINED__ +typedef interface IRemoteDebugApplication IRemoteDebugApplication; +#endif + +#ifndef __IRemoteDebugApplicationThread_FWD_DEFINED__ +#define __IRemoteDebugApplicationThread_FWD_DEFINED__ +typedef interface IRemoteDebugApplicationThread IRemoteDebugApplicationThread; +#endif + +typedef DWORD APPBREAKFLAGS; +typedef WORD SOURCE_TEXT_ATTR; +typedef DWORD TEXT_DOC_ATTR; +typedef enum tagBREAKPOINT_STATE { + BREAKPOINT_DELETED = 0, + BREAKPOINT_DISABLED = 1, + BREAKPOINT_ENABLED = 2 +} BREAKPOINT_STATE; +typedef enum tagBREAKREASON { + BREAKREASON_STEP = 0, + BREAKREASON_BREAKPOINT = 1, + BREAKREASON_DEBUGGER_BLOCK = 2, + BREAKREASON_HOST_INITIATED = 3, + BREAKREASON_LANGUAGE_INITIATED = 4, + BREAKREASON_DEBUGGER_HALT = 5, + BREAKREASON_ERROR = 6, + BREAKREASON_JIT = 7 +} BREAKREASON; +typedef enum tagBREAKRESUME_ACTION { + BREAKRESUMEACTION_ABORT = 0, + BREAKRESUMEACTION_CONTINUE = 1, + BREAKRESUMEACTION_STEP_INTO = 2, + BREAKRESUMEACTION_STEP_OVER = 3, + BREAKRESUMEACTION_STEP_OUT = 4, + BREAKRESUMEACTION_IGNORE = 5 +} BREAKRESUMEACTION; +typedef enum tagDOCUMENTNAMETYPE { + DOCUMENTNAMETYPE_APPNODE = 0, + DOCUMENTNAMETYPE_TITLE = 1, + DOCUMENTNAMETYPE_FILE_TAIL = 2, + DOCUMENTNAMETYPE_URL = 3, + DOCUMENTNAMETYPE_UNIQUE_TITLE = 4 +} DOCUMENTNAMETYPE; +typedef enum tagERRORRESUMEACTION { + ERRORRESUMEACTION_ReexecuteErrorStatement = 0, + ERRORRESUMEACTION_AbortCallAndReturnErrorToCaller = 1, + ERRORRESUMEACTION_SkipErrorStatement = 2 +} ERRORRESUMEACTION; +typedef struct tagDebugStackFrameDescriptor { + IDebugStackFrame *pdsf; + DWORD dwMin; + DWORD dwLim; + WINBOOL fFinal; + IUnknown *punkFinal; +} DebugStackFrameDescriptor; +typedef struct tagDebugStackFrameDescriptor64 { + IDebugStackFrame *pdsf; + DWORDLONG dwMin; + DWORDLONG dwLim; + WINBOOL fFinal; + IUnknown *punkFinal; +} DebugStackFrameDescriptor64; +#define APPBREAKFLAG_DEBUGGER_BLOCK (0x1) + +#define APPBREAKFLAG_DEBUGGER_HALT (0x2) + +#define APPBREAKFLAG_STEP (0x10000) + +#define APPBREAKFLAG_NESTED (0x20000) + +#define APPBREAKFLAG_STEPTYPE_SOURCE (0x0) + +#define APPBREAKFLAG_STEPTYPE_BYTECODE (0x100000) + +#define APPBREAKFLAG_STEPTYPE_MACHINE (0x200000) + +#define APPBREAKFLAG_STEPTYPE_MASK (0xf00000) + +#define APPBREAKFLAG_IN_BREAKPOINT (0x80000000) + +#define SOURCETEXT_ATTR_KEYWORD (0x1) + +#define SOURCETEXT_ATTR_COMMENT (0x2) + +#define SOURCETEXT_ATTR_NONSOURCE (0x4) + +#define SOURCETEXT_ATTR_OPERATOR (0x8) + +#define SOURCETEXT_ATTR_NUMBER (0x10) + +#define SOURCETEXT_ATTR_STRING (0x20) + +#define SOURCETEXT_ATTR_FUNCTION_START (0x40) + +#define TEXT_DOC_ATTR_READONLY (0x1) + +#define TEXT_DOC_ATTR_TYPE_PRIMARY (0x2) + +#define TEXT_DOC_ATTR_TYPE_WORKER (0x4) + +#define TEXT_DOC_ATTR_TYPE_SCRIPT (0x8) + + +#define DEBUG_TEXT_ISEXPRESSION (0x1) + +#define DEBUG_TEXT_RETURNVALUE (0x2) + +#define DEBUG_TEXT_NOSIDEEFFECTS (0x4) + +#define DEBUG_TEXT_ALLOWBREAKPOINTS (0x8) + +#define DEBUG_TEXT_ALLOWERRORREPORT (0x10) + +#define DEBUG_TEXT_EVALUATETOCODECONTEXT (0x20) + +#ifndef DISABLE_ACTIVDBG_INTERFACE_WRAPPERS +#ifdef _WIN64 +#define IDebugApplication IDebugApplication64 +#define IID_IDebugApplication IID_IDebugApplication64 +#define IDebugThreadCall IDebugThreadCall64 +#define IID_IDebugThreadCall IID_IDebugThreadCall64 +#define SynchronousCallIntoThread SynchronousCallIntoThread64 +#define IActiveScriptDebug IActiveScriptDebug64 +#define IID_IActiveScriptDebug IID_IActiveScriptDebug64 +#define IActiveScriptSiteDebug IActiveScriptSiteDebug64 +#define IID_IActiveScriptSiteDebug IID_IActiveScriptSiteDebug64 +#define IDebugStackFrameSnifferEx IDebugStackFrameSnifferEx64 +#define IID_IDebugStackFrameSnifferEx IID_IDebugStackFrameSnifferEx64 +#define EnumStackFramesEx EnumStackFramesEx64 +#define IDebugDocumentHelper IDebugDocumentHelper64 +#define IID_IDebugDocumentHelper IID_IDebugDocumentHelper64 +#define IProcessDebugManager IProcessDebugManager64 +#define IID_IProcessDebugManager IID_IProcessDebugManager64 +#else +#define IDebugApplication IDebugApplication32 +#define IID_IDebugApplication IID_IDebugApplication32 +#define IDebugThreadCall IDebugThreadCall32 +#define IID_IDebugThreadCall IID_IDebugThreadCall32 +#define SynchronousCallIntoThread SynchronousCallIntoThread32 +#define IActiveScriptDebug IActiveScriptDebug32 +#define IID_IActiveScriptDebug IID_IActiveScriptDebug32 +#define IActiveScriptSiteDebug IActiveScriptSiteDebug32 +#define IID_IActiveScriptSiteDebug IID_IActiveScriptSiteDebug32 +#define IDebugStackFrameSnifferEx IDebugStackFrameSnifferEx32 +#define IID_IDebugStackFrameSnifferEx IID_IDebugStackFrameSnifferEx32 +#define EnumStackFramesEx EnumStackFramesEx32 +#define IDebugDocumentHelper IDebugDocumentHelper32 +#define IID_IDebugDocumentHelper IID_IDebugDocumentHelper32 +#define IProcessDebugManager IProcessDebugManager32 +#define IID_IProcessDebugManager IID_IProcessDebugManager32 +#endif +#endif +EXTERN_C const CLSID CLSID_DebugHelper; +EXTERN_C const CLSID CLSID_MachineDebugManager; +EXTERN_C const CLSID CLSID_ProcessDebugManager; +/***************************************************************************** + * IActiveScriptDebug32 interface + */ +#ifndef __IActiveScriptDebug32_INTERFACE_DEFINED__ +#define __IActiveScriptDebug32_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptDebug32, 0x51973c10, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c10-cb0c-11d0-b5c9-00a0244a0e7a") +IActiveScriptDebug32 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetScriptTextAttributes( + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptletTextAttributes( + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCodeContextsOfPosition( + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptDebug32, 0x51973c10, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IActiveScriptDebug32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptDebug32* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptDebug32* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptDebug32* This); + + /*** IActiveScriptDebug32 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetScriptTextAttributes)( + IActiveScriptDebug32* This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); + + HRESULT (STDMETHODCALLTYPE *GetScriptletTextAttributes)( + IActiveScriptDebug32* This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); + + HRESULT (STDMETHODCALLTYPE *EnumCodeContextsOfPosition)( + IActiveScriptDebug32* This, + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc); + + END_INTERFACE +} IActiveScriptDebug32Vtbl; +interface IActiveScriptDebug32 { + CONST_VTBL IActiveScriptDebug32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptDebug32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptDebug32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptDebug32_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptDebug32 methods ***/ +#define IActiveScriptDebug32_GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) +#define IActiveScriptDebug32_GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) +#define IActiveScriptDebug32_EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc) (This)->lpVtbl->EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptDebug32_QueryInterface(IActiveScriptDebug32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptDebug32_AddRef(IActiveScriptDebug32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptDebug32_Release(IActiveScriptDebug32* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptDebug32 methods ***/ +static FORCEINLINE HRESULT IActiveScriptDebug32_GetScriptTextAttributes(IActiveScriptDebug32* This,LPCOLESTR pstrCode,ULONG uNumCodeChars,LPCOLESTR pstrDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { + return This->lpVtbl->GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr); +} +static FORCEINLINE HRESULT IActiveScriptDebug32_GetScriptletTextAttributes(IActiveScriptDebug32* This,LPCOLESTR pstrCode,ULONG uNumCodeChars,LPCOLESTR pstrDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { + return This->lpVtbl->GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr); +} +static FORCEINLINE HRESULT IActiveScriptDebug32_EnumCodeContextsOfPosition(IActiveScriptDebug32* This,DWORD dwSourceContext,ULONG uCharacterOffset,ULONG uNumChars,IEnumDebugCodeContexts **ppescc) { + return This->lpVtbl->EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IActiveScriptDebug32_GetScriptTextAttributes_Proxy( + IActiveScriptDebug32* This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); +void __RPC_STUB IActiveScriptDebug32_GetScriptTextAttributes_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptDebug32_GetScriptletTextAttributes_Proxy( + IActiveScriptDebug32* This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); +void __RPC_STUB IActiveScriptDebug32_GetScriptletTextAttributes_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptDebug32_EnumCodeContextsOfPosition_Proxy( + IActiveScriptDebug32* This, + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc); +void __RPC_STUB IActiveScriptDebug32_EnumCodeContextsOfPosition_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IActiveScriptDebug32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptDebug64 interface + */ +#ifndef __IActiveScriptDebug64_INTERFACE_DEFINED__ +#define __IActiveScriptDebug64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptDebug64, 0xbc437e23, 0xf5b8, 0x47f4, 0xbb,0x79, 0x7d,0x1c,0xe5,0x48,0x3b,0x86); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bc437e23-f5b8-47f4-bb79-7d1ce5483b86") +IActiveScriptDebug64 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetScriptTextAttributes( + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetScriptletTextAttributes( + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr) = 0; + + virtual HRESULT STDMETHODCALLTYPE EnumCodeContextsOfPosition( + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptDebug64, 0xbc437e23, 0xf5b8, 0x47f4, 0xbb,0x79, 0x7d,0x1c,0xe5,0x48,0x3b,0x86) +#endif +#else +typedef struct IActiveScriptDebug64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptDebug64* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptDebug64* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptDebug64* This); + + /*** IActiveScriptDebug64 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetScriptTextAttributes)( + IActiveScriptDebug64* This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); + + HRESULT (STDMETHODCALLTYPE *GetScriptletTextAttributes)( + IActiveScriptDebug64* This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); + + HRESULT (STDMETHODCALLTYPE *EnumCodeContextsOfPosition)( + IActiveScriptDebug64* This, + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc); + + END_INTERFACE +} IActiveScriptDebug64Vtbl; +interface IActiveScriptDebug64 { + CONST_VTBL IActiveScriptDebug64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptDebug64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptDebug64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptDebug64_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptDebug64 methods ***/ +#define IActiveScriptDebug64_GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) +#define IActiveScriptDebug64_GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr) +#define IActiveScriptDebug64_EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc) (This)->lpVtbl->EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptDebug64_QueryInterface(IActiveScriptDebug64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptDebug64_AddRef(IActiveScriptDebug64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptDebug64_Release(IActiveScriptDebug64* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptDebug64 methods ***/ +static FORCEINLINE HRESULT IActiveScriptDebug64_GetScriptTextAttributes(IActiveScriptDebug64* This,LPCOLESTR pstrCode,ULONG uNumCodeChars,LPCOLESTR pstrDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { + return This->lpVtbl->GetScriptTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr); +} +static FORCEINLINE HRESULT IActiveScriptDebug64_GetScriptletTextAttributes(IActiveScriptDebug64* This,LPCOLESTR pstrCode,ULONG uNumCodeChars,LPCOLESTR pstrDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { + return This->lpVtbl->GetScriptletTextAttributes(This,pstrCode,uNumCodeChars,pstrDelimiter,dwFlags,pattr); +} +static FORCEINLINE HRESULT IActiveScriptDebug64_EnumCodeContextsOfPosition(IActiveScriptDebug64* This,DWORDLONG dwSourceContext,ULONG uCharacterOffset,ULONG uNumChars,IEnumDebugCodeContexts **ppescc) { + return This->lpVtbl->EnumCodeContextsOfPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppescc); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IActiveScriptDebug64_GetScriptTextAttributes_Proxy( + IActiveScriptDebug64* This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); +void __RPC_STUB IActiveScriptDebug64_GetScriptTextAttributes_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptDebug64_GetScriptletTextAttributes_Proxy( + IActiveScriptDebug64* This, + LPCOLESTR pstrCode, + ULONG uNumCodeChars, + LPCOLESTR pstrDelimiter, + DWORD dwFlags, + SOURCE_TEXT_ATTR *pattr); +void __RPC_STUB IActiveScriptDebug64_GetScriptletTextAttributes_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptDebug64_EnumCodeContextsOfPosition_Proxy( + IActiveScriptDebug64* This, + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IEnumDebugCodeContexts **ppescc); +void __RPC_STUB IActiveScriptDebug64_EnumCodeContextsOfPosition_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IActiveScriptDebug64_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptSiteDebug32 interface + */ +#ifndef __IActiveScriptSiteDebug32_INTERFACE_DEFINED__ +#define __IActiveScriptSiteDebug32_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSiteDebug32, 0x51973c11, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c11-cb0c-11d0-b5c9-00a0244a0e7a") +IActiveScriptSiteDebug32 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDocumentContextFromPosition( + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetApplication( + IDebugApplication32 **ppda) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRootApplicationNode( + IDebugApplicationNode **ppdanRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnScriptErrorDebug( + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfEnterDebugger, + WINBOOL *pfCallOnScriptErrorWhenContinuing) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSiteDebug32, 0x51973c11, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a) +#endif +#else +typedef struct IActiveScriptSiteDebug32Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSiteDebug32* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSiteDebug32* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSiteDebug32* This); + + /*** IActiveScriptSiteDebug32 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDocumentContextFromPosition)( + IActiveScriptSiteDebug32* This, + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc); + + HRESULT (STDMETHODCALLTYPE *GetApplication)( + IActiveScriptSiteDebug32* This, + IDebugApplication32 **ppda); + + HRESULT (STDMETHODCALLTYPE *GetRootApplicationNode)( + IActiveScriptSiteDebug32* This, + IDebugApplicationNode **ppdanRoot); + + HRESULT (STDMETHODCALLTYPE *OnScriptErrorDebug)( + IActiveScriptSiteDebug32* This, + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfEnterDebugger, + WINBOOL *pfCallOnScriptErrorWhenContinuing); + + END_INTERFACE +} IActiveScriptSiteDebug32Vtbl; +interface IActiveScriptSiteDebug32 { + CONST_VTBL IActiveScriptSiteDebug32Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSiteDebug32_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSiteDebug32_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSiteDebug32_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSiteDebug32 methods ***/ +#define IActiveScriptSiteDebug32_GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc) (This)->lpVtbl->GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc) +#define IActiveScriptSiteDebug32_GetApplication(This,ppda) (This)->lpVtbl->GetApplication(This,ppda) +#define IActiveScriptSiteDebug32_GetRootApplicationNode(This,ppdanRoot) (This)->lpVtbl->GetRootApplicationNode(This,ppdanRoot) +#define IActiveScriptSiteDebug32_OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing) (This)->lpVtbl->OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_QueryInterface(IActiveScriptSiteDebug32* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSiteDebug32_AddRef(IActiveScriptSiteDebug32* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSiteDebug32_Release(IActiveScriptSiteDebug32* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSiteDebug32 methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_GetDocumentContextFromPosition(IActiveScriptSiteDebug32* This,DWORD dwSourceContext,ULONG uCharacterOffset,ULONG uNumChars,IDebugDocumentContext **ppsc) { + return This->lpVtbl->GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_GetApplication(IActiveScriptSiteDebug32* This,IDebugApplication32 **ppda) { + return This->lpVtbl->GetApplication(This,ppda); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_GetRootApplicationNode(IActiveScriptSiteDebug32* This,IDebugApplicationNode **ppdanRoot) { + return This->lpVtbl->GetRootApplicationNode(This,ppdanRoot); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug32_OnScriptErrorDebug(IActiveScriptSiteDebug32* This,IActiveScriptErrorDebug *pErrorDebug,WINBOOL *pfEnterDebugger,WINBOOL *pfCallOnScriptErrorWhenContinuing) { + return This->lpVtbl->OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebug32_GetDocumentContextFromPosition_Proxy( + IActiveScriptSiteDebug32* This, + DWORD dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc); +void __RPC_STUB IActiveScriptSiteDebug32_GetDocumentContextFromPosition_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebug32_GetApplication_Proxy( + IActiveScriptSiteDebug32* This, + IDebugApplication32 **ppda); +void __RPC_STUB IActiveScriptSiteDebug32_GetApplication_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebug32_GetRootApplicationNode_Proxy( + IActiveScriptSiteDebug32* This, + IDebugApplicationNode **ppdanRoot); +void __RPC_STUB IActiveScriptSiteDebug32_GetRootApplicationNode_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebug32_OnScriptErrorDebug_Proxy( + IActiveScriptSiteDebug32* This, + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfEnterDebugger, + WINBOOL *pfCallOnScriptErrorWhenContinuing); +void __RPC_STUB IActiveScriptSiteDebug32_OnScriptErrorDebug_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IActiveScriptSiteDebug32_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptSiteDebug64 interface + */ +#ifndef __IActiveScriptSiteDebug64_INTERFACE_DEFINED__ +#define __IActiveScriptSiteDebug64_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSiteDebug64, 0xd6b96b0a, 0x7463, 0x402c, 0x92,0xac, 0x89,0x98,0x42,0x26,0x94,0x2f); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("d6b96b0a-7463-402c-92ac-89984226942f") +IActiveScriptSiteDebug64 : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetDocumentContextFromPosition( + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetApplication( + IDebugApplication64 **ppda) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRootApplicationNode( + IDebugApplicationNode **ppdanRoot) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnScriptErrorDebug( + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfEnterDebugger, + WINBOOL *pfCallOnScriptErrorWhenContinuing) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSiteDebug64, 0xd6b96b0a, 0x7463, 0x402c, 0x92,0xac, 0x89,0x98,0x42,0x26,0x94,0x2f) +#endif +#else +typedef struct IActiveScriptSiteDebug64Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSiteDebug64* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSiteDebug64* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSiteDebug64* This); + + /*** IActiveScriptSiteDebug64 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetDocumentContextFromPosition)( + IActiveScriptSiteDebug64* This, + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc); + + HRESULT (STDMETHODCALLTYPE *GetApplication)( + IActiveScriptSiteDebug64* This, + IDebugApplication64 **ppda); + + HRESULT (STDMETHODCALLTYPE *GetRootApplicationNode)( + IActiveScriptSiteDebug64* This, + IDebugApplicationNode **ppdanRoot); + + HRESULT (STDMETHODCALLTYPE *OnScriptErrorDebug)( + IActiveScriptSiteDebug64* This, + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfEnterDebugger, + WINBOOL *pfCallOnScriptErrorWhenContinuing); + + END_INTERFACE +} IActiveScriptSiteDebug64Vtbl; +interface IActiveScriptSiteDebug64 { + CONST_VTBL IActiveScriptSiteDebug64Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSiteDebug64_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSiteDebug64_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSiteDebug64_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSiteDebug64 methods ***/ +#define IActiveScriptSiteDebug64_GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc) (This)->lpVtbl->GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc) +#define IActiveScriptSiteDebug64_GetApplication(This,ppda) (This)->lpVtbl->GetApplication(This,ppda) +#define IActiveScriptSiteDebug64_GetRootApplicationNode(This,ppdanRoot) (This)->lpVtbl->GetRootApplicationNode(This,ppdanRoot) +#define IActiveScriptSiteDebug64_OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing) (This)->lpVtbl->OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_QueryInterface(IActiveScriptSiteDebug64* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSiteDebug64_AddRef(IActiveScriptSiteDebug64* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSiteDebug64_Release(IActiveScriptSiteDebug64* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSiteDebug64 methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_GetDocumentContextFromPosition(IActiveScriptSiteDebug64* This,DWORDLONG dwSourceContext,ULONG uCharacterOffset,ULONG uNumChars,IDebugDocumentContext **ppsc) { + return This->lpVtbl->GetDocumentContextFromPosition(This,dwSourceContext,uCharacterOffset,uNumChars,ppsc); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_GetApplication(IActiveScriptSiteDebug64* This,IDebugApplication64 **ppda) { + return This->lpVtbl->GetApplication(This,ppda); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_GetRootApplicationNode(IActiveScriptSiteDebug64* This,IDebugApplicationNode **ppdanRoot) { + return This->lpVtbl->GetRootApplicationNode(This,ppdanRoot); +} +static FORCEINLINE HRESULT IActiveScriptSiteDebug64_OnScriptErrorDebug(IActiveScriptSiteDebug64* This,IActiveScriptErrorDebug *pErrorDebug,WINBOOL *pfEnterDebugger,WINBOOL *pfCallOnScriptErrorWhenContinuing) { + return This->lpVtbl->OnScriptErrorDebug(This,pErrorDebug,pfEnterDebugger,pfCallOnScriptErrorWhenContinuing); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebug64_GetDocumentContextFromPosition_Proxy( + IActiveScriptSiteDebug64* This, + DWORDLONG dwSourceContext, + ULONG uCharacterOffset, + ULONG uNumChars, + IDebugDocumentContext **ppsc); +void __RPC_STUB IActiveScriptSiteDebug64_GetDocumentContextFromPosition_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebug64_GetApplication_Proxy( + IActiveScriptSiteDebug64* This, + IDebugApplication64 **ppda); +void __RPC_STUB IActiveScriptSiteDebug64_GetApplication_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebug64_GetRootApplicationNode_Proxy( + IActiveScriptSiteDebug64* This, + IDebugApplicationNode **ppdanRoot); +void __RPC_STUB IActiveScriptSiteDebug64_GetRootApplicationNode_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebug64_OnScriptErrorDebug_Proxy( + IActiveScriptSiteDebug64* This, + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfEnterDebugger, + WINBOOL *pfCallOnScriptErrorWhenContinuing); +void __RPC_STUB IActiveScriptSiteDebug64_OnScriptErrorDebug_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IActiveScriptSiteDebug64_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptSiteDebugEx interface + */ +#ifndef __IActiveScriptSiteDebugEx_INTERFACE_DEFINED__ +#define __IActiveScriptSiteDebugEx_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptSiteDebugEx, 0xbb722ccb, 0x6ad2, 0x41c6, 0xb7,0x80, 0xaf,0x9c,0x03,0xee,0x69,0xf5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bb722ccb-6ad2-41c6-b780-af9c03ee69f5") +IActiveScriptSiteDebugEx : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE OnCanNotJITScriptErrorDebug( + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfCallOnScriptErrorWhenContinuing) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptSiteDebugEx, 0xbb722ccb, 0x6ad2, 0x41c6, 0xb7,0x80, 0xaf,0x9c,0x03,0xee,0x69,0xf5) +#endif +#else +typedef struct IActiveScriptSiteDebugExVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActiveScriptSiteDebugEx* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActiveScriptSiteDebugEx* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActiveScriptSiteDebugEx* This); + + /*** IActiveScriptSiteDebugEx methods ***/ + HRESULT (STDMETHODCALLTYPE *OnCanNotJITScriptErrorDebug)( + IActiveScriptSiteDebugEx* This, + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfCallOnScriptErrorWhenContinuing); + + END_INTERFACE +} IActiveScriptSiteDebugExVtbl; +interface IActiveScriptSiteDebugEx { + CONST_VTBL IActiveScriptSiteDebugExVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActiveScriptSiteDebugEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActiveScriptSiteDebugEx_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActiveScriptSiteDebugEx_Release(This) (This)->lpVtbl->Release(This) +/*** IActiveScriptSiteDebugEx methods ***/ +#define IActiveScriptSiteDebugEx_OnCanNotJITScriptErrorDebug(This,pErrorDebug,pfCallOnScriptErrorWhenContinuing) (This)->lpVtbl->OnCanNotJITScriptErrorDebug(This,pErrorDebug,pfCallOnScriptErrorWhenContinuing) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebugEx_QueryInterface(IActiveScriptSiteDebugEx* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActiveScriptSiteDebugEx_AddRef(IActiveScriptSiteDebugEx* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActiveScriptSiteDebugEx_Release(IActiveScriptSiteDebugEx* This) { + return This->lpVtbl->Release(This); +} +/*** IActiveScriptSiteDebugEx methods ***/ +static FORCEINLINE HRESULT IActiveScriptSiteDebugEx_OnCanNotJITScriptErrorDebug(IActiveScriptSiteDebugEx* This,IActiveScriptErrorDebug *pErrorDebug,WINBOOL *pfCallOnScriptErrorWhenContinuing) { + return This->lpVtbl->OnCanNotJITScriptErrorDebug(This,pErrorDebug,pfCallOnScriptErrorWhenContinuing); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IActiveScriptSiteDebugEx_OnCanNotJITScriptErrorDebug_Proxy( + IActiveScriptSiteDebugEx* This, + IActiveScriptErrorDebug *pErrorDebug, + WINBOOL *pfCallOnScriptErrorWhenContinuing); +void __RPC_STUB IActiveScriptSiteDebugEx_OnCanNotJITScriptErrorDebug_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IActiveScriptSiteDebugEx_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * IActiveScriptErrorDebug interface + */ +#ifndef __IActiveScriptErrorDebug_INTERFACE_DEFINED__ +#define __IActiveScriptErrorDebug_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActiveScriptErrorDebug, 0x51973c12, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0xa0,0x24,0x4a,0x0e,0x7a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("51973c12-cb0c-11d0-b5c9-00a0244a0e7a") +IActiveScriptErrorDebug : public IActiveScriptError +{ + virtual HRESULT STDMETHODCALLTYPE GetDocumentContext( + IDebugDocumentContext **ppssc) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStackFrame( + IDebugStackFrame **ppdsf) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActiveScriptErrorDebug, 0x51973c12, 0xcb0c, 0x11d0, 0xb5,0xc9, 0x00,0... [truncated message content] |
From: <kti...@us...> - 2014-03-24 15:51:35
|
Revision: 6548 http://sourceforge.net/p/mingw-w64/code/6548 Author: ktietz70 Date: 2014-03-24 15:51:29 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add new error-definitions for FSRM APIs Added Paths: ----------- trunk/mingw-w64-headers/include/fsrmerr.h Added: trunk/mingw-w64-headers/include/fsrmerr.h =================================================================== --- trunk/mingw-w64-headers/include/fsrmerr.h (rev 0) +++ trunk/mingw-w64-headers/include/fsrmerr.h 2014-03-24 15:51:29 UTC (rev 6548) @@ -0,0 +1,139 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +#ifndef __FSRMERROR_INC +#define __FSRMERROR_INC + +#define FSRM_S_PARTIAL_BATCH ((HRESULT) 0x00045304) +#define FSRM_S_PARTIAL_CLASSIFICATION ((HRESULT) 0x00045305) +#define FSRM_S_CLASSIFICATION_SCAN_FAILURES ((HRESULT) 0x00045306) +#define FSRM_E_NOT_FOUND ((HRESULT) 0x80045301) +#define FSRM_E_INVALID_SCHEDULER_ARGUMENT ((HRESULT) 0x80045302) +#define FSRM_E_ALREADY_EXISTS ((HRESULT) 0x80045303) +#define FSRM_E_PATH_NOT_FOUND ((HRESULT) 0x80045304) +#define FSRM_E_INVALID_USER ((HRESULT) 0x80045305) +#define FSRM_E_INVALID_PATH ((HRESULT) 0x80045306) +#define FSRM_E_INVALID_LIMIT ((HRESULT) 0x80045307) +#define FSRM_E_INVALID_NAME ((HRESULT) 0x80045308) +#define FSRM_E_FAIL_BATCH ((HRESULT) 0x80045309) +#define FSRM_E_INVALID_TEXT ((HRESULT) 0x8004530a) +#define FSRM_E_INVALID_IMPORT_VERSION ((HRESULT) 0x8004530b) +#define FSRM_E_OUT_OF_RANGE ((HRESULT) 0x8004530d) +#define FSRM_E_REQD_PARAM_MISSING ((HRESULT) 0x8004530e) +#define FSRM_E_INVALID_COMBINATION ((HRESULT) 0x8004530f) +#define FSRM_E_DUPLICATE_NAME ((HRESULT) 0x80045310) +#define FSRM_E_NOT_SUPPORTED ((HRESULT) 0x80045311) +#define FSRM_E_DRIVER_NOT_READY ((HRESULT) 0x80045313) +#define FSRM_E_INSUFFICIENT_DISK ((HRESULT) 0x80045314) +#define FSRM_E_VOLUME_UNSUPPORTED ((HRESULT) 0x80045315) +#define FSRM_E_UNEXPECTED ((HRESULT) 0x80045316) +#define FSRM_E_INSECURE_PATH ((HRESULT) 0x80045317) +#define FSRM_E_INVALID_SMTP_SERVER ((HRESULT) 0x80045318) +#define FSRM_E_AUTO_QUOTA ((HRESULT) 0x0004531b) +#define FSRM_E_EMAIL_NOT_SENT ((HRESULT) 0x8004531c) +#define FSRM_E_INVALID_EMAIL_ADDRESS ((HRESULT) 0x8004531e) +#define FSRM_E_FILE_SYSTEM_CORRUPT ((HRESULT) 0x8004531f) +#define FSRM_E_LONG_CMDLINE ((HRESULT) 0x80045320) +#define FSRM_E_INVALID_FILEGROUP_DEFINITION ((HRESULT) 0x80045321) +#define FSRM_E_INVALID_DATASCREEN_DEFINITION ((HRESULT) 0x80045324) +#define FSRM_E_INVALID_REPORT_FORMAT ((HRESULT) 0x80045328) +#define FSRM_E_INVALID_REPORT_DESC ((HRESULT) 0x80045329) +#define FSRM_E_INVALID_FILENAME ((HRESULT) 0x8004532a) +#define FSRM_E_SHADOW_COPY ((HRESULT) 0x8004532c) +#define FSRM_E_XML_CORRUPTED ((HRESULT) 0x8004532d) +#define FSRM_E_CLUSTER_NOT_RUNNING ((HRESULT) 0x8004532e) +#define FSRM_E_STORE_NOT_INSTALLED ((HRESULT) 0x8004532f) +#define FSRM_E_NOT_CLUSTER_VOLUME ((HRESULT) 0x80045330) +#define FSRM_E_DIFFERENT_CLUSTER_GROUP ((HRESULT) 0x80045331) +#define FSRM_E_REPORT_TYPE_ALREADY_EXISTS ((HRESULT) 0x80045332) +#define FSRM_E_REPORT_JOB_ALREADY_RUNNING ((HRESULT) 0x80045333) +#define FSRM_E_REPORT_GENERATION_ERR ((HRESULT) 0x80045334) +#define FSRM_E_REPORT_TASK_TRIGGER ((HRESULT) 0x80045335) +#define FSRM_E_LOADING_DISABLED_MODULE ((HRESULT) 0x80045336) +#define FSRM_E_CANNOT_AGGREGATE ((HRESULT) 0x80045337) +#define FSRM_E_MESSAGE_LIMIT_EXCEEDED ((HRESULT) 0x80045338) +#define FSRM_E_OBJECT_IN_USE ((HRESULT) 0x80045339) +#define FSRM_E_CANNOT_RENAME_PROPERTY ((HRESULT) 0x8004533a) +#define FSRM_E_CANNOT_CHANGE_PROPERTY_TYPE ((HRESULT) 0x8004533b) +#define FSRM_E_MAX_PROPERTY_DEFINITIONS ((HRESULT) 0x8004533c) +#define FSRM_E_CLASSIFICATION_ALREADY_RUNNING ((HRESULT) 0x8004533d) +#define FSRM_E_CLASSIFICATION_NOT_RUNNING ((HRESULT) 0x8004533e) +#define FSRM_E_FILE_MANAGEMENT_JOB_ALREADY_RUNNING ((HRESULT) 0x8004533f) +#define FSRM_E_FILE_MANAGEMENT_JOB_EXPIRATION ((HRESULT) 0x80045340) +#define FSRM_E_FILE_MANAGEMENT_JOB_CUSTOM ((HRESULT) 0x80045341) +#define FSRM_E_FILE_MANAGEMENT_JOB_NOTIFICATION ((HRESULT) 0x80045342) +#define FSRM_E_FILE_OPEN_ERROR ((HRESULT) 0x80045343) +#define FSRM_E_UNSECURE_LINK_TO_HOSTED_MODULE ((HRESULT) 0x80045344) +#define FSRM_E_CACHE_INVALID ((HRESULT) 0x80045345) +#define FSRM_E_CACHE_MODULE_ALREADY_EXISTS ((HRESULT) 0x80045346) +#define FSRM_E_FILE_MANAGEMENT_EXPIRATION_DIR_IN_SCOPE ((HRESULT) 0x80045347) +#define FSRM_E_FILE_MANAGEMENT_JOB_ALREADY_EXISTS ((HRESULT) 0x80045348) +#define FSRM_E_PROPERTY_DELETED ((HRESULT) 0x80045349) +#define FSRM_E_LAST_ACCESS_UPDATE_DISABLED ((HRESULT) 0x80045350) +#define FSRM_E_NO_PROPERTY_VALUE ((HRESULT) 0x80045351) +#define FSRM_E_INPROC_MODULE_BLOCKED ((HRESULT) 0x80045352) +#define FSRM_E_ENUM_PROPERTIES_FAILED ((HRESULT) 0x80045353) +#define FSRM_E_SET_PROPERTY_FAILED ((HRESULT) 0x80045354) +#define FSRM_E_CANNOT_STORE_PROPERTIES ((HRESULT) 0x80045355) +#define FSRM_E_CANNOT_ALLOW_REPARSE_POINT_TAG ((HRESULT) 0x80045356) +#define FSRM_E_PARTIAL_CLASSIFICATION_PROPERTY_NOT_FOUND ((HRESULT) 0x80045357) +#define FSRM_E_TEXTREADER_NOT_INITIALIZED ((HRESULT) 0x80045358) +#define FSRM_E_TEXTREADER_IFILTER_NOT_FOUND ((HRESULT) 0x80045359) +#define FSRM_E_PERSIST_PROPERTIES_FAILED_ENCRYPTED ((HRESULT) 0x8004535a) +#define FSRM_E_TEXTREADER_IFILTER_CLSID_MALFORMED ((HRESULT) 0x80045360) +#define FSRM_E_TEXTREADER_STREAM_ERROR ((HRESULT) 0x80045361) +#define FSRM_E_TEXTREADER_FILENAME_TOO_LONG ((HRESULT) 0x80045362) +#define FSRM_E_INCOMPATIBLE_FORMAT ((HRESULT) 0x80045363) +#define FSRM_E_FILE_ENCRYPTED ((HRESULT) 0x80045364) +#define FSRM_E_PERSIST_PROPERTIES_FAILED ((HRESULT) 0x80045365) +#define FSRM_E_VOLUME_OFFLINE ((HRESULT) 0x80045366) +#define FSRM_E_FILE_MANAGEMENT_ACTION_TIMEOUT ((HRESULT) 0x80045367) +#define FSRM_E_FILE_MANAGEMENT_ACTION_GET_EXITCODE_FAILED ((HRESULT) 0x80045368) +#define FSRM_E_MODULE_INVALID_PARAM ((HRESULT) 0x80045369) +#define FSRM_E_MODULE_INITIALIZATION ((HRESULT) 0x8004536a) +#define FSRM_E_MODULE_SESSION_INITIALIZATION ((HRESULT) 0x8004536b) +#define FSRM_E_CLASSIFICATION_SCAN_FAIL ((HRESULT) 0x8004536c) +#define FSRM_E_FILE_MANAGEMENT_JOB_NOT_LEGACY_ACCESSIBLE ((HRESULT) 0x8004536d) +#define FSRM_E_FILE_MANAGEMENT_JOB_MAX_FILE_CONDITIONS ((HRESULT) 0x8004536e) +#define FSRM_E_CANNOT_USE_DEPRECATED_PROPERTY ((HRESULT) 0x8004536f) +#define FSRM_E_SYNC_TASK_TIMEOUT ((HRESULT) 0x80045370) +#define FSRM_E_CANNOT_USE_DELETED_PROPERTY ((HRESULT) 0x80045371) +#define FSRM_E_INVALID_AD_CLAIM ((HRESULT) 0x80045372) +#define FSRM_E_CLASSIFICATION_CANCELED ((HRESULT) 0x80045373) +#define FSRM_E_INVALID_FOLDER_PROPERTY_STORE ((HRESULT) 0x80045374) +#define FSRM_E_REBUILDING_FODLER_TYPE_INDEX ((HRESULT) 0x80045375) +#define FSRM_E_PROPERTY_MUST_APPLY_TO_FILES ((HRESULT) 0x80045376) +#define FSRM_E_CLASSIFICATION_TIMEOUT ((HRESULT) 0x80045377) +#define FSRM_E_CLASSIFICATION_PARTIAL_BATCH ((HRESULT) 0x80045378) +#define FSRM_E_CANNOT_DELETE_SYSTEM_PROPERTY ((HRESULT) 0x80045379) +#define FSRM_E_FILE_IN_USE ((HRESULT) 0x8004537a) +#define FSRM_E_ERROR_NOT_ENABLED ((HRESULT) 0x8004537b) +#define FSRM_E_CANNOT_CREATE_TEMP_COPY ((HRESULT) 0x8004537c) +#define FSRM_E_NO_EMAIL_ADDRESS ((HRESULT) 0x8004537d) +#define FSRM_E_ADR_MAX_EMAILS_SENT ((HRESULT) 0x8004537e) +#define FSRM_E_PATH_NOT_IN_NAMESPACE ((HRESULT) 0x8004537f) +#define FSRM_E_RMS_TEMPLATE_NOT_FOUND ((HRESULT) 0x80045380) +#define FSRM_E_SECURE_PROPERTIES_NOT_SUPPORTED ((HRESULT) 0x80045381) +#define FSRM_E_RMS_NO_PROTECTORS_INSTALLED ((HRESULT) 0x80045382) +#define FSRM_E_RMS_NO_PROTECTOR_INSTALLED_FOR_FILE ((HRESULT) 0x80045383) +#define FSRM_E_PROPERTY_MUST_APPLY_TO_FOLDERS ((HRESULT) 0x80045384) +#define FSRM_E_PROPERTY_MUST_BE_SECURE ((HRESULT) 0x80045385) +#define FSRM_E_PROPERTY_MUST_BE_GLOBAL ((HRESULT) 0x80045386) +#define FSRM_E_WMI_FAILURE ((HRESULT) 0x80045387) +#define FSRM_E_FILE_MANAGEMENT_JOB_RMS ((HRESULT) 0x80045388) +#define FSRM_E_SYNC_TASK_HAD_ERRORS ((HRESULT) 0x80045389) +#define FSRM_E_ADR_SRV_NOT_SUPPORTED ((HRESULT) 0x80045390) +#define FSRM_E_ADR_PATH_IS_LOCAL ((HRESULT) 0x80045391) +#define FSRM_E_ADR_NOT_DOMAIN_JOINED ((HRESULT) 0x80045392) +#define FSRM_E_CANNOT_REMOVE_READONLY ((HRESULT) 0x80045393) +#define FSRM_E_FILE_MANAGEMENT_JOB_INVALID_CONTINUOUS_CONFIG ((HRESULT) 0x80045394) +#define FSRM_E_LEGACY_SCHEDULE ((HRESULT) 0x80045395) +#define FSRM_E_CSC_PATH_NOT_SUPPORTED ((HRESULT) 0x80045396) +#define FSRM_E_EXPIRATION_PATH_NOT_WRITEABLE ((HRESULT) 0x80045397) +#define FSRM_E_EXPIRATION_PATH_TOO_LONG ((HRESULT) 0x80045398) +#define FSRM_E_EXPIRATION_VOLUME_NOT_NTFS ((HRESULT) 0x80045399) +#define FSRM_E_FILE_MANAGEMENT_JOB_DEPRECATED ((HRESULT) 0x8004539a) + +#endif Property changes on: trunk/mingw-w64-headers/include/fsrmerr.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-24 11:36:13
|
Revision: 6547 http://sourceforge.net/p/mingw-w64/code/6547 Author: ktietz70 Date: 2014-03-24 11:36:07 +0000 (Mon, 24 Mar 2014) Log Message: ----------- * nap*: Add NAP API. * naperror.h: Move content into winerror.h and remove. * winerror.h: Add content of naperror.h header. ~ Modified Paths: -------------- trunk/mingw-w64-headers/include/ChangeLog trunk/mingw-w64-headers/include/winerror.h Removed Paths: ------------- trunk/mingw-w64-headers/include/naperror.h Modified: trunk/mingw-w64-headers/include/ChangeLog =================================================================== --- trunk/mingw-w64-headers/include/ChangeLog 2014-03-24 11:30:59 UTC (rev 6546) +++ trunk/mingw-w64-headers/include/ChangeLog 2014-03-24 11:36:07 UTC (rev 6547) @@ -1 +1,5 @@ +2014-03-24 Kai Tietz <kt...@re...> + * nap*: Add NAP API. + * naperror.h: Move content into winerror.h and remove. + * winerror.h: Add content of naperror.h header. Deleted: trunk/mingw-w64-headers/include/naperror.h =================================================================== --- trunk/mingw-w64-headers/include/naperror.h 2014-03-24 11:30:59 UTC (rev 6546) +++ trunk/mingw-w64-headers/include/naperror.h 2014-03-24 11:36:07 UTC (rev 6547) @@ -1,39 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#ifndef _INC_NAPERROR -#define _INC_NAPERROR - -#if (_WIN32_WINNT >= 0x0600) - -#define NAP_E_INVALID_PACKET _HRESULT_TYPEDEF_(0x80270001) -#define NAP_E_MISSING_SOH _HRESULT_TYPEDEF_(0x80270002) -#define NAP_E_CONFLICTING_ID _HRESULT_TYPEDEF_(0x80270003) -#define NAP_E_NO_CACHED_SOH _HRESULT_TYPEDEF_(0x80270004) -#define NAP_E_STILL_BOUND _HRESULT_TYPEDEF_(0x80270005) -#define NAP_E_NOT_REGISTERED _HRESULT_TYPEDEF_(0x80270006) -#define NAP_E_NOT_INITIALIZED _HRESULT_TYPEDEF_(0x80270007) -#define NAP_E_MISMATCHED_ID _HRESULT_TYPEDEF_(0x80270008) -#define NAP_E_NOT_PENDING _HRESULT_TYPEDEF_(0x80270009) -#define NAP_E_ID_NOT_FOUND _HRESULT_TYPEDEF_(0x8027000A) -#define NAP_E_MAXSIZE_TOO_SMALL _HRESULT_TYPEDEF_(0x8027000B) -#define NAP_E_SERVICE_NOT_RUNNING _HRESULT_TYPEDEF_(0x8027000C) -#define NAP_S_CERT_ALREADY_PRESENT _HRESULT_TYPEDEF_(0x0027000D) -#define NAP_E_ENTITY_DISABLED _HRESULT_TYPEDEF_(0x8027000E) -#define NAP_E_NETSH_GROUPPOLICY_ERROR _HRESULT_TYPEDEF_(0x8027000F) -#define NAP_E_TOO_MANY_CALLS _HRESULT_TYPEDEF_(0x80270010) - -#if (_WIN32_WINNT >= 0x0601) - -#define NAP_E_SHV_CONFIG_EXISTED _HRESULT_TYPEDEF_(0x80270011) -#define NAP_E_SHV_CONFIG_NOT_FOUND _HRESULT_TYPEDEF_(0x80270012) -#define NAP_E_SHV_TIMEOUT _HRESULT_TYPEDEF_(0x80270013) - -#endif /*(_WIN32_WINNT >= 0x0601)*/ - -#endif /*(_WIN32_WINNT >= 0x0600)*/ - -#endif /* _INC_NAPERROR */ - Modified: trunk/mingw-w64-headers/include/winerror.h =================================================================== --- trunk/mingw-w64-headers/include/winerror.h 2014-03-24 11:30:59 UTC (rev 6546) +++ trunk/mingw-w64-headers/include/winerror.h 2014-03-24 11:36:07 UTC (rev 6547) @@ -3276,6 +3276,27 @@ #endif /*(_WIN32_WINNT >= 0x0600)*/ +#define NAP_E_INVALID_PACKET _HRESULT_TYPEDEF_(0x80270001) +#define NAP_E_MISSING_SOH _HRESULT_TYPEDEF_(0x80270002) +#define NAP_E_CONFLICTING_ID _HRESULT_TYPEDEF_(0x80270003) +#define NAP_E_NO_CACHED_SOH _HRESULT_TYPEDEF_(0x80270004) +#define NAP_E_STILL_BOUND _HRESULT_TYPEDEF_(0x80270005) +#define NAP_E_NOT_REGISTERED _HRESULT_TYPEDEF_(0x80270006) +#define NAP_E_NOT_INITIALIZED _HRESULT_TYPEDEF_(0x80270007) +#define NAP_E_MISMATCHED_ID _HRESULT_TYPEDEF_(0x80270008) +#define NAP_E_NOT_PENDING _HRESULT_TYPEDEF_(0x80270009) +#define NAP_E_ID_NOT_FOUND _HRESULT_TYPEDEF_(0x8027000A) +#define NAP_E_MAXSIZE_TOO_SMALL _HRESULT_TYPEDEF_(0x8027000B) +#define NAP_E_SERVICE_NOT_RUNNING _HRESULT_TYPEDEF_(0x8027000C) +#define NAP_S_CERT_ALREADY_PRESENT _HRESULT_TYPEDEF_(0x0027000D) +#define NAP_E_ENTITY_DISABLED _HRESULT_TYPEDEF_(0x8027000E) +#define NAP_E_NETSH_GROUPPOLICY_ERROR _HRESULT_TYPEDEF_(0x8027000F) +#define NAP_E_TOO_MANY_CALLS _HRESULT_TYPEDEF_(0x80270010) + +#define NAP_E_SHV_CONFIG_EXISTED _HRESULT_TYPEDEF_(0x80270011) +#define NAP_E_SHV_CONFIG_NOT_FOUND _HRESULT_TYPEDEF_(0x80270012) +#define NAP_E_SHV_TIMEOUT _HRESULT_TYPEDEF_(0x80270013) + #include <fltwinerror.h> #undef __IN__WINERROR_ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-24 11:31:05
|
Revision: 6546 http://sourceforge.net/p/mingw-w64/code/6546 Author: ktietz70 Date: 2014-03-24 11:30:59 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add NAP's header generation from IDL Modified Paths: -------------- trunk/mingw-w64-headers/Makefile.am trunk/mingw-w64-headers/Makefile.in Modified: trunk/mingw-w64-headers/Makefile.am =================================================================== --- trunk/mingw-w64-headers/Makefile.am 2014-03-24 11:30:18 UTC (rev 6545) +++ trunk/mingw-w64-headers/Makefile.am 2014-03-24 11:30:59 UTC (rev 6546) @@ -93,6 +93,14 @@ include/msctf.idl \ include/msopc.idl \ include/msxml.idl \ + include/napcertrelyingparty.idl \ + include/napcommon.idl \ + include/napenforcementclient.idl \ + include/napmanagement.idl \ + include/napprotocol.idl \ + include/napservermanagement.idl \ + include/napsystemhealthagent.idl \ + include/napsystemhealthvalidator.idl \ include/naptypes.idl \ include/objectarray.idl \ include/objidl.idl \ Modified: trunk/mingw-w64-headers/Makefile.in =================================================================== --- trunk/mingw-w64-headers/Makefile.in 2014-03-24 11:30:18 UTC (rev 6545) +++ trunk/mingw-w64-headers/Makefile.in 2014-03-24 11:30:59 UTC (rev 6546) @@ -317,6 +317,14 @@ @HAVE_WIDL_TRUE@ include/msctf.idl \ @HAVE_WIDL_TRUE@ include/msopc.idl \ @HAVE_WIDL_TRUE@ include/msxml.idl \ +@HAVE_WIDL_TRUE@ include/napcertrelyingparty.idl \ +@HAVE_WIDL_TRUE@ include/napcommon.idl \ +@HAVE_WIDL_TRUE@ include/napenforcementclient.idl \ +@HAVE_WIDL_TRUE@ include/napmanagement.idl \ +@HAVE_WIDL_TRUE@ include/napprotocol.idl \ +@HAVE_WIDL_TRUE@ include/napservermanagement.idl \ +@HAVE_WIDL_TRUE@ include/napsystemhealthagent.idl \ +@HAVE_WIDL_TRUE@ include/napsystemhealthvalidator.idl \ @HAVE_WIDL_TRUE@ include/naptypes.idl \ @HAVE_WIDL_TRUE@ include/objectarray.idl \ @HAVE_WIDL_TRUE@ include/objidl.idl \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-24 11:30:24
|
Revision: 6545 http://sourceforge.net/p/mingw-w64/code/6545 Author: ktietz70 Date: 2014-03-24 11:30:18 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add NAP's protocol interfaces Modified Paths: -------------- trunk/mingw-w64-headers/include/napprotocol.h Added Paths: ----------- trunk/mingw-w64-headers/include/napprotocol.idl Modified: trunk/mingw-w64-headers/include/napprotocol.h =================================================================== --- trunk/mingw-w64-headers/include/napprotocol.h 2014-03-24 11:29:44 UTC (rev 6544) +++ trunk/mingw-w64-headers/include/napprotocol.h 2014-03-24 11:30:18 UTC (rev 6545) @@ -1,64 +1,421 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. +/*** Autogenerated by WIDL 1.6 from napprotocol.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __napprotocol_h__ +#define __napprotocol_h__ + +/* Forward declarations */ + +#ifndef __INapSoHConstructor_FWD_DEFINED__ +#define __INapSoHConstructor_FWD_DEFINED__ +typedef interface INapSoHConstructor INapSoHConstructor; +#endif + +#ifndef __INapSoHProcessor_FWD_DEFINED__ +#define __INapSoHProcessor_FWD_DEFINED__ +typedef interface INapSoHProcessor INapSoHProcessor; +#endif + +/* Headers for imported files */ + +#include <naptypes.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +/***************************************************************************** + * INapSoHTypes interface (v0.0) */ -#ifndef _INC_NAPTYPES -#define _INC_NAPTYPES +#ifndef __INapSoHTypes_INTERFACE_DEFINED__ +#define __INapSoHTypes_INTERFACE_DEFINED__ -#if (_WIN32_WINNT >= 0x0600) - +extern RPC_IF_HANDLE INapSoHTypes_v0_0_c_ifspec; +extern RPC_IF_HANDLE INapSoHTypes_v0_0_s_ifspec; typedef enum tagSoHAttributeType { - sohAttributeTypeSystemHealthId = 2, - sohAttributeTypeIpv4FixupServers = 3, - sohAttributeTypeComplianceResultCodes = 4, - sohAttributeTypeTimeOfLastUpdate = 5, - sohAttributeTypeClientId = 6, - sohAttributeTypeVendorSpecific = 7, - sohAttributeTypeHealthClass = 8, - sohAttributeTypeSoftwareVersion = 9, - sohAttributeTypeProductName = 10, - sohAttributeTypeHealthClassStatus = 11, - sohAttributeTypeSoHGenerationTime = 12, - sohAttributeTypeErrorCodes = 13, - sohAttributeTypeFailureCategory = 14, - sohAttributeTypeIpv6FixupServers = 15, - sohAttributeTypeExtendedIsolationState = 16 + sohAttributeTypeSystemHealthId = 2, + sohAttributeTypeIpv4FixupServers = 3, + sohAttributeTypeComplianceResultCodes = 4, + sohAttributeTypeTimeOfLastUpdate = 5, + sohAttributeTypeClientId = 6, + sohAttributeTypeVendorSpecific = 7, + sohAttributeTypeHealthClass = 8, + sohAttributeTypeSoftwareVersion = 9, + sohAttributeTypeProductName = 10, + sohAttributeTypeHealthClassStatus = 11, + sohAttributeTypeSoHGenerationTime = 12, + sohAttributeTypeErrorCodes = 13, + sohAttributeTypeFailureCategory = 14, + sohAttributeTypeIpv6FixupServers = 15, + sohAttributeTypeExtendedIsolationState = 16 } SoHAttributeType; - -typedef union tagSoHAttributeValue { - SystemHealthEntityId idVal; - struct tagIpv4Addresses { - UINT16 count; - Ipv4Address *addresses; - } v4AddressesVal; - struct tagIpv6Addresses { - UINT16 count; - Ipv6Address *addresses; - } v6AddressesVal; - ResultCodes codesVal; - FILETIME dateTimeVal; - struct tagVendorSpecific { - UINT32 vendorId; - UINT16 size; - BYTE *vendorSpecificData; - } vendorSpecificVal; - UINT8 uint8Val; - struct tagOctetString { - UINT16 size; - BYTE *data; - } octetStringVal; -}SoHAttributeValue; - typedef enum tagHealthClassValue { - healthClassFirewall = 0, - healthClassPatchLevel = 1, - healthClassAntiVirus = 2, - healthClassCriticalUpdate = 3, - healthClassReserved = 128 + healthClassFirewall = 0, + healthClassPatchLevel = 1, + healthClassAntiVirus = 2, + healthClassCriticalUpdate = 3, + healthClassReserved = 128 } HealthClassValue; +typedef union tagSoHAttributeValue { + SystemHealthEntityId idVal; + struct tagIpv4Addresses { + UINT16 count; + Ipv4Address *addresses; + } v4AddressesVal; + struct tagIpv6Addresses { + UINT16 count; + Ipv6Address *addresses; + } v6AddressesVal; + ResultCodes codesVal; + FILETIME dateTimeVal; + struct tagVendorSpecific { + UINT32 vendorId; + UINT16 size; + BYTE *vendorSpecificData; + } vendorSpecificVal; + UINT8 uint8Val; + struct tagOctetString { + UINT16 size; + BYTE *data; + } octetStringVal; +} SoHAttributeValue; -#endif /*(_WIN32_WINNT >= 0x0600)*/ +#endif /* __INapSoHTypes_INTERFACE_DEFINED__ */ -#endif /* _INC_NAPTYPES */ +/***************************************************************************** + * INapSoHConstructor interface + */ +#ifndef __INapSoHConstructor_INTERFACE_DEFINED__ +#define __INapSoHConstructor_INTERFACE_DEFINED__ +DEFINE_GUID(IID_INapSoHConstructor, 0x35298344, 0x96a6, 0x45e7, 0x9b,0x6b, 0x62,0xec,0xc6,0xe0,0x99,0x20); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("35298344-96a6-45e7-9b6b-62ecc6e09920") +INapSoHConstructor : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + SystemHealthEntityId id, + WINBOOL isRequest) = 0; + + virtual HRESULT STDMETHODCALLTYPE AppendAttribute( + SoHAttributeType type, + const SoHAttributeValue *value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSoH( + SoH **soh) = 0; + + virtual HRESULT STDMETHODCALLTYPE Validate( + const SoH *soh, + WINBOOL isRequest) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapSoHConstructor, 0x35298344, 0x96a6, 0x45e7, 0x9b,0x6b, 0x62,0xec,0xc6,0xe0,0x99,0x20) +#endif +#else +typedef struct INapSoHConstructorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapSoHConstructor* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapSoHConstructor* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapSoHConstructor* This); + + /*** INapSoHConstructor methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INapSoHConstructor* This, + SystemHealthEntityId id, + WINBOOL isRequest); + + HRESULT (STDMETHODCALLTYPE *AppendAttribute)( + INapSoHConstructor* This, + SoHAttributeType type, + const SoHAttributeValue *value); + + HRESULT (STDMETHODCALLTYPE *GetSoH)( + INapSoHConstructor* This, + SoH **soh); + + HRESULT (STDMETHODCALLTYPE *Validate)( + INapSoHConstructor* This, + const SoH *soh, + WINBOOL isRequest); + + END_INTERFACE +} INapSoHConstructorVtbl; +interface INapSoHConstructor { + CONST_VTBL INapSoHConstructorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapSoHConstructor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapSoHConstructor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapSoHConstructor_Release(This) (This)->lpVtbl->Release(This) +/*** INapSoHConstructor methods ***/ +#define INapSoHConstructor_Initialize(This,id,isRequest) (This)->lpVtbl->Initialize(This,id,isRequest) +#define INapSoHConstructor_AppendAttribute(This,type,value) (This)->lpVtbl->AppendAttribute(This,type,value) +#define INapSoHConstructor_GetSoH(This,soh) (This)->lpVtbl->GetSoH(This,soh) +#define INapSoHConstructor_Validate(This,soh,isRequest) (This)->lpVtbl->Validate(This,soh,isRequest) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapSoHConstructor_QueryInterface(INapSoHConstructor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapSoHConstructor_AddRef(INapSoHConstructor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapSoHConstructor_Release(INapSoHConstructor* This) { + return This->lpVtbl->Release(This); +} +/*** INapSoHConstructor methods ***/ +static FORCEINLINE HRESULT INapSoHConstructor_Initialize(INapSoHConstructor* This,SystemHealthEntityId id,WINBOOL isRequest) { + return This->lpVtbl->Initialize(This,id,isRequest); +} +static FORCEINLINE HRESULT INapSoHConstructor_AppendAttribute(INapSoHConstructor* This,SoHAttributeType type,const SoHAttributeValue *value) { + return This->lpVtbl->AppendAttribute(This,type,value); +} +static FORCEINLINE HRESULT INapSoHConstructor_GetSoH(INapSoHConstructor* This,SoH **soh) { + return This->lpVtbl->GetSoH(This,soh); +} +static FORCEINLINE HRESULT INapSoHConstructor_Validate(INapSoHConstructor* This,const SoH *soh,WINBOOL isRequest) { + return This->lpVtbl->Validate(This,soh,isRequest); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapSoHConstructor_Initialize_Proxy( + INapSoHConstructor* This, + SystemHealthEntityId id, + WINBOOL isRequest); +void __RPC_STUB INapSoHConstructor_Initialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSoHConstructor_AppendAttribute_Proxy( + INapSoHConstructor* This, + SoHAttributeType type, + const SoHAttributeValue *value); +void __RPC_STUB INapSoHConstructor_AppendAttribute_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSoHConstructor_GetSoH_Proxy( + INapSoHConstructor* This, + SoH **soh); +void __RPC_STUB INapSoHConstructor_GetSoH_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSoHConstructor_Validate_Proxy( + INapSoHConstructor* This, + const SoH *soh, + WINBOOL isRequest); +void __RPC_STUB INapSoHConstructor_Validate_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapSoHConstructor_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapSoHProcessor interface + */ +#ifndef __INapSoHProcessor_INTERFACE_DEFINED__ +#define __INapSoHProcessor_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapSoHProcessor, 0xfb2fa8b0, 0x2cd5, 0x457d, 0xab,0xa8, 0x43,0x76,0xf6,0x3e,0xa1,0xc0); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fb2fa8b0-2cd5-457d-aba8-4376f63ea1c0") +INapSoHProcessor : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + const SoH *soh, + WINBOOL isRequest, + SystemHealthEntityId *id) = 0; + + virtual HRESULT STDMETHODCALLTYPE FindNextAttribute( + UINT16 fromLocation, + SoHAttributeType type, + UINT16 *attributeLocation) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAttribute( + UINT16 attributeLocation, + SoHAttributeType *type, + SoHAttributeValue **value) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumberOfAttributes( + UINT16 *attributeCount) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapSoHProcessor, 0xfb2fa8b0, 0x2cd5, 0x457d, 0xab,0xa8, 0x43,0x76,0xf6,0x3e,0xa1,0xc0) +#endif +#else +typedef struct INapSoHProcessorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapSoHProcessor* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapSoHProcessor* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapSoHProcessor* This); + + /*** INapSoHProcessor methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INapSoHProcessor* This, + const SoH *soh, + WINBOOL isRequest, + SystemHealthEntityId *id); + + HRESULT (STDMETHODCALLTYPE *FindNextAttribute)( + INapSoHProcessor* This, + UINT16 fromLocation, + SoHAttributeType type, + UINT16 *attributeLocation); + + HRESULT (STDMETHODCALLTYPE *GetAttribute)( + INapSoHProcessor* This, + UINT16 attributeLocation, + SoHAttributeType *type, + SoHAttributeValue **value); + + HRESULT (STDMETHODCALLTYPE *GetNumberOfAttributes)( + INapSoHProcessor* This, + UINT16 *attributeCount); + + END_INTERFACE +} INapSoHProcessorVtbl; +interface INapSoHProcessor { + CONST_VTBL INapSoHProcessorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapSoHProcessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapSoHProcessor_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapSoHProcessor_Release(This) (This)->lpVtbl->Release(This) +/*** INapSoHProcessor methods ***/ +#define INapSoHProcessor_Initialize(This,soh,isRequest,id) (This)->lpVtbl->Initialize(This,soh,isRequest,id) +#define INapSoHProcessor_FindNextAttribute(This,fromLocation,type,attributeLocation) (This)->lpVtbl->FindNextAttribute(This,fromLocation,type,attributeLocation) +#define INapSoHProcessor_GetAttribute(This,attributeLocation,type,value) (This)->lpVtbl->GetAttribute(This,attributeLocation,type,value) +#define INapSoHProcessor_GetNumberOfAttributes(This,attributeCount) (This)->lpVtbl->GetNumberOfAttributes(This,attributeCount) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapSoHProcessor_QueryInterface(INapSoHProcessor* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapSoHProcessor_AddRef(INapSoHProcessor* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapSoHProcessor_Release(INapSoHProcessor* This) { + return This->lpVtbl->Release(This); +} +/*** INapSoHProcessor methods ***/ +static FORCEINLINE HRESULT INapSoHProcessor_Initialize(INapSoHProcessor* This,const SoH *soh,WINBOOL isRequest,SystemHealthEntityId *id) { + return This->lpVtbl->Initialize(This,soh,isRequest,id); +} +static FORCEINLINE HRESULT INapSoHProcessor_FindNextAttribute(INapSoHProcessor* This,UINT16 fromLocation,SoHAttributeType type,UINT16 *attributeLocation) { + return This->lpVtbl->FindNextAttribute(This,fromLocation,type,attributeLocation); +} +static FORCEINLINE HRESULT INapSoHProcessor_GetAttribute(INapSoHProcessor* This,UINT16 attributeLocation,SoHAttributeType *type,SoHAttributeValue **value) { + return This->lpVtbl->GetAttribute(This,attributeLocation,type,value); +} +static FORCEINLINE HRESULT INapSoHProcessor_GetNumberOfAttributes(INapSoHProcessor* This,UINT16 *attributeCount) { + return This->lpVtbl->GetNumberOfAttributes(This,attributeCount); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapSoHProcessor_Initialize_Proxy( + INapSoHProcessor* This, + const SoH *soh, + WINBOOL isRequest, + SystemHealthEntityId *id); +void __RPC_STUB INapSoHProcessor_Initialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSoHProcessor_FindNextAttribute_Proxy( + INapSoHProcessor* This, + UINT16 fromLocation, + SoHAttributeType type, + UINT16 *attributeLocation); +void __RPC_STUB INapSoHProcessor_FindNextAttribute_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSoHProcessor_GetAttribute_Proxy( + INapSoHProcessor* This, + UINT16 attributeLocation, + SoHAttributeType *type, + SoHAttributeValue **value); +void __RPC_STUB INapSoHProcessor_GetAttribute_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSoHProcessor_GetNumberOfAttributes_Proxy( + INapSoHProcessor* This, + UINT16 *attributeCount); +void __RPC_STUB INapSoHProcessor_GetNumberOfAttributes_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapSoHProcessor_INTERFACE_DEFINED__ */ + +EXTERN_C const CLSID CLSID_NapSoHConstructor; +EXTERN_C const CLSID CLSID_NapSoHProcessor; +#endif +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __napprotocol_h__ */ Added: trunk/mingw-w64-headers/include/napprotocol.idl =================================================================== --- trunk/mingw-w64-headers/include/napprotocol.idl (rev 0) +++ trunk/mingw-w64-headers/include/napprotocol.idl 2014-03-24 11:30:18 UTC (rev 6545) @@ -0,0 +1,84 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +import "naptypes.idl"; +import "unknwn.idl"; + +cpp_quote("#include <winapifamily.h>") +cpp_quote("") +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +[pointer_default (unique)] +interface INapSoHTypes { + typedef enum tagSoHAttributeType { + sohAttributeTypeSystemHealthId = 2, + sohAttributeTypeIpv4FixupServers = 3, + sohAttributeTypeComplianceResultCodes = 4, + sohAttributeTypeTimeOfLastUpdate = 5, + sohAttributeTypeClientId = 6, + sohAttributeTypeVendorSpecific = 7, + sohAttributeTypeHealthClass = 8, + sohAttributeTypeSoftwareVersion = 9, + sohAttributeTypeProductName = 10, + sohAttributeTypeHealthClassStatus = 11, + sohAttributeTypeSoHGenerationTime = 12, + sohAttributeTypeErrorCodes = 13, + sohAttributeTypeFailureCategory = 14, + sohAttributeTypeIpv6FixupServers = 15, + sohAttributeTypeExtendedIsolationState = 16 + } SoHAttributeType; + + typedef enum tagHealthClassValue { + healthClassFirewall = 0, + healthClassPatchLevel = 1, + healthClassAntiVirus = 2, + healthClassCriticalUpdate = 3, + healthClassReserved = 128 + } HealthClassValue; + + typedef [switch_type (SoHAttributeType)] union tagSoHAttributeValue { + [case (sohAttributeTypeSystemHealthId)] SystemHealthEntityId idVal; + [case (sohAttributeTypeIpv4FixupServers)] struct tagIpv4Addresses { + [range (1, maxIpv4CountPerSoHAttribute)] UINT16 count; + [size_is (count)] Ipv4Address *addresses; + } v4AddressesVal; + [case (sohAttributeTypeIpv6FixupServers)] struct tagIpv6Addresses { + [range (1, maxIpv6CountPerSoHAttribute)] UINT16 count; + [size_is (count)] Ipv6Address *addresses; + } v6AddressesVal; + [case (sohAttributeTypeComplianceResultCodes, sohAttributeTypeErrorCodes)] ResultCodes codesVal; + [case (sohAttributeTypeTimeOfLastUpdate, sohAttributeTypeSoHGenerationTime)] FILETIME dateTimeVal; + [case (sohAttributeTypeVendorSpecific)] struct tagVendorSpecific { + UINT32 vendorId; + [range (0, maxSoHAttributeSize - 4)] UINT16 size; + [size_is (size)] BYTE *vendorSpecificData; + } vendorSpecificVal; + [case (sohAttributeTypeHealthClass, sohAttributeTypeFailureCategory, sohAttributeTypeExtendedIsolationState)] UINT8 uint8Val; + [default] struct tagOctetString { + [range (0, maxSoHAttributeSize)] UINT16 size; + [size_is (size)] BYTE *data; + } octetStringVal; + } SoHAttributeValue; +}; + +[object, uuid (35298344-96a6-45e7-9b6b-62ecc6e09920), pointer_default (unique)] +interface INapSoHConstructor : IUnknown { + HRESULT Initialize ([in] SystemHealthEntityId id,[in] BOOL isRequest); + HRESULT AppendAttribute ([in] SoHAttributeType type,[in, switch_is (type)] const SoHAttributeValue *value); + HRESULT GetSoH ([out] SoH **soh); + HRESULT Validate ([in] const SoH *soh,[in] BOOL isRequest); +}; + +[object, uuid (FB2FA8B0-2cd5-457d-ABA8-4376f63ea1c0), pointer_default (unique)] +interface INapSoHProcessor : IUnknown { + HRESULT Initialize ([in] const SoH *soh,[in] BOOL isRequest,[out] SystemHealthEntityId *id); + HRESULT FindNextAttribute ([in] UINT16 fromLocation,[in] SoHAttributeType type,[out] UINT16 *attributeLocation); + HRESULT GetAttribute ([in] UINT16 attributeLocation,[out] SoHAttributeType *type,[out, switch_is (*type)] SoHAttributeValue **value); + HRESULT GetNumberOfAttributes ([out] UINT16 *attributeCount); +}; + +cpp_quote("EXTERN_C const CLSID CLSID_NapSoHConstructor;") +cpp_quote("EXTERN_C const CLSID CLSID_NapSoHProcessor;") +cpp_quote("#endif") Property changes on: trunk/mingw-w64-headers/include/napprotocol.idl ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-24 11:29:55
|
Revision: 6544 http://sourceforge.net/p/mingw-w64/code/6544 Author: ktietz70 Date: 2014-03-24 11:29:44 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add NAP's Enforcement Client interfaces Modified Paths: -------------- trunk/mingw-w64-headers/include/napenforcementclient.h Added Paths: ----------- trunk/mingw-w64-headers/include/napenforcementclient.idl Modified: trunk/mingw-w64-headers/include/napenforcementclient.h =================================================================== --- trunk/mingw-w64-headers/include/napenforcementclient.h 2014-03-24 11:29:08 UTC (rev 6543) +++ trunk/mingw-w64-headers/include/napenforcementclient.h 2014-03-24 11:29:44 UTC (rev 6544) @@ -1,42 +1,1150 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. +/*** Autogenerated by WIDL 1.6 from napenforcementclient.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __napenforcementclient_h__ +#define __napenforcementclient_h__ + +/* Forward declarations */ + +#ifndef __INapEnforcementClientBinding_FWD_DEFINED__ +#define __INapEnforcementClientBinding_FWD_DEFINED__ +typedef interface INapEnforcementClientBinding INapEnforcementClientBinding; +#endif + +#ifndef __INapEnforcementClientCallback_FWD_DEFINED__ +#define __INapEnforcementClientCallback_FWD_DEFINED__ +typedef interface INapEnforcementClientCallback INapEnforcementClientCallback; +#endif + +#ifndef __INapEnforcementClientConnection_FWD_DEFINED__ +#define __INapEnforcementClientConnection_FWD_DEFINED__ +typedef interface INapEnforcementClientConnection INapEnforcementClientConnection; +#endif + +#ifndef __INapEnforcementClientConnection2_FWD_DEFINED__ +#define __INapEnforcementClientConnection2_FWD_DEFINED__ +typedef interface INapEnforcementClientConnection2 INapEnforcementClientConnection2; +#endif + +/* Headers for imported files */ + +#include <naptypes.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#ifndef __INapEnforcementClientBinding_FWD_DEFINED__ +#define __INapEnforcementClientBinding_FWD_DEFINED__ +typedef interface INapEnforcementClientBinding INapEnforcementClientBinding; +#endif + +#ifndef __INapEnforcementClientCallback_FWD_DEFINED__ +#define __INapEnforcementClientCallback_FWD_DEFINED__ +typedef interface INapEnforcementClientCallback INapEnforcementClientCallback; +#endif + +#ifndef __INapEnforcementClientConnection_FWD_DEFINED__ +#define __INapEnforcementClientConnection_FWD_DEFINED__ +typedef interface INapEnforcementClientConnection INapEnforcementClientConnection; +#endif + +#ifndef __INapEnforcementClientConnection2_FWD_DEFINED__ +#define __INapEnforcementClientConnection2_FWD_DEFINED__ +typedef interface INapEnforcementClientConnection2 INapEnforcementClientConnection2; +#endif + +/***************************************************************************** + * INapEnforcementClientBinding interface */ -#ifndef _INC_NAPENFORCEMENTCLIENT -#define _INC_NAPENFORCEMENTCLIENT +#ifndef __INapEnforcementClientBinding_INTERFACE_DEFINED__ +#define __INapEnforcementClientBinding_INTERFACE_DEFINED__ -#if (_WIN32_WINNT >= 0x0600) +DEFINE_GUID(IID_INapEnforcementClientBinding, 0x92b93223, 0x7487, 0x42d9, 0x9a,0x91, 0x5b,0x85,0x07,0x72,0x03,0x84); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("92b93223-7487-42d9-9a91-5b8507720384") +INapEnforcementClientBinding : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + EnforcementEntityId id, + INapEnforcementClientCallback *callback) = 0; -#define defaultProtocolMaxSize 0x0FA0 -#define maxProtocolMaxSize 0xFFFF -#define minProtocolMaxSize 0x012C + virtual HRESULT STDMETHODCALLTYPE Uninitialize( + ) = 0; - typedef struct tagConnections { - UINT16 count; + virtual HRESULT STDMETHODCALLTYPE CreateConnection( + INapEnforcementClientConnection **connection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSoHRequest( + INapEnforcementClientConnection *connection, + WINBOOL *retriggerHint) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessSoHResponse( + INapEnforcementClientConnection *connection) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyConnectionStateDown( + INapEnforcementClientConnection *downCxn) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifySoHChangeFailure( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapEnforcementClientBinding, 0x92b93223, 0x7487, 0x42d9, 0x9a,0x91, 0x5b,0x85,0x07,0x72,0x03,0x84) +#endif +#else +typedef struct INapEnforcementClientBindingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapEnforcementClientBinding* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapEnforcementClientBinding* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapEnforcementClientBinding* This); + + /*** INapEnforcementClientBinding methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INapEnforcementClientBinding* This, + EnforcementEntityId id, + INapEnforcementClientCallback *callback); + + HRESULT (STDMETHODCALLTYPE *Uninitialize)( + INapEnforcementClientBinding* This); + + HRESULT (STDMETHODCALLTYPE *CreateConnection)( + INapEnforcementClientBinding* This, + INapEnforcementClientConnection **connection); + + HRESULT (STDMETHODCALLTYPE *GetSoHRequest)( + INapEnforcementClientBinding* This, + INapEnforcementClientConnection *connection, + WINBOOL *retriggerHint); + + HRESULT (STDMETHODCALLTYPE *ProcessSoHResponse)( + INapEnforcementClientBinding* This, + INapEnforcementClientConnection *connection); + + HRESULT (STDMETHODCALLTYPE *NotifyConnectionStateDown)( + INapEnforcementClientBinding* This, + INapEnforcementClientConnection *downCxn); + + HRESULT (STDMETHODCALLTYPE *NotifySoHChangeFailure)( + INapEnforcementClientBinding* This); + + END_INTERFACE +} INapEnforcementClientBindingVtbl; +interface INapEnforcementClientBinding { + CONST_VTBL INapEnforcementClientBindingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapEnforcementClientBinding_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapEnforcementClientBinding_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapEnforcementClientBinding_Release(This) (This)->lpVtbl->Release(This) +/*** INapEnforcementClientBinding methods ***/ +#define INapEnforcementClientBinding_Initialize(This,id,callback) (This)->lpVtbl->Initialize(This,id,callback) +#define INapEnforcementClientBinding_Uninitialize(This) (This)->lpVtbl->Uninitialize(This) +#define INapEnforcementClientBinding_CreateConnection(This,connection) (This)->lpVtbl->CreateConnection(This,connection) +#define INapEnforcementClientBinding_GetSoHRequest(This,connection,retriggerHint) (This)->lpVtbl->GetSoHRequest(This,connection,retriggerHint) +#define INapEnforcementClientBinding_ProcessSoHResponse(This,connection) (This)->lpVtbl->ProcessSoHResponse(This,connection) +#define INapEnforcementClientBinding_NotifyConnectionStateDown(This,downCxn) (This)->lpVtbl->NotifyConnectionStateDown(This,downCxn) +#define INapEnforcementClientBinding_NotifySoHChangeFailure(This) (This)->lpVtbl->NotifySoHChangeFailure(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientBinding_QueryInterface(INapEnforcementClientBinding* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapEnforcementClientBinding_AddRef(INapEnforcementClientBinding* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapEnforcementClientBinding_Release(INapEnforcementClientBinding* This) { + return This->lpVtbl->Release(This); +} +/*** INapEnforcementClientBinding methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientBinding_Initialize(INapEnforcementClientBinding* This,EnforcementEntityId id,INapEnforcementClientCallback *callback) { + return This->lpVtbl->Initialize(This,id,callback); +} +static FORCEINLINE HRESULT INapEnforcementClientBinding_Uninitialize(INapEnforcementClientBinding* This) { + return This->lpVtbl->Uninitialize(This); +} +static FORCEINLINE HRESULT INapEnforcementClientBinding_CreateConnection(INapEnforcementClientBinding* This,INapEnforcementClientConnection **connection) { + return This->lpVtbl->CreateConnection(This,connection); +} +static FORCEINLINE HRESULT INapEnforcementClientBinding_GetSoHRequest(INapEnforcementClientBinding* This,INapEnforcementClientConnection *connection,WINBOOL *retriggerHint) { + return This->lpVtbl->GetSoHRequest(This,connection,retriggerHint); +} +static FORCEINLINE HRESULT INapEnforcementClientBinding_ProcessSoHResponse(INapEnforcementClientBinding* This,INapEnforcementClientConnection *connection) { + return This->lpVtbl->ProcessSoHResponse(This,connection); +} +static FORCEINLINE HRESULT INapEnforcementClientBinding_NotifyConnectionStateDown(INapEnforcementClientBinding* This,INapEnforcementClientConnection *downCxn) { + return This->lpVtbl->NotifyConnectionStateDown(This,downCxn); +} +static FORCEINLINE HRESULT INapEnforcementClientBinding_NotifySoHChangeFailure(INapEnforcementClientBinding* This) { + return This->lpVtbl->NotifySoHChangeFailure(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapEnforcementClientBinding_Initialize_Proxy( + INapEnforcementClientBinding* This, + EnforcementEntityId id, + INapEnforcementClientCallback *callback); +void __RPC_STUB INapEnforcementClientBinding_Initialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientBinding_Uninitialize_Proxy( + INapEnforcementClientBinding* This); +void __RPC_STUB INapEnforcementClientBinding_Uninitialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientBinding_CreateConnection_Proxy( + INapEnforcementClientBinding* This, + INapEnforcementClientConnection **connection); +void __RPC_STUB INapEnforcementClientBinding_CreateConnection_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientBinding_GetSoHRequest_Proxy( + INapEnforcementClientBinding* This, + INapEnforcementClientConnection *connection, + WINBOOL *retriggerHint); +void __RPC_STUB INapEnforcementClientBinding_GetSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientBinding_ProcessSoHResponse_Proxy( + INapEnforcementClientBinding* This, + INapEnforcementClientConnection *connection); +void __RPC_STUB INapEnforcementClientBinding_ProcessSoHResponse_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientBinding_NotifyConnectionStateDown_Proxy( + INapEnforcementClientBinding* This, + INapEnforcementClientConnection *downCxn); +void __RPC_STUB INapEnforcementClientBinding_NotifyConnectionStateDown_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientBinding_NotifySoHChangeFailure_Proxy( + INapEnforcementClientBinding* This); +void __RPC_STUB INapEnforcementClientBinding_NotifySoHChangeFailure_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapEnforcementClientBinding_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapEnforcementClientCallback interface + */ +#ifndef __INapEnforcementClientCallback_INTERFACE_DEFINED__ +#define __INapEnforcementClientCallback_INTERFACE_DEFINED__ + +typedef struct tagConnections { + UINT16 count; INapEnforcementClientConnection **connections; - } Connections; +} Connections; +DEFINE_GUID(IID_INapEnforcementClientCallback, 0xf5a0b90a, 0x83a1, 0x4f76, 0xba,0x3f, 0x02,0x54,0x18,0x68,0x28,0x14); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f5a0b90a-83a1-4f76-ba3f-025418682814") +INapEnforcementClientCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE NotifySoHChange( + ) = 0; -#ifndef NAPTypes -#define NAPTypes - typedef struct tagCountedString { - UINT16 length; - WCHAR *string; - } CountedString; - typedef FILETIME ProbationTime; - typedef UINT32 ProtocolMaxSize; - typedef UINT32 NapComponentId; - typedef NapComponentId SystemHealthEntityId; - typedef NapComponentId EnforcementEntityId; - typedef UINT16 SystemHealthEntityCount; - typedef UINT16 EnforcementEntityCount; - typedef CountedString StringCorrelationId; - typedef GUID ConnectionId; - typedef UINT8 Percentage; - typedef UINT32 MessageId; -#endif /* NAPTypes */ + virtual HRESULT STDMETHODCALLTYPE GetConnections( + Connections **connections) = 0; -#endif /*(_WIN32_WINNT >= 0x0600)*/ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapEnforcementClientCallback, 0xf5a0b90a, 0x83a1, 0x4f76, 0xba,0x3f, 0x02,0x54,0x18,0x68,0x28,0x14) +#endif +#else +typedef struct INapEnforcementClientCallbackVtbl { + BEGIN_INTERFACE -#endif /* _INC_NAPENFORCEMENTCLIENT */ + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapEnforcementClientCallback* This, + REFIID riid, + void **ppvObject); + ULONG (STDMETHODCALLTYPE *AddRef)( + INapEnforcementClientCallback* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapEnforcementClientCallback* This); + + /*** INapEnforcementClientCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *NotifySoHChange)( + INapEnforcementClientCallback* This); + + HRESULT (STDMETHODCALLTYPE *GetConnections)( + INapEnforcementClientCallback* This, + Connections **connections); + + END_INTERFACE +} INapEnforcementClientCallbackVtbl; +interface INapEnforcementClientCallback { + CONST_VTBL INapEnforcementClientCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapEnforcementClientCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapEnforcementClientCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapEnforcementClientCallback_Release(This) (This)->lpVtbl->Release(This) +/*** INapEnforcementClientCallback methods ***/ +#define INapEnforcementClientCallback_NotifySoHChange(This) (This)->lpVtbl->NotifySoHChange(This) +#define INapEnforcementClientCallback_GetConnections(This,connections) (This)->lpVtbl->GetConnections(This,connections) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientCallback_QueryInterface(INapEnforcementClientCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapEnforcementClientCallback_AddRef(INapEnforcementClientCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapEnforcementClientCallback_Release(INapEnforcementClientCallback* This) { + return This->lpVtbl->Release(This); +} +/*** INapEnforcementClientCallback methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientCallback_NotifySoHChange(INapEnforcementClientCallback* This) { + return This->lpVtbl->NotifySoHChange(This); +} +static FORCEINLINE HRESULT INapEnforcementClientCallback_GetConnections(INapEnforcementClientCallback* This,Connections **connections) { + return This->lpVtbl->GetConnections(This,connections); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapEnforcementClientCallback_NotifySoHChange_Proxy( + INapEnforcementClientCallback* This); +void __RPC_STUB INapEnforcementClientCallback_NotifySoHChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientCallback_GetConnections_Proxy( + INapEnforcementClientCallback* This, + Connections **connections); +void __RPC_STUB INapEnforcementClientCallback_GetConnections_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapEnforcementClientCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapEnforcementClientConnection interface + */ +#ifndef __INapEnforcementClientConnection_INTERFACE_DEFINED__ +#define __INapEnforcementClientConnection_INTERFACE_DEFINED__ + +#define defaultProtocolMaxSize (4000) + +#define minProtocolMaxSize (300) + +#define maxProtocolMaxSize (0xffff) + +typedef UINT32 ProtocolMaxSize; +DEFINE_GUID(IID_INapEnforcementClientConnection, 0xfb3a3505, 0xddb1, 0x468a, 0xb3,0x07, 0xf3,0x28,0xa5,0x74,0x19,0xd8); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("fb3a3505-ddb1-468a-b307-f328a57419d8") +INapEnforcementClientConnection : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + EnforcementEntityId id) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetMaxSize( + ProtocolMaxSize maxSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMaxSize( + ProtocolMaxSize *maxSize) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFlags( + UINT8 flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFlags( + UINT8 *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetConnectionId( + const ConnectionId *connectionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConnectionId( + ConnectionId **connectionId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCorrelationId( + CorrelationId *correlationId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStringCorrelationId( + StringCorrelationId **correlationId) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetCorrelationId( + CorrelationId correlationId) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSoHRequest( + const NetworkSoHRequest *sohRequest) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSoHRequest( + NetworkSoHRequest **sohRequest) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSoHResponse( + const NetworkSoHResponse *sohResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSoHResponse( + NetworkSoHResponse **sohResponse) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetIsolationInfo( + const IsolationInfo *isolationInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIsolationInfo( + IsolationInfo **isolationInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrivateData( + const PrivateData *privateData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrivateData( + PrivateData **privateData) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetEnforcerPrivateData( + const PrivateData *privateData) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetEnforcerPrivateData( + PrivateData **privateData) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapEnforcementClientConnection, 0xfb3a3505, 0xddb1, 0x468a, 0xb3,0x07, 0xf3,0x28,0xa5,0x74,0x19,0xd8) +#endif +#else +typedef struct INapEnforcementClientConnectionVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapEnforcementClientConnection* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapEnforcementClientConnection* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapEnforcementClientConnection* This); + + /*** INapEnforcementClientConnection methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INapEnforcementClientConnection* This, + EnforcementEntityId id); + + HRESULT (STDMETHODCALLTYPE *SetMaxSize)( + INapEnforcementClientConnection* This, + ProtocolMaxSize maxSize); + + HRESULT (STDMETHODCALLTYPE *GetMaxSize)( + INapEnforcementClientConnection* This, + ProtocolMaxSize *maxSize); + + HRESULT (STDMETHODCALLTYPE *SetFlags)( + INapEnforcementClientConnection* This, + UINT8 flags); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + INapEnforcementClientConnection* This, + UINT8 *flags); + + HRESULT (STDMETHODCALLTYPE *SetConnectionId)( + INapEnforcementClientConnection* This, + const ConnectionId *connectionId); + + HRESULT (STDMETHODCALLTYPE *GetConnectionId)( + INapEnforcementClientConnection* This, + ConnectionId **connectionId); + + HRESULT (STDMETHODCALLTYPE *GetCorrelationId)( + INapEnforcementClientConnection* This, + CorrelationId *correlationId); + + HRESULT (STDMETHODCALLTYPE *GetStringCorrelationId)( + INapEnforcementClientConnection* This, + StringCorrelationId **correlationId); + + HRESULT (STDMETHODCALLTYPE *SetCorrelationId)( + INapEnforcementClientConnection* This, + CorrelationId correlationId); + + HRESULT (STDMETHODCALLTYPE *SetSoHRequest)( + INapEnforcementClientConnection* This, + const NetworkSoHRequest *sohRequest); + + HRESULT (STDMETHODCALLTYPE *GetSoHRequest)( + INapEnforcementClientConnection* This, + NetworkSoHRequest **sohRequest); + + HRESULT (STDMETHODCALLTYPE *SetSoHResponse)( + INapEnforcementClientConnection* This, + const NetworkSoHResponse *sohResponse); + + HRESULT (STDMETHODCALLTYPE *GetSoHResponse)( + INapEnforcementClientConnection* This, + NetworkSoHResponse **sohResponse); + + HRESULT (STDMETHODCALLTYPE *SetIsolationInfo)( + INapEnforcementClientConnection* This, + const IsolationInfo *isolationInfo); + + HRESULT (STDMETHODCALLTYPE *GetIsolationInfo)( + INapEnforcementClientConnection* This, + IsolationInfo **isolationInfo); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + INapEnforcementClientConnection* This, + const PrivateData *privateData); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + INapEnforcementClientConnection* This, + PrivateData **privateData); + + HRESULT (STDMETHODCALLTYPE *SetEnforcerPrivateData)( + INapEnforcementClientConnection* This, + const PrivateData *privateData); + + HRESULT (STDMETHODCALLTYPE *GetEnforcerPrivateData)( + INapEnforcementClientConnection* This, + PrivateData **privateData); + + END_INTERFACE +} INapEnforcementClientConnectionVtbl; +interface INapEnforcementClientConnection { + CONST_VTBL INapEnforcementClientConnectionVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapEnforcementClientConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapEnforcementClientConnection_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapEnforcementClientConnection_Release(This) (This)->lpVtbl->Release(This) +/*** INapEnforcementClientConnection methods ***/ +#define INapEnforcementClientConnection_Initialize(This,id) (This)->lpVtbl->Initialize(This,id) +#define INapEnforcementClientConnection_SetMaxSize(This,maxSize) (This)->lpVtbl->SetMaxSize(This,maxSize) +#define INapEnforcementClientConnection_GetMaxSize(This,maxSize) (This)->lpVtbl->GetMaxSize(This,maxSize) +#define INapEnforcementClientConnection_SetFlags(This,flags) (This)->lpVtbl->SetFlags(This,flags) +#define INapEnforcementClientConnection_GetFlags(This,flags) (This)->lpVtbl->GetFlags(This,flags) +#define INapEnforcementClientConnection_SetConnectionId(This,connectionId) (This)->lpVtbl->SetConnectionId(This,connectionId) +#define INapEnforcementClientConnection_GetConnectionId(This,connectionId) (This)->lpVtbl->GetConnectionId(This,connectionId) +#define INapEnforcementClientConnection_GetCorrelationId(This,correlationId) (This)->lpVtbl->GetCorrelationId(This,correlationId) +#define INapEnforcementClientConnection_GetStringCorrelationId(This,correlationId) (This)->lpVtbl->GetStringCorrelationId(This,correlationId) +#define INapEnforcementClientConnection_SetCorrelationId(This,correlationId) (This)->lpVtbl->SetCorrelationId(This,correlationId) +#define INapEnforcementClientConnection_SetSoHRequest(This,sohRequest) (This)->lpVtbl->SetSoHRequest(This,sohRequest) +#define INapEnforcementClientConnection_GetSoHRequest(This,sohRequest) (This)->lpVtbl->GetSoHRequest(This,sohRequest) +#define INapEnforcementClientConnection_SetSoHResponse(This,sohResponse) (This)->lpVtbl->SetSoHResponse(This,sohResponse) +#define INapEnforcementClientConnection_GetSoHResponse(This,sohResponse) (This)->lpVtbl->GetSoHResponse(This,sohResponse) +#define INapEnforcementClientConnection_SetIsolationInfo(This,isolationInfo) (This)->lpVtbl->SetIsolationInfo(This,isolationInfo) +#define INapEnforcementClientConnection_GetIsolationInfo(This,isolationInfo) (This)->lpVtbl->GetIsolationInfo(This,isolationInfo) +#define INapEnforcementClientConnection_SetPrivateData(This,privateData) (This)->lpVtbl->SetPrivateData(This,privateData) +#define INapEnforcementClientConnection_GetPrivateData(This,privateData) (This)->lpVtbl->GetPrivateData(This,privateData) +#define INapEnforcementClientConnection_SetEnforcerPrivateData(This,privateData) (This)->lpVtbl->SetEnforcerPrivateData(This,privateData) +#define INapEnforcementClientConnection_GetEnforcerPrivateData(This,privateData) (This)->lpVtbl->GetEnforcerPrivateData(This,privateData) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientConnection_QueryInterface(INapEnforcementClientConnection* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapEnforcementClientConnection_AddRef(INapEnforcementClientConnection* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapEnforcementClientConnection_Release(INapEnforcementClientConnection* This) { + return This->lpVtbl->Release(This); +} +/*** INapEnforcementClientConnection methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientConnection_Initialize(INapEnforcementClientConnection* This,EnforcementEntityId id) { + return This->lpVtbl->Initialize(This,id); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetMaxSize(INapEnforcementClientConnection* This,ProtocolMaxSize maxSize) { + return This->lpVtbl->SetMaxSize(This,maxSize); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetMaxSize(INapEnforcementClientConnection* This,ProtocolMaxSize *maxSize) { + return This->lpVtbl->GetMaxSize(This,maxSize); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetFlags(INapEnforcementClientConnection* This,UINT8 flags) { + return This->lpVtbl->SetFlags(This,flags); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetFlags(INapEnforcementClientConnection* This,UINT8 *flags) { + return This->lpVtbl->GetFlags(This,flags); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetConnectionId(INapEnforcementClientConnection* This,const ConnectionId *connectionId) { + return This->lpVtbl->SetConnectionId(This,connectionId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetConnectionId(INapEnforcementClientConnection* This,ConnectionId **connectionId) { + return This->lpVtbl->GetConnectionId(This,connectionId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetCorrelationId(INapEnforcementClientConnection* This,CorrelationId *correlationId) { + return This->lpVtbl->GetCorrelationId(This,correlationId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetStringCorrelationId(INapEnforcementClientConnection* This,StringCorrelationId **correlationId) { + return This->lpVtbl->GetStringCorrelationId(This,correlationId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetCorrelationId(INapEnforcementClientConnection* This,CorrelationId correlationId) { + return This->lpVtbl->SetCorrelationId(This,correlationId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetSoHRequest(INapEnforcementClientConnection* This,const NetworkSoHRequest *sohRequest) { + return This->lpVtbl->SetSoHRequest(This,sohRequest); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetSoHRequest(INapEnforcementClientConnection* This,NetworkSoHRequest **sohRequest) { + return This->lpVtbl->GetSoHRequest(This,sohRequest); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetSoHResponse(INapEnforcementClientConnection* This,const NetworkSoHResponse *sohResponse) { + return This->lpVtbl->SetSoHResponse(This,sohResponse); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetSoHResponse(INapEnforcementClientConnection* This,NetworkSoHResponse **sohResponse) { + return This->lpVtbl->GetSoHResponse(This,sohResponse); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetIsolationInfo(INapEnforcementClientConnection* This,const IsolationInfo *isolationInfo) { + return This->lpVtbl->SetIsolationInfo(This,isolationInfo); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetIsolationInfo(INapEnforcementClientConnection* This,IsolationInfo **isolationInfo) { + return This->lpVtbl->GetIsolationInfo(This,isolationInfo); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetPrivateData(INapEnforcementClientConnection* This,const PrivateData *privateData) { + return This->lpVtbl->SetPrivateData(This,privateData); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetPrivateData(INapEnforcementClientConnection* This,PrivateData **privateData) { + return This->lpVtbl->GetPrivateData(This,privateData); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_SetEnforcerPrivateData(INapEnforcementClientConnection* This,const PrivateData *privateData) { + return This->lpVtbl->SetEnforcerPrivateData(This,privateData); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection_GetEnforcerPrivateData(INapEnforcementClientConnection* This,PrivateData **privateData) { + return This->lpVtbl->GetEnforcerPrivateData(This,privateData); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_Initialize_Proxy( + INapEnforcementClientConnection* This, + EnforcementEntityId id); +void __RPC_STUB INapEnforcementClientConnection_Initialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetMaxSize_Proxy( + INapEnforcementClientConnection* This, + ProtocolMaxSize maxSize); +void __RPC_STUB INapEnforcementClientConnection_SetMaxSize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetMaxSize_Proxy( + INapEnforcementClientConnection* This, + ProtocolMaxSize *maxSize); +void __RPC_STUB INapEnforcementClientConnection_GetMaxSize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetFlags_Proxy( + INapEnforcementClientConnection* This, + UINT8 flags); +void __RPC_STUB INapEnforcementClientConnection_SetFlags_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetFlags_Proxy( + INapEnforcementClientConnection* This, + UINT8 *flags); +void __RPC_STUB INapEnforcementClientConnection_GetFlags_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetConnectionId_Proxy( + INapEnforcementClientConnection* This, + const ConnectionId *connectionId); +void __RPC_STUB INapEnforcementClientConnection_SetConnectionId_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetConnectionId_Proxy( + INapEnforcementClientConnection* This, + ConnectionId **connectionId); +void __RPC_STUB INapEnforcementClientConnection_GetConnectionId_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetCorrelationId_Proxy( + INapEnforcementClientConnection* This, + CorrelationId *correlationId); +void __RPC_STUB INapEnforcementClientConnection_GetCorrelationId_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetStringCorrelationId_Proxy( + INapEnforcementClientConnection* This, + StringCorrelationId **correlationId); +void __RPC_STUB INapEnforcementClientConnection_GetStringCorrelationId_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetCorrelationId_Proxy( + INapEnforcementClientConnection* This, + CorrelationId correlationId); +void __RPC_STUB INapEnforcementClientConnection_SetCorrelationId_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetSoHRequest_Proxy( + INapEnforcementClientConnection* This, + const NetworkSoHRequest *sohRequest); +void __RPC_STUB INapEnforcementClientConnection_SetSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetSoHRequest_Proxy( + INapEnforcementClientConnection* This, + NetworkSoHRequest **sohRequest); +void __RPC_STUB INapEnforcementClientConnection_GetSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetSoHResponse_Proxy( + INapEnforcementClientConnection* This, + const NetworkSoHResponse *sohResponse); +void __RPC_STUB INapEnforcementClientConnection_SetSoHResponse_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetSoHResponse_Proxy( + INapEnforcementClientConnection* This, + NetworkSoHResponse **sohResponse); +void __RPC_STUB INapEnforcementClientConnection_GetSoHResponse_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetIsolationInfo_Proxy( + INapEnforcementClientConnection* This, + const IsolationInfo *isolationInfo); +void __RPC_STUB INapEnforcementClientConnection_SetIsolationInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetIsolationInfo_Proxy( + INapEnforcementClientConnection* This, + IsolationInfo **isolationInfo); +void __RPC_STUB INapEnforcementClientConnection_GetIsolationInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetPrivateData_Proxy( + INapEnforcementClientConnection* This, + const PrivateData *privateData); +void __RPC_STUB INapEnforcementClientConnection_SetPrivateData_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetPrivateData_Proxy( + INapEnforcementClientConnection* This, + PrivateData **privateData); +void __RPC_STUB INapEnforcementClientConnection_GetPrivateData_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_SetEnforcerPrivateData_Proxy( + INapEnforcementClientConnection* This, + const PrivateData *privateData); +void __RPC_STUB INapEnforcementClientConnection_SetEnforcerPrivateData_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection_GetEnforcerPrivateData_Proxy( + INapEnforcementClientConnection* This, + PrivateData **privateData); +void __RPC_STUB INapEnforcementClientConnection_GetEnforcerPrivateData_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapEnforcementClientConnection_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapEnforcementClientConnection2 interface + */ +#ifndef __INapEnforcementClientConnection2_INTERFACE_DEFINED__ +#define __INapEnforcementClientConnection2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapEnforcementClientConnection2, 0xbd244906, 0x70dd, 0x4690, 0xbe,0xea, 0x64,0x86,0x53,0x39,0x35,0x00); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("bd244906-70dd-4690-beea-648653393500") +INapEnforcementClientConnection2 : public INapEnforcementClientConnection +{ + virtual HRESULT STDMETHODCALLTYPE SetIsolationInfoEx( + const IsolationInfoEx *isolationInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIsolationInfoEx( + IsolationInfoEx **isolationInfo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInstalledShvs( + SystemHealthEntityCount *count, + SystemHealthEntityId **ids) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetInstalledShvs( + SystemHealthEntityCount count, + SystemHealthEntityId *ids) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapEnforcementClientConnection2, 0xbd244906, 0x70dd, 0x4690, 0xbe,0xea, 0x64,0x86,0x53,0x39,0x35,0x00) +#endif +#else +typedef struct INapEnforcementClientConnection2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapEnforcementClientConnection2* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapEnforcementClientConnection2* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapEnforcementClientConnection2* This); + + /*** INapEnforcementClientConnection methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INapEnforcementClientConnection2* This, + EnforcementEntityId id); + + HRESULT (STDMETHODCALLTYPE *SetMaxSize)( + INapEnforcementClientConnection2* This, + ProtocolMaxSize maxSize); + + HRESULT (STDMETHODCALLTYPE *GetMaxSize)( + INapEnforcementClientConnection2* This, + ProtocolMaxSize *maxSize); + + HRESULT (STDMETHODCALLTYPE *SetFlags)( + INapEnforcementClientConnection2* This, + UINT8 flags); + + HRESULT (STDMETHODCALLTYPE *GetFlags)( + INapEnforcementClientConnection2* This, + UINT8 *flags); + + HRESULT (STDMETHODCALLTYPE *SetConnectionId)( + INapEnforcementClientConnection2* This, + const ConnectionId *connectionId); + + HRESULT (STDMETHODCALLTYPE *GetConnectionId)( + INapEnforcementClientConnection2* This, + ConnectionId **connectionId); + + HRESULT (STDMETHODCALLTYPE *GetCorrelationId)( + INapEnforcementClientConnection2* This, + CorrelationId *correlationId); + + HRESULT (STDMETHODCALLTYPE *GetStringCorrelationId)( + INapEnforcementClientConnection2* This, + StringCorrelationId **correlationId); + + HRESULT (STDMETHODCALLTYPE *SetCorrelationId)( + INapEnforcementClientConnection2* This, + CorrelationId correlationId); + + HRESULT (STDMETHODCALLTYPE *SetSoHRequest)( + INapEnforcementClientConnection2* This, + const NetworkSoHRequest *sohRequest); + + HRESULT (STDMETHODCALLTYPE *GetSoHRequest)( + INapEnforcementClientConnection2* This, + NetworkSoHRequest **sohRequest); + + HRESULT (STDMETHODCALLTYPE *SetSoHResponse)( + INapEnforcementClientConnection2* This, + const NetworkSoHResponse *sohResponse); + + HRESULT (STDMETHODCALLTYPE *GetSoHResponse)( + INapEnforcementClientConnection2* This, + NetworkSoHResponse **sohResponse); + + HRESULT (STDMETHODCALLTYPE *SetIsolationInfo)( + INapEnforcementClientConnection2* This, + const IsolationInfo *isolationInfo); + + HRESULT (STDMETHODCALLTYPE *GetIsolationInfo)( + INapEnforcementClientConnection2* This, + IsolationInfo **isolationInfo); + + HRESULT (STDMETHODCALLTYPE *SetPrivateData)( + INapEnforcementClientConnection2* This, + const PrivateData *privateData); + + HRESULT (STDMETHODCALLTYPE *GetPrivateData)( + INapEnforcementClientConnection2* This, + PrivateData **privateData); + + HRESULT (STDMETHODCALLTYPE *SetEnforcerPrivateData)( + INapEnforcementClientConnection2* This, + const PrivateData *privateData); + + HRESULT (STDMETHODCALLTYPE *GetEnforcerPrivateData)( + INapEnforcementClientConnection2* This, + PrivateData **privateData); + + /*** INapEnforcementClientConnection2 methods ***/ + HRESULT (STDMETHODCALLTYPE *SetIsolationInfoEx)( + INapEnforcementClientConnection2* This, + const IsolationInfoEx *isolationInfo); + + HRESULT (STDMETHODCALLTYPE *GetIsolationInfoEx)( + INapEnforcementClientConnection2* This, + IsolationInfoEx **isolationInfo); + + HRESULT (STDMETHODCALLTYPE *GetInstalledShvs)( + INapEnforcementClientConnection2* This, + SystemHealthEntityCount *count, + SystemHealthEntityId **ids); + + HRESULT (STDMETHODCALLTYPE *SetInstalledShvs)( + INapEnforcementClientConnection2* This, + SystemHealthEntityCount count, + SystemHealthEntityId *ids); + + END_INTERFACE +} INapEnforcementClientConnection2Vtbl; +interface INapEnforcementClientConnection2 { + CONST_VTBL INapEnforcementClientConnection2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapEnforcementClientConnection2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapEnforcementClientConnection2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapEnforcementClientConnection2_Release(This) (This)->lpVtbl->Release(This) +/*** INapEnforcementClientConnection methods ***/ +#define INapEnforcementClientConnection2_Initialize(This,id) (This)->lpVtbl->Initialize(This,id) +#define INapEnforcementClientConnection2_SetMaxSize(This,maxSize) (This)->lpVtbl->SetMaxSize(This,maxSize) +#define INapEnforcementClientConnection2_GetMaxSize(This,maxSize) (This)->lpVtbl->GetMaxSize(This,maxSize) +#define INapEnforcementClientConnection2_SetFlags(This,flags) (This)->lpVtbl->SetFlags(This,flags) +#define INapEnforcementClientConnection2_GetFlags(This,flags) (This)->lpVtbl->GetFlags(This,flags) +#define INapEnforcementClientConnection2_SetConnectionId(This,connectionId) (This)->lpVtbl->SetConnectionId(This,connectionId) +#define INapEnforcementClientConnection2_GetConnectionId(This,connectionId) (This)->lpVtbl->GetConnectionId(This,connectionId) +#define INapEnforcementClientConnection2_GetCorrelationId(This,correlationId) (This)->lpVtbl->GetCorrelationId(This,correlationId) +#define INapEnforcementClientConnection2_GetStringCorrelationId(This,correlationId) (This)->lpVtbl->GetStringCorrelationId(This,correlationId) +#define INapEnforcementClientConnection2_SetCorrelationId(This,correlationId) (This)->lpVtbl->SetCorrelationId(This,correlationId) +#define INapEnforcementClientConnection2_SetSoHRequest(This,sohRequest) (This)->lpVtbl->SetSoHRequest(This,sohRequest) +#define INapEnforcementClientConnection2_GetSoHRequest(This,sohRequest) (This)->lpVtbl->GetSoHRequest(This,sohRequest) +#define INapEnforcementClientConnection2_SetSoHResponse(This,sohResponse) (This)->lpVtbl->SetSoHResponse(This,sohResponse) +#define INapEnforcementClientConnection2_GetSoHResponse(This,sohResponse) (This)->lpVtbl->GetSoHResponse(This,sohResponse) +#define INapEnforcementClientConnection2_SetIsolationInfo(This,isolationInfo) (This)->lpVtbl->SetIsolationInfo(This,isolationInfo) +#define INapEnforcementClientConnection2_GetIsolationInfo(This,isolationInfo) (This)->lpVtbl->GetIsolationInfo(This,isolationInfo) +#define INapEnforcementClientConnection2_SetPrivateData(This,privateData) (This)->lpVtbl->SetPrivateData(This,privateData) +#define INapEnforcementClientConnection2_GetPrivateData(This,privateData) (This)->lpVtbl->GetPrivateData(This,privateData) +#define INapEnforcementClientConnection2_SetEnforcerPrivateData(This,privateData) (This)->lpVtbl->SetEnforcerPrivateData(This,privateData) +#define INapEnforcementClientConnection2_GetEnforcerPrivateData(This,privateData) (This)->lpVtbl->GetEnforcerPrivateData(This,privateData) +/*** INapEnforcementClientConnection2 methods ***/ +#define INapEnforcementClientConnection2_SetIsolationInfoEx(This,isolationInfo) (This)->lpVtbl->SetIsolationInfoEx(This,isolationInfo) +#define INapEnforcementClientConnection2_GetIsolationInfoEx(This,isolationInfo) (This)->lpVtbl->GetIsolationInfoEx(This,isolationInfo) +#define INapEnforcementClientConnection2_GetInstalledShvs(This,count,ids) (This)->lpVtbl->GetInstalledShvs(This,count,ids) +#define INapEnforcementClientConnection2_SetInstalledShvs(This,count,ids) (This)->lpVtbl->SetInstalledShvs(This,count,ids) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientConnection2_QueryInterface(INapEnforcementClientConnection2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapEnforcementClientConnection2_AddRef(INapEnforcementClientConnection2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapEnforcementClientConnection2_Release(INapEnforcementClientConnection2* This) { + return This->lpVtbl->Release(This); +} +/*** INapEnforcementClientConnection methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientConnection2_Initialize(INapEnforcementClientConnection2* This,EnforcementEntityId id) { + return This->lpVtbl->Initialize(This,id); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetMaxSize(INapEnforcementClientConnection2* This,ProtocolMaxSize maxSize) { + return This->lpVtbl->SetMaxSize(This,maxSize); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetMaxSize(INapEnforcementClientConnection2* This,ProtocolMaxSize *maxSize) { + return This->lpVtbl->GetMaxSize(This,maxSize); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetFlags(INapEnforcementClientConnection2* This,UINT8 flags) { + return This->lpVtbl->SetFlags(This,flags); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetFlags(INapEnforcementClientConnection2* This,UINT8 *flags) { + return This->lpVtbl->GetFlags(This,flags); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetConnectionId(INapEnforcementClientConnection2* This,const ConnectionId *connectionId) { + return This->lpVtbl->SetConnectionId(This,connectionId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetConnectionId(INapEnforcementClientConnection2* This,ConnectionId **connectionId) { + return This->lpVtbl->GetConnectionId(This,connectionId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetCorrelationId(INapEnforcementClientConnection2* This,CorrelationId *correlationId) { + return This->lpVtbl->GetCorrelationId(This,correlationId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetStringCorrelationId(INapEnforcementClientConnection2* This,StringCorrelationId **correlationId) { + return This->lpVtbl->GetStringCorrelationId(This,correlationId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetCorrelationId(INapEnforcementClientConnection2* This,CorrelationId correlationId) { + return This->lpVtbl->SetCorrelationId(This,correlationId); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetSoHRequest(INapEnforcementClientConnection2* This,const NetworkSoHRequest *sohRequest) { + return This->lpVtbl->SetSoHRequest(This,sohRequest); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetSoHRequest(INapEnforcementClientConnection2* This,NetworkSoHRequest **sohRequest) { + return This->lpVtbl->GetSoHRequest(This,sohRequest); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetSoHResponse(INapEnforcementClientConnection2* This,const NetworkSoHResponse *sohResponse) { + return This->lpVtbl->SetSoHResponse(This,sohResponse); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetSoHResponse(INapEnforcementClientConnection2* This,NetworkSoHResponse **sohResponse) { + return This->lpVtbl->GetSoHResponse(This,sohResponse); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetIsolationInfo(INapEnforcementClientConnection2* This,const IsolationInfo *isolationInfo) { + return This->lpVtbl->SetIsolationInfo(This,isolationInfo); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetIsolationInfo(INapEnforcementClientConnection2* This,IsolationInfo **isolationInfo) { + return This->lpVtbl->GetIsolationInfo(This,isolationInfo); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetPrivateData(INapEnforcementClientConnection2* This,const PrivateData *privateData) { + return This->lpVtbl->SetPrivateData(This,privateData); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetPrivateData(INapEnforcementClientConnection2* This,PrivateData **privateData) { + return This->lpVtbl->GetPrivateData(This,privateData); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetEnforcerPrivateData(INapEnforcementClientConnection2* This,const PrivateData *privateData) { + return This->lpVtbl->SetEnforcerPrivateData(This,privateData); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetEnforcerPrivateData(INapEnforcementClientConnection2* This,PrivateData **privateData) { + return This->lpVtbl->GetEnforcerPrivateData(This,privateData); +} +/*** INapEnforcementClientConnection2 methods ***/ +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetIsolationInfoEx(INapEnforcementClientConnection2* This,const IsolationInfoEx *isolationInfo) { + return This->lpVtbl->SetIsolationInfoEx(This,isolationInfo); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetIsolationInfoEx(INapEnforcementClientConnection2* This,IsolationInfoEx **isolationInfo) { + return This->lpVtbl->GetIsolationInfoEx(This,isolationInfo); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_GetInstalledShvs(INapEnforcementClientConnection2* This,SystemHealthEntityCount *count,SystemHealthEntityId **ids) { + return This->lpVtbl->GetInstalledShvs(This,count,ids); +} +static FORCEINLINE HRESULT INapEnforcementClientConnection2_SetInstalledShvs(INapEnforcementClientConnection2* This,SystemHealthEntityCount count,SystemHealthEntityId *ids) { + return This->lpVtbl->SetInstalledShvs(This,count,ids); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection2_SetIsolationInfoEx_Proxy( + INapEnforcementClientConnection2* This, + const IsolationInfoEx *isolationInfo); +void __RPC_STUB INapEnforcementClientConnection2_SetIsolationInfoEx_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection2_GetIsolationInfoEx_Proxy( + INapEnforcementClientConnection2* This, + IsolationInfoEx **isolationInfo); +void __RPC_STUB INapEnforcementClientConnection2_GetIsolationInfoEx_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection2_GetInstalledShvs_Proxy( + INapEnforcementClientConnection2* This, + SystemHealthEntityCount *count, + SystemHealthEntityId **ids); +void __RPC_STUB INapEnforcementClientConnection2_GetInstalledShvs_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapEnforcementClientConnection2_SetInstalledShvs_Proxy( + INapEnforcementClientConnection2* This, + SystemHealthEntityCount count, + SystemHealthEntityId *ids); +void __RPC_STUB INapEnforcementClientConnection2_SetInstalledShvs_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapEnforcementClientConnection2_INTERFACE_DEFINED__ */ + +EXTERN_C const CLSID CLSID_NapEnforcementClientBinding; +#endif +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __napenforcementclient_h__ */ Added: trunk/mingw-w64-headers/include/napenforcementclient.idl =================================================================== --- trunk/mingw-w64-headers/include/napenforcementclient.idl (rev 0) +++ trunk/mingw-w64-headers/include/napenforcementclient.idl 2014-03-24 11:29:44 UTC (rev 6544) @@ -0,0 +1,79 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +import "naptypes.idl"; +import "unknwn.idl"; + +cpp_quote("#include <winapifamily.h>") +cpp_quote("") +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +interface INapEnforcementClientBinding; +interface INapEnforcementClientCallback; +interface INapEnforcementClientConnection; +interface INapEnforcementClientConnection2; + +[object, uuid (92b93223-7487-42d9-9a91-5b8507720384), pointer_default (unique)] +interface INapEnforcementClientBinding : IUnknown { + HRESULT Initialize ([in] EnforcementEntityId id,[in] INapEnforcementClientCallback *callback); + HRESULT Uninitialize (); + HRESULT CreateConnection ([out] INapEnforcementClientConnection **connection); + HRESULT GetSoHRequest ([in] INapEnforcementClientConnection *connection,[out] WINBOOL *retriggerHint); + HRESULT ProcessSoHResponse ([in] INapEnforcementClientConnection *connection); + HRESULT NotifyConnectionStateDown ([in] INapEnforcementClientConnection *downCxn); + HRESULT NotifySoHChangeFailure (); +}; + +[object, uuid (F5A0B90A-83a1-4f76-BA3F-025418682814), pointer_default (unique)] +interface INapEnforcementClientCallback : IUnknown { + typedef struct tagConnections { + [range (0, maxConnectionCountPerEnforcer)] UINT16 count; + [size_is (count)] INapEnforcementClientConnection **connections; + } Connections; + + HRESULT NotifySoHChange (); + HRESULT GetConnections ([out] Connections **connections); +}; + +[object, uuid (FB3A3505-DDB1-468a-B307-F328A57419D8), pointer_default (unique)] +interface INapEnforcementClientConnection : IUnknown { + const UINT32 defaultProtocolMaxSize = 4000; + const UINT32 minProtocolMaxSize = 300; + const UINT32 maxProtocolMaxSize = 0xffff; + + typedef [range (minProtocolMaxSize, maxProtocolMaxSize)] UINT32 ProtocolMaxSize; + + HRESULT Initialize ([in] EnforcementEntityId id); + HRESULT SetMaxSize ([in] ProtocolMaxSize maxSize); + HRESULT GetMaxSize ([out] ProtocolMaxSize *maxSize); + HRESULT SetFlags ([in] UINT8 flags); + HRESULT GetFlags ([out] UINT8 *flags); + HRESULT SetConnectionId ([in] const ConnectionId *connectionId); + HRESULT GetConnectionId ([out] ConnectionId **connectionId); + HRESULT GetCorrelationId ([out] CorrelationId *correlationId); + HRESULT GetStringCorrelationId ([out] StringCorrelationId **correlationId); + HRESULT SetCorrelationId ([in] CorrelationId correlationId); + HRESULT SetSoHRequest ([in, unique] const NetworkSoHRequest *sohRequest); + HRESULT GetSoHRequest ([out] NetworkSoHRequest **sohRequest); + HRESULT SetSoHResponse ([in] const NetworkSoHResponse *sohResponse); + HRESULT GetSoHResponse ([out] NetworkSoHResponse **sohResponse); + HRESULT SetIsolationInfo ([in] const IsolationInfo *isolationInfo); + HRESULT GetIsolationInfo ([out] IsolationInfo **isolationInfo); + HRESULT SetPrivateData ([in] const PrivateData *privateData); + HRESULT GetPrivateData ([out] PrivateData **privateData); + HRESULT SetEnforcerPrivateData ([in] const PrivateData *privateData); + HRESULT GetEnforcerPrivateData ([out] PrivateData **privateData); +}; + +[object, uuid (bd244906-70dd-4690-beea-648653393500), pointer_default (unique)] +interface INapEnforcementClientConnection2 : INapEnforcementClientConnection { + HRESULT SetIsolationInfoEx ([in] const IsolationInfoEx *isolationInfo); + HRESULT GetIsolationInfoEx ([out] IsolationInfoEx **isolationInfo); + HRESULT GetInstalledShvs ([out] SystemHealthEntityCount *count,[out, size_is (,*count)] SystemHealthEntityId **ids); + HRESULT SetInstalledShvs ([in] SystemHealthEntityCount count,[in, size_is (count)] SystemHealthEntityId *ids); +}; + +cpp_quote("EXTERN_C const CLSID CLSID_NapEnforcementClientBinding;") +cpp_quote("#endif") Property changes on: trunk/mingw-w64-headers/include/napenforcementclient.idl ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-24 11:29:16
|
Revision: 6543 http://sourceforge.net/p/mingw-w64/code/6543 Author: ktietz70 Date: 2014-03-24 11:29:08 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add missing generated header for NAP's common interfaces Added Paths: ----------- trunk/mingw-w64-headers/include/napcommon.h Added: trunk/mingw-w64-headers/include/napcommon.h =================================================================== --- trunk/mingw-w64-headers/include/napcommon.h (rev 0) +++ trunk/mingw-w64-headers/include/napcommon.h 2014-03-24 11:29:08 UTC (rev 6543) @@ -0,0 +1,841 @@ +/*** Autogenerated by WIDL 1.6 from napcommon.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __napcommon_h__ +#define __napcommon_h__ + +/* Forward declarations */ + +#ifndef __INapComponentConfig_FWD_DEFINED__ +#define __INapComponentConfig_FWD_DEFINED__ +typedef interface INapComponentConfig INapComponentConfig; +#endif + +#ifndef __INapComponentInfo_FWD_DEFINED__ +#define __INapComponentInfo_FWD_DEFINED__ +typedef interface INapComponentInfo INapComponentInfo; +#endif + +#ifndef __INapComponentConfig2_FWD_DEFINED__ +#define __INapComponentConfig2_FWD_DEFINED__ +typedef interface INapComponentConfig2 INapComponentConfig2; +#endif + +#ifndef __INapComponentConfig3_FWD_DEFINED__ +#define __INapComponentConfig3_FWD_DEFINED__ +typedef interface INapComponentConfig3 INapComponentConfig3; +#endif + +/* Headers for imported files */ + +#include <naptypes.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +/***************************************************************************** + * INapComponentConfig interface + */ +#ifndef __INapComponentConfig_INTERFACE_DEFINED__ +#define __INapComponentConfig_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapComponentConfig, 0xa9e0af1a, 0x3713, 0x478e, 0xae,0x03, 0x8e,0xdd,0x27,0x2d,0x21,0xfa); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a9e0af1a-3713-478e-ae03-8edd272d21fa") +INapComponentConfig : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE IsUISupported( + WINBOOL *isSupported) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvokeUI( + HWND hwndParent) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConfig( + UINT16 *bCount, + BYTE **data) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetConfig( + UINT16 bCount, + BYTE *data) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapComponentConfig, 0xa9e0af1a, 0x3713, 0x478e, 0xae,0x03, 0x8e,0xdd,0x27,0x2d,0x21,0xfa) +#endif +#else +typedef struct INapComponentConfigVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapComponentConfig* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapComponentConfig* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapComponentConfig* This); + + /*** INapComponentConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *IsUISupported)( + INapComponentConfig* This, + WINBOOL *isSupported); + + HRESULT (STDMETHODCALLTYPE *InvokeUI)( + INapComponentConfig* This, + HWND hwndParent); + + HRESULT (STDMETHODCALLTYPE *GetConfig)( + INapComponentConfig* This, + UINT16 *bCount, + BYTE **data); + + HRESULT (STDMETHODCALLTYPE *SetConfig)( + INapComponentConfig* This, + UINT16 bCount, + BYTE *data); + + END_INTERFACE +} INapComponentConfigVtbl; +interface INapComponentConfig { + CONST_VTBL INapComponentConfigVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapComponentConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapComponentConfig_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapComponentConfig_Release(This) (This)->lpVtbl->Release(This) +/*** INapComponentConfig methods ***/ +#define INapComponentConfig_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported) +#define INapComponentConfig_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent) +#define INapComponentConfig_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data) +#define INapComponentConfig_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapComponentConfig_QueryInterface(INapComponentConfig* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapComponentConfig_AddRef(INapComponentConfig* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapComponentConfig_Release(INapComponentConfig* This) { + return This->lpVtbl->Release(This); +} +/*** INapComponentConfig methods ***/ +static FORCEINLINE HRESULT INapComponentConfig_IsUISupported(INapComponentConfig* This,WINBOOL *isSupported) { + return This->lpVtbl->IsUISupported(This,isSupported); +} +static FORCEINLINE HRESULT INapComponentConfig_InvokeUI(INapComponentConfig* This,HWND hwndParent) { + return This->lpVtbl->InvokeUI(This,hwndParent); +} +static FORCEINLINE HRESULT INapComponentConfig_GetConfig(INapComponentConfig* This,UINT16 *bCount,BYTE **data) { + return This->lpVtbl->GetConfig(This,bCount,data); +} +static FORCEINLINE HRESULT INapComponentConfig_SetConfig(INapComponentConfig* This,UINT16 bCount,BYTE *data) { + return This->lpVtbl->SetConfig(This,bCount,data); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapComponentConfig_IsUISupported_Proxy( + INapComponentConfig* This, + WINBOOL *isSupported); +void __RPC_STUB INapComponentConfig_IsUISupported_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig_InvokeUI_Proxy( + INapComponentConfig* This, + HWND hwndParent); +void __RPC_STUB INapComponentConfig_InvokeUI_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig_GetConfig_Proxy( + INapComponentConfig* This, + UINT16 *bCount, + BYTE **data); +void __RPC_STUB INapComponentConfig_GetConfig_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig_SetConfig_Proxy( + INapComponentConfig* This, + UINT16 bCount, + BYTE *data); +void __RPC_STUB INapComponentConfig_SetConfig_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapComponentConfig_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapComponentInfo interface + */ +#ifndef __INapComponentInfo_INTERFACE_DEFINED__ +#define __INapComponentInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapComponentInfo, 0xb475f925, 0xe3f7, 0x414c, 0x8c,0x72, 0x1c,0xee,0x64,0xb9,0xd8,0xf6); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("b475f925-e3f7-414c-8c72-1cee64b9d8f6") +INapComponentInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetFriendlyName( + MessageId *friendlyName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDescription( + MessageId *description) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVendorName( + MessageId *vendorName) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVersion( + MessageId *version) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIcon( + CountedString **dllFilePath, + UINT32 *iconResourceId) = 0; + + virtual HRESULT STDMETHODCALLTYPE ConvertErrorCodeToMessageId( + HRESULT errorCode, + MessageId *msgId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocalizedString( + MessageId msgId, + CountedString **string) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapComponentInfo, 0xb475f925, 0xe3f7, 0x414c, 0x8c,0x72, 0x1c,0xee,0x64,0xb9,0xd8,0xf6) +#endif +#else +typedef struct INapComponentInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapComponentInfo* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapComponentInfo* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapComponentInfo* This); + + /*** INapComponentInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetFriendlyName)( + INapComponentInfo* This, + MessageId *friendlyName); + + HRESULT (STDMETHODCALLTYPE *GetDescription)( + INapComponentInfo* This, + MessageId *description); + + HRESULT (STDMETHODCALLTYPE *GetVendorName)( + INapComponentInfo* This, + MessageId *vendorName); + + HRESULT (STDMETHODCALLTYPE *GetVersion)( + INapComponentInfo* This, + MessageId *version); + + HRESULT (STDMETHODCALLTYPE *GetIcon)( + INapComponentInfo* This, + CountedString **dllFilePath, + UINT32 *iconResourceId); + + HRESULT (STDMETHODCALLTYPE *ConvertErrorCodeToMessageId)( + INapComponentInfo* This, + HRESULT errorCode, + MessageId *msgId); + + HRESULT (STDMETHODCALLTYPE *GetLocalizedString)( + INapComponentInfo* This, + MessageId msgId, + CountedString **string); + + END_INTERFACE +} INapComponentInfoVtbl; +interface INapComponentInfo { + CONST_VTBL INapComponentInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapComponentInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapComponentInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapComponentInfo_Release(This) (This)->lpVtbl->Release(This) +/*** INapComponentInfo methods ***/ +#define INapComponentInfo_GetFriendlyName(This,friendlyName) (This)->lpVtbl->GetFriendlyName(This,friendlyName) +#define INapComponentInfo_GetDescription(This,description) (This)->lpVtbl->GetDescription(This,description) +#define INapComponentInfo_GetVendorName(This,vendorName) (This)->lpVtbl->GetVendorName(This,vendorName) +#define INapComponentInfo_GetVersion(This,version) (This)->lpVtbl->GetVersion(This,version) +#define INapComponentInfo_GetIcon(This,dllFilePath,iconResourceId) (This)->lpVtbl->GetIcon(This,dllFilePath,iconResourceId) +#define INapComponentInfo_ConvertErrorCodeToMessageId(This,errorCode,msgId) (This)->lpVtbl->ConvertErrorCodeToMessageId(This,errorCode,msgId) +#define INapComponentInfo_GetLocalizedString(This,msgId,string) (This)->lpVtbl->GetLocalizedString(This,msgId,string) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapComponentInfo_QueryInterface(INapComponentInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapComponentInfo_AddRef(INapComponentInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapComponentInfo_Release(INapComponentInfo* This) { + return This->lpVtbl->Release(This); +} +/*** INapComponentInfo methods ***/ +static FORCEINLINE HRESULT INapComponentInfo_GetFriendlyName(INapComponentInfo* This,MessageId *friendlyName) { + return This->lpVtbl->GetFriendlyName(This,friendlyName); +} +static FORCEINLINE HRESULT INapComponentInfo_GetDescription(INapComponentInfo* This,MessageId *description) { + return This->lpVtbl->GetDescription(This,description); +} +static FORCEINLINE HRESULT INapComponentInfo_GetVendorName(INapComponentInfo* This,MessageId *vendorName) { + return This->lpVtbl->GetVendorName(This,vendorName); +} +static FORCEINLINE HRESULT INapComponentInfo_GetVersion(INapComponentInfo* This,MessageId *version) { + return This->lpVtbl->GetVersion(This,version); +} +static FORCEINLINE HRESULT INapComponentInfo_GetIcon(INapComponentInfo* This,CountedString **dllFilePath,UINT32 *iconResourceId) { + return This->lpVtbl->GetIcon(This,dllFilePath,iconResourceId); +} +static FORCEINLINE HRESULT INapComponentInfo_ConvertErrorCodeToMessageId(INapComponentInfo* This,HRESULT errorCode,MessageId *msgId) { + return This->lpVtbl->ConvertErrorCodeToMessageId(This,errorCode,msgId); +} +static FORCEINLINE HRESULT INapComponentInfo_GetLocalizedString(INapComponentInfo* This,MessageId msgId,CountedString **string) { + return This->lpVtbl->GetLocalizedString(This,msgId,string); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapComponentInfo_GetFriendlyName_Proxy( + INapComponentInfo* This, + MessageId *friendlyName); +void __RPC_STUB INapComponentInfo_GetFriendlyName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentInfo_GetDescription_Proxy( + INapComponentInfo* This, + MessageId *description); +void __RPC_STUB INapComponentInfo_GetDescription_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentInfo_GetVendorName_Proxy( + INapComponentInfo* This, + MessageId *vendorName); +void __RPC_STUB INapComponentInfo_GetVendorName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentInfo_GetVersion_Proxy( + INapComponentInfo* This, + MessageId *version); +void __RPC_STUB INapComponentInfo_GetVersion_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentInfo_GetIcon_Proxy( + INapComponentInfo* This, + CountedString **dllFilePath, + UINT32 *iconResourceId); +void __RPC_STUB INapComponentInfo_GetIcon_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentInfo_ConvertErrorCodeToMessageId_Proxy( + INapComponentInfo* This, + HRESULT errorCode, + MessageId *msgId); +void __RPC_STUB INapComponentInfo_ConvertErrorCodeToMessageId_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentInfo_GetLocalizedString_Proxy( + INapComponentInfo* This, + MessageId msgId, + CountedString **string); +void __RPC_STUB INapComponentInfo_GetLocalizedString_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapComponentInfo_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapComponentConfig2 interface + */ +#ifndef __INapComponentConfig2_INTERFACE_DEFINED__ +#define __INapComponentConfig2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapComponentConfig2, 0x47cbdb9e, 0x1972, 0x4f5e, 0xbd,0x3c, 0x5e,0xb6,0x23,0x06,0x14,0xb5); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("47cbdb9e-1972-4f5e-bd3c-5eb6230614b5") +INapComponentConfig2 : public INapComponentConfig +{ + virtual HRESULT STDMETHODCALLTYPE IsRemoteConfigSupported( + WINBOOL *isSupported, + UINT8 *remoteConfigType) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvokeUIForMachine( + HWND hwndParent, + CountedString *machineName) = 0; + + virtual HRESULT STDMETHODCALLTYPE InvokeUIFromConfigBlob( + HWND hwndParent, + UINT16 inbCount, + BYTE *inData, + UINT16 *outbCount, + BYTE **outdata, + WINBOOL *fConfigChanged) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapComponentConfig2, 0x47cbdb9e, 0x1972, 0x4f5e, 0xbd,0x3c, 0x5e,0xb6,0x23,0x06,0x14,0xb5) +#endif +#else +typedef struct INapComponentConfig2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapComponentConfig2* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapComponentConfig2* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapComponentConfig2* This); + + /*** INapComponentConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *IsUISupported)( + INapComponentConfig2* This, + WINBOOL *isSupported); + + HRESULT (STDMETHODCALLTYPE *InvokeUI)( + INapComponentConfig2* This, + HWND hwndParent); + + HRESULT (STDMETHODCALLTYPE *GetConfig)( + INapComponentConfig2* This, + UINT16 *bCount, + BYTE **data); + + HRESULT (STDMETHODCALLTYPE *SetConfig)( + INapComponentConfig2* This, + UINT16 bCount, + BYTE *data); + + /*** INapComponentConfig2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IsRemoteConfigSupported)( + INapComponentConfig2* This, + WINBOOL *isSupported, + UINT8 *remoteConfigType); + + HRESULT (STDMETHODCALLTYPE *InvokeUIForMachine)( + INapComponentConfig2* This, + HWND hwndParent, + CountedString *machineName); + + HRESULT (STDMETHODCALLTYPE *InvokeUIFromConfigBlob)( + INapComponentConfig2* This, + HWND hwndParent, + UINT16 inbCount, + BYTE *inData, + UINT16 *outbCount, + BYTE **outdata, + WINBOOL *fConfigChanged); + + END_INTERFACE +} INapComponentConfig2Vtbl; +interface INapComponentConfig2 { + CONST_VTBL INapComponentConfig2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapComponentConfig2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapComponentConfig2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapComponentConfig2_Release(This) (This)->lpVtbl->Release(This) +/*** INapComponentConfig methods ***/ +#define INapComponentConfig2_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported) +#define INapComponentConfig2_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent) +#define INapComponentConfig2_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data) +#define INapComponentConfig2_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data) +/*** INapComponentConfig2 methods ***/ +#define INapComponentConfig2_IsRemoteConfigSupported(This,isSupported,remoteConfigType) (This)->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType) +#define INapComponentConfig2_InvokeUIForMachine(This,hwndParent,machineName) (This)->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName) +#define INapComponentConfig2_InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged) (This)->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapComponentConfig2_QueryInterface(INapComponentConfig2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapComponentConfig2_AddRef(INapComponentConfig2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapComponentConfig2_Release(INapComponentConfig2* This) { + return This->lpVtbl->Release(This); +} +/*** INapComponentConfig methods ***/ +static FORCEINLINE HRESULT INapComponentConfig2_IsUISupported(INapComponentConfig2* This,WINBOOL *isSupported) { + return This->lpVtbl->IsUISupported(This,isSupported); +} +static FORCEINLINE HRESULT INapComponentConfig2_InvokeUI(INapComponentConfig2* This,HWND hwndParent) { + return This->lpVtbl->InvokeUI(This,hwndParent); +} +static FORCEINLINE HRESULT INapComponentConfig2_GetConfig(INapComponentConfig2* This,UINT16 *bCount,BYTE **data) { + return This->lpVtbl->GetConfig(This,bCount,data); +} +static FORCEINLINE HRESULT INapComponentConfig2_SetConfig(INapComponentConfig2* This,UINT16 bCount,BYTE *data) { + return This->lpVtbl->SetConfig(This,bCount,data); +} +/*** INapComponentConfig2 methods ***/ +static FORCEINLINE HRESULT INapComponentConfig2_IsRemoteConfigSupported(INapComponentConfig2* This,WINBOOL *isSupported,UINT8 *remoteConfigType) { + return This->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType); +} +static FORCEINLINE HRESULT INapComponentConfig2_InvokeUIForMachine(INapComponentConfig2* This,HWND hwndParent,CountedString *machineName) { + return This->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName); +} +static FORCEINLINE HRESULT INapComponentConfig2_InvokeUIFromConfigBlob(INapComponentConfig2* This,HWND hwndParent,UINT16 inbCount,BYTE *inData,UINT16 *outbCount,BYTE **outdata,WINBOOL *fConfigChanged) { + return This->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapComponentConfig2_IsRemoteConfigSupported_Proxy( + INapComponentConfig2* This, + WINBOOL *isSupported, + UINT8 *remoteConfigType); +void __RPC_STUB INapComponentConfig2_IsRemoteConfigSupported_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig2_InvokeUIForMachine_Proxy( + INapComponentConfig2* This, + HWND hwndParent, + CountedString *machineName); +void __RPC_STUB INapComponentConfig2_InvokeUIForMachine_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig2_InvokeUIFromConfigBlob_Proxy( + INapComponentConfig2* This, + HWND hwndParent, + UINT16 inbCount, + BYTE *inData, + UINT16 *outbCount, + BYTE **outdata, + WINBOOL *fConfigChanged); +void __RPC_STUB INapComponentConfig2_InvokeUIFromConfigBlob_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapComponentConfig2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapComponentConfig3 interface + */ +#ifndef __INapComponentConfig3_INTERFACE_DEFINED__ +#define __INapComponentConfig3_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapComponentConfig3, 0x9c4a8101, 0x8cfe, 0x4332, 0x87,0x6e, 0xc4,0xa4,0x9d,0x1d,0x3f,0x77); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9c4a8101-8cfe-4332-876e-c4a49d1d3f77") +INapComponentConfig3 : public INapComponentConfig2 +{ + virtual HRESULT STDMETHODCALLTYPE NewConfig( + UINT32 configID) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteConfig( + UINT32 configID) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAllConfig( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConfigFromID( + UINT32 configID, + UINT16 *count, + BYTE **outdata) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetConfigToID( + UINT32 configID, + UINT16 count, + BYTE *data) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapComponentConfig3, 0x9c4a8101, 0x8cfe, 0x4332, 0x87,0x6e, 0xc4,0xa4,0x9d,0x1d,0x3f,0x77) +#endif +#else +typedef struct INapComponentConfig3Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapComponentConfig3* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapComponentConfig3* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapComponentConfig3* This); + + /*** INapComponentConfig methods ***/ + HRESULT (STDMETHODCALLTYPE *IsUISupported)( + INapComponentConfig3* This, + WINBOOL *isSupported); + + HRESULT (STDMETHODCALLTYPE *InvokeUI)( + INapComponentConfig3* This, + HWND hwndParent); + + HRESULT (STDMETHODCALLTYPE *GetConfig)( + INapComponentConfig3* This, + UINT16 *bCount, + BYTE **data); + + HRESULT (STDMETHODCALLTYPE *SetConfig)( + INapComponentConfig3* This, + UINT16 bCount, + BYTE *data); + + /*** INapComponentConfig2 methods ***/ + HRESULT (STDMETHODCALLTYPE *IsRemoteConfigSupported)( + INapComponentConfig3* This, + WINBOOL *isSupported, + UINT8 *remoteConfigType); + + HRESULT (STDMETHODCALLTYPE *InvokeUIForMachine)( + INapComponentConfig3* This, + HWND hwndParent, + CountedString *machineName); + + HRESULT (STDMETHODCALLTYPE *InvokeUIFromConfigBlob)( + INapComponentConfig3* This, + HWND hwndParent, + UINT16 inbCount, + BYTE *inData, + UINT16 *outbCount, + BYTE **outdata, + WINBOOL *fConfigChanged); + + /*** INapComponentConfig3 methods ***/ + HRESULT (STDMETHODCALLTYPE *NewConfig)( + INapComponentConfig3* This, + UINT32 configID); + + HRESULT (STDMETHODCALLTYPE *DeleteConfig)( + INapComponentConfig3* This, + UINT32 configID); + + HRESULT (STDMETHODCALLTYPE *DeleteAllConfig)( + INapComponentConfig3* This); + + HRESULT (STDMETHODCALLTYPE *GetConfigFromID)( + INapComponentConfig3* This, + UINT32 configID, + UINT16 *count, + BYTE **outdata); + + HRESULT (STDMETHODCALLTYPE *SetConfigToID)( + INapComponentConfig3* This, + UINT32 configID, + UINT16 count, + BYTE *data); + + END_INTERFACE +} INapComponentConfig3Vtbl; +interface INapComponentConfig3 { + CONST_VTBL INapComponentConfig3Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapComponentConfig3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapComponentConfig3_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapComponentConfig3_Release(This) (This)->lpVtbl->Release(This) +/*** INapComponentConfig methods ***/ +#define INapComponentConfig3_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported) +#define INapComponentConfig3_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent) +#define INapComponentConfig3_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data) +#define INapComponentConfig3_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data) +/*** INapComponentConfig2 methods ***/ +#define INapComponentConfig3_IsRemoteConfigSupported(This,isSupported,remoteConfigType) (This)->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType) +#define INapComponentConfig3_InvokeUIForMachine(This,hwndParent,machineName) (This)->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName) +#define INapComponentConfig3_InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged) (This)->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged) +/*** INapComponentConfig3 methods ***/ +#define INapComponentConfig3_NewConfig(This,configID) (This)->lpVtbl->NewConfig(This,configID) +#define INapComponentConfig3_DeleteConfig(This,configID) (This)->lpVtbl->DeleteConfig(This,configID) +#define INapComponentConfig3_DeleteAllConfig(This) (This)->lpVtbl->DeleteAllConfig(This) +#define INapComponentConfig3_GetConfigFromID(This,configID,count,outdata) (This)->lpVtbl->GetConfigFromID(This,configID,count,outdata) +#define INapComponentConfig3_SetConfigToID(This,configID,count,data) (This)->lpVtbl->SetConfigToID(This,configID,count,data) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapComponentConfig3_QueryInterface(INapComponentConfig3* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapComponentConfig3_AddRef(INapComponentConfig3* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapComponentConfig3_Release(INapComponentConfig3* This) { + return This->lpVtbl->Release(This); +} +/*** INapComponentConfig methods ***/ +static FORCEINLINE HRESULT INapComponentConfig3_IsUISupported(INapComponentConfig3* This,WINBOOL *isSupported) { + return This->lpVtbl->IsUISupported(This,isSupported); +} +static FORCEINLINE HRESULT INapComponentConfig3_InvokeUI(INapComponentConfig3* This,HWND hwndParent) { + return This->lpVtbl->InvokeUI(This,hwndParent); +} +static FORCEINLINE HRESULT INapComponentConfig3_GetConfig(INapComponentConfig3* This,UINT16 *bCount,BYTE **data) { + return This->lpVtbl->GetConfig(This,bCount,data); +} +static FORCEINLINE HRESULT INapComponentConfig3_SetConfig(INapComponentConfig3* This,UINT16 bCount,BYTE *data) { + return This->lpVtbl->SetConfig(This,bCount,data); +} +/*** INapComponentConfig2 methods ***/ +static FORCEINLINE HRESULT INapComponentConfig3_IsRemoteConfigSupported(INapComponentConfig3* This,WINBOOL *isSupported,UINT8 *remoteConfigType) { + return This->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType); +} +static FORCEINLINE HRESULT INapComponentConfig3_InvokeUIForMachine(INapComponentConfig3* This,HWND hwndParent,CountedString *machineName) { + return This->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName); +} +static FORCEINLINE HRESULT INapComponentConfig3_InvokeUIFromConfigBlob(INapComponentConfig3* This,HWND hwndParent,UINT16 inbCount,BYTE *inData,UINT16 *outbCount,BYTE **outdata,WINBOOL *fConfigChanged) { + return This->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged); +} +/*** INapComponentConfig3 methods ***/ +static FORCEINLINE HRESULT INapComponentConfig3_NewConfig(INapComponentConfig3* This,UINT32 configID) { + return This->lpVtbl->NewConfig(This,configID); +} +static FORCEINLINE HRESULT INapComponentConfig3_DeleteConfig(INapComponentConfig3* This,UINT32 configID) { + return This->lpVtbl->DeleteConfig(This,configID); +} +static FORCEINLINE HRESULT INapComponentConfig3_DeleteAllConfig(INapComponentConfig3* This) { + return This->lpVtbl->DeleteAllConfig(This); +} +static FORCEINLINE HRESULT INapComponentConfig3_GetConfigFromID(INapComponentConfig3* This,UINT32 configID,UINT16 *count,BYTE **outdata) { + return This->lpVtbl->GetConfigFromID(This,configID,count,outdata); +} +static FORCEINLINE HRESULT INapComponentConfig3_SetConfigToID(INapComponentConfig3* This,UINT32 configID,UINT16 count,BYTE *data) { + return This->lpVtbl->SetConfigToID(This,configID,count,data); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapComponentConfig3_NewConfig_Proxy( + INapComponentConfig3* This, + UINT32 configID); +void __RPC_STUB INapComponentConfig3_NewConfig_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig3_DeleteConfig_Proxy( + INapComponentConfig3* This, + UINT32 configID); +void __RPC_STUB INapComponentConfig3_DeleteConfig_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig3_DeleteAllConfig_Proxy( + INapComponentConfig3* This); +void __RPC_STUB INapComponentConfig3_DeleteAllConfig_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig3_GetConfigFromID_Proxy( + INapComponentConfig3* This, + UINT32 configID, + UINT16 *count, + BYTE **outdata); +void __RPC_STUB INapComponentConfig3_GetConfigFromID_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapComponentConfig3_SetConfigToID_Proxy( + INapComponentConfig3* This, + UINT32 configID, + UINT16 count, + BYTE *data); +void __RPC_STUB INapComponentConfig3_SetConfigToID_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapComponentConfig3_INTERFACE_DEFINED__ */ + +#endif +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); +unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); +unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); +void __RPC_USER HWND_UserFree (ULONG *, HWND *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __napcommon_h__ */ Property changes on: trunk/mingw-w64-headers/include/napcommon.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-24 11:28:34
|
Revision: 6542 http://sourceforge.net/p/mingw-w64/code/6542 Author: ktietz70 Date: 2014-03-24 11:28:24 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add NAP's System Health interfaces. Added Paths: ----------- trunk/mingw-w64-headers/include/napsystemhealthagent.h trunk/mingw-w64-headers/include/napsystemhealthagent.idl trunk/mingw-w64-headers/include/napsystemhealthvalidator.h trunk/mingw-w64-headers/include/napsystemhealthvalidator.idl Added: trunk/mingw-w64-headers/include/napsystemhealthagent.h =================================================================== --- trunk/mingw-w64-headers/include/napsystemhealthagent.h (rev 0) +++ trunk/mingw-w64-headers/include/napsystemhealthagent.h 2014-03-24 11:28:24 UTC (rev 6542) @@ -0,0 +1,1032 @@ +/*** Autogenerated by WIDL 1.6 from napsystemhealthagent.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __napsystemhealthagent_h__ +#define __napsystemhealthagent_h__ + +/* Forward declarations */ + +#ifndef __INapSystemHealthAgentBinding_FWD_DEFINED__ +#define __INapSystemHealthAgentBinding_FWD_DEFINED__ +typedef interface INapSystemHealthAgentBinding INapSystemHealthAgentBinding; +#endif + +#ifndef __INapSystemHealthAgentBinding2_FWD_DEFINED__ +#define __INapSystemHealthAgentBinding2_FWD_DEFINED__ +typedef interface INapSystemHealthAgentBinding2 INapSystemHealthAgentBinding2; +#endif + +#ifndef __INapSystemHealthAgentCallback_FWD_DEFINED__ +#define __INapSystemHealthAgentCallback_FWD_DEFINED__ +typedef interface INapSystemHealthAgentCallback INapSystemHealthAgentCallback; +#endif + +#ifndef __AsyncINapSystemHealthAgentCallback_FWD_DEFINED__ +#define __AsyncINapSystemHealthAgentCallback_FWD_DEFINED__ +typedef interface AsyncINapSystemHealthAgentCallback AsyncINapSystemHealthAgentCallback; +#endif + +#ifndef __INapSystemHealthAgentRequest_FWD_DEFINED__ +#define __INapSystemHealthAgentRequest_FWD_DEFINED__ +typedef interface INapSystemHealthAgentRequest INapSystemHealthAgentRequest; +#endif + +/* Headers for imported files */ + +#include <naptypes.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#ifndef __INapSystemHealthAgentBinding_FWD_DEFINED__ +#define __INapSystemHealthAgentBinding_FWD_DEFINED__ +typedef interface INapSystemHealthAgentBinding INapSystemHealthAgentBinding; +#endif + +#ifndef __INapSystemHealthAgentCallback_FWD_DEFINED__ +#define __INapSystemHealthAgentCallback_FWD_DEFINED__ +typedef interface INapSystemHealthAgentCallback INapSystemHealthAgentCallback; +#endif + +#ifndef __AsyncINapSystemHealthAgentCallback_FWD_DEFINED__ +#define __AsyncINapSystemHealthAgentCallback_FWD_DEFINED__ +typedef interface AsyncINapSystemHealthAgentCallback AsyncINapSystemHealthAgentCallback; +#endif + +#ifndef __INapSystemHealthAgentRequest_FWD_DEFINED__ +#define __INapSystemHealthAgentRequest_FWD_DEFINED__ +typedef interface INapSystemHealthAgentRequest INapSystemHealthAgentRequest; +#endif + +EXTERN_C const CLSID CLSID_NapSystemHealthAgentBinding; +/***************************************************************************** + * INapSystemHealthAgentBinding interface + */ +#ifndef __INapSystemHealthAgentBinding_INTERFACE_DEFINED__ +#define __INapSystemHealthAgentBinding_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapSystemHealthAgentBinding, 0xa6894f43, 0x9cc7, 0x44c9, 0xa2,0x3f, 0x19,0xdb,0xf3,0x6b,0xad,0x28); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("a6894f43-9cc7-44c9-a23f-19dbf36bad28") +INapSystemHealthAgentBinding : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Initialize( + SystemHealthEntityId id, + INapSystemHealthAgentCallback *callback) = 0; + + virtual HRESULT STDMETHODCALLTYPE Uninitialize( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifySoHChange( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfo( + IsolationInfo **isolationInfo, + WINBOOL *unknownConnections) = 0; + + virtual HRESULT STDMETHODCALLTYPE FlushCache( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapSystemHealthAgentBinding, 0xa6894f43, 0x9cc7, 0x44c9, 0xa2,0x3f, 0x19,0xdb,0xf3,0x6b,0xad,0x28) +#endif +#else +typedef struct INapSystemHealthAgentBindingVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapSystemHealthAgentBinding* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapSystemHealthAgentBinding* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapSystemHealthAgentBinding* This); + + /*** INapSystemHealthAgentBinding methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INapSystemHealthAgentBinding* This, + SystemHealthEntityId id, + INapSystemHealthAgentCallback *callback); + + HRESULT (STDMETHODCALLTYPE *Uninitialize)( + INapSystemHealthAgentBinding* This); + + HRESULT (STDMETHODCALLTYPE *NotifySoHChange)( + INapSystemHealthAgentBinding* This); + + HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfo)( + INapSystemHealthAgentBinding* This, + IsolationInfo **isolationInfo, + WINBOOL *unknownConnections); + + HRESULT (STDMETHODCALLTYPE *FlushCache)( + INapSystemHealthAgentBinding* This); + + END_INTERFACE +} INapSystemHealthAgentBindingVtbl; +interface INapSystemHealthAgentBinding { + CONST_VTBL INapSystemHealthAgentBindingVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapSystemHealthAgentBinding_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapSystemHealthAgentBinding_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapSystemHealthAgentBinding_Release(This) (This)->lpVtbl->Release(This) +/*** INapSystemHealthAgentBinding methods ***/ +#define INapSystemHealthAgentBinding_Initialize(This,id,callback) (This)->lpVtbl->Initialize(This,id,callback) +#define INapSystemHealthAgentBinding_Uninitialize(This) (This)->lpVtbl->Uninitialize(This) +#define INapSystemHealthAgentBinding_NotifySoHChange(This) (This)->lpVtbl->NotifySoHChange(This) +#define INapSystemHealthAgentBinding_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections) +#define INapSystemHealthAgentBinding_FlushCache(This) (This)->lpVtbl->FlushCache(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentBinding_QueryInterface(INapSystemHealthAgentBinding* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapSystemHealthAgentBinding_AddRef(INapSystemHealthAgentBinding* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapSystemHealthAgentBinding_Release(INapSystemHealthAgentBinding* This) { + return This->lpVtbl->Release(This); +} +/*** INapSystemHealthAgentBinding methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentBinding_Initialize(INapSystemHealthAgentBinding* This,SystemHealthEntityId id,INapSystemHealthAgentCallback *callback) { + return This->lpVtbl->Initialize(This,id,callback); +} +static FORCEINLINE HRESULT INapSystemHealthAgentBinding_Uninitialize(INapSystemHealthAgentBinding* This) { + return This->lpVtbl->Uninitialize(This); +} +static FORCEINLINE HRESULT INapSystemHealthAgentBinding_NotifySoHChange(INapSystemHealthAgentBinding* This) { + return This->lpVtbl->NotifySoHChange(This); +} +static FORCEINLINE HRESULT INapSystemHealthAgentBinding_GetSystemIsolationInfo(INapSystemHealthAgentBinding* This,IsolationInfo **isolationInfo,WINBOOL *unknownConnections) { + return This->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections); +} +static FORCEINLINE HRESULT INapSystemHealthAgentBinding_FlushCache(INapSystemHealthAgentBinding* This) { + return This->lpVtbl->FlushCache(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentBinding_Initialize_Proxy( + INapSystemHealthAgentBinding* This, + SystemHealthEntityId id, + INapSystemHealthAgentCallback *callback); +void __RPC_STUB INapSystemHealthAgentBinding_Initialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentBinding_Uninitialize_Proxy( + INapSystemHealthAgentBinding* This); +void __RPC_STUB INapSystemHealthAgentBinding_Uninitialize_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentBinding_NotifySoHChange_Proxy( + INapSystemHealthAgentBinding* This); +void __RPC_STUB INapSystemHealthAgentBinding_NotifySoHChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentBinding_GetSystemIsolationInfo_Proxy( + INapSystemHealthAgentBinding* This, + IsolationInfo **isolationInfo, + WINBOOL *unknownConnections); +void __RPC_STUB INapSystemHealthAgentBinding_GetSystemIsolationInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentBinding_FlushCache_Proxy( + INapSystemHealthAgentBinding* This); +void __RPC_STUB INapSystemHealthAgentBinding_FlushCache_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapSystemHealthAgentBinding_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapSystemHealthAgentBinding2 interface + */ +#ifndef __INapSystemHealthAgentBinding2_INTERFACE_DEFINED__ +#define __INapSystemHealthAgentBinding2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapSystemHealthAgentBinding2, 0x1140c38e, 0x5100, 0x4ea1, 0x8d,0x43, 0x87,0xd3,0x26,0x72,0x40,0x28); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("1140c38e-5100-4ea1-8d43-87d326724028") +INapSystemHealthAgentBinding2 : public INapSystemHealthAgentBinding +{ + virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfoEx( + IsolationInfoEx **isolationInfo, + WINBOOL *unknownConnections) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapSystemHealthAgentBinding2, 0x1140c38e, 0x5100, 0x4ea1, 0x8d,0x43, 0x87,0xd3,0x26,0x72,0x40,0x28) +#endif +#else +typedef struct INapSystemHealthAgentBinding2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapSystemHealthAgentBinding2* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapSystemHealthAgentBinding2* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapSystemHealthAgentBinding2* This); + + /*** INapSystemHealthAgentBinding methods ***/ + HRESULT (STDMETHODCALLTYPE *Initialize)( + INapSystemHealthAgentBinding2* This, + SystemHealthEntityId id, + INapSystemHealthAgentCallback *callback); + + HRESULT (STDMETHODCALLTYPE *Uninitialize)( + INapSystemHealthAgentBinding2* This); + + HRESULT (STDMETHODCALLTYPE *NotifySoHChange)( + INapSystemHealthAgentBinding2* This); + + HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfo)( + INapSystemHealthAgentBinding2* This, + IsolationInfo **isolationInfo, + WINBOOL *unknownConnections); + + HRESULT (STDMETHODCALLTYPE *FlushCache)( + INapSystemHealthAgentBinding2* This); + + /*** INapSystemHealthAgentBinding2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfoEx)( + INapSystemHealthAgentBinding2* This, + IsolationInfoEx **isolationInfo, + WINBOOL *unknownConnections); + + END_INTERFACE +} INapSystemHealthAgentBinding2Vtbl; +interface INapSystemHealthAgentBinding2 { + CONST_VTBL INapSystemHealthAgentBinding2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapSystemHealthAgentBinding2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapSystemHealthAgentBinding2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapSystemHealthAgentBinding2_Release(This) (This)->lpVtbl->Release(This) +/*** INapSystemHealthAgentBinding methods ***/ +#define INapSystemHealthAgentBinding2_Initialize(This,id,callback) (This)->lpVtbl->Initialize(This,id,callback) +#define INapSystemHealthAgentBinding2_Uninitialize(This) (This)->lpVtbl->Uninitialize(This) +#define INapSystemHealthAgentBinding2_NotifySoHChange(This) (This)->lpVtbl->NotifySoHChange(This) +#define INapSystemHealthAgentBinding2_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections) +#define INapSystemHealthAgentBinding2_FlushCache(This) (This)->lpVtbl->FlushCache(This) +/*** INapSystemHealthAgentBinding2 methods ***/ +#define INapSystemHealthAgentBinding2_GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_QueryInterface(INapSystemHealthAgentBinding2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapSystemHealthAgentBinding2_AddRef(INapSystemHealthAgentBinding2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapSystemHealthAgentBinding2_Release(INapSystemHealthAgentBinding2* This) { + return This->lpVtbl->Release(This); +} +/*** INapSystemHealthAgentBinding methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_Initialize(INapSystemHealthAgentBinding2* This,SystemHealthEntityId id,INapSystemHealthAgentCallback *callback) { + return This->lpVtbl->Initialize(This,id,callback); +} +static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_Uninitialize(INapSystemHealthAgentBinding2* This) { + return This->lpVtbl->Uninitialize(This); +} +static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_NotifySoHChange(INapSystemHealthAgentBinding2* This) { + return This->lpVtbl->NotifySoHChange(This); +} +static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_GetSystemIsolationInfo(INapSystemHealthAgentBinding2* This,IsolationInfo **isolationInfo,WINBOOL *unknownConnections) { + return This->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections); +} +static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_FlushCache(INapSystemHealthAgentBinding2* This) { + return This->lpVtbl->FlushCache(This); +} +/*** INapSystemHealthAgentBinding2 methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentBinding2_GetSystemIsolationInfoEx(INapSystemHealthAgentBinding2* This,IsolationInfoEx **isolationInfo,WINBOOL *unknownConnections) { + return This->lpVtbl->GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentBinding2_GetSystemIsolationInfoEx_Proxy( + INapSystemHealthAgentBinding2* This, + IsolationInfoEx **isolationInfo, + WINBOOL *unknownConnections); +void __RPC_STUB INapSystemHealthAgentBinding2_GetSystemIsolationInfoEx_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapSystemHealthAgentBinding2_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapSystemHealthAgentCallback interface + */ +#ifndef __INapSystemHealthAgentCallback_INTERFACE_DEFINED__ +#define __INapSystemHealthAgentCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapSystemHealthAgentCallback, 0xf1072a57, 0x214f, 0x4ee2, 0x83,0x77, 0x14,0xef,0x14,0x0c,0xd9,0xf3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("f1072a57-214f-4ee2-8377-14ef140cd9f3") +INapSystemHealthAgentCallback : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetSoHRequest( + INapSystemHealthAgentRequest *request) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProcessSoHResponse( + INapSystemHealthAgentRequest *request) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifySystemIsolationStateChange( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFixupInfo( + FixupInfo **info) = 0; + + virtual HRESULT STDMETHODCALLTYPE CompareSoHRequests( + const SoHRequest *lhs, + const SoHRequest *rhs, + WINBOOL *isEqual) = 0; + + virtual HRESULT STDMETHODCALLTYPE NotifyOrphanedSoHRequest( + const CorrelationId *correlationId) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapSystemHealthAgentCallback, 0xf1072a57, 0x214f, 0x4ee2, 0x83,0x77, 0x14,0xef,0x14,0x0c,0xd9,0xf3) +#endif +#else +typedef struct INapSystemHealthAgentCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapSystemHealthAgentCallback* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapSystemHealthAgentCallback* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapSystemHealthAgentCallback* This); + + /*** INapSystemHealthAgentCallback methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSoHRequest)( + INapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); + + HRESULT (STDMETHODCALLTYPE *ProcessSoHResponse)( + INapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); + + HRESULT (STDMETHODCALLTYPE *NotifySystemIsolationStateChange)( + INapSystemHealthAgentCallback* This); + + HRESULT (STDMETHODCALLTYPE *GetFixupInfo)( + INapSystemHealthAgentCallback* This, + FixupInfo **info); + + HRESULT (STDMETHODCALLTYPE *CompareSoHRequests)( + INapSystemHealthAgentCallback* This, + const SoHRequest *lhs, + const SoHRequest *rhs, + WINBOOL *isEqual); + + HRESULT (STDMETHODCALLTYPE *NotifyOrphanedSoHRequest)( + INapSystemHealthAgentCallback* This, + const CorrelationId *correlationId); + + END_INTERFACE +} INapSystemHealthAgentCallbackVtbl; +interface INapSystemHealthAgentCallback { + CONST_VTBL INapSystemHealthAgentCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapSystemHealthAgentCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapSystemHealthAgentCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapSystemHealthAgentCallback_Release(This) (This)->lpVtbl->Release(This) +/*** INapSystemHealthAgentCallback methods ***/ +#define INapSystemHealthAgentCallback_GetSoHRequest(This,request) (This)->lpVtbl->GetSoHRequest(This,request) +#define INapSystemHealthAgentCallback_ProcessSoHResponse(This,request) (This)->lpVtbl->ProcessSoHResponse(This,request) +#define INapSystemHealthAgentCallback_NotifySystemIsolationStateChange(This) (This)->lpVtbl->NotifySystemIsolationStateChange(This) +#define INapSystemHealthAgentCallback_GetFixupInfo(This,info) (This)->lpVtbl->GetFixupInfo(This,info) +#define INapSystemHealthAgentCallback_CompareSoHRequests(This,lhs,rhs,isEqual) (This)->lpVtbl->CompareSoHRequests(This,lhs,rhs,isEqual) +#define INapSystemHealthAgentCallback_NotifyOrphanedSoHRequest(This,correlationId) (This)->lpVtbl->NotifyOrphanedSoHRequest(This,correlationId) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentCallback_QueryInterface(INapSystemHealthAgentCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapSystemHealthAgentCallback_AddRef(INapSystemHealthAgentCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapSystemHealthAgentCallback_Release(INapSystemHealthAgentCallback* This) { + return This->lpVtbl->Release(This); +} +/*** INapSystemHealthAgentCallback methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentCallback_GetSoHRequest(INapSystemHealthAgentCallback* This,INapSystemHealthAgentRequest *request) { + return This->lpVtbl->GetSoHRequest(This,request); +} +static FORCEINLINE HRESULT INapSystemHealthAgentCallback_ProcessSoHResponse(INapSystemHealthAgentCallback* This,INapSystemHealthAgentRequest *request) { + return This->lpVtbl->ProcessSoHResponse(This,request); +} +static FORCEINLINE HRESULT INapSystemHealthAgentCallback_NotifySystemIsolationStateChange(INapSystemHealthAgentCallback* This) { + return This->lpVtbl->NotifySystemIsolationStateChange(This); +} +static FORCEINLINE HRESULT INapSystemHealthAgentCallback_GetFixupInfo(INapSystemHealthAgentCallback* This,FixupInfo **info) { + return This->lpVtbl->GetFixupInfo(This,info); +} +static FORCEINLINE HRESULT INapSystemHealthAgentCallback_CompareSoHRequests(INapSystemHealthAgentCallback* This,const SoHRequest *lhs,const SoHRequest *rhs,WINBOOL *isEqual) { + return This->lpVtbl->CompareSoHRequests(This,lhs,rhs,isEqual); +} +static FORCEINLINE HRESULT INapSystemHealthAgentCallback_NotifyOrphanedSoHRequest(INapSystemHealthAgentCallback* This,const CorrelationId *correlationId) { + return This->lpVtbl->NotifyOrphanedSoHRequest(This,correlationId); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentCallback_GetSoHRequest_Proxy( + INapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); +void __RPC_STUB INapSystemHealthAgentCallback_GetSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentCallback_ProcessSoHResponse_Proxy( + INapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); +void __RPC_STUB INapSystemHealthAgentCallback_ProcessSoHResponse_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentCallback_NotifySystemIsolationStateChange_Proxy( + INapSystemHealthAgentCallback* This); +void __RPC_STUB INapSystemHealthAgentCallback_NotifySystemIsolationStateChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentCallback_GetFixupInfo_Proxy( + INapSystemHealthAgentCallback* This, + FixupInfo **info); +void __RPC_STUB INapSystemHealthAgentCallback_GetFixupInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentCallback_CompareSoHRequests_Proxy( + INapSystemHealthAgentCallback* This, + const SoHRequest *lhs, + const SoHRequest *rhs, + WINBOOL *isEqual); +void __RPC_STUB INapSystemHealthAgentCallback_CompareSoHRequests_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentCallback_NotifyOrphanedSoHRequest_Proxy( + INapSystemHealthAgentCallback* This, + const CorrelationId *correlationId); +void __RPC_STUB INapSystemHealthAgentCallback_NotifyOrphanedSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapSystemHealthAgentCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * AsyncINapSystemHealthAgentCallback interface + */ +#ifndef __AsyncINapSystemHealthAgentCallback_INTERFACE_DEFINED__ +#define __AsyncINapSystemHealthAgentCallback_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_AsyncINapSystemHealthAgentCallback, 0x860d8fd9, 0x0219, 0x43ea, 0xae,0x7f, 0x59,0x61,0x1f,0x4c,0xc1,0x6a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("860d8fd9-0219-43ea-ae7f-59611f4cc16a") +AsyncINapSystemHealthAgentCallback : public IUnknown +{ + virtual void STDMETHODCALLTYPE Begin_GetSoHRequest( + INapSystemHealthAgentRequest *request) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_GetSoHRequest( + ) = 0; + + virtual void STDMETHODCALLTYPE Begin_ProcessSoHResponse( + INapSystemHealthAgentRequest *request) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_ProcessSoHResponse( + ) = 0; + + virtual void STDMETHODCALLTYPE Begin_NotifySystemIsolationStateChange( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_NotifySystemIsolationStateChange( + ) = 0; + + virtual void STDMETHODCALLTYPE Begin_GetFixupInfo( + ) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_GetFixupInfo( + FixupInfo **info) = 0; + + virtual void STDMETHODCALLTYPE Begin_CompareSoHRequests( + const SoHRequest *lhs, + const SoHRequest *rhs) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_CompareSoHRequests( + WINBOOL *isEqual) = 0; + + virtual void STDMETHODCALLTYPE Begin_NotifyOrphanedSoHRequest( + const CorrelationId *correlationId) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_NotifyOrphanedSoHRequest( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AsyncINapSystemHealthAgentCallback, 0x860d8fd9, 0x0219, 0x43ea, 0xae,0x7f, 0x59,0x61,0x1f,0x4c,0xc1,0x6a) +#endif +#else +typedef struct AsyncINapSystemHealthAgentCallbackVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + AsyncINapSystemHealthAgentCallback* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + AsyncINapSystemHealthAgentCallback* This); + + ULONG (STDMETHODCALLTYPE *Release)( + AsyncINapSystemHealthAgentCallback* This); + + /*** INapSystemHealthAgentCallback methods ***/ + void (STDMETHODCALLTYPE *Begin_GetSoHRequest)( + AsyncINapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); + + HRESULT (STDMETHODCALLTYPE *Finish_GetSoHRequest)( + AsyncINapSystemHealthAgentCallback* This); + + void (STDMETHODCALLTYPE *Begin_ProcessSoHResponse)( + AsyncINapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); + + HRESULT (STDMETHODCALLTYPE *Finish_ProcessSoHResponse)( + AsyncINapSystemHealthAgentCallback* This); + + void (STDMETHODCALLTYPE *Begin_NotifySystemIsolationStateChange)( + AsyncINapSystemHealthAgentCallback* This); + + HRESULT (STDMETHODCALLTYPE *Finish_NotifySystemIsolationStateChange)( + AsyncINapSystemHealthAgentCallback* This); + + void (STDMETHODCALLTYPE *Begin_GetFixupInfo)( + AsyncINapSystemHealthAgentCallback* This); + + HRESULT (STDMETHODCALLTYPE *Finish_GetFixupInfo)( + AsyncINapSystemHealthAgentCallback* This, + FixupInfo **info); + + void (STDMETHODCALLTYPE *Begin_CompareSoHRequests)( + AsyncINapSystemHealthAgentCallback* This, + const SoHRequest *lhs, + const SoHRequest *rhs); + + HRESULT (STDMETHODCALLTYPE *Finish_CompareSoHRequests)( + AsyncINapSystemHealthAgentCallback* This, + WINBOOL *isEqual); + + void (STDMETHODCALLTYPE *Begin_NotifyOrphanedSoHRequest)( + AsyncINapSystemHealthAgentCallback* This, + const CorrelationId *correlationId); + + HRESULT (STDMETHODCALLTYPE *Finish_NotifyOrphanedSoHRequest)( + AsyncINapSystemHealthAgentCallback* This); + + END_INTERFACE +} AsyncINapSystemHealthAgentCallbackVtbl; +interface AsyncINapSystemHealthAgentCallback { + CONST_VTBL AsyncINapSystemHealthAgentCallbackVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define AsyncINapSystemHealthAgentCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define AsyncINapSystemHealthAgentCallback_AddRef(This) (This)->lpVtbl->AddRef(This) +#define AsyncINapSystemHealthAgentCallback_Release(This) (This)->lpVtbl->Release(This) +/*** INapSystemHealthAgentCallback methods ***/ +#define AsyncINapSystemHealthAgentCallback_Begin_GetSoHRequest(This,request) (This)->lpVtbl->Begin_GetSoHRequest(This,request) +#define AsyncINapSystemHealthAgentCallback_Finish_GetSoHRequest(This) (This)->lpVtbl->Finish_GetSoHRequest(This) +#define AsyncINapSystemHealthAgentCallback_Begin_ProcessSoHResponse(This,request) (This)->lpVtbl->Begin_ProcessSoHResponse(This,request) +#define AsyncINapSystemHealthAgentCallback_Finish_ProcessSoHResponse(This) (This)->lpVtbl->Finish_ProcessSoHResponse(This) +#define AsyncINapSystemHealthAgentCallback_Begin_NotifySystemIsolationStateChange(This) (This)->lpVtbl->Begin_NotifySystemIsolationStateChange(This) +#define AsyncINapSystemHealthAgentCallback_Finish_NotifySystemIsolationStateChange(This) (This)->lpVtbl->Finish_NotifySystemIsolationStateChange(This) +#define AsyncINapSystemHealthAgentCallback_Begin_GetFixupInfo(This) (This)->lpVtbl->Begin_GetFixupInfo(This) +#define AsyncINapSystemHealthAgentCallback_Finish_GetFixupInfo(This,info) (This)->lpVtbl->Finish_GetFixupInfo(This,info) +#define AsyncINapSystemHealthAgentCallback_Begin_CompareSoHRequests(This,lhs,rhs) (This)->lpVtbl->Begin_CompareSoHRequests(This,lhs,rhs) +#define AsyncINapSystemHealthAgentCallback_Finish_CompareSoHRequests(This,isEqual) (This)->lpVtbl->Finish_CompareSoHRequests(This,isEqual) +#define AsyncINapSystemHealthAgentCallback_Begin_NotifyOrphanedSoHRequest(This,correlationId) (This)->lpVtbl->Begin_NotifyOrphanedSoHRequest(This,correlationId) +#define AsyncINapSystemHealthAgentCallback_Finish_NotifyOrphanedSoHRequest(This) (This)->lpVtbl->Finish_NotifyOrphanedSoHRequest(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT AsyncINapSystemHealthAgentCallback_QueryInterface(AsyncINapSystemHealthAgentCallback* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG AsyncINapSystemHealthAgentCallback_AddRef(AsyncINapSystemHealthAgentCallback* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG AsyncINapSystemHealthAgentCallback_Release(AsyncINapSystemHealthAgentCallback* This) { + return This->lpVtbl->Release(This); +} +/*** INapSystemHealthAgentCallback methods ***/ +static FORCEINLINE void Begin_AsyncINapSystemHealthAgentCallback_GetSoHRequest(AsyncINapSystemHealthAgentCallback* This,INapSystemHealthAgentRequest *request) { + This->lpVtbl->Begin_GetSoHRequest(This,request); +} +static FORCEINLINE HRESULT Finish_AsyncINapSystemHealthAgentCallback_GetSoHRequest(AsyncINapSystemHealthAgentCallback* This) { + return This->lpVtbl->Finish_GetSoHRequest(This); +} +static FORCEINLINE void Begin_AsyncINapSystemHealthAgentCallback_ProcessSoHResponse(AsyncINapSystemHealthAgentCallback* This,INapSystemHealthAgentRequest *request) { + This->lpVtbl->Begin_ProcessSoHResponse(This,request); +} +static FORCEINLINE HRESULT Finish_AsyncINapSystemHealthAgentCallback_ProcessSoHResponse(AsyncINapSystemHealthAgentCallback* This) { + return This->lpVtbl->Finish_ProcessSoHResponse(This); +} +static FORCEINLINE void Begin_AsyncINapSystemHealthAgentCallback_NotifySystemIsolationStateChange(AsyncINapSystemHealthAgentCallback* This) { + This->lpVtbl->Begin_NotifySystemIsolationStateChange(This); +} +static FORCEINLINE HRESULT Finish_AsyncINapSystemHealthAgentCallback_NotifySystemIsolationStateChange(AsyncINapSystemHealthAgentCallback* This) { + return This->lpVtbl->Finish_NotifySystemIsolationStateChange(This); +} +static FORCEINLINE void Begin_AsyncINapSystemHealthAgentCallback_GetFixupInfo(AsyncINapSystemHealthAgentCallback* This) { + This->lpVtbl->Begin_GetFixupInfo(This,info); +} +static FORCEINLINE HRESULT Finish_AsyncINapSystemHealthAgentCallback_GetFixupInfo(AsyncINapSystemHealthAgentCallback* This,FixupInfo **info) { + return This->lpVtbl->Finish_GetFixupInfo(This); +} +static FORCEINLINE void Begin_AsyncINapSystemHealthAgentCallback_CompareSoHRequests(AsyncINapSystemHealthAgentCallback* This,const SoHRequest *lhs,const SoHRequest *rhs) { + This->lpVtbl->Begin_CompareSoHRequests(This,lhs,rhs,isEqual); +} +static FORCEINLINE HRESULT Finish_AsyncINapSystemHealthAgentCallback_CompareSoHRequests(AsyncINapSystemHealthAgentCallback* This,WINBOOL *isEqual) { + return This->lpVtbl->Finish_CompareSoHRequests(This); +} +static FORCEINLINE void Begin_AsyncINapSystemHealthAgentCallback_NotifyOrphanedSoHRequest(AsyncINapSystemHealthAgentCallback* This,const CorrelationId *correlationId) { + This->lpVtbl->Begin_NotifyOrphanedSoHRequest(This,correlationId); +} +static FORCEINLINE HRESULT Finish_AsyncINapSystemHealthAgentCallback_NotifyOrphanedSoHRequest(AsyncINapSystemHealthAgentCallback* This) { + return This->lpVtbl->Finish_NotifyOrphanedSoHRequest(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Begin_GetSoHRequest_Proxy( + INapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Begin_GetSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Finish_GetSoHRequest_Proxy( + INapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Finish_GetSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Begin_ProcessSoHResponse_Proxy( + INapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Begin_ProcessSoHResponse_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Finish_ProcessSoHResponse_Proxy( + INapSystemHealthAgentCallback* This, + INapSystemHealthAgentRequest *request); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Finish_ProcessSoHResponse_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Begin_NotifySystemIsolationStateChange_Proxy( + INapSystemHealthAgentCallback* This); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Begin_NotifySystemIsolationStateChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Finish_NotifySystemIsolationStateChange_Proxy( + INapSystemHealthAgentCallback* This); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Finish_NotifySystemIsolationStateChange_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Begin_GetFixupInfo_Proxy( + INapSystemHealthAgentCallback* This); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Begin_GetFixupInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Finish_GetFixupInfo_Proxy( + INapSystemHealthAgentCallback* This); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Finish_GetFixupInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Begin_CompareSoHRequests_Proxy( + INapSystemHealthAgentCallback* This, + const SoHRequest *lhs, + const SoHRequest *rhs); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Begin_CompareSoHRequests_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Finish_CompareSoHRequests_Proxy( + INapSystemHealthAgentCallback* This, + const SoHRequest *lhs, + const SoHRequest *rhs); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Finish_CompareSoHRequests_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Begin_NotifyOrphanedSoHRequest_Proxy( + INapSystemHealthAgentCallback* This, + const CorrelationId *correlationId); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Begin_NotifyOrphanedSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthAgentCallback_Finish_NotifyOrphanedSoHRequest_Proxy( + INapSystemHealthAgentCallback* This, + const CorrelationId *correlationId); +void __RPC_STUB AsyncINapSystemHealthAgentCallback_Finish_NotifyOrphanedSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __AsyncINapSystemHealthAgentCallback_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapSystemHealthAgentRequest interface + */ +#ifndef __INapSystemHealthAgentRequest_INTERFACE_DEFINED__ +#define __INapSystemHealthAgentRequest_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapSystemHealthAgentRequest, 0x5b360a69, 0x212d, 0x440d, 0xb3,0x98, 0x7e,0xef,0xd4,0x97,0x85,0x3a); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("5b360a69-212d-440d-b398-7eefd497853a") +INapSystemHealthAgentRequest : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetCorrelationId( + CorrelationId *correlationId) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStringCorrelationId( + StringCorrelationId **correlationId) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetSoHRequest( + const SoHRequest *sohRequest, + WINBOOL cacheSohForLaterUse) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSoHRequest( + SoHRequest **sohRequest) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSoHResponse( + SoHResponse **sohResponse, + UINT8 *flags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCacheSoHFlag( + WINBOOL *cacheSohForLaterUse) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapSystemHealthAgentRequest, 0x5b360a69, 0x212d, 0x440d, 0xb3,0x98, 0x7e,0xef,0xd4,0x97,0x85,0x3a) +#endif +#else +typedef struct INapSystemHealthAgentRequestVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapSystemHealthAgentRequest* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapSystemHealthAgentRequest* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapSystemHealthAgentRequest* This); + + /*** INapSystemHealthAgentRequest methods ***/ + HRESULT (STDMETHODCALLTYPE *GetCorrelationId)( + INapSystemHealthAgentRequest* This, + CorrelationId *correlationId); + + HRESULT (STDMETHODCALLTYPE *GetStringCorrelationId)( + INapSystemHealthAgentRequest* This, + StringCorrelationId **correlationId); + + HRESULT (STDMETHODCALLTYPE *SetSoHRequest)( + INapSystemHealthAgentRequest* This, + const SoHRequest *sohRequest, + WINBOOL cacheSohForLaterUse); + + HRESULT (STDMETHODCALLTYPE *GetSoHRequest)( + INapSystemHealthAgentRequest* This, + SoHRequest **sohRequest); + + HRESULT (STDMETHODCALLTYPE *GetSoHResponse)( + INapSystemHealthAgentRequest* This, + SoHResponse **sohResponse, + UINT8 *flags); + + HRESULT (STDMETHODCALLTYPE *GetCacheSoHFlag)( + INapSystemHealthAgentRequest* This, + WINBOOL *cacheSohForLaterUse); + + END_INTERFACE +} INapSystemHealthAgentRequestVtbl; +interface INapSystemHealthAgentRequest { + CONST_VTBL INapSystemHealthAgentRequestVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapSystemHealthAgentRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapSystemHealthAgentRequest_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapSystemHealthAgentRequest_Release(This) (This)->lpVtbl->Release(This) +/*** INapSystemHealthAgentRequest methods ***/ +#define INapSystemHealthAgentRequest_GetCorrelationId(This,correlationId) (This)->lpVtbl->GetCorrelationId(This,correlationId) +#define INapSystemHealthAgentRequest_GetStringCorrelationId(This,correlationId) (This)->lpVtbl->GetStringCorrelationId(This,correlationId) +#define INapSystemHealthAgentRequest_SetSoHRequest(This,sohRequest,cacheSohForLaterUse) (This)->lpVtbl->SetSoHRequest(This,sohRequest,cacheSohForLaterUse) +#define INapSystemHealthAgentRequest_GetSoHRequest(This,sohRequest) (This)->lpVtbl->GetSoHRequest(This,sohRequest) +#define INapSystemHealthAgentRequest_GetSoHResponse(This,sohResponse,flags) (This)->lpVtbl->GetSoHResponse(This,sohResponse,flags) +#define INapSystemHealthAgentRequest_GetCacheSoHFlag(This,cacheSohForLaterUse) (This)->lpVtbl->GetCacheSoHFlag(This,cacheSohForLaterUse) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentRequest_QueryInterface(INapSystemHealthAgentRequest* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapSystemHealthAgentRequest_AddRef(INapSystemHealthAgentRequest* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapSystemHealthAgentRequest_Release(INapSystemHealthAgentRequest* This) { + return This->lpVtbl->Release(This); +} +/*** INapSystemHealthAgentRequest methods ***/ +static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetCorrelationId(INapSystemHealthAgentRequest* This,CorrelationId *correlationId) { + return This->lpVtbl->GetCorrelationId(This,correlationId); +} +static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetStringCorrelationId(INapSystemHealthAgentRequest* This,StringCorrelationId **correlationId) { + return This->lpVtbl->GetStringCorrelationId(This,correlationId); +} +static FORCEINLINE HRESULT INapSystemHealthAgentRequest_SetSoHRequest(INapSystemHealthAgentRequest* This,const SoHRequest *sohRequest,WINBOOL cacheSohForLaterUse) { + return This->lpVtbl->SetSoHRequest(This,sohRequest,cacheSohForLaterUse); +} +static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetSoHRequest(INapSystemHealthAgentRequest* This,SoHRequest **sohRequest) { + return This->lpVtbl->GetSoHRequest(This,sohRequest); +} +static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetSoHResponse(INapSystemHealthAgentRequest* This,SoHResponse **sohResponse,UINT8 *flags) { + return This->lpVtbl->GetSoHResponse(This,sohResponse,flags); +} +static FORCEINLINE HRESULT INapSystemHealthAgentRequest_GetCacheSoHFlag(INapSystemHealthAgentRequest* This,WINBOOL *cacheSohForLaterUse) { + return This->lpVtbl->GetCacheSoHFlag(This,cacheSohForLaterUse); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentRequest_GetCorrelationId_Proxy( + INapSystemHealthAgentRequest* This, + CorrelationId *correlationId); +void __RPC_STUB INapSystemHealthAgentRequest_GetCorrelationId_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentRequest_GetStringCorrelationId_Proxy( + INapSystemHealthAgentRequest* This, + StringCorrelationId **correlationId); +void __RPC_STUB INapSystemHealthAgentRequest_GetStringCorrelationId_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentRequest_SetSoHRequest_Proxy( + INapSystemHealthAgentRequest* This, + const SoHRequest *sohRequest, + WINBOOL cacheSohForLaterUse); +void __RPC_STUB INapSystemHealthAgentRequest_SetSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentRequest_GetSoHRequest_Proxy( + INapSystemHealthAgentRequest* This, + SoHRequest **sohRequest); +void __RPC_STUB INapSystemHealthAgentRequest_GetSoHRequest_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentRequest_GetSoHResponse_Proxy( + INapSystemHealthAgentRequest* This, + SoHResponse **sohResponse, + UINT8 *flags); +void __RPC_STUB INapSystemHealthAgentRequest_GetSoHResponse_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapSystemHealthAgentRequest_GetCacheSoHFlag_Proxy( + INapSystemHealthAgentRequest* This, + WINBOOL *cacheSohForLaterUse); +void __RPC_STUB INapSystemHealthAgentRequest_GetCacheSoHFlag_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapSystemHealthAgentRequest_INTERFACE_DEFINED__ */ + +#endif +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __napsystemhealthagent_h__ */ Property changes on: trunk/mingw-w64-headers/include/napsystemhealthagent.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/mingw-w64-headers/include/napsystemhealthagent.idl =================================================================== --- trunk/mingw-w64-headers/include/napsystemhealthagent.idl (rev 0) +++ trunk/mingw-w64-headers/include/napsystemhealthagent.idl 2014-03-24 11:28:24 UTC (rev 6542) @@ -0,0 +1,53 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +import "naptypes.idl"; +import "unknwn.idl"; + +cpp_quote("#include <winapifamily.h>") +cpp_quote("") +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +interface INapSystemHealthAgentBinding; +interface INapSystemHealthAgentCallback; +interface INapSystemHealthAgentRequest; + +cpp_quote("EXTERN_C const CLSID CLSID_NapSystemHealthAgentBinding;") + +[object, uuid (A6894F43-9cc7-44c9-A23F-19dbf36bad28), pointer_default (unique)] +interface INapSystemHealthAgentBinding : IUnknown { + HRESULT Initialize ([in] SystemHealthEntityId id,[in] INapSystemHealthAgentCallback *callback); + HRESULT Uninitialize (); + HRESULT NotifySoHChange (); + HRESULT GetSystemIsolationInfo ([out] IsolationInfo **isolationInfo,[out] WINBOOL *unknownConnections); + HRESULT FlushCache (); +}; + +[object, uuid (1140c38e-5100-4ea1-8d43-87d326724028), pointer_default (unique)] +interface INapSystemHealthAgentBinding2 : INapSystemHealthAgentBinding { + HRESULT GetSystemIsolationInfoEx ([out] IsolationInfoEx **isolationInfo,[out] WINBOOL *unknownConnections); +}; + +[object, uuid (F1072A57-214f-4ee2-8377-14ef140cd9f3), async_uuid (860d8fd9-0219-43ea-AE7F-59611f4cc16a), pointer_default (unique)] +interface INapSystemHealthAgentCallback : IUnknown { + HRESULT GetSoHRequest ([in] INapSystemHealthAgentRequest *request); + HRESULT ProcessSoHResponse ([in] INapSystemHealthAgentRequest *request); + HRESULT NotifySystemIsolationStateChange (); + HRESULT GetFixupInfo ([out] FixupInfo **info); + HRESULT CompareSoHRequests ([in] const SoHRequest *lhs,[in] const SoHRequest *rhs,[out] WINBOOL *isEqual); + HRESULT NotifyOrphanedSoHRequest ([in] const CorrelationId *correlationId); +}; + +[object, uuid (5b360a69-212d-440d-B398-7eefd497853a), pointer_default (unique)] +interface INapSystemHealthAgentRequest : IUnknown { + HRESULT GetCorrelationId ([out] CorrelationId *correlationId); + HRESULT GetStringCorrelationId ([out] StringCorrelationId **correlationId); + HRESULT SetSoHRequest ([in] const SoHRequest *sohRequest,[in] WINBOOL cacheSohForLaterUse); + HRESULT GetSoHRequest ([out] SoHRequest **sohRequest); + HRESULT GetSoHResponse ([out] SoHResponse **sohResponse,[out] UINT8 *flags); + HRESULT GetCacheSoHFlag (WINBOOL *cacheSohForLaterUse); +}; + +cpp_quote("#endif") Property changes on: trunk/mingw-w64-headers/include/napsystemhealthagent.idl ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/mingw-w64-headers/include/napsystemhealthvalidator.h =================================================================== --- trunk/mingw-w64-headers/include/napsystemhealthvalidator.h (rev 0) +++ trunk/mingw-w64-headers/include/napsystemhealthvalidator.h 2014-03-24 11:28:24 UTC (rev 6542) @@ -0,0 +1,746 @@ +/*** Autogenerated by WIDL 1.6 from napsystemhealthvalidator.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __napsystemhealthvalidator_h__ +#define __napsystemhealthvalidator_h__ + +/* Forward declarations */ + +#ifndef __INapSystemHealthValidator_FWD_DEFINED__ +#define __INapSystemHealthValidator_FWD_DEFINED__ +typedef interface INapSystemHealthValidator INapSystemHealthValidator; +#endif + +#ifndef __AsyncINapSystemHealthValidator_FWD_DEFINED__ +#define __AsyncINapSystemHealthValidator_FWD_DEFINED__ +typedef interface AsyncINapSystemHealthValidator AsyncINapSystemHealthValidator; +#endif + +#ifndef __INapServerCallback_FWD_DEFINED__ +#define __INapServerCallback_FWD_DEFINED__ +typedef interface INapServerCallback INapServerCallback; +#endif + +#ifndef __INapSystemHealthValidationRequest_FWD_DEFINED__ +#define __INapSystemHealthValidationRequest_FWD_DEFINED__ +typedef interface INapSystemHealthValidationRequest INapSystemHealthValidationRequest; +#endif + +#ifndef __INapSystemHealthValidationRequest2_FWD_DEFINED__ +#define __INapSystemHealthValidationRequest2_FWD_DEFINED__ +typedef interface INapSystemHealthValidationRequest2 INapSystemHealthValidationRequest2; +#endif + +/* Headers for imported files */ + +#include <naptypes.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#ifndef __INapServerCallback_FWD_DEFINED__ +#define __INapServerCallback_FWD_DEFINED__ +typedef interface INapServerCallback INapServerCallback; +#endif + +#ifndef __INapSystemHealthValidator_FWD_DEFINED__ +#define __INapSystemHealthValidator_FWD_DEFINED__ +typedef interface INapSystemHealthValidator INapSystemHealthValidator; +#endif + +#ifndef __AsyncINapSystemHealthValidator_FWD_DEFINED__ +#define __AsyncINapSystemHealthValidator_FWD_DEFINED__ +typedef interface AsyncINapSystemHealthValidator AsyncINapSystemHealthValidator; +#endif + +#ifndef __INapSystemHealthValidationRequest_FWD_DEFINED__ +#define __INapSystemHealthValidationRequest_FWD_DEFINED__ +typedef interface INapSystemHealthValidationRequest INapSystemHealthValidationRequest; +#endif + +/***************************************************************************** + * INapSystemHealthValidator interface + */ +#ifndef __INapSystemHealthValidator_INTERFACE_DEFINED__ +#define __INapSystemHealthValidator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapSystemHealthValidator, 0xef43d87c, 0x5b6d, 0x4820, 0x86,0x20, 0x86,0x89,0x07,0xfe,0x07,0xd3); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("ef43d87c-5b6d-4820-8620-868907fe07d3") +INapSystemHealthValidator : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE Validate( + INapSystemHealthValidationRequest *request, + UINT32 hintTimeOutInMsec, + INapServerCallback *callback) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapSystemHealthValidator, 0xef43d87c, 0x5b6d, 0x4820, 0x86,0x20, 0x86,0x89,0x07,0xfe,0x07,0xd3) +#endif +#else +typedef struct INapSystemHealthValidatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapSystemHealthValidator* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapSystemHealthValidator* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapSystemHealthValidator* This); + + /*** INapSystemHealthValidator methods ***/ + HRESULT (STDMETHODCALLTYPE *Validate)( + INapSystemHealthValidator* This, + INapSystemHealthValidationRequest *request, + UINT32 hintTimeOutInMsec, + INapServerCallback *callback); + + END_INTERFACE +} INapSystemHealthValidatorVtbl; +interface INapSystemHealthValidator { + CONST_VTBL INapSystemHealthValidatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapSystemHealthValidator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapSystemHealthValidator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapSystemHealthValidator_Release(This) (This)->lpVtbl->Release(This) +/*** INapSystemHealthValidator methods ***/ +#define INapSystemHealthValidator_Validate(This,request,hintTimeOutInMsec,callback) (This)->lpVtbl->Validate(This,request,hintTimeOutInMsec,callback) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapSystemHealthValidator_QueryInterface(INapSystemHealthValidator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapSystemHealthValidator_AddRef(INapSystemHealthValidator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapSystemHealthValidator_Release(INapSystemHealthValidator* This) { + return This->lpVtbl->Release(This); +} +/*** INapSystemHealthValidator methods ***/ +static FORCEINLINE HRESULT INapSystemHealthValidator_Validate(INapSystemHealthValidator* This,INapSystemHealthValidationRequest *request,UINT32 hintTimeOutInMsec,INapServerCallback *callback) { + return This->lpVtbl->Validate(This,request,hintTimeOutInMsec,callback); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapSystemHealthValidator_Validate_Proxy( + INapSystemHealthValidator* This, + INapSystemHealthValidationRequest *request, + UINT32 hintTimeOutInMsec, + INapServerCallback *callback); +void __RPC_STUB INapSystemHealthValidator_Validate_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapSystemHealthValidator_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * AsyncINapSystemHealthValidator interface + */ +#ifndef __AsyncINapSystemHealthValidator_INTERFACE_DEFINED__ +#define __AsyncINapSystemHealthValidator_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_AsyncINapSystemHealthValidator, 0x2516031a, 0xa391, 0x454d, 0xb5,0x3d, 0xc5,0xdc,0x84,0xc7,0xf2,0xdb); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("2516031a-a391-454d-b53d-c5dc84c7f2db") +AsyncINapSystemHealthValidator : public IUnknown +{ + virtual void STDMETHODCALLTYPE Begin_Validate( + INapSystemHealthValidationRequest *request, + UINT32 hintTimeOutInMsec, + INapServerCallback *callback) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_Validate( + ) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(AsyncINapSystemHealthValidator, 0x2516031a, 0xa391, 0x454d, 0xb5,0x3d, 0xc5,0xdc,0x84,0xc7,0xf2,0xdb) +#endif +#else +typedef struct AsyncINapSystemHealthValidatorVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + AsyncINapSystemHealthValidator* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + AsyncINapSystemHealthValidator* This); + + ULONG (STDMETHODCALLTYPE *Release)( + AsyncINapSystemHealthValidator* This); + + /*** INapSystemHealthValidator methods ***/ + void (STDMETHODCALLTYPE *Begin_Validate)( + AsyncINapSystemHealthValidator* This, + INapSystemHealthValidationRequest *request, + UINT32 hintTimeOutInMsec, + INapServerCallback *callback); + + HRESULT (STDMETHODCALLTYPE *Finish_Validate)( + AsyncINapSystemHealthValidator* This); + + END_INTERFACE +} AsyncINapSystemHealthValidatorVtbl; +interface AsyncINapSystemHealthValidator { + CONST_VTBL AsyncINapSystemHealthValidatorVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define AsyncINapSystemHealthValidator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define AsyncINapSystemHealthValidator_AddRef(This) (This)->lpVtbl->AddRef(This) +#define AsyncINapSystemHealthValidator_Release(This) (This)->lpVtbl->Release(This) +/*** INapSystemHealthValidator methods ***/ +#define AsyncINapSystemHealthValidator_Begin_Validate(This,request,hintTimeOutInMsec,callback) (This)->lpVtbl->Begin_Validate(This,request,hintTimeOutInMsec,callback) +#define AsyncINapSystemHealthValidator_Finish_Validate(This) (This)->lpVtbl->Finish_Validate(This) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT AsyncINapSystemHealthValidator_QueryInterface(AsyncINapSystemHealthValidator* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG AsyncINapSystemHealthValidator_AddRef(AsyncINapSystemHealthValidator* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG AsyncINapSystemHealthValidator_Release(AsyncINapSystemHealthValidator* This) { + return This->lpVtbl->Release(This); +} +/*** INapSystemHealthValidator methods ***/ +static FORCEINLINE void Begin_AsyncINapSystemHealthValidator_Validate(AsyncINapSystemHealthValidator* This,INapSystemHealthValidationRequest *request,UINT32 hintTimeOutInMsec,INapServerCallback *callback) { + This->lpVtbl->Begin_Validate(This,request,hintTimeOutInMsec,callback); +} +static FORCEINLINE HRESULT Finish_AsyncINapSystemHealthValidator_Validate(AsyncINapSystemHealthValidator* This) { + return This->lpVtbl->Finish_Validate(This); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE AsyncINapSystemHealthValidator_Begin_Validate_Proxy( + INapSystemHealthValidator* This, + INapSystemHealthValidationRequest *request, + UINT32 hintTimeOutInMsec, + INapServerCallback *callback); +void __RPC_STUB AsyncINapSystemHealthValidator_Begin_Validate_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + P... [truncated message content] |
From: <kti...@us...> - 2014-03-24 11:27:52
|
Revision: 6541 http://sourceforge.net/p/mingw-w64/code/6541 Author: ktietz70 Date: 2014-03-24 11:27:45 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add NAP's management-interfaces Added Paths: ----------- trunk/mingw-w64-headers/include/napmanagement.h trunk/mingw-w64-headers/include/napmanagement.idl trunk/mingw-w64-headers/include/napservermanagement.h trunk/mingw-w64-headers/include/napservermanagement.idl Added: trunk/mingw-w64-headers/include/napmanagement.h =================================================================== --- trunk/mingw-w64-headers/include/napmanagement.h (rev 0) +++ trunk/mingw-w64-headers/include/napmanagement.h 2014-03-24 11:27:45 UTC (rev 6541) @@ -0,0 +1,448 @@ +/*** Autogenerated by WIDL 1.6 from napmanagement.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __napmanagement_h__ +#define __napmanagement_h__ + +/* Forward declarations */ + +#ifndef __INapClientManagement_FWD_DEFINED__ +#define __INapClientManagement_FWD_DEFINED__ +typedef interface INapClientManagement INapClientManagement; +#endif + +#ifndef __INapClientManagement2_FWD_DEFINED__ +#define __INapClientManagement2_FWD_DEFINED__ +typedef interface INapClientManagement2 INapClientManagement2; +#endif + +/* Headers for imported files */ + +#include <naptypes.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +EXTERN_C const CLSID CLSID_NapClientManagement; +/***************************************************************************** + * INapClientManagement interface + */ +#ifndef __INapClientManagement_INTERFACE_DEFINED__ +#define __INapClientManagement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapClientManagement, 0x432a1da5, 0x3888, 0x4b9a, 0xa7,0x34, 0xcf,0xf1,0xe4,0x48,0xc5,0xb9); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("432a1da5-3888-4b9a-a734-cff1e448c5b9") +INapClientManagement : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNapClientInfo( + WINBOOL *isNapEnabled, + CountedString **clientName, + CountedString **clientDescription, + CountedString **protocolVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfo( + IsolationInfo **isolationInfo, + WINBOOL *unknownConnections) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterSystemHealthAgent( + const NapComponentRegistrationInfo *agent) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterSystemHealthAgent( + SystemHealthEntityId id) = 0; + + virtual HRESULT STDMETHODCALLTYPE RegisterEnforcementClient( + const NapComponentRegistrationInfo *enforcer) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterEnforcementClient( + EnforcementEntityId id) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegisteredSystemHealthAgents( + SystemHealthEntityCount *count, + NapComponentRegistrationInfo **agents) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegisteredEnforcementClients( + EnforcementEntityCount *count, + NapComponentRegistrationInfo **enforcers) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapClientManagement, 0x432a1da5, 0x3888, 0x4b9a, 0xa7,0x34, 0xcf,0xf1,0xe4,0x48,0xc5,0xb9) +#endif +#else +typedef struct INapClientManagementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapClientManagement* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapClientManagement* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapClientManagement* This); + + /*** INapClientManagement methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNapClientInfo)( + INapClientManagement* This, + WINBOOL *isNapEnabled, + CountedString **clientName, + CountedString **clientDescription, + CountedString **protocolVersion); + + HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfo)( + INapClientManagement* This, + IsolationInfo **isolationInfo, + WINBOOL *unknownConnections); + + HRESULT (STDMETHODCALLTYPE *RegisterSystemHealthAgent)( + INapClientManagement* This, + const NapComponentRegistrationInfo *agent); + + HRESULT (STDMETHODCALLTYPE *UnregisterSystemHealthAgent)( + INapClientManagement* This, + SystemHealthEntityId id); + + HRESULT (STDMETHODCALLTYPE *RegisterEnforcementClient)( + INapClientManagement* This, + const NapComponentRegistrationInfo *enforcer); + + HRESULT (STDMETHODCALLTYPE *UnregisterEnforcementClient)( + INapClientManagement* This, + EnforcementEntityId id); + + HRESULT (STDMETHODCALLTYPE *GetRegisteredSystemHealthAgents)( + INapClientManagement* This, + SystemHealthEntityCount *count, + NapComponentRegistrationInfo **agents); + + HRESULT (STDMETHODCALLTYPE *GetRegisteredEnforcementClients)( + INapClientManagement* This, + EnforcementEntityCount *count, + NapComponentRegistrationInfo **enforcers); + + END_INTERFACE +} INapClientManagementVtbl; +interface INapClientManagement { + CONST_VTBL INapClientManagementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapClientManagement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapClientManagement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapClientManagement_Release(This) (This)->lpVtbl->Release(This) +/*** INapClientManagement methods ***/ +#define INapClientManagement_GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion) (This)->lpVtbl->GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion) +#define INapClientManagement_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections) +#define INapClientManagement_RegisterSystemHealthAgent(This,agent) (This)->lpVtbl->RegisterSystemHealthAgent(This,agent) +#define INapClientManagement_UnregisterSystemHealthAgent(This,id) (This)->lpVtbl->UnregisterSystemHealthAgent(This,id) +#define INapClientManagement_RegisterEnforcementClient(This,enforcer) (This)->lpVtbl->RegisterEnforcementClient(This,enforcer) +#define INapClientManagement_UnregisterEnforcementClient(This,id) (This)->lpVtbl->UnregisterEnforcementClient(This,id) +#define INapClientManagement_GetRegisteredSystemHealthAgents(This,count,agents) (This)->lpVtbl->GetRegisteredSystemHealthAgents(This,count,agents) +#define INapClientManagement_GetRegisteredEnforcementClients(This,count,enforcers) (This)->lpVtbl->GetRegisteredEnforcementClients(This,count,enforcers) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapClientManagement_QueryInterface(INapClientManagement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapClientManagement_AddRef(INapClientManagement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapClientManagement_Release(INapClientManagement* This) { + return This->lpVtbl->Release(This); +} +/*** INapClientManagement methods ***/ +static FORCEINLINE HRESULT INapClientManagement_GetNapClientInfo(INapClientManagement* This,WINBOOL *isNapEnabled,CountedString **clientName,CountedString **clientDescription,CountedString **protocolVersion) { + return This->lpVtbl->GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion); +} +static FORCEINLINE HRESULT INapClientManagement_GetSystemIsolationInfo(INapClientManagement* This,IsolationInfo **isolationInfo,WINBOOL *unknownConnections) { + return This->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections); +} +static FORCEINLINE HRESULT INapClientManagement_RegisterSystemHealthAgent(INapClientManagement* This,const NapComponentRegistrationInfo *agent) { + return This->lpVtbl->RegisterSystemHealthAgent(This,agent); +} +static FORCEINLINE HRESULT INapClientManagement_UnregisterSystemHealthAgent(INapClientManagement* This,SystemHealthEntityId id) { + return This->lpVtbl->UnregisterSystemHealthAgent(This,id); +} +static FORCEINLINE HRESULT INapClientManagement_RegisterEnforcementClient(INapClientManagement* This,const NapComponentRegistrationInfo *enforcer) { + return This->lpVtbl->RegisterEnforcementClient(This,enforcer); +} +static FORCEINLINE HRESULT INapClientManagement_UnregisterEnforcementClient(INapClientManagement* This,EnforcementEntityId id) { + return This->lpVtbl->UnregisterEnforcementClient(This,id); +} +static FORCEINLINE HRESULT INapClientManagement_GetRegisteredSystemHealthAgents(INapClientManagement* This,SystemHealthEntityCount *count,NapComponentRegistrationInfo **agents) { + return This->lpVtbl->GetRegisteredSystemHealthAgents(This,count,agents); +} +static FORCEINLINE HRESULT INapClientManagement_GetRegisteredEnforcementClients(INapClientManagement* This,EnforcementEntityCount *count,NapComponentRegistrationInfo **enforcers) { + return This->lpVtbl->GetRegisteredEnforcementClients(This,count,enforcers); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapClientManagement_GetNapClientInfo_Proxy( + INapClientManagement* This, + WINBOOL *isNapEnabled, + CountedString **clientName, + CountedString **clientDescription, + CountedString **protocolVersion); +void __RPC_STUB INapClientManagement_GetNapClientInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapClientManagement_GetSystemIsolationInfo_Proxy( + INapClientManagement* This, + IsolationInfo **isolationInfo, + WINBOOL *unknownConnections); +void __RPC_STUB INapClientManagement_GetSystemIsolationInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapClientManagement_RegisterSystemHealthAgent_Proxy( + INapClientManagement* This, + const NapComponentRegistrationInfo *agent); +void __RPC_STUB INapClientManagement_RegisterSystemHealthAgent_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapClientManagement_UnregisterSystemHealthAgent_Proxy( + INapClientManagement* This, + SystemHealthEntityId id); +void __RPC_STUB INapClientManagement_UnregisterSystemHealthAgent_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapClientManagement_RegisterEnforcementClient_Proxy( + INapClientManagement* This, + const NapComponentRegistrationInfo *enforcer); +void __RPC_STUB INapClientManagement_RegisterEnforcementClient_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapClientManagement_UnregisterEnforcementClient_Proxy( + INapClientManagement* This, + EnforcementEntityId id); +void __RPC_STUB INapClientManagement_UnregisterEnforcementClient_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapClientManagement_GetRegisteredSystemHealthAgents_Proxy( + INapClientManagement* This, + SystemHealthEntityCount *count, + NapComponentRegistrationInfo **agents); +void __RPC_STUB INapClientManagement_GetRegisteredSystemHealthAgents_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapClientManagement_GetRegisteredEnforcementClients_Proxy( + INapClientManagement* This, + EnforcementEntityCount *count, + NapComponentRegistrationInfo **enforcers); +void __RPC_STUB INapClientManagement_GetRegisteredEnforcementClients_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapClientManagement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapClientManagement2 interface + */ +#ifndef __INapClientManagement2_INTERFACE_DEFINED__ +#define __INapClientManagement2_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapClientManagement2, 0x07a1127b, 0x18cc, 0x422a, 0xb9,0x88, 0xe8,0x92,0x60,0x0f,0xcc,0x74); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("07a1127b-18cc-422a-b988-e892600fcc74") +INapClientManagement2 : public INapClientManagement +{ + virtual HRESULT STDMETHODCALLTYPE GetSystemIsolationInfoEx( + IsolationInfoEx **isolationInfo, + WINBOOL *unknownConnections) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapClientManagement2, 0x07a1127b, 0x18cc, 0x422a, 0xb9,0x88, 0xe8,0x92,0x60,0x0f,0xcc,0x74) +#endif +#else +typedef struct INapClientManagement2Vtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapClientManagement2* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapClientManagement2* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapClientManagement2* This); + + /*** INapClientManagement methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNapClientInfo)( + INapClientManagement2* This, + WINBOOL *isNapEnabled, + CountedString **clientName, + CountedString **clientDescription, + CountedString **protocolVersion); + + HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfo)( + INapClientManagement2* This, + IsolationInfo **isolationInfo, + WINBOOL *unknownConnections); + + HRESULT (STDMETHODCALLTYPE *RegisterSystemHealthAgent)( + INapClientManagement2* This, + const NapComponentRegistrationInfo *agent); + + HRESULT (STDMETHODCALLTYPE *UnregisterSystemHealthAgent)( + INapClientManagement2* This, + SystemHealthEntityId id); + + HRESULT (STDMETHODCALLTYPE *RegisterEnforcementClient)( + INapClientManagement2* This, + const NapComponentRegistrationInfo *enforcer); + + HRESULT (STDMETHODCALLTYPE *UnregisterEnforcementClient)( + INapClientManagement2* This, + EnforcementEntityId id); + + HRESULT (STDMETHODCALLTYPE *GetRegisteredSystemHealthAgents)( + INapClientManagement2* This, + SystemHealthEntityCount *count, + NapComponentRegistrationInfo **agents); + + HRESULT (STDMETHODCALLTYPE *GetRegisteredEnforcementClients)( + INapClientManagement2* This, + EnforcementEntityCount *count, + NapComponentRegistrationInfo **enforcers); + + /*** INapClientManagement2 methods ***/ + HRESULT (STDMETHODCALLTYPE *GetSystemIsolationInfoEx)( + INapClientManagement2* This, + IsolationInfoEx **isolationInfo, + WINBOOL *unknownConnections); + + END_INTERFACE +} INapClientManagement2Vtbl; +interface INapClientManagement2 { + CONST_VTBL INapClientManagement2Vtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapClientManagement2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapClientManagement2_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapClientManagement2_Release(This) (This)->lpVtbl->Release(This) +/*** INapClientManagement methods ***/ +#define INapClientManagement2_GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion) (This)->lpVtbl->GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion) +#define INapClientManagement2_GetSystemIsolationInfo(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections) +#define INapClientManagement2_RegisterSystemHealthAgent(This,agent) (This)->lpVtbl->RegisterSystemHealthAgent(This,agent) +#define INapClientManagement2_UnregisterSystemHealthAgent(This,id) (This)->lpVtbl->UnregisterSystemHealthAgent(This,id) +#define INapClientManagement2_RegisterEnforcementClient(This,enforcer) (This)->lpVtbl->RegisterEnforcementClient(This,enforcer) +#define INapClientManagement2_UnregisterEnforcementClient(This,id) (This)->lpVtbl->UnregisterEnforcementClient(This,id) +#define INapClientManagement2_GetRegisteredSystemHealthAgents(This,count,agents) (This)->lpVtbl->GetRegisteredSystemHealthAgents(This,count,agents) +#define INapClientManagement2_GetRegisteredEnforcementClients(This,count,enforcers) (This)->lpVtbl->GetRegisteredEnforcementClients(This,count,enforcers) +/*** INapClientManagement2 methods ***/ +#define INapClientManagement2_GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections) (This)->lpVtbl->GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapClientManagement2_QueryInterface(INapClientManagement2* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapClientManagement2_AddRef(INapClientManagement2* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapClientManagement2_Release(INapClientManagement2* This) { + return This->lpVtbl->Release(This); +} +/*** INapClientManagement methods ***/ +static FORCEINLINE HRESULT INapClientManagement2_GetNapClientInfo(INapClientManagement2* This,WINBOOL *isNapEnabled,CountedString **clientName,CountedString **clientDescription,CountedString **protocolVersion) { + return This->lpVtbl->GetNapClientInfo(This,isNapEnabled,clientName,clientDescription,protocolVersion); +} +static FORCEINLINE HRESULT INapClientManagement2_GetSystemIsolationInfo(INapClientManagement2* This,IsolationInfo **isolationInfo,WINBOOL *unknownConnections) { + return This->lpVtbl->GetSystemIsolationInfo(This,isolationInfo,unknownConnections); +} +static FORCEINLINE HRESULT INapClientManagement2_RegisterSystemHealthAgent(INapClientManagement2* This,const NapComponentRegistrationInfo *agent) { + return This->lpVtbl->RegisterSystemHealthAgent(This,agent); +} +static FORCEINLINE HRESULT INapClientManagement2_UnregisterSystemHealthAgent(INapClientManagement2* This,SystemHealthEntityId id) { + return This->lpVtbl->UnregisterSystemHealthAgent(This,id); +} +static FORCEINLINE HRESULT INapClientManagement2_RegisterEnforcementClient(INapClientManagement2* This,const NapComponentRegistrationInfo *enforcer) { + return This->lpVtbl->RegisterEnforcementClient(This,enforcer); +} +static FORCEINLINE HRESULT INapClientManagement2_UnregisterEnforcementClient(INapClientManagement2* This,EnforcementEntityId id) { + return This->lpVtbl->UnregisterEnforcementClient(This,id); +} +static FORCEINLINE HRESULT INapClientManagement2_GetRegisteredSystemHealthAgents(INapClientManagement2* This,SystemHealthEntityCount *count,NapComponentRegistrationInfo **agents) { + return This->lpVtbl->GetRegisteredSystemHealthAgents(This,count,agents); +} +static FORCEINLINE HRESULT INapClientManagement2_GetRegisteredEnforcementClients(INapClientManagement2* This,EnforcementEntityCount *count,NapComponentRegistrationInfo **enforcers) { + return This->lpVtbl->GetRegisteredEnforcementClients(This,count,enforcers); +} +/*** INapClientManagement2 methods ***/ +static FORCEINLINE HRESULT INapClientManagement2_GetSystemIsolationInfoEx(INapClientManagement2* This,IsolationInfoEx **isolationInfo,WINBOOL *unknownConnections) { + return This->lpVtbl->GetSystemIsolationInfoEx(This,isolationInfo,unknownConnections); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapClientManagement2_GetSystemIsolationInfoEx_Proxy( + INapClientManagement2* This, + IsolationInfoEx **isolationInfo, + WINBOOL *unknownConnections); +void __RPC_STUB INapClientManagement2_GetSystemIsolationInfoEx_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapClientManagement2_INTERFACE_DEFINED__ */ + +#endif +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __napmanagement_h__ */ Property changes on: trunk/mingw-w64-headers/include/napmanagement.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/mingw-w64-headers/include/napmanagement.idl =================================================================== --- trunk/mingw-w64-headers/include/napmanagement.idl (rev 0) +++ trunk/mingw-w64-headers/include/napmanagement.idl 2014-03-24 11:27:45 UTC (rev 6541) @@ -0,0 +1,31 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +import "naptypes.idl"; +import "unknwn.idl"; + +cpp_quote("#include <winapifamily.h>") +cpp_quote("") +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +cpp_quote("EXTERN_C const CLSID CLSID_NapClientManagement;") + +[object, uuid (432a1da5-3888-4b9a-a734-cff1e448c5b9), pointer_default (unique)] +interface INapClientManagement : IUnknown { + HRESULT GetNapClientInfo ([out] WINBOOL *isNapEnabled,[out] CountedString **clientName,[out] CountedString **clientDescription,[out] CountedString **protocolVersion); + HRESULT GetSystemIsolationInfo ([out] IsolationInfo **isolationInfo,[out] WINBOOL *unknownConnections); + HRESULT RegisterSystemHealthAgent ([in] const NapComponentRegistrationInfo *agent); + HRESULT UnregisterSystemHealthAgent ([in] SystemHealthEntityId id); + HRESULT RegisterEnforcementClient ([in] const NapComponentRegistrationInfo *enforcer); + HRESULT UnregisterEnforcementClient ([in] EnforcementEntityId id); + HRESULT GetRegisteredSystemHealthAgents ([out] SystemHealthEntityCount *count,[out, size_is (,*count)] NapComponentRegistrationInfo **agents); + HRESULT GetRegisteredEnforcementClients ([out] EnforcementEntityCount *count,[out, size_is (,*count)] NapComponentRegistrationInfo **enforcers); +}; + +[object, uuid (07a1127b-18cc-422a-b988-e892600fcc74), pointer_default (unique)] +interface INapClientManagement2 : INapClientManagement { + HRESULT GetSystemIsolationInfoEx ([out] IsolationInfoEx **isolationInfo,[out] WINBOOL *unknownConnections); +}; +cpp_quote("#endif") Property changes on: trunk/mingw-w64-headers/include/napmanagement.idl ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/mingw-w64-headers/include/napservermanagement.h =================================================================== --- trunk/mingw-w64-headers/include/napservermanagement.h (rev 0) +++ trunk/mingw-w64-headers/include/napservermanagement.h 2014-03-24 11:27:45 UTC (rev 6541) @@ -0,0 +1,329 @@ +/*** Autogenerated by WIDL 1.6 from napservermanagement.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __napservermanagement_h__ +#define __napservermanagement_h__ + +/* Forward declarations */ + +#ifndef __INapServerManagement_FWD_DEFINED__ +#define __INapServerManagement_FWD_DEFINED__ +typedef interface INapServerManagement INapServerManagement; +#endif + +#ifndef __INapServerInfo_FWD_DEFINED__ +#define __INapServerInfo_FWD_DEFINED__ +typedef interface INapServerInfo INapServerInfo; +#endif + +/* Headers for imported files */ + +#include <naptypes.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#ifndef __INapServerInfo_FWD_DEFINED__ +#define __INapServerInfo_FWD_DEFINED__ +typedef interface INapServerInfo INapServerInfo; +#endif + +#ifndef __INapServerManagement_FWD_DEFINED__ +#define __INapServerManagement_FWD_DEFINED__ +typedef interface INapServerManagement INapServerManagement; +#endif + +EXTERN_C const CLSID CLSID_NapServerManagement; +EXTERN_C const CLSID CLSID_NapServerInfo; +/***************************************************************************** + * INapServerManagement interface + */ +#ifndef __INapServerManagement_INTERFACE_DEFINED__ +#define __INapServerManagement_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapServerManagement, 0x9de543e7, 0x0f23, 0x47e0, 0xa8,0xbc, 0x97,0x1a,0x89,0x4f,0x86,0xd4); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("9de543e7-0f23-47e0-a8bc-971a894f86d4") +INapServerManagement : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE RegisterSystemHealthValidator( + const NapComponentRegistrationInfo *validator, + const CLSID *validatorClsid) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnregisterSystemHealthValidator( + SystemHealthEntityId id) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFailureCategoryMappings( + SystemHealthEntityId id, + const FailureCategoryMapping mapping) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapServerManagement, 0x9de543e7, 0x0f23, 0x47e0, 0xa8,0xbc, 0x97,0x1a,0x89,0x4f,0x86,0xd4) +#endif +#else +typedef struct INapServerManagementVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapServerManagement* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapServerManagement* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapServerManagement* This); + + /*** INapServerManagement methods ***/ + HRESULT (STDMETHODCALLTYPE *RegisterSystemHealthValidator)( + INapServerManagement* This, + const NapComponentRegistrationInfo *validator, + const CLSID *validatorClsid); + + HRESULT (STDMETHODCALLTYPE *UnregisterSystemHealthValidator)( + INapServerManagement* This, + SystemHealthEntityId id); + + HRESULT (STDMETHODCALLTYPE *SetFailureCategoryMappings)( + INapServerManagement* This, + SystemHealthEntityId id, + const FailureCategoryMapping mapping); + + END_INTERFACE +} INapServerManagementVtbl; +interface INapServerManagement { + CONST_VTBL INapServerManagementVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapServerManagement_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapServerManagement_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapServerManagement_Release(This) (This)->lpVtbl->Release(This) +/*** INapServerManagement methods ***/ +#define INapServerManagement_RegisterSystemHealthValidator(This,validator,validatorClsid) (This)->lpVtbl->RegisterSystemHealthValidator(This,validator,validatorClsid) +#define INapServerManagement_UnregisterSystemHealthValidator(This,id) (This)->lpVtbl->UnregisterSystemHealthValidator(This,id) +#define INapServerManagement_SetFailureCategoryMappings(This,id,mapping) (This)->lpVtbl->SetFailureCategoryMappings(This,id,mapping) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapServerManagement_QueryInterface(INapServerManagement* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapServerManagement_AddRef(INapServerManagement* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapServerManagement_Release(INapServerManagement* This) { + return This->lpVtbl->Release(This); +} +/*** INapServerManagement methods ***/ +static FORCEINLINE HRESULT INapServerManagement_RegisterSystemHealthValidator(INapServerManagement* This,const NapComponentRegistrationInfo *validator,const CLSID *validatorClsid) { + return This->lpVtbl->RegisterSystemHealthValidator(This,validator,validatorClsid); +} +static FORCEINLINE HRESULT INapServerManagement_UnregisterSystemHealthValidator(INapServerManagement* This,SystemHealthEntityId id) { + return This->lpVtbl->UnregisterSystemHealthValidator(This,id); +} +static FORCEINLINE HRESULT INapServerManagement_SetFailureCategoryMappings(INapServerManagement* This,SystemHealthEntityId id,const FailureCategoryMapping mapping) { + return This->lpVtbl->SetFailureCategoryMappings(This,id,mapping); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapServerManagement_RegisterSystemHealthValidator_Proxy( + INapServerManagement* This, + const NapComponentRegistrationInfo *validator, + const CLSID *validatorClsid); +void __RPC_STUB INapServerManagement_RegisterSystemHealthValidator_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapServerManagement_UnregisterSystemHealthValidator_Proxy( + INapServerManagement* This, + SystemHealthEntityId id); +void __RPC_STUB INapServerManagement_UnregisterSystemHealthValidator_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapServerManagement_SetFailureCategoryMappings_Proxy( + INapServerManagement* This, + SystemHealthEntityId id, + const FailureCategoryMapping mapping); +void __RPC_STUB INapServerManagement_SetFailureCategoryMappings_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapServerManagement_INTERFACE_DEFINED__ */ + +/***************************************************************************** + * INapServerInfo interface + */ +#ifndef __INapServerInfo_INTERFACE_DEFINED__ +#define __INapServerInfo_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapServerInfo, 0x599f9021, 0x5643, 0x4965, 0x99,0x49, 0xe8,0x89,0x75,0xef,0xff,0x0e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("599f9021-5643-4965-9949-e88975efff0e") +INapServerInfo : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetNapServerInfo( + CountedString **serverName, + CountedString **serverDescription, + CountedString **protocolVersion) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRegisteredSystemHealthValidators( + SystemHealthEntityCount *count, + NapComponentRegistrationInfo **validators, + CLSID **validatorClsids) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFailureCategoryMappings( + SystemHealthEntityId id, + FailureCategoryMapping *mapping) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapServerInfo, 0x599f9021, 0x5643, 0x4965, 0x99,0x49, 0xe8,0x89,0x75,0xef,0xff,0x0e) +#endif +#else +typedef struct INapServerInfoVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapServerInfo* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapServerInfo* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapServerInfo* This); + + /*** INapServerInfo methods ***/ + HRESULT (STDMETHODCALLTYPE *GetNapServerInfo)( + INapServerInfo* This, + CountedString **serverName, + CountedString **serverDescription, + CountedString **protocolVersion); + + HRESULT (STDMETHODCALLTYPE *GetRegisteredSystemHealthValidators)( + INapServerInfo* This, + SystemHealthEntityCount *count, + NapComponentRegistrationInfo **validators, + CLSID **validatorClsids); + + HRESULT (STDMETHODCALLTYPE *GetFailureCategoryMappings)( + INapServerInfo* This, + SystemHealthEntityId id, + FailureCategoryMapping *mapping); + + END_INTERFACE +} INapServerInfoVtbl; +interface INapServerInfo { + CONST_VTBL INapServerInfoVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapServerInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapServerInfo_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapServerInfo_Release(This) (This)->lpVtbl->Release(This) +/*** INapServerInfo methods ***/ +#define INapServerInfo_GetNapServerInfo(This,serverName,serverDescription,protocolVersion) (This)->lpVtbl->GetNapServerInfo(This,serverName,serverDescription,protocolVersion) +#define INapServerInfo_GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids) (This)->lpVtbl->GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids) +#define INapServerInfo_GetFailureCategoryMappings(This,id,mapping) (This)->lpVtbl->GetFailureCategoryMappings(This,id,mapping) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapServerInfo_QueryInterface(INapServerInfo* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapServerInfo_AddRef(INapServerInfo* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapServerInfo_Release(INapServerInfo* This) { + return This->lpVtbl->Release(This); +} +/*** INapServerInfo methods ***/ +static FORCEINLINE HRESULT INapServerInfo_GetNapServerInfo(INapServerInfo* This,CountedString **serverName,CountedString **serverDescription,CountedString **protocolVersion) { + return This->lpVtbl->GetNapServerInfo(This,serverName,serverDescription,protocolVersion); +} +static FORCEINLINE HRESULT INapServerInfo_GetRegisteredSystemHealthValidators(INapServerInfo* This,SystemHealthEntityCount *count,NapComponentRegistrationInfo **validators,CLSID **validatorClsids) { + return This->lpVtbl->GetRegisteredSystemHealthValidators(This,count,validators,validatorClsids); +} +static FORCEINLINE HRESULT INapServerInfo_GetFailureCategoryMappings(INapServerInfo* This,SystemHealthEntityId id,FailureCategoryMapping *mapping) { + return This->lpVtbl->GetFailureCategoryMappings(This,id,mapping); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapServerInfo_GetNapServerInfo_Proxy( + INapServerInfo* This, + CountedString **serverName, + CountedString **serverDescription, + CountedString **protocolVersion); +void __RPC_STUB INapServerInfo_GetNapServerInfo_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapServerInfo_GetRegisteredSystemHealthValidators_Proxy( + INapServerInfo* This, + SystemHealthEntityCount *count, + NapComponentRegistrationInfo **validators, + CLSID **validatorClsids); +void __RPC_STUB INapServerInfo_GetRegisteredSystemHealthValidators_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapServerInfo_GetFailureCategoryMappings_Proxy( + INapServerInfo* This, + SystemHealthEntityId id, + FailureCategoryMapping *mapping); +void __RPC_STUB INapServerInfo_GetFailureCategoryMappings_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapServerInfo_INTERFACE_DEFINED__ */ + +#endif +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __napservermanagement_h__ */ Property changes on: trunk/mingw-w64-headers/include/napservermanagement.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/mingw-w64-headers/include/napservermanagement.idl =================================================================== --- trunk/mingw-w64-headers/include/napservermanagement.idl (rev 0) +++ trunk/mingw-w64-headers/include/napservermanagement.idl 2014-03-24 11:27:45 UTC (rev 6541) @@ -0,0 +1,32 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +import "naptypes.idl"; +import "unknwn.idl"; + +cpp_quote("#include <winapifamily.h>") +cpp_quote("") +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +interface INapServerInfo; +interface INapServerManagement; + +cpp_quote("EXTERN_C const CLSID CLSID_NapServerManagement;") +cpp_quote("EXTERN_C const CLSID CLSID_NapServerInfo;") + +[object, uuid (9de543e7-0f23-47e0-a8bc-971a894f86d4), pointer_default (unique)] +interface INapServerManagement : IUnknown { + HRESULT RegisterSystemHealthValidator ([in] const NapComponentRegistrationInfo *validator,[in] const CLSID *validatorClsid); + HRESULT UnregisterSystemHealthValidator ([in] SystemHealthEntityId id); + HRESULT SetFailureCategoryMappings ([in] SystemHealthEntityId id,[in] const FailureCategoryMapping mapping); +}; + +[object, uuid (599f9021-5643-4965-9949-e88975efff0e), pointer_default (unique)] +interface INapServerInfo : IUnknown { + HRESULT GetNapServerInfo ([out] CountedString **serverName,[out] CountedString **serverDescription,[out] CountedString **protocolVersion); + HRESULT GetRegisteredSystemHealthValidators ([out] SystemHealthEntityCount *count,[out, size_is (,*count)] NapComponentRegistrationInfo **validators,[out, size_is (,*count)] CLSID **validatorClsids); + HRESULT GetFailureCategoryMappings ([in] SystemHealthEntityId id,[out] FailureCategoryMapping *mapping); +}; +cpp_quote("#endif") Property changes on: trunk/mingw-w64-headers/include/napservermanagement.idl ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-24 11:27:05
|
Revision: 6540 http://sourceforge.net/p/mingw-w64/code/6540 Author: ktietz70 Date: 2014-03-24 11:26:59 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add NAP's common interfaces and type-definitions Added Paths: ----------- trunk/mingw-w64-headers/include/napcommon.idl Added: trunk/mingw-w64-headers/include/napcommon.idl =================================================================== --- trunk/mingw-w64-headers/include/napcommon.idl (rev 0) +++ trunk/mingw-w64-headers/include/napcommon.idl 2014-03-24 11:26:59 UTC (rev 6540) @@ -0,0 +1,47 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +import "naptypes.idl"; +import "unknwn.idl"; + +cpp_quote("#include <winapifamily.h>") +cpp_quote("") +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +[object, uuid (a9e0af1a-3713-478e-ae03-8edd272d21fa), pointer_default (unique)] +interface INapComponentConfig : IUnknown { + HRESULT IsUISupported ([out] BOOL *isSupported); + HRESULT InvokeUI ([in, unique] HWND hwndParent); + HRESULT GetConfig ([out] UINT16 *bCount,[out, size_is (,*bCount)] BYTE **data); + HRESULT SetConfig ([in] UINT16 bCount,[in, size_is (bCount)] BYTE *data); +}; + +[object, uuid (b475f925-e3f7-414c-8c72-1cee64b9d8f6), pointer_default (unique)] +interface INapComponentInfo : IUnknown { + HRESULT GetFriendlyName ([out] MessageId *friendlyName); + HRESULT GetDescription ([out] MessageId *description); + HRESULT GetVendorName ([out] MessageId *vendorName); + HRESULT GetVersion ([out] MessageId *version); + HRESULT GetIcon ([out] CountedString **dllFilePath,[out] UINT32 *iconResourceId); + HRESULT ConvertErrorCodeToMessageId ([in] HRESULT errorCode,[out] MessageId *msgId); + HRESULT GetLocalizedString ([in] MessageId msgId,[out] CountedString **string); +}; + +[object, uuid (47cbdb9e-1972-4f5e-bd3c-5eb6230614b5), pointer_default (unique)] +interface INapComponentConfig2 : INapComponentConfig { + HRESULT IsRemoteConfigSupported ([out] BOOL *isSupported,[out] UINT8 *remoteConfigType); + HRESULT InvokeUIForMachine ([in, unique] HWND hwndParent,[in, unique] CountedString *machineName); + HRESULT InvokeUIFromConfigBlob ([in, unique] HWND hwndParent,[in] UINT16 inbCount,[in, size_is (inbCount)] BYTE *inData,[out] UINT16 *outbCount,[out, size_is (,*outbCount)] BYTE **outdata,[out] BOOL *fConfigChanged); +}; + +[object, uuid (9c4a8101-8cfe-4332-876e-C4A49D1D3F77), pointer_default (unique)] +interface INapComponentConfig3 : INapComponentConfig2 { + HRESULT NewConfig (UINT32 configID); + HRESULT DeleteConfig (UINT32 configID); + HRESULT DeleteAllConfig (); + HRESULT GetConfigFromID ([in] UINT32 configID,[out] UINT16 *count,[out, size_is (,*count)]BYTE **outdata); + HRESULT SetConfigToID ([in] UINT32 configID,[in] UINT16 count,[in, size_is (count)]BYTE *data); +}; +cpp_quote("#endif") Property changes on: trunk/mingw-w64-headers/include/napcommon.idl ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kti...@us...> - 2014-03-24 11:26:21
|
Revision: 6539 http://sourceforge.net/p/mingw-w64/code/6539 Author: ktietz70 Date: 2014-03-24 11:26:14 +0000 (Mon, 24 Mar 2014) Log Message: ----------- Add NAP's CertRelyingParty interfaces Added Paths: ----------- trunk/mingw-w64-headers/include/napcertrelyingparty.h trunk/mingw-w64-headers/include/napcertrelyingparty.idl Added: trunk/mingw-w64-headers/include/napcertrelyingparty.h =================================================================== --- trunk/mingw-w64-headers/include/napcertrelyingparty.h (rev 0) +++ trunk/mingw-w64-headers/include/napcertrelyingparty.h 2014-03-24 11:26:14 UTC (rev 6539) @@ -0,0 +1,199 @@ +/*** Autogenerated by WIDL 1.6 from napcertrelyingparty.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __napcertrelyingparty_h__ +#define __napcertrelyingparty_h__ + +/* Forward declarations */ + +#ifndef __INapCertRelyingParty_FWD_DEFINED__ +#define __INapCertRelyingParty_FWD_DEFINED__ +typedef interface INapCertRelyingParty INapCertRelyingParty; +#endif + +/* Headers for imported files */ + +#include <naptypes.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#include <winapifamily.h> + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +#include <wincrypt.h> + +__MINGW_ATTRIB_UNUSED static const UINT32 NapAfwZonePropId = CERT_FIRST_USER_PROP_ID; +__MINGW_ATTRIB_UNUSED static const UINT32 NapAfwProtectionLevelPropId = CERT_FIRST_USER_PROP_ID + 1; + +EXTERN_C const CLSID CLSID_NapCertRelyingParty; +/***************************************************************************** + * INapCertRelyingParty interface + */ +#ifndef __INapCertRelyingParty_INTERFACE_DEFINED__ +#define __INapCertRelyingParty_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_INapCertRelyingParty, 0x62c02ffc, 0x4c77, 0x4158, 0x87,0x54, 0x78,0x2d,0x5b,0x4e,0xe6,0x6e); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("62c02ffc-4c77-4158-8754-782d5b4ee66e") +INapCertRelyingParty : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE SubscribeCertByGroup( + EnforcementEntityId id, + const BSTR subscriberName, + const VARIANT *reserved, + WINBOOL *certExists) = 0; + + virtual HRESULT STDMETHODCALLTYPE UnSubscribeCertByGroup( + EnforcementEntityId id, + const VARIANT *reserved) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetSubscribedRelyingParties( + EnforcementEntityCount *count, + EnforcementEntityId **relyingParties) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(INapCertRelyingParty, 0x62c02ffc, 0x4c77, 0x4158, 0x87,0x54, 0x78,0x2d,0x5b,0x4e,0xe6,0x6e) +#endif +#else +typedef struct INapCertRelyingPartyVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + INapCertRelyingParty* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + INapCertRelyingParty* This); + + ULONG (STDMETHODCALLTYPE *Release)( + INapCertRelyingParty* This); + + /*** INapCertRelyingParty methods ***/ + HRESULT (STDMETHODCALLTYPE *SubscribeCertByGroup)( + INapCertRelyingParty* This, + EnforcementEntityId id, + const BSTR subscriberName, + const VARIANT *reserved, + WINBOOL *certExists); + + HRESULT (STDMETHODCALLTYPE *UnSubscribeCertByGroup)( + INapCertRelyingParty* This, + EnforcementEntityId id, + const VARIANT *reserved); + + HRESULT (STDMETHODCALLTYPE *GetSubscribedRelyingParties)( + INapCertRelyingParty* This, + EnforcementEntityCount *count, + EnforcementEntityId **relyingParties); + + END_INTERFACE +} INapCertRelyingPartyVtbl; +interface INapCertRelyingParty { + CONST_VTBL INapCertRelyingPartyVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define INapCertRelyingParty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define INapCertRelyingParty_AddRef(This) (This)->lpVtbl->AddRef(This) +#define INapCertRelyingParty_Release(This) (This)->lpVtbl->Release(This) +/*** INapCertRelyingParty methods ***/ +#define INapCertRelyingParty_SubscribeCertByGroup(This,id,subscriberName,reserved,certExists) (This)->lpVtbl->SubscribeCertByGroup(This,id,subscriberName,reserved,certExists) +#define INapCertRelyingParty_UnSubscribeCertByGroup(This,id,reserved) (This)->lpVtbl->UnSubscribeCertByGroup(This,id,reserved) +#define INapCertRelyingParty_GetSubscribedRelyingParties(This,count,relyingParties) (This)->lpVtbl->GetSubscribedRelyingParties(This,count,relyingParties) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT INapCertRelyingParty_QueryInterface(INapCertRelyingParty* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG INapCertRelyingParty_AddRef(INapCertRelyingParty* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG INapCertRelyingParty_Release(INapCertRelyingParty* This) { + return This->lpVtbl->Release(This); +} +/*** INapCertRelyingParty methods ***/ +static FORCEINLINE HRESULT INapCertRelyingParty_SubscribeCertByGroup(INapCertRelyingParty* This,EnforcementEntityId id,const BSTR subscriberName,const VARIANT *reserved,WINBOOL *certExists) { + return This->lpVtbl->SubscribeCertByGroup(This,id,subscriberName,reserved,certExists); +} +static FORCEINLINE HRESULT INapCertRelyingParty_UnSubscribeCertByGroup(INapCertRelyingParty* This,EnforcementEntityId id,const VARIANT *reserved) { + return This->lpVtbl->UnSubscribeCertByGroup(This,id,reserved); +} +static FORCEINLINE HRESULT INapCertRelyingParty_GetSubscribedRelyingParties(INapCertRelyingParty* This,EnforcementEntityCount *count,EnforcementEntityId **relyingParties) { + return This->lpVtbl->GetSubscribedRelyingParties(This,count,relyingParties); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE INapCertRelyingParty_SubscribeCertByGroup_Proxy( + INapCertRelyingParty* This, + EnforcementEntityId id, + const BSTR subscriberName, + const VARIANT *reserved, + WINBOOL *certExists); +void __RPC_STUB INapCertRelyingParty_SubscribeCertByGroup_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapCertRelyingParty_UnSubscribeCertByGroup_Proxy( + INapCertRelyingParty* This, + EnforcementEntityId id, + const VARIANT *reserved); +void __RPC_STUB INapCertRelyingParty_UnSubscribeCertByGroup_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE INapCertRelyingParty_GetSubscribedRelyingParties_Proxy( + INapCertRelyingParty* This, + EnforcementEntityCount *count, + EnforcementEntityId **relyingParties); +void __RPC_STUB INapCertRelyingParty_GetSubscribedRelyingParties_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __INapCertRelyingParty_INTERFACE_DEFINED__ */ + +#endif +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); +unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); +unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); +void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); +ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); +void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __napcertrelyingparty_h__ */ Property changes on: trunk/mingw-w64-headers/include/napcertrelyingparty.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/mingw-w64-headers/include/napcertrelyingparty.idl =================================================================== --- trunk/mingw-w64-headers/include/napcertrelyingparty.idl (rev 0) +++ trunk/mingw-w64-headers/include/napcertrelyingparty.idl 2014-03-24 11:26:14 UTC (rev 6539) @@ -0,0 +1,25 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +import "naptypes.idl"; +import "unknwn.idl"; + +cpp_quote("#include <winapifamily.h>") +cpp_quote("") +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") +cpp_quote("") +cpp_quote("#include <wincrypt.h>") +cpp_quote("") +cpp_quote("__MINGW_ATTRIB_UNUSED static const UINT32 NapAfwZonePropId = CERT_FIRST_USER_PROP_ID;") +cpp_quote("__MINGW_ATTRIB_UNUSED static const UINT32 NapAfwProtectionLevelPropId = CERT_FIRST_USER_PROP_ID + 1;") +cpp_quote("") +cpp_quote("EXTERN_C const CLSID CLSID_NapCertRelyingParty;") + +[object, uuid (62c02ffc-4c77-4158-8754-782d5b4ee66e), pointer_default (unique)] interface INapCertRelyingParty : IUnknown { + HRESULT SubscribeCertByGroup ([in] EnforcementEntityId id,[in] const BSTR subscriberName,[in, unique] const VARIANT *reserved,[out] WINBOOL *certExists); + HRESULT UnSubscribeCertByGroup ([in] EnforcementEntityId id,[in, unique] const VARIANT *reserved); + HRESULT GetSubscribedRelyingParties ([out] EnforcementEntityCount *count,[out, size_is (,*count)] EnforcementEntityId **relyingParties); +}; +cpp_quote("#endif") Property changes on: trunk/mingw-w64-headers/include/napcertrelyingparty.idl ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |