comparison fuhtark_test/include/winapi/xolehlp.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef __XOLEHLP__H__
7 #define __XOLEHLP__H__
8
9 #define EXPORTAPI __declspec(dllexport) HRESULT
10
11 const DWORD OLE_TM_CONFIG_VERSION_1 = 1;
12 const DWORD OLE_TM_FLAG_NONE = 0x00000000;
13 const DWORD OLE_TM_FLAG_NODEMANDSTART = 0x00000001;
14
15 const DWORD OLE_TM_FLAG_QUERY_SERVICE_LOCKSTATUS = 0x80000000;
16 const DWORD OLE_TM_FLAG_INTERNAL_TO_TM = 0x40000000;
17
18 typedef struct _OLE_TM_CONFIG_PARAMS_V1 {
19 DWORD dwVersion;
20 DWORD dwcConcurrencyHint;
21 } OLE_TM_CONFIG_PARAMS_V1;
22
23 #ifdef UNICODE
24 #define DtcGetTransactionManagerEx DtcGetTransactionManagerExW
25 #else
26 #define DtcGetTransactionManagerEx DtcGetTransactionManagerExA
27 #endif
28
29 EXPORTAPI __cdecl DtcGetTransactionManager(char *i_pszHost,char *i_pszTmName,REFIID i_riid,DWORD i_dwReserved1,WORD i_wcbReserved2,void *i_pvReserved2,void **o_ppvObject);
30 EXTERN_C HRESULT __cdecl DtcGetTransactionManagerC(char *i_pszHost,char *i_pszTmName,REFIID i_riid,DWORD i_dwReserved1,WORD i_wcbReserved2,void *i_pvReserved2,void **o_ppvObject);
31 EXTERN_C EXPORTAPI __cdecl DtcGetTransactionManagerExA(char *i_pszHost,char *i_pszTmName,REFIID i_riid,DWORD i_grfOptions,void *i_pvConfigParams,void **o_ppvObject);
32 EXTERN_C EXPORTAPI __cdecl DtcGetTransactionManagerExW(WCHAR *i_pwszHost,WCHAR *i_pwszTmName,REFIID i_riid,DWORD i_grfOptions,void *i_pvConfigParams,void **o_ppvObject);
33
34 #ifndef EXTERN_GUID
35 #define EXTERN_GUID(g,l1,s1,s2,c1,c2,c3,c4,c5,c6,c7,c8) DEFINE_GUID(g,l1,s1,s2,c1,c2,c3,c4,c5,c6,c7,c8)
36 #endif
37
38 EXTERN_GUID(CLSID_MSDtcTransactionManager,0x5b18ab61,0x91d,0x11d1,0x97,0xdf,0x0,0xc0,0x4f,0xb9,0x61,0x8a);
39 EXTERN_GUID(CLSID_MSDtcTransaction,0x39f8d76b,0x928,0x11d1,0x97,0xdf,0x0,0xc0,0x4f,0xb9,0x61,0x8a);
40 #endif