VirtualBox

Ignore:
Timestamp:
Apr 19, 2010 3:27:01 PM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: update to wine 1.1.43

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/dcetypes.idl

    r22496 r28475  
    1717 * License along with this library; if not, write to the Free Software
    1818 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    19  */
    20 
    21 /*
    22  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    23  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    24  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    25  * a choice of LGPL license versions is made available with the language indicating
    26  * that LGPLv2 or any later version may be used, or where a choice of which version
    27  * of the LGPL is applied is otherwise unspecified.
    2819 */
    2920
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/epm.idl

    r22496 r28475  
    1717 * License along with this library; if not, write to the Free Software
    1818 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    19  */
    20 
    21 /*
    22  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    23  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    24  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    25  * a choice of LGPL license versions is made available with the language indicating
    26  * that LGPLv2 or any later version may be used, or where a choice of which version
    27  * of the LGPL is applied is otherwise unspecified.
    2819 */
    2920
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/exception.h

    r21731 r28475  
    103103#define siglongjmp(buf,val) longjmp(buf,val)
    104104#endif
     105
     106extern void __wine_rtl_unwind( EXCEPTION_REGISTRATION_RECORD* frame, EXCEPTION_RECORD *record,
     107                               void (*target)(void) ) DECLSPEC_HIDDEN DECLSPEC_NORETURN;
     108extern DWORD __wine_exception_handler( EXCEPTION_RECORD *record,
     109                                       EXCEPTION_REGISTRATION_RECORD *frame,
     110                                       CONTEXT *context,
     111                                       EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
     112extern DWORD __wine_exception_handler_page_fault( EXCEPTION_RECORD *record,
     113                                                  EXCEPTION_REGISTRATION_RECORD *frame,
     114                                                  CONTEXT *context,
     115                                                  EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
     116extern DWORD __wine_exception_handler_all( EXCEPTION_RECORD *record,
     117                                           EXCEPTION_REGISTRATION_RECORD *frame,
     118                                           CONTEXT *context,
     119                                           EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
     120extern DWORD __wine_finally_handler( EXCEPTION_RECORD *record,
     121                                     EXCEPTION_REGISTRATION_RECORD *frame,
     122                                     CONTEXT *context,
     123                                     EXCEPTION_REGISTRATION_RECORD **pdispatcher ) DECLSPEC_HIDDEN;
    105124
    106125#define __TRY \
     
    256275extern void __wine_enter_vm86( CONTEXT *context );
    257276
    258 #ifndef USE_COMPILER_EXCEPTIONS
    259 
    260 NTSYSAPI void WINAPI RtlUnwind(PVOID,PVOID,PEXCEPTION_RECORD,PVOID);
    261 
    262 static inline void DECLSPEC_NORETURN __wine_unwind_target(void)
    263 {
    264     __WINE_FRAME *wine_frame = (__WINE_FRAME *)__wine_get_frame();
    265     __wine_pop_frame( &wine_frame->frame );
    266     siglongjmp( wine_frame->jmp, 1 );
    267 }
    268 
    269 /* wrapper for RtlUnwind since it clobbers registers on Windows */
    270 static inline void DECLSPEC_NORETURN __wine_rtl_unwind( EXCEPTION_REGISTRATION_RECORD* frame,
    271                                                         EXCEPTION_RECORD *record,
    272                                                         void (*target)(void) )
    273 {
    274 #if defined(__GNUC__) && defined(__i386__)
    275     int dummy1, dummy2, dummy3, dummy4;
    276     __asm__ __volatile__("pushl %%ebp\n\t"
    277                          "pushl %%ebx\n\t"
    278                          "pushl $0\n\t"
    279                          "pushl %3\n\t"
    280                          "pushl %2\n\t"
    281                          "pushl %1\n\t"
    282                          "call *%0\n\t"
    283                          "popl %%ebx\n\t"
    284                          "popl %%ebp"
    285                          : "=a" (dummy1), "=S" (dummy2), "=D" (dummy3), "=c" (dummy4)
    286                          : "0" (RtlUnwind), "1" (frame), "2" (target), "3" (record)
    287                          : "edx", "memory" );
    288 #else
    289     RtlUnwind( frame, target, record, 0 );
    290 #endif
    291     for (;;) target();
    292 }
    293 
    294 static inline void DECLSPEC_NORETURN __wine_unwind_frame( EXCEPTION_RECORD *record,
    295                                                           EXCEPTION_REGISTRATION_RECORD *frame )
    296 {
    297     __WINE_FRAME *wine_frame = (__WINE_FRAME *)frame;
    298 
    299     /* hack to make GetExceptionCode() work in handler */
    300     wine_frame->ExceptionCode   = record->ExceptionCode;
    301     wine_frame->ExceptionRecord = wine_frame;
    302 
    303     __wine_rtl_unwind( frame, record, __wine_unwind_target );
    304 }
    305 
    306 static inline DWORD __wine_exception_handler( EXCEPTION_RECORD *record,
    307                                               EXCEPTION_REGISTRATION_RECORD *frame,
    308                                               CONTEXT *context,
    309                                               EXCEPTION_REGISTRATION_RECORD **pdispatcher )
    310 {
    311     __WINE_FRAME *wine_frame = (__WINE_FRAME *)frame;
    312     EXCEPTION_POINTERS ptrs;
    313 
    314     if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND | EH_NESTED_CALL))
    315         return ExceptionContinueSearch;
    316 
    317     ptrs.ExceptionRecord = record;
    318     ptrs.ContextRecord = context;
    319     switch(wine_frame->u.filter( &ptrs ))
    320     {
    321     case EXCEPTION_CONTINUE_SEARCH:
    322         return ExceptionContinueSearch;
    323     case EXCEPTION_CONTINUE_EXECUTION:
    324         return ExceptionContinueExecution;
    325     case EXCEPTION_EXECUTE_HANDLER:
    326         break;
    327     }
    328     __wine_unwind_frame( record, frame );
    329 }
    330 
    331 static inline DWORD __wine_exception_handler_page_fault( EXCEPTION_RECORD *record,
    332                                                          EXCEPTION_REGISTRATION_RECORD *frame,
    333                                                          CONTEXT *context,
    334                                                          EXCEPTION_REGISTRATION_RECORD **pdispatcher )
    335 {
    336     if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND | EH_NESTED_CALL))
    337         return ExceptionContinueSearch;
    338     if (record->ExceptionCode != STATUS_ACCESS_VIOLATION)
    339         return ExceptionContinueSearch;
    340     __wine_unwind_frame( record, frame );
    341 }
    342 
    343 static inline DWORD __wine_exception_handler_all( EXCEPTION_RECORD *record,
    344                                                   EXCEPTION_REGISTRATION_RECORD *frame,
    345                                                   CONTEXT *context,
    346                                                   EXCEPTION_REGISTRATION_RECORD **pdispatcher )
    347 {
    348     if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND | EH_NESTED_CALL))
    349         return ExceptionContinueSearch;
    350     __wine_unwind_frame( record, frame );
    351 }
    352 
    353 static inline DWORD __wine_finally_handler( EXCEPTION_RECORD *record,
    354                                             EXCEPTION_REGISTRATION_RECORD *frame,
    355                                             CONTEXT *context,
    356                                             EXCEPTION_REGISTRATION_RECORD **pdispatcher )
    357 {
    358     if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND))
    359     {
    360         __WINE_FRAME *wine_frame = (__WINE_FRAME *)frame;
    361         wine_frame->u.finally_func( FALSE );
    362     }
    363     return ExceptionContinueSearch;
    364 }
    365 
    366 #endif /* USE_COMPILER_EXCEPTIONS */
    367 
    368277#ifdef __cplusplus
    369278}
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/irot.idl

    r22496 r28475  
    1515 * License along with this library; if not, write to the Free Software
    1616 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    17  */
    18 
    19 /*
    20  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    21  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    22  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    23  * a choice of LGPL license versions is made available with the language indicating
    24  * that LGPLv2 or any later version may be used, or where a choice of which version
    25  * of the LGPL is applied is otherwise unspecified.
    2617 */
    2718
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/itss.idl

    r22496 r28475  
    1515 * License along with this library; if not, write to the Free Software
    1616 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    17  */
    18 
    19 /*
    20  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    21  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    22  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    23  * a choice of LGPL license versions is made available with the language indicating
    24  * that LGPLv2 or any later version may be used, or where a choice of which version
    25  * of the LGPL is applied is otherwise unspecified.
    2617 */
    2718
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/library.h

    r25949 r28475  
    1717 * License along with this library; if not, write to the Free Software
    1818 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    19  */
    20 
    21 /*
    22  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    23  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    24  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    25  * a choice of LGPL license versions is made available with the language indicating
    26  * that LGPLv2 or any later version may be used, or where a choice of which version
    27  * of the LGPL is applied is otherwise unspecified.
    2819 */
    2920
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/pthread.h

    r22496 r28475  
    1717 * License along with this library; if not, write to the Free Software
    1818 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    19  */
    20 
    21 /*
    22  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    23  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    24  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    25  * a choice of LGPL license versions is made available with the language indicating
    26  * that LGPLv2 or any later version may be used, or where a choice of which version
    27  * of the LGPL is applied is otherwise unspecified.
    28  */
    29 
    30 /*
    31  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    32  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    33  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    34  * a choice of LGPL license versions is made available with the language indicating
    35  * that LGPLv2 or any later version may be used, or where a choice of which version
    36  * of the LGPL is applied is otherwise unspecified.
    37  */
    38 
    39 /*
    40  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    41  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    42  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    43  * a choice of LGPL license versions is made available with the language indicating
    44  * that LGPLv2 or any later version may be used, or where a choice of which version
    45  * of the LGPL is applied is otherwise unspecified.
    46  */
    47 
    48 /*
    49  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    50  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    51  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    52  * a choice of LGPL license versions is made available with the language indicating
    53  * that LGPLv2 or any later version may be used, or where a choice of which version
    54  * of the LGPL is applied is otherwise unspecified.
    5519 */
    5620
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/server_protocol.h

    r25949 r28475  
    152152        struct { unsigned int eip, ebp, esp, eflags, cs, ss; } i386_regs;
    153153        struct { unsigned __int64 rip, rbp, rsp;
    154                  unsigned int cs, ss, flags; } x86_64_regs;
     154                 unsigned int cs, ss, flags, __pad; } x86_64_regs;
    155155        struct { unsigned __int64 fir;
    156                  unsigned int psr; } alpha_regs;
    157         struct { unsigned int iar, msr, ctr, lr, dar, dsisr, trap; } powerpc_regs;
     156                 unsigned int psr, __pad; } alpha_regs;
     157        struct { unsigned int iar, msr, ctr, lr, dar, dsisr, trap, __pad; } powerpc_regs;
    158158        struct { unsigned int psr, pc, npc, y, wim, tbr; } sparc_regs;
    159159    } ctl;
     
    735735    int          priority;
    736736    cpu_type_t   cpu;
    737     char __pad_60[4];
     737    int          debugger_present;
    738738};
    739739
     
    46664666    struct reply_header __header;
    46674667};
     4668
     4669
     4670
     4671struct set_cursor_request
     4672{
     4673    struct request_header __header;
     4674    unsigned int   flags;
     4675    user_handle_t  handle;
     4676    int            show_count;
     4677};
     4678struct set_cursor_reply
     4679{
     4680    struct reply_header __header;
     4681    user_handle_t  prev_handle;
     4682    int            prev_count;
     4683};
     4684#define SET_CURSOR_HANDLE 0x01
     4685#define SET_CURSOR_COUNT  0x02
    46684686
    46694687
     
    49114929    REQ_alloc_user_handle,
    49124930    REQ_free_user_handle,
     4931    REQ_set_cursor,
    49134932    REQ_NB_REQUESTS
    49144933};
     
    51595178    struct alloc_user_handle_request alloc_user_handle_request;
    51605179    struct free_user_handle_request free_user_handle_request;
     5180    struct set_cursor_request set_cursor_request;
    51615181};
    51625182union generic_reply
     
    54055425    struct alloc_user_handle_reply alloc_user_handle_reply;
    54065426    struct free_user_handle_reply free_user_handle_reply;
    5407 };
    5408 
    5409 #define SERVER_PROTOCOL_VERSION 395
     5427    struct set_cursor_reply set_cursor_reply;
     5428};
     5429
     5430#define SERVER_PROTOCOL_VERSION 398
    54105431
    54115432#endif /* __WINE_WINE_SERVER_PROTOCOL_H */
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/svcctl.idl

    r22496 r28475  
    2929 */
    3030
    31 /*
    32  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    33  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    34  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    35  * a choice of LGPL license versions is made available with the language indicating
    36  * that LGPLv2 or any later version may be used, or where a choice of which version
    37  * of the LGPL is applied is otherwise unspecified.
    38  */
    39 
    4031import "wtypes.idl";
    4132
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/test.h

    r23571 r28475  
    7575static inline const char *wine_dbgstr_w( const WCHAR *s ) { return wine_dbgstr_wn( s, -1 ); }
    7676
     77/* strcmpW is avaiable for tests compiled under Wine, but not in standalone
     78 * builds under Windows, so we reimplement it under a different name. */
     79static inline int winetest_strcmpW( const WCHAR *str1, const WCHAR *str2 )
     80{
     81    while (*str1 && (*str1 == *str2)) { str1++; str2++; }
     82    return *str1 - *str2;
     83}
     84
    7785#ifdef STANDALONE
    7886#define START_TEST(name) \
     
    8492#endif
    8593
     94#if defined(__x86_64__) && defined(__GNUC__) && defined(__WINE_USE_MSVCRT)
     95#define __winetest_cdecl __cdecl
     96#define __winetest_va_list __builtin_ms_va_list
     97#else
     98#define __winetest_cdecl
     99#define __winetest_va_list va_list
     100#endif
     101
    86102extern int broken( int condition );
    87 extern int winetest_vok( int condition, const char *msg, va_list ap );
    88 extern void winetest_vskip( const char *msg, va_list ap );
     103extern int winetest_vok( int condition, const char *msg, __winetest_va_list ap );
     104extern void winetest_vskip( const char *msg, __winetest_va_list ap );
    89105
    90106#ifdef __GNUC__
    91107
    92 extern int winetest_ok( int condition, const char *msg, ... ) __attribute__((format (printf,2,3) ));
    93 extern void winetest_skip( const char *msg, ... ) __attribute__((format (printf,1,2)));
    94 extern void winetest_win_skip( const char *msg, ... ) __attribute__((format (printf,1,2)));
    95 extern void winetest_trace( const char *msg, ... ) __attribute__((format (printf,1,2)));
     108extern void __winetest_cdecl winetest_ok( int condition, const char *msg, ... ) __attribute__((format (printf,2,3) ));
     109extern void __winetest_cdecl winetest_skip( const char *msg, ... ) __attribute__((format (printf,1,2)));
     110extern void __winetest_cdecl winetest_win_skip( const char *msg, ... ) __attribute__((format (printf,1,2)));
     111extern void __winetest_cdecl winetest_trace( const char *msg, ... ) __attribute__((format (printf,1,2)));
    96112
    97113#else /* __GNUC__ */
    98114
    99 extern int winetest_ok( int condition, const char *msg, ... );
    100 extern void winetest_skip( const char *msg, ... );
    101 extern void winetest_win_skip( const char *msg, ... );
    102 extern void winetest_trace( const char *msg, ... );
     115extern void __winetest_cdecl winetest_ok( int condition, const char *msg, ... );
     116extern void __winetest_cdecl winetest_skip( const char *msg, ... );
     117extern void __winetest_cdecl winetest_win_skip( const char *msg, ... );
     118extern void __winetest_cdecl winetest_trace( const char *msg, ... );
    103119
    104120#endif /* __GNUC__ */
    105121
    106 #define ok_(file, line)       (winetest_set_location(file, line), 0) ? 0 : winetest_ok
     122#define ok_(file, line)       (winetest_set_location(file, line), 0) ? (void)0 : winetest_ok
    107123#define skip_(file, line)     (winetest_set_location(file, line), 0) ? (void)0 : winetest_skip
    108124#define win_skip_(file, line) (winetest_set_location(file, line), 0) ? (void)0 : winetest_win_skip
     
    170186#include <stdio.h>
    171187
     188#if defined(__x86_64__) && defined(__GNUC__) && defined(__WINE_USE_MSVCRT)
     189# define __winetest_va_start(list,arg) __builtin_ms_va_start(list,arg)
     190# define __winetest_va_end(list) __builtin_ms_va_end(list)
     191#else
     192# define __winetest_va_start(list,arg) va_start(list,arg)
     193# define __winetest_va_end(list) va_end(list)
     194#endif
     195
    172196struct test
    173197{
     
    285309 *   0 if condition does not have the expected value, 1 otherwise
    286310 */
    287 int winetest_vok( int condition, const char *msg, va_list args )
     311int winetest_vok( int condition, const char *msg, __winetest_va_list args )
    288312{
    289313    tls_data* data=get_tls_data();
     
    332356}
    333357
    334 int winetest_ok( int condition, const char *msg, ... )
    335 {
    336     va_list valist;
    337     int rc;
    338 
    339     va_start(valist, msg);
    340     rc=winetest_vok(condition, msg, valist);
    341     va_end(valist);
    342     return rc;
    343 }
    344 
    345 void winetest_trace( const char *msg, ... )
    346 {
    347     va_list valist;
     358void __winetest_cdecl winetest_ok( int condition, const char *msg, ... )
     359{
     360    __winetest_va_list valist;
     361
     362    __winetest_va_start(valist, msg);
     363    winetest_vok(condition, msg, valist);
     364    __winetest_va_end(valist);
     365}
     366
     367void __winetest_cdecl winetest_trace( const char *msg, ... )
     368{
     369    __winetest_va_list valist;
    348370    tls_data* data=get_tls_data();
    349371
     
    351373    {
    352374        fprintf( stdout, "%s:%d: ", data->current_file, data->current_line );
    353         va_start(valist, msg);
     375        __winetest_va_start(valist, msg);
    354376        vfprintf(stdout, msg, valist);
    355         va_end(valist);
    356     }
    357 }
    358 
    359 void winetest_vskip( const char *msg, va_list args )
     377        __winetest_va_end(valist);
     378    }
     379}
     380
     381void winetest_vskip( const char *msg, __winetest_va_list args )
    360382{
    361383    tls_data* data=get_tls_data();
     
    366388}
    367389
    368 void winetest_skip( const char *msg, ... )
    369 {
    370     va_list valist;
    371     va_start(valist, msg);
     390void __winetest_cdecl winetest_skip( const char *msg, ... )
     391{
     392    __winetest_va_list valist;
     393    __winetest_va_start(valist, msg);
    372394    winetest_vskip(msg, valist);
    373     va_end(valist);
    374 }
    375 
    376 void winetest_win_skip( const char *msg, ... )
    377 {
    378     va_list valist;
    379     va_start(valist, msg);
     395    __winetest_va_end(valist);
     396}
     397
     398void __winetest_cdecl winetest_win_skip( const char *msg, ... )
     399{
     400    __winetest_va_list valist;
     401    __winetest_va_start(valist, msg);
    380402    if (strcmp(winetest_platform, "windows") == 0)
    381403        winetest_vskip(msg, valist);
    382404    else
    383405        winetest_vok(0, msg, valist);
    384     va_end(valist);
     406    __winetest_va_end(valist);
    385407}
    386408
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wine_common_ver.rc

    r25949 r28475  
    1616 * License along with this library; if not, write to the Free Software
    1717 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    18  */
    19 
    20 /*
    21  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    22  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    23  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    24  * a choice of LGPL license versions is made available with the language indicating
    25  * that LGPLv2 or any later version may be used, or where a choice of which version
    26  * of the LGPL is applied is otherwise unspecified.
    2718 */
    2819
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.h

    r25949 r28475  
    1 /*** Autogenerated by WIDL 1.1.36 from ../../include/wine/wined3d.idl - Do not edit ***/
     1/*** Autogenerated by WIDL 1.1.43 from ../../include/wine/wined3d.idl - Do not edit ***/
    22
    33#include <rpc.h>
     
    343343    WINED3DFMT_B8G8R8A8_UNORM = 114,
    344344    WINED3DFMT_B8G8R8X8_UNORM = 115,
    345     WINED3DFMT_UYVY = 0x59565955,
    346     WINED3DFMT_YUY2 = 0x32595559,
    347     WINED3DFMT_YV12 = 0x32315659,
    348     WINED3DFMT_DXT1 = 0x31545844,
    349     WINED3DFMT_DXT2 = 0x32545844,
    350     WINED3DFMT_DXT3 = 0x33545844,
    351     WINED3DFMT_DXT4 = 0x34545844,
    352     WINED3DFMT_DXT5 = 0x35545844,
    353     WINED3DFMT_MULTI2_ARGB8 = 0x3154454d,
    354     WINED3DFMT_G8R8_G8B8 = 0x42475247,
    355     WINED3DFMT_R8G8_B8G8 = 0x47424752,
    356     WINED3DFMT_ATI2N = 0x32495441,
    357     WINED3DFMT_INST = 0x54534e49,
    358     WINED3DFMT_NVHU = 0x5548564e,
    359     WINED3DFMT_NVHS = 0x5348564e,
     345    WINED3DFMT_UYVY = (((ULONG)(unsigned char)'U' | ((ULONG)(unsigned char)'Y' << 8)) | ((ULONG)(unsigned char)'V' << 16)) | ((ULONG)(unsigned char)'Y' << 24),
     346    WINED3DFMT_YUY2 = (((ULONG)(unsigned char)'Y' | ((ULONG)(unsigned char)'U' << 8)) | ((ULONG)(unsigned char)'Y' << 16)) | ((ULONG)(unsigned char)'2' << 24),
     347    WINED3DFMT_YV12 = (((ULONG)(unsigned char)'Y' | ((ULONG)(unsigned char)'V' << 8)) | ((ULONG)(unsigned char)'1' << 16)) | ((ULONG)(unsigned char)'2' << 24),
     348    WINED3DFMT_DXT1 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'1' << 24),
     349    WINED3DFMT_DXT2 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'2' << 24),
     350    WINED3DFMT_DXT3 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'3' << 24),
     351    WINED3DFMT_DXT4 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'4' << 24),
     352    WINED3DFMT_DXT5 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'5' << 24),
     353    WINED3DFMT_MULTI2_ARGB8 = (((ULONG)(unsigned char)'M' | ((ULONG)(unsigned char)'E' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'1' << 24),
     354    WINED3DFMT_G8R8_G8B8 = (((ULONG)(unsigned char)'G' | ((ULONG)(unsigned char)'R' << 8)) | ((ULONG)(unsigned char)'G' << 16)) | ((ULONG)(unsigned char)'B' << 24),
     355    WINED3DFMT_R8G8_B8G8 = (((ULONG)(unsigned char)'R' | ((ULONG)(unsigned char)'G' << 8)) | ((ULONG)(unsigned char)'B' << 16)) | ((ULONG)(unsigned char)'G' << 24),
     356    WINED3DFMT_ATI2N = (((ULONG)(unsigned char)'A' | ((ULONG)(unsigned char)'T' << 8)) | ((ULONG)(unsigned char)'I' << 16)) | ((ULONG)(unsigned char)'2' << 24),
     357    WINED3DFMT_INST = (((ULONG)(unsigned char)'I' | ((ULONG)(unsigned char)'N' << 8)) | ((ULONG)(unsigned char)'S' << 16)) | ((ULONG)(unsigned char)'T' << 24),
     358    WINED3DFMT_NVHU = (((ULONG)(unsigned char)'N' | ((ULONG)(unsigned char)'V' << 8)) | ((ULONG)(unsigned char)'H' << 16)) | ((ULONG)(unsigned char)'U' << 24),
     359    WINED3DFMT_NVHS = (((ULONG)(unsigned char)'N' | ((ULONG)(unsigned char)'V' << 8)) | ((ULONG)(unsigned char)'H' << 16)) | ((ULONG)(unsigned char)'S' << 24),
    360360    WINED3DFMT_FORCE_DWORD = 0xffffffff
    361361} WINED3DFORMAT;
    362362typedef enum _WINED3DRENDERSTATETYPE {
    363     WINED3DRS_TEXTUREHANDLE = 1,
    364363    WINED3DRS_ANTIALIAS = 2,
    365     WINED3DRS_TEXTUREADDRESS = 3,
    366364    WINED3DRS_TEXTUREPERSPECTIVE = 4,
    367365    WINED3DRS_WRAPU = 5,
     
    377375    WINED3DRS_ALPHATESTENABLE = 15,
    378376    WINED3DRS_LASTPIXEL = 16,
    379     WINED3DRS_TEXTUREMAG = 17,
    380     WINED3DRS_TEXTUREMIN = 18,
    381377    WINED3DRS_SRCBLEND = 19,
    382378    WINED3DRS_DESTBLEND = 20,
    383     WINED3DRS_TEXTUREMAPBLEND = 21,
    384379    WINED3DRS_CULLMODE = 22,
    385380    WINED3DRS_ZFUNC = 23,
     
    402397    WINED3DRS_EDGEANTIALIAS = 40,
    403398    WINED3DRS_COLORKEYENABLE = 41,
    404     WINED3DRS_BORDERCOLOR = 43,
    405     WINED3DRS_TEXTUREADDRESSU = 44,
    406     WINED3DRS_TEXTUREADDRESSV = 45,
    407399    WINED3DRS_MIPMAPLODBIAS = 46,
    408400    WINED3DRS_ZBIAS = 47,
     
    420412    WINED3DRS_STENCILWRITEMASK = 59,
    421413    WINED3DRS_TEXTUREFACTOR = 60,
    422     WINED3DRS_STIPPLEPATTERN00 = 64,
    423     WINED3DRS_STIPPLEPATTERN01 = 65,
    424     WINED3DRS_STIPPLEPATTERN02 = 66,
    425     WINED3DRS_STIPPLEPATTERN03 = 67,
    426     WINED3DRS_STIPPLEPATTERN04 = 68,
    427     WINED3DRS_STIPPLEPATTERN05 = 69,
    428     WINED3DRS_STIPPLEPATTERN06 = 70,
    429     WINED3DRS_STIPPLEPATTERN07 = 71,
    430     WINED3DRS_STIPPLEPATTERN08 = 72,
    431     WINED3DRS_STIPPLEPATTERN09 = 73,
    432     WINED3DRS_STIPPLEPATTERN10 = 74,
    433     WINED3DRS_STIPPLEPATTERN11 = 75,
    434     WINED3DRS_STIPPLEPATTERN12 = 76,
    435     WINED3DRS_STIPPLEPATTERN13 = 77,
    436     WINED3DRS_STIPPLEPATTERN14 = 78,
    437     WINED3DRS_STIPPLEPATTERN15 = 79,
    438     WINED3DRS_STIPPLEPATTERN16 = 80,
    439     WINED3DRS_STIPPLEPATTERN17 = 81,
    440     WINED3DRS_STIPPLEPATTERN18 = 82,
    441     WINED3DRS_STIPPLEPATTERN19 = 83,
    442     WINED3DRS_STIPPLEPATTERN20 = 84,
    443     WINED3DRS_STIPPLEPATTERN21 = 85,
    444     WINED3DRS_STIPPLEPATTERN22 = 86,
    445     WINED3DRS_STIPPLEPATTERN23 = 87,
    446     WINED3DRS_STIPPLEPATTERN24 = 88,
    447     WINED3DRS_STIPPLEPATTERN25 = 89,
    448     WINED3DRS_STIPPLEPATTERN26 = 90,
    449     WINED3DRS_STIPPLEPATTERN27 = 91,
    450     WINED3DRS_STIPPLEPATTERN28 = 92,
    451     WINED3DRS_STIPPLEPATTERN29 = 93,
    452     WINED3DRS_STIPPLEPATTERN30 = 94,
    453     WINED3DRS_STIPPLEPATTERN31 = 95,
    454414    WINED3DRS_WRAP0 = 128,
    455415    WINED3DRS_WRAP1 = 129,
     
    493453    WINED3DRS_TWEENFACTOR = 170,
    494454    WINED3DRS_BLENDOP = 171,
    495     WINED3DRS_POSITIONORDER = 172,
    496     WINED3DRS_NORMALORDER = 173,
    497455    WINED3DRS_POSITIONDEGREE = 172,
    498456    WINED3DRS_NORMALDEGREE = 173,
     
    73187276        void *data) = 0;
    73197277
     7278    virtual HRESULT STDMETHODCALLTYPE GetSurfaceFromDC(
     7279        HDC dc,
     7280        IWineD3DSurface **surface) = 0;
     7281
     7282    virtual HRESULT STDMETHODCALLTYPE AcquireFocusWindow(
     7283        HWND window) = 0;
     7284
     7285    virtual void STDMETHODCALLTYPE ReleaseFocusWindow(
     7286        ) = 0;
     7287
    73207288};
    73217289#else
     
    80558023        HRESULT (STDMETHODCALLTYPE * callback)(IWineD3DResource *resource,void *pData),
    80568024        void *data);
     8025
     8026    HRESULT (STDMETHODCALLTYPE *GetSurfaceFromDC)(
     8027        IWineD3DDevice* This,
     8028        HDC dc,
     8029        IWineD3DSurface **surface);
     8030
     8031    HRESULT (STDMETHODCALLTYPE *AcquireFocusWindow)(
     8032        IWineD3DDevice* This,
     8033        HWND window);
     8034
     8035    void (STDMETHODCALLTYPE *ReleaseFocusWindow)(
     8036        IWineD3DDevice* This);
    80578037
    80588038    END_INTERFACE
     
    82008180#define IWineD3DDevice_GetFrontBufferData(This,swapchain_idx,dst_surface) (This)->lpVtbl->GetFrontBufferData(This,swapchain_idx,dst_surface)
    82018181#define IWineD3DDevice_EnumResources(This,callback,data) (This)->lpVtbl->EnumResources(This,callback,data)
     8182#define IWineD3DDevice_GetSurfaceFromDC(This,dc,surface) (This)->lpVtbl->GetSurfaceFromDC(This,dc,surface)
     8183#define IWineD3DDevice_AcquireFocusWindow(This,window) (This)->lpVtbl->AcquireFocusWindow(This,window)
     8184#define IWineD3DDevice_ReleaseFocusWindow(This) (This)->lpVtbl->ReleaseFocusWindow(This)
    82028185#endif
    82038186
     
    94399422    PRPC_MESSAGE pRpcMessage,
    94409423    DWORD* pdwStubPhase);
     9424HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetSurfaceFromDC_Proxy(
     9425    IWineD3DDevice* This,
     9426    HDC dc,
     9427    IWineD3DSurface **surface);
     9428void __RPC_STUB IWineD3DDevice_GetSurfaceFromDC_Stub(
     9429    IRpcStubBuffer* This,
     9430    IRpcChannelBuffer* pRpcChannelBuffer,
     9431    PRPC_MESSAGE pRpcMessage,
     9432    DWORD* pdwStubPhase);
     9433HRESULT STDMETHODCALLTYPE IWineD3DDevice_AcquireFocusWindow_Proxy(
     9434    IWineD3DDevice* This,
     9435    HWND window);
     9436void __RPC_STUB IWineD3DDevice_AcquireFocusWindow_Stub(
     9437    IRpcStubBuffer* This,
     9438    IRpcChannelBuffer* pRpcChannelBuffer,
     9439    PRPC_MESSAGE pRpcMessage,
     9440    DWORD* pdwStubPhase);
     9441void STDMETHODCALLTYPE IWineD3DDevice_ReleaseFocusWindow_Proxy(
     9442    IWineD3DDevice* This);
     9443void __RPC_STUB IWineD3DDevice_ReleaseFocusWindow_Stub(
     9444    IRpcStubBuffer* This,
     9445    IRpcChannelBuffer* pRpcChannelBuffer,
     9446    PRPC_MESSAGE pRpcMessage,
     9447    DWORD* pdwStubPhase);
    94419448
    94429449#endif  /* __IWineD3DDevice_INTERFACE_DEFINED__ */
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.idl

    r25949 r28475  
    2222 * License along with this library; if not, write to the Free Software
    2323 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    24  */
    25 
    26 /*
    27  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    28  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    29  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    30  * a choice of LGPL license versions is made available with the language indicating
    31  * that LGPLv2 or any later version may be used, or where a choice of which version
    32  * of the LGPL is applied is otherwise unspecified.
    3324 */
    3425
     
    153144    WINED3DDEGREE_FORCE_DWORD               = 0x7fffffff
    154145} WINED3DDEGREETYPE;
     146
     147#define WINEMAKEFOURCC(ch0, ch1, ch2, ch3) \
     148        ((unsigned long)(unsigned char)(ch0) | ((unsigned long)(unsigned char)(ch1) << 8) | \
     149        ((unsigned long)(unsigned char)(ch2) << 16) | ((unsigned long)(unsigned char)(ch3) << 24))
    155150
    156151typedef enum _WINED3DFORMAT
     
    273268    WINED3DFMT_B8G8R8X8_UNORM,
    274269    /* FOURCC formats. */
    275     WINED3DFMT_UYVY                         = 0x59565955, /* UYVY */
    276     WINED3DFMT_YUY2                         = 0x32595559, /* YUY2 */
    277     WINED3DFMT_YV12                         = 0x32315659, /* YV12 */
    278     WINED3DFMT_DXT1                         = 0x31545844, /* DXT1 */
    279     WINED3DFMT_DXT2                         = 0x32545844, /* DXT2 */
    280     WINED3DFMT_DXT3                         = 0x33545844, /* DXT3 */
    281     WINED3DFMT_DXT4                         = 0x34545844, /* DXT4 */
    282     WINED3DFMT_DXT5                         = 0x35545844, /* DXT5 */
    283     WINED3DFMT_MULTI2_ARGB8                 = 0x3154454d, /* MET1 */
    284     WINED3DFMT_G8R8_G8B8                    = 0x42475247, /* GRGB */
    285     WINED3DFMT_R8G8_B8G8                    = 0x47424752, /* RGBG */
    286     WINED3DFMT_ATI2N                        = 0x32495441, /* ATI2 */
    287     WINED3DFMT_INST                         = 0x54534e49, /* INST */
    288     WINED3DFMT_NVHU                         = 0x5548564e, /* NVHU */
    289     WINED3DFMT_NVHS                         = 0x5348564e, /* NVHS */
     270    WINED3DFMT_UYVY                         = WINEMAKEFOURCC('U','Y','V','Y'),
     271    WINED3DFMT_YUY2                         = WINEMAKEFOURCC('Y','U','Y','2'),
     272    WINED3DFMT_YV12                         = WINEMAKEFOURCC('Y','V','1','2'),
     273    WINED3DFMT_DXT1                         = WINEMAKEFOURCC('D','X','T','1'),
     274    WINED3DFMT_DXT2                         = WINEMAKEFOURCC('D','X','T','2'),
     275    WINED3DFMT_DXT3                         = WINEMAKEFOURCC('D','X','T','3'),
     276    WINED3DFMT_DXT4                         = WINEMAKEFOURCC('D','X','T','4'),
     277    WINED3DFMT_DXT5                         = WINEMAKEFOURCC('D','X','T','5'),
     278    WINED3DFMT_MULTI2_ARGB8                 = WINEMAKEFOURCC('M','E','T','1'),
     279    WINED3DFMT_G8R8_G8B8                    = WINEMAKEFOURCC('G','R','G','B'),
     280    WINED3DFMT_R8G8_B8G8                    = WINEMAKEFOURCC('R','G','B','G'),
     281    WINED3DFMT_ATI2N                        = WINEMAKEFOURCC('A','T','I','2'),
     282    WINED3DFMT_INST                         = WINEMAKEFOURCC('I','N','S','T'),
     283    WINED3DFMT_NVHU                         = WINEMAKEFOURCC('N','V','H','U'),
     284    WINED3DFMT_NVHS                         = WINEMAKEFOURCC('N','V','H','S'),
    290285
    291286    WINED3DFMT_FORCE_DWORD = 0xffffffff
     
    294289typedef enum _WINED3DRENDERSTATETYPE
    295290{
    296     WINED3DRS_TEXTUREHANDLE                 = 1, /* d3d7 */
    297291    WINED3DRS_ANTIALIAS                     = 2, /* d3d7 */
    298     WINED3DRS_TEXTUREADDRESS                = 3, /* d3d7 */
    299292    WINED3DRS_TEXTUREPERSPECTIVE            = 4, /* d3d7 */
    300293    WINED3DRS_WRAPU                         = 5, /* d3d7 */
     
    310303    WINED3DRS_ALPHATESTENABLE               = 15,
    311304    WINED3DRS_LASTPIXEL                     = 16,
    312     WINED3DRS_TEXTUREMAG                    = 17, /* d3d7 */
    313     WINED3DRS_TEXTUREMIN                    = 18, /* d3d7 */
    314305    WINED3DRS_SRCBLEND                      = 19,
    315306    WINED3DRS_DESTBLEND                     = 20,
    316     WINED3DRS_TEXTUREMAPBLEND               = 21, /* d3d7 */
    317307    WINED3DRS_CULLMODE                      = 22,
    318308    WINED3DRS_ZFUNC                         = 23,
     
    335325    WINED3DRS_EDGEANTIALIAS                 = 40, /* d3d7, d3d8 */
    336326    WINED3DRS_COLORKEYENABLE                = 41, /* d3d7 */
    337     WINED3DRS_BORDERCOLOR                   = 43, /* d3d7 */
    338     WINED3DRS_TEXTUREADDRESSU               = 44, /* d3d7 */
    339     WINED3DRS_TEXTUREADDRESSV               = 45, /* d3d7 */
    340327    WINED3DRS_MIPMAPLODBIAS                 = 46, /* d3d7 */
    341328    WINED3DRS_ZBIAS                         = 47, /* d3d7, d3d8 */
     
    353340    WINED3DRS_STENCILWRITEMASK              = 59,
    354341    WINED3DRS_TEXTUREFACTOR                 = 60,
    355     WINED3DRS_STIPPLEPATTERN00              = 64,
    356     WINED3DRS_STIPPLEPATTERN01              = 65,
    357     WINED3DRS_STIPPLEPATTERN02              = 66,
    358     WINED3DRS_STIPPLEPATTERN03              = 67,
    359     WINED3DRS_STIPPLEPATTERN04              = 68,
    360     WINED3DRS_STIPPLEPATTERN05              = 69,
    361     WINED3DRS_STIPPLEPATTERN06              = 70,
    362     WINED3DRS_STIPPLEPATTERN07              = 71,
    363     WINED3DRS_STIPPLEPATTERN08              = 72,
    364     WINED3DRS_STIPPLEPATTERN09              = 73,
    365     WINED3DRS_STIPPLEPATTERN10              = 74,
    366     WINED3DRS_STIPPLEPATTERN11              = 75,
    367     WINED3DRS_STIPPLEPATTERN12              = 76,
    368     WINED3DRS_STIPPLEPATTERN13              = 77,
    369     WINED3DRS_STIPPLEPATTERN14              = 78,
    370     WINED3DRS_STIPPLEPATTERN15              = 79,
    371     WINED3DRS_STIPPLEPATTERN16              = 80,
    372     WINED3DRS_STIPPLEPATTERN17              = 81,
    373     WINED3DRS_STIPPLEPATTERN18              = 82,
    374     WINED3DRS_STIPPLEPATTERN19              = 83,
    375     WINED3DRS_STIPPLEPATTERN20              = 84,
    376     WINED3DRS_STIPPLEPATTERN21              = 85,
    377     WINED3DRS_STIPPLEPATTERN22              = 86,
    378     WINED3DRS_STIPPLEPATTERN23              = 87,
    379     WINED3DRS_STIPPLEPATTERN24              = 88,
    380     WINED3DRS_STIPPLEPATTERN25              = 89,
    381     WINED3DRS_STIPPLEPATTERN26              = 90,
    382     WINED3DRS_STIPPLEPATTERN27              = 91,
    383     WINED3DRS_STIPPLEPATTERN28              = 92,
    384     WINED3DRS_STIPPLEPATTERN29              = 93,
    385     WINED3DRS_STIPPLEPATTERN30              = 94,
    386     WINED3DRS_STIPPLEPATTERN31              = 95,
    387342    WINED3DRS_WRAP0                         = 128,
    388343    WINED3DRS_WRAP1                         = 129,
     
    426381    WINED3DRS_TWEENFACTOR                   = 170,
    427382    WINED3DRS_BLENDOP                       = 171,
    428     WINED3DRS_POSITIONORDER                 = 172,
    429     WINED3DRS_NORMALORDER                   = 173,
    430383    WINED3DRS_POSITIONDEGREE                = 172,
    431384    WINED3DRS_NORMALDEGREE                  = 173,
     
    34713424        [in] void *data
    34723425    );
     3426    HRESULT GetSurfaceFromDC(
     3427        [in] HDC dc,
     3428        [out] IWineD3DSurface **surface
     3429    );
     3430    HRESULT AcquireFocusWindow(
     3431        [in] HWND window
     3432    );
     3433    void ReleaseFocusWindow(
     3434    );
    34733435}
    34743436
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/winedxgi.idl

    r22496 r28475  
    1515 * License along with this library; if not, write to the Free Software
    1616 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    17  */
    18 
    19 /*
    20  * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
    21  * other than GPL or LGPL is available it will apply instead, Sun elects to use only
    22  * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
    23  * a choice of LGPL license versions is made available with the language indicating
    24  * that LGPLv2 or any later version may be used, or where a choice of which version
    25  * of the LGPL is applied is otherwise unspecified.
    2617 */
    2718
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/winnet16.h

    r16477 r28475  
    209209 */
    210210
    211 WORD WINAPI WNetGetUser16(LPCSTR,LPSTR,LPINT16);
     211WORD WINAPI WNetGetUser16(LPSTR,LPINT16);
    212212
    213213
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wpp.h

    r25949 r28475  
    6767extern char *wpp_find_include( const char *name, const char *parent_name );
    6868extern int wpp_parse( const char *input, FILE *output );
    69 extern int wpp_parse_temp( const char *input, const char *output_base, char **output_name );
    7069extern void wpp_set_callbacks( const struct wpp_callbacks *callbacks );
    7170
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette