test(worldgen): 村庄断言改为 3×3 区块总量(跨区块建筑统计)
This commit is contained in:
@@ -103,20 +103,25 @@ func TestVillage(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
cx, cz := floorDiv32(vx, 16), floorDiv32(vz, 16)
|
||||
ch := g.Generate(cx, cz)
|
||||
// 建筑跨区块(世界生成.md §4):统计中心 3×3 区块的木板/圆石总量
|
||||
plankCnt, cobbleCnt := 0, 0
|
||||
snap := ch.Snapshot()
|
||||
for i := 0; i < 16*16*256; i++ {
|
||||
switch snap[i].ID() {
|
||||
case planks:
|
||||
plankCnt++
|
||||
case cobble:
|
||||
cobbleCnt++
|
||||
for dcx := int32(-1); dcx <= 1; dcx++ {
|
||||
for dcz := int32(-1); dcz <= 1; dcz++ {
|
||||
ch := g.Generate(cx+dcx, cz+dcz)
|
||||
snap := ch.Snapshot()
|
||||
for i := 0; i < 16*16*256; i++ {
|
||||
switch snap[i].ID() {
|
||||
case planks:
|
||||
plankCnt++
|
||||
case cobble:
|
||||
cobbleCnt++
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// 建筑跨区块:中心区块至少包含水井(圆石)与部分房屋(木板)
|
||||
if plankCnt < 10 || cobbleCnt == 0 {
|
||||
t.Fatalf("村庄区块 (%d,%d) 建筑过少: 木板 %d 圆石 %d", cx, cz, plankCnt, cobbleCnt)
|
||||
// 3 间房屋(每间约 70+ 木板)+ 水井(8 圆石)
|
||||
if plankCnt < 150 || cobbleCnt < 8 {
|
||||
t.Fatalf("村庄 (%d,%d) 建筑过少: 木板 %d 圆石 %d", cx, cz, plankCnt, cobbleCnt)
|
||||
}
|
||||
found++
|
||||
}
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright (c) 2009 Andrew Nguyen
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef __WINE_T2EMBAPI_H
|
||||
#define __WINE_T2EMBAPI_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define CHARSET_UNICODE 1
|
||||
#define CHARSET_DEFAULT 1
|
||||
#define CHARSET_SYMBOL 2
|
||||
#define CHARSET_GLYPHIDX 3
|
||||
|
||||
#define LICENSE_INSTALLABLE 0x0000
|
||||
#define LICENSE_DEFAULT 0x0000
|
||||
#define LICENSE_NOEMBEDDING 0x0002
|
||||
#define LICENSE_PREVIEWPRINT 0x0004
|
||||
#define LICENSE_EDITABLE 0x0008
|
||||
|
||||
#define TTLOAD_PRIVATE 0x0001
|
||||
|
||||
/* Possible return values. */
|
||||
#define E_NONE __MSABI_LONG(0x0000)
|
||||
#define E_API_NOTIMPL __MSABI_LONG(0x0001)
|
||||
#define E_HDCINVALID __MSABI_LONG(0x0006)
|
||||
#define E_NOFREEMEMORY __MSABI_LONG(0x0007)
|
||||
#define E_NOTATRUETYPEFONT __MSABI_LONG(0x000a)
|
||||
#define E_ERRORACCESSINGFONTDATA __MSABI_LONG(0x000c)
|
||||
#define E_ERRORACCESSINGFACENAME __MSABI_LONG(0x000d)
|
||||
#define E_FACENAMEINVALID __MSABI_LONG(0x0113)
|
||||
#define E_PERMISSIONSINVALID __MSABI_LONG(0x0117)
|
||||
#define E_PBENABLEDINVALID __MSABI_LONG(0x0118)
|
||||
|
||||
typedef ULONG (WINAPIV * READEMBEDPROC)(void*,void*,ULONG);
|
||||
typedef ULONG (WINAPIV * WRITEEMBEDPROC)(void*,void*,ULONG);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned short usStructSize;
|
||||
unsigned short usRefStrSize;
|
||||
unsigned short *pusRefStr;
|
||||
} TTLOADINFO;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned short usStructSize;
|
||||
unsigned short usRootStrSize;
|
||||
unsigned short *pusRootStr;
|
||||
} TTEMBEDINFO;
|
||||
|
||||
LONG WINAPI TTLoadEmbeddedFont(HANDLE*,ULONG,ULONG*,ULONG,ULONG*,READEMBEDPROC,
|
||||
LPVOID,LPWSTR,LPSTR,TTLOADINFO*);
|
||||
LONG WINAPI TTDeleteEmbeddedFont(HANDLE,ULONG,ULONG*);
|
||||
|
||||
/* embedding privileges */
|
||||
#define EMBED_PREVIEWPRINT 1
|
||||
#define EMBED_EDITABLE 2
|
||||
#define EMBED_INSTALLABLE 3
|
||||
#define EMBED_NOEMBEDDING 4
|
||||
|
||||
LONG WINAPI TTGetEmbeddingType(HDC, ULONG*);
|
||||
LONG WINAPI TTIsEmbeddingEnabledForFacename(LPCSTR facename, WINBOOL *enabled);
|
||||
LONG WINAPI TTIsEmbeddingEnabled(HDC hdc, WINBOOL *enabled);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,73 @@
|
||||
/**
|
||||
* 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_TABFLICKS
|
||||
#define _INC_TABFLICKS
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum FLICKACTION_COMMANDCODE {
|
||||
FLICKACTION_COMMANDCODE_NULL = 0,
|
||||
FLICKACTION_COMMANDCODE_SCROLL = 1,
|
||||
FLICKACTION_COMMANDCODE_APPCOMMAND = 2,
|
||||
FLICKACTION_COMMANDCODE_CUSTOMKEY = 3,
|
||||
FLICKACTION_COMMANDCODE_KEYMODIFIER = 4
|
||||
} FLICKACTION_COMMANDCODE;
|
||||
|
||||
typedef enum FLICKDIRECTION {
|
||||
FLICKDIRECTION_RIGHT = 0,
|
||||
FLICKDIRECTION_UPRIGHT = 1,
|
||||
FLICKDIRECTION_UP = 2,
|
||||
FLICKDIRECTION_UPLEFT = 3,
|
||||
FLICKDIRECTION_LEFT = 4,
|
||||
FLICKDIRECTION_DOWN = 6,
|
||||
FLICKDIRECTION_DOWNRIGHT = 7,
|
||||
FLICKDIRECTION_INVALID = 8
|
||||
} FLICKDIRECTION;
|
||||
|
||||
typedef enum FLICKMODE {
|
||||
FLICKMODE_OFF = 0,
|
||||
FLICKMODE_ON = 1
|
||||
} FLICKMODE;
|
||||
|
||||
typedef enum KEYMODIFIER {
|
||||
KEYMODIFIER_CONTROL = 1,
|
||||
KEYMODIFIER_MENU = 2,
|
||||
KEYMODIFIER_SHIFT = 4,
|
||||
KEYMODIFIER_WIN = 8,
|
||||
KEYMODIFIER_ALTGR = 16,
|
||||
KEYMODIFIER_EXT = 32
|
||||
} KEYMODIFIER;
|
||||
|
||||
typedef enum SCROLLDIRECTION {
|
||||
SCROLLDIRECTION_UP = 0,
|
||||
SCROLLDIRECTION_DOWN = 1
|
||||
} SCROLLDIRECTION;
|
||||
|
||||
typedef struct FLICK_DATA {
|
||||
FLICKACTION_COMMANDCODE iFlickActionCommandCode :5;
|
||||
FLICKDIRECTION iFlickDirection :3;
|
||||
WINBOOL fControlModifier :1;
|
||||
WINBOOL fMenuModifier :1;
|
||||
WINBOOL fAltGRModifier :1;
|
||||
WINBOOL fWinModifier :1;
|
||||
WINBOOL fShiftModifier :1;
|
||||
INT iReserved :2;
|
||||
WINBOOL fOnInkingSurface :1;
|
||||
INT iActionArgument :16;
|
||||
} FLICK_DATA;
|
||||
|
||||
typedef struct FLICK_POINT {
|
||||
INT x :16;
|
||||
INT y :16;
|
||||
} FLICK_POINT;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /*(_WIN32_WINNT >= 0x0600)*/
|
||||
#endif /* _INC_TABFLICKS */
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,145 @@
|
||||
/**
|
||||
* 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 __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
|
||||
#include "rpc.h"
|
||||
#include "rpcndr.h"
|
||||
|
||||
#ifndef __RPCNDR_H_VERSION__
|
||||
#error This stub requires an updated version of <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include "windows.h"
|
||||
#include "ole2.h"
|
||||
#endif
|
||||
|
||||
#ifndef __tapi3ds_h__
|
||||
#define __tapi3ds_h__
|
||||
|
||||
#ifndef __ITAMMediaFormat_FWD_DEFINED__
|
||||
#define __ITAMMediaFormat_FWD_DEFINED__
|
||||
typedef struct ITAMMediaFormat ITAMMediaFormat;
|
||||
#endif
|
||||
|
||||
#ifndef __ITAllocatorProperties_FWD_DEFINED__
|
||||
#define __ITAllocatorProperties_FWD_DEFINED__
|
||||
typedef struct ITAllocatorProperties ITAllocatorProperties;
|
||||
#endif
|
||||
|
||||
#include "oaidl.h"
|
||||
#include "strmif.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef __MIDL_user_allocate_free_DEFINED__
|
||||
#define __MIDL_user_allocate_free_DEFINED__
|
||||
void *__RPC_API MIDL_user_allocate(size_t);
|
||||
void __RPC_API MIDL_user_free(void *);
|
||||
#endif
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_tapi3ds_0000_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_tapi3ds_0000_v0_0_s_ifspec;
|
||||
#ifndef __ITAMMediaFormat_INTERFACE_DEFINED__
|
||||
#define __ITAMMediaFormat_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITAMMediaFormat;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITAMMediaFormat : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI get_MediaFormat(AM_MEDIA_TYPE **ppmt) = 0;
|
||||
virtual HRESULT WINAPI put_MediaFormat(const AM_MEDIA_TYPE *pmt) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITAMMediaFormatVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITAMMediaFormat *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITAMMediaFormat *This);
|
||||
ULONG (WINAPI *Release)(ITAMMediaFormat *This);
|
||||
HRESULT (WINAPI *get_MediaFormat)(ITAMMediaFormat *This,AM_MEDIA_TYPE **ppmt);
|
||||
HRESULT (WINAPI *put_MediaFormat)(ITAMMediaFormat *This,const AM_MEDIA_TYPE *pmt);
|
||||
END_INTERFACE
|
||||
} ITAMMediaFormatVtbl;
|
||||
struct ITAMMediaFormat {
|
||||
CONST_VTBL struct ITAMMediaFormatVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITAMMediaFormat_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITAMMediaFormat_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITAMMediaFormat_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITAMMediaFormat_get_MediaFormat(This,ppmt) (This)->lpVtbl->get_MediaFormat(This,ppmt)
|
||||
#define ITAMMediaFormat_put_MediaFormat(This,pmt) (This)->lpVtbl->put_MediaFormat(This,pmt)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITAMMediaFormat_get_MediaFormat_Proxy(ITAMMediaFormat *This,AM_MEDIA_TYPE **ppmt);
|
||||
void __RPC_STUB ITAMMediaFormat_get_MediaFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITAMMediaFormat_put_MediaFormat_Proxy(ITAMMediaFormat *This,const AM_MEDIA_TYPE *pmt);
|
||||
void __RPC_STUB ITAMMediaFormat_put_MediaFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITAllocatorProperties_INTERFACE_DEFINED__
|
||||
#define __ITAllocatorProperties_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITAllocatorProperties;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITAllocatorProperties : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI SetAllocatorProperties(ALLOCATOR_PROPERTIES *pAllocProperties) = 0;
|
||||
virtual HRESULT WINAPI GetAllocatorProperties(ALLOCATOR_PROPERTIES *pAllocProperties) = 0;
|
||||
virtual HRESULT WINAPI SetAllocateBuffers(WINBOOL bAllocBuffers) = 0;
|
||||
virtual HRESULT WINAPI GetAllocateBuffers(WINBOOL *pbAllocBuffers) = 0;
|
||||
virtual HRESULT WINAPI SetBufferSize(DWORD BufferSize) = 0;
|
||||
virtual HRESULT WINAPI GetBufferSize(DWORD *pBufferSize) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITAllocatorPropertiesVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITAllocatorProperties *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITAllocatorProperties *This);
|
||||
ULONG (WINAPI *Release)(ITAllocatorProperties *This);
|
||||
HRESULT (WINAPI *SetAllocatorProperties)(ITAllocatorProperties *This,ALLOCATOR_PROPERTIES *pAllocProperties);
|
||||
HRESULT (WINAPI *GetAllocatorProperties)(ITAllocatorProperties *This,ALLOCATOR_PROPERTIES *pAllocProperties);
|
||||
HRESULT (WINAPI *SetAllocateBuffers)(ITAllocatorProperties *This,WINBOOL bAllocBuffers);
|
||||
HRESULT (WINAPI *GetAllocateBuffers)(ITAllocatorProperties *This,WINBOOL *pbAllocBuffers);
|
||||
HRESULT (WINAPI *SetBufferSize)(ITAllocatorProperties *This,DWORD BufferSize);
|
||||
HRESULT (WINAPI *GetBufferSize)(ITAllocatorProperties *This,DWORD *pBufferSize);
|
||||
END_INTERFACE
|
||||
} ITAllocatorPropertiesVtbl;
|
||||
struct ITAllocatorProperties {
|
||||
CONST_VTBL struct ITAllocatorPropertiesVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITAllocatorProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITAllocatorProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITAllocatorProperties_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITAllocatorProperties_SetAllocatorProperties(This,pAllocProperties) (This)->lpVtbl->SetAllocatorProperties(This,pAllocProperties)
|
||||
#define ITAllocatorProperties_GetAllocatorProperties(This,pAllocProperties) (This)->lpVtbl->GetAllocatorProperties(This,pAllocProperties)
|
||||
#define ITAllocatorProperties_SetAllocateBuffers(This,bAllocBuffers) (This)->lpVtbl->SetAllocateBuffers(This,bAllocBuffers)
|
||||
#define ITAllocatorProperties_GetAllocateBuffers(This,pbAllocBuffers) (This)->lpVtbl->GetAllocateBuffers(This,pbAllocBuffers)
|
||||
#define ITAllocatorProperties_SetBufferSize(This,BufferSize) (This)->lpVtbl->SetBufferSize(This,BufferSize)
|
||||
#define ITAllocatorProperties_GetBufferSize(This,pBufferSize) (This)->lpVtbl->GetBufferSize(This,pBufferSize)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITAllocatorProperties_SetAllocatorProperties_Proxy(ITAllocatorProperties *This,ALLOCATOR_PROPERTIES *pAllocProperties);
|
||||
void __RPC_STUB ITAllocatorProperties_SetAllocatorProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITAllocatorProperties_GetAllocatorProperties_Proxy(ITAllocatorProperties *This,ALLOCATOR_PROPERTIES *pAllocProperties);
|
||||
void __RPC_STUB ITAllocatorProperties_GetAllocatorProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITAllocatorProperties_SetAllocateBuffers_Proxy(ITAllocatorProperties *This,WINBOOL bAllocBuffers);
|
||||
void __RPC_STUB ITAllocatorProperties_SetAllocateBuffers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITAllocatorProperties_GetAllocateBuffers_Proxy(ITAllocatorProperties *This,WINBOOL *pbAllocBuffers);
|
||||
void __RPC_STUB ITAllocatorProperties_GetAllocateBuffers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITAllocatorProperties_SetBufferSize_Proxy(ITAllocatorProperties *This,DWORD BufferSize);
|
||||
void __RPC_STUB ITAllocatorProperties_SetBufferSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITAllocatorProperties_GetBufferSize_Proxy(ITAllocatorProperties *This,DWORD *pBufferSize);
|
||||
void __RPC_STUB ITAllocatorProperties_GetBufferSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,99 @@
|
||||
/**
|
||||
* 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 __TAPI3ERR_H__
|
||||
#define __TAPI3ERR_H__
|
||||
|
||||
#define TAPI_E_NOTENOUGHMEMORY ((HRESULT)0x80040001)
|
||||
#define TAPI_E_NOITEMS ((HRESULT)0x80040002)
|
||||
#define TAPI_E_NOTSUPPORTED ((HRESULT)0x80040003)
|
||||
#define TAPI_E_INVALIDMEDIATYPE ((HRESULT)0x80040004)
|
||||
#define TAPI_E_OPERATIONFAILED ((HRESULT)0x80040005)
|
||||
#define TAPI_E_ALLOCATED ((HRESULT)0x80040006)
|
||||
#define TAPI_E_CALLUNAVAIL ((HRESULT)0x80040007)
|
||||
#define TAPI_E_COMPLETIONOVERRUN ((HRESULT)0x80040008)
|
||||
#define TAPI_E_CONFERENCEFULL ((HRESULT)0x80040009)
|
||||
#define TAPI_E_DIALMODIFIERNOTSUPPORTED ((HRESULT)0x8004000A)
|
||||
#define TAPI_E_INUSE ((HRESULT)0x8004000B)
|
||||
#define TAPI_E_INVALADDRESS ((HRESULT)0x8004000C)
|
||||
#define TAPI_E_INVALADDRESSSTATE ((HRESULT)0x8004000D)
|
||||
#define TAPI_E_INVALCALLPARAMS ((HRESULT)0x8004000E)
|
||||
#define TAPI_E_INVALCALLPRIVILEGE ((HRESULT)0x8004000F)
|
||||
#define TAPI_E_INVALCALLSTATE ((HRESULT)0x80040010)
|
||||
#define TAPI_E_INVALCARD ((HRESULT)0x80040011)
|
||||
#define TAPI_E_INVALCOMPLETIONID ((HRESULT)0x80040012)
|
||||
#define TAPI_E_INVALCOUNTRYCODE ((HRESULT)0x80040013)
|
||||
#define TAPI_E_INVALDEVICECLASS ((HRESULT)0x80040014)
|
||||
#define TAPI_E_INVALDIALPARAMS ((HRESULT)0x80040015)
|
||||
#define TAPI_E_INVALDIGITS ((HRESULT)0x80040016)
|
||||
#define TAPI_E_INVALGROUPID ((HRESULT)0x80040017)
|
||||
#define TAPI_E_INVALLOCATION ((HRESULT)0x80040018)
|
||||
#define TAPI_E_INVALMESSAGEID ((HRESULT)0x80040019)
|
||||
#define TAPI_E_INVALPARKID ((HRESULT)0x8004001A)
|
||||
#define TAPI_E_INVALRATE ((HRESULT)0x8004001B)
|
||||
#define TAPI_E_INVALTIMEOUT ((HRESULT)0x8004001C)
|
||||
#define TAPI_E_INVALTONE ((HRESULT)0x8004001D)
|
||||
#define TAPI_E_INVALLIST ((HRESULT)0x8004001E)
|
||||
#define TAPI_E_INVALMODE ((HRESULT)0x8004001F)
|
||||
#define TAPI_E_NOCONFERENCE ((HRESULT)0x80040020)
|
||||
#define TAPI_E_NODEVICE ((HRESULT)0x80040021)
|
||||
#define TAPI_E_NOREQUEST ((HRESULT)0x80040022)
|
||||
#define TAPI_E_NOTOWNER ((HRESULT)0x80040023)
|
||||
#define TAPI_E_NOTREGISTERED ((HRESULT)0x80040024)
|
||||
#define TAPI_E_REQUESTOVERRUN ((HRESULT)0x80040025)
|
||||
#define TAPI_E_TARGETNOTFOUND ((HRESULT)0x80040026)
|
||||
#define TAPI_E_TARGETSELF ((HRESULT)0x80040027)
|
||||
#define TAPI_E_USERUSERINFOTOOBIG ((HRESULT)0x80040028)
|
||||
#define TAPI_E_REINIT ((HRESULT)0x80040029)
|
||||
#define TAPI_E_ADDRESSBLOCKED ((HRESULT)0x8004002A)
|
||||
#define TAPI_E_BILLINGREJECTED ((HRESULT)0x8004002B)
|
||||
#define TAPI_E_INVALFEATURE ((HRESULT)0x8004002C)
|
||||
#define TAPI_E_INVALBUTTONLAMPID ((HRESULT)0x8004002D)
|
||||
#define TAPI_E_INVALBUTTONSTATE ((HRESULT)0x8004002E)
|
||||
#define TAPI_E_INVALDATAID ((HRESULT)0x8004002F)
|
||||
#define TAPI_E_INVALHOOKSWITCHDEV ((HRESULT)0x80040030)
|
||||
#define TAPI_E_DROPPED ((HRESULT)0x80040031)
|
||||
#define TAPI_E_NOREQUESTRECIPIENT ((HRESULT)0x80040032)
|
||||
#define TAPI_E_REQUESTQUEUEFULL ((HRESULT)0x80040033)
|
||||
#define TAPI_E_DESTBUSY ((HRESULT)0x80040034)
|
||||
#define TAPI_E_DESTNOANSWER ((HRESULT)0x80040035)
|
||||
#define TAPI_E_DESTUNAVAIL ((HRESULT)0x80040036)
|
||||
#define TAPI_E_REQUESTFAILED ((HRESULT)0x80040037)
|
||||
#define TAPI_E_REQUESTCANCELLED ((HRESULT)0x80040038)
|
||||
#define TAPI_E_INVALPRIVILEGE ((HRESULT)0x80040039)
|
||||
#define TAPI_E_INVALIDDIRECTION ((HRESULT)0x8004003A)
|
||||
#define TAPI_E_INVALIDTERMINAL ((HRESULT)0x8004003B)
|
||||
#define TAPI_E_INVALIDTERMINALCLASS ((HRESULT)0x8004003C)
|
||||
#define TAPI_E_NODRIVER ((HRESULT)0x8004003D)
|
||||
#define TAPI_E_MAXSTREAMS ((HRESULT)0x8004003E)
|
||||
#define TAPI_E_NOTERMINALSELECTED ((HRESULT)0x8004003F)
|
||||
#define TAPI_E_TERMINALINUSE ((HRESULT)0x80040040)
|
||||
#define TAPI_E_NOTSTOPPED ((HRESULT)0x80040041)
|
||||
#define TAPI_E_MAXTERMINALS ((HRESULT)0x80040042)
|
||||
#define TAPI_E_INVALIDSTREAM ((HRESULT)0x80040043)
|
||||
#define TAPI_E_TIMEOUT ((HRESULT)0x80040044)
|
||||
#define TAPI_E_CALLCENTER_GROUP_REMOVED ((HRESULT)0x80040045)
|
||||
#define TAPI_E_CALLCENTER_QUEUE_REMOVED ((HRESULT)0x80040046)
|
||||
#define TAPI_E_CALLCENTER_NO_AGENT_ID ((HRESULT)0x80040047)
|
||||
#define TAPI_E_CALLCENTER_INVALAGENTID ((HRESULT)0x80040048)
|
||||
#define TAPI_E_CALLCENTER_INVALAGENTGROUP ((HRESULT)0x80040049)
|
||||
#define TAPI_E_CALLCENTER_INVALPASSWORD ((HRESULT)0x8004004A)
|
||||
#define TAPI_E_CALLCENTER_INVALAGENTSTATE ((HRESULT)0x8004004B)
|
||||
#define TAPI_E_CALLCENTER_INVALAGENTACTIVITY ((HRESULT)0x8004004C)
|
||||
#define TAPI_E_REGISTRY_SETTING_CORRUPT ((HRESULT)0x8004004D)
|
||||
#define TAPI_E_TERMINAL_PEER ((HRESULT)0x8004004E)
|
||||
#define TAPI_E_PEER_NOT_SET ((HRESULT)0x8004004F)
|
||||
#define TAPI_E_NOEVENT ((HRESULT)0x80040050)
|
||||
#define TAPI_E_INVALADDRESSTYPE ((HRESULT)0x80040051)
|
||||
#define TAPI_E_RESOURCEUNAVAIL ((HRESULT)0x80040052)
|
||||
#define TAPI_E_PHONENOTOPEN ((HRESULT)0x80040053)
|
||||
#define TAPI_E_CALLNOTSELECTED ((HRESULT)0x80040054)
|
||||
#define TAPI_E_WRONGEVENT ((HRESULT)0x80040055)
|
||||
#define TAPI_E_NOFORMAT ((HRESULT)0x80040056)
|
||||
#define TAPI_E_INVALIDSTREAMSTATE ((HRESULT)0x80040057)
|
||||
#define TAPI_E_WRONG_STATE ((HRESULT)0x80040058)
|
||||
#define TAPI_E_NOT_INITIALIZED ((HRESULT)0x80040059)
|
||||
#define TAPI_E_SERVICE_NOT_RUNNING ((HRESULT)0x8004005A)
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,192 @@
|
||||
/**
|
||||
* 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 _TBS_H_
|
||||
#define _TBS_H_
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
|
||||
#ifndef WINAPI
|
||||
#define WINAPI __stdcall
|
||||
#endif
|
||||
|
||||
#define CONST const
|
||||
|
||||
typedef signed int INT32, *PINT32;
|
||||
typedef const INT32 *PCINT32;
|
||||
typedef unsigned int UINT32, *PUINT32;
|
||||
typedef const UINT32 *PCUINT32;
|
||||
|
||||
#define VOID void
|
||||
typedef VOID *PVOID;
|
||||
typedef const VOID *PCVOID;
|
||||
|
||||
typedef INT32 WINBOOL, *PBOOL;
|
||||
typedef const WINBOOL *PCBOOL;
|
||||
|
||||
typedef UINT8 BYTE, *PBYTE;
|
||||
typedef const BYTE *PCBYTE;
|
||||
|
||||
typedef WINBOOL TBS_BOOL;
|
||||
typedef UINT32 TBS_RESULT;
|
||||
typedef PVOID TBS_HCONTEXT, *PTBS_HCONTEXT;
|
||||
typedef UINT32 TBS_COMMAND_PRIORITY;
|
||||
typedef UINT32 TBS_COMMAND_LOCALITY;
|
||||
typedef UINT32 TBS_OWNERAUTH_TYPE;
|
||||
typedef UINT32 TBS_HANDLE;
|
||||
|
||||
#define TBS_CONTEXT_VERSION_ONE 1
|
||||
|
||||
#define TBS_COMMAND_PRIORITY_LOW 100
|
||||
#define TBS_COMMAND_PRIORITY_NORMAL 200
|
||||
#define TBS_COMMAND_PRIORITY_HIGH 300
|
||||
#define TBS_COMMAND_PRIORITY_SYSTEM 400
|
||||
#define TBS_COMMAND_PRIORITY_MAX 0x80000000
|
||||
|
||||
#define TBS_COMMAND_LOCALITY_ZERO 0
|
||||
#define TBS_COMMAND_LOCALITY_ONE 1
|
||||
#define TBS_COMMAND_LOCALITY_TWO 2
|
||||
#define TBS_COMMAND_LOCALITY_THREE 3
|
||||
#define TBS_COMMAND_LOCALITY_FOUR 4
|
||||
|
||||
#define TBS_SUCCESS 0
|
||||
|
||||
#define TBS_IN_OUT_BUF_SIZE_MAX (256 * 1024)
|
||||
|
||||
#define TBS_OWNERAUTH_TYPE_FULL 1
|
||||
#define TBS_OWNERAUTH_TYPE_ADMIN 2
|
||||
#define TBS_OWNERAUTH_TYPE_USER 3
|
||||
#define TBS_OWNERAUTH_TYPE_ENDORSEMENT 4
|
||||
|
||||
#define TBS_OWNERAUTH_TYPE_ENDORSEMENT_20 12
|
||||
#define TBS_OWNERAUTH_TYPE_STORAGE_20 13
|
||||
|
||||
typedef struct tdTBS_CONTEXT_PARAMS {
|
||||
UINT32 version;
|
||||
} TBS_CONTEXT_PARAMS, *PTBS_CONTEXT_PARAMS;
|
||||
typedef const TBS_CONTEXT_PARAMS *PCTBS_CONTEXT_PARAMS;
|
||||
|
||||
TBS_RESULT WINAPI Tbsi_Context_Create(PCTBS_CONTEXT_PARAMS pContextParams, PTBS_HCONTEXT phContext);
|
||||
TBS_RESULT WINAPI Tbsip_Context_Close(TBS_HCONTEXT hContext);
|
||||
TBS_RESULT WINAPI Tbsip_Submit_Command(TBS_HCONTEXT hContext, TBS_COMMAND_LOCALITY Locality, TBS_COMMAND_PRIORITY Priority, PCBYTE pabCommand, UINT32 cbCommand, PBYTE pabResult, PUINT32 pcbResult);
|
||||
TBS_RESULT WINAPI Tbsip_Cancel_Commands(TBS_HCONTEXT hContext);
|
||||
TBS_RESULT WINAPI Tbsi_Physical_Presence_Command(TBS_HCONTEXT hContext, PCBYTE pabInput, UINT32 cbInput, PBYTE pabOutput, PUINT32 pcbOutput);
|
||||
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTASP1)
|
||||
|
||||
TBS_RESULT WINAPI Tbsi_Get_TCG_Log(TBS_HCONTEXT hContext, PBYTE pOutputBuf, PUINT32 pOutputBufLen);
|
||||
|
||||
#endif /* _WIN32_WINNT_VISTASP1 */
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||
|
||||
#define TBS_CONTEXT_VERSION_TWO 2
|
||||
|
||||
typedef struct tdTBS_CONTEXT_PARAMS2 {
|
||||
UINT32 version;
|
||||
__C89_NAMELESS union {
|
||||
__C89_NAMELESS struct {
|
||||
UINT32 requestRaw : 1;
|
||||
UINT32 includeTpm12 : 1;
|
||||
UINT32 includeTpm20 : 1;
|
||||
};
|
||||
UINT32 asUINT32;
|
||||
};
|
||||
} TBS_CONTEXT_PARAMS2, *PTBS_CONTEXT_PARAMS2;
|
||||
typedef const TBS_CONTEXT_PARAMS2 *PCTBS_CONTEXT_PARAMS2;
|
||||
|
||||
typedef struct tdTPM_WNF_PROVISIONING {
|
||||
UINT32 status;
|
||||
BYTE message[28];
|
||||
} TPM_WNF_PROVISIONING;
|
||||
|
||||
#define TPM_WNF_INFO_CLEAR_SUCCESSFUL 0x00000001
|
||||
#define TPM_WNF_INFO_OWNERSHIP_SUCCESSFUL 0x00000002
|
||||
|
||||
#define TPM_WNF_INFO_NO_REBOOT_REQUIRED 1
|
||||
|
||||
#ifndef TPM_VERSION_UNKNOWN
|
||||
|
||||
#define TPM_VERSION_UNKNOWN 0
|
||||
#define TPM_VERSION_12 1
|
||||
#define TPM_VERSION_20 2
|
||||
|
||||
#define TPM_IFTYPE_UNKNOWN 0
|
||||
#define TPM_IFTYPE_1 1
|
||||
#define TPM_IFTYPE_TRUSTZONE 2
|
||||
#define TPM_IFTYPE_HW 3
|
||||
#define TPM_IFTYPE_EMULATOR 4
|
||||
#define TPM_IFTYPE_SPB 5
|
||||
|
||||
typedef struct _TPM_DEVICE_INFO {
|
||||
UINT32 structVersion;
|
||||
UINT32 tpmVersion;
|
||||
UINT32 tpmInterfaceType;
|
||||
UINT32 tpmImpRevision;
|
||||
} TPM_DEVICE_INFO, *PTPM_DEVICE_INFO;
|
||||
typedef const TPM_DEVICE_INFO *PCTPM_DEVICE_INFO;
|
||||
|
||||
#endif /* TPM_VERSION_UNKNOWN */
|
||||
|
||||
TBS_RESULT WINAPI Tbsi_GetDeviceInfo(UINT32 Size, PVOID Info);
|
||||
TBS_RESULT WINAPI Tbsi_Get_OwnerAuth(TBS_HCONTEXT hContext, TBS_OWNERAUTH_TYPE ownerauthType, PBYTE pOutputBuf, PUINT32 pOutputBufLen);
|
||||
TBS_RESULT WINAPI Tbsi_Revoke_Attestation(void);
|
||||
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WIN8) */
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WINBLUE)
|
||||
|
||||
#ifndef _NTDDK_
|
||||
|
||||
HRESULT GetDeviceID(PBYTE pbWindowsAIK, UINT32 cbWindowsAIK, PUINT32 pcbResult, WINBOOL *pfProtectedByTPM);
|
||||
HRESULT GetDeviceIDString(PWSTR pszWindowsAIK, UINT32 cchWindowsAIK, PUINT32 pcchResult, WINBOOL *pfProtectedByTPM);
|
||||
|
||||
#endif /* ifndef _NTDDK_ */
|
||||
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WINBLUE) */
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WINTHRESHOLD)
|
||||
|
||||
TBS_RESULT WINAPI Tbsi_Create_Windows_Key(TBS_HANDLE keyHandle);
|
||||
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WINTHRESHOLD) */
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN10_RS4)
|
||||
|
||||
#define TBS_TCGLOG_SRTM_CURRENT 0
|
||||
#define TBS_TCGLOG_DRTM_CURRENT 1
|
||||
#define TBS_TCGLOG_SRTM_BOOT 2
|
||||
#define TBS_TCGLOG_SRTM_RESUME 3
|
||||
#define TBS_TCGLOG_DRTM_BOOT 4
|
||||
#define TBS_TCGLOG_DRTM_RESUME 5
|
||||
|
||||
TBS_RESULT WINAPI Tbsi_Get_TCG_Log_Ex(UINT32 logType, PBYTE pbOutput, PUINT32 pcbOutput);
|
||||
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WIN10_RS4) */
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN10_NI)
|
||||
|
||||
WINBOOL WINAPI Tbsi_Is_Tpm_Present(void);
|
||||
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WIN10_NI) */
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
||||
|
||||
#endif /* _TBS_H_ */
|
||||
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* 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 _TCERROR_H_
|
||||
#define _TCERROR_H_
|
||||
|
||||
#define TCBASE 7500
|
||||
|
||||
#define ERROR_INCOMPATIBLE_TCI_VERSION (TCBASE+1)
|
||||
#define ERROR_INVALID_SERVICE_TYPE (TCBASE+2)
|
||||
#define ERROR_INVALID_TOKEN_RATE (TCBASE+3)
|
||||
#define ERROR_INVALID_PEAK_RATE (TCBASE+4)
|
||||
#define ERROR_INVALID_SD_MODE (TCBASE+5)
|
||||
#define ERROR_INVALID_QOS_PRIORITY (TCBASE+6)
|
||||
#define ERROR_INVALID_TRAFFIC_CLASS (TCBASE+7)
|
||||
#define ERROR_INVALID_ADDRESS_TYPE (TCBASE+8)
|
||||
#define ERROR_DUPLICATE_FILTER (TCBASE+9)
|
||||
#define ERROR_FILTER_CONFLICT (TCBASE+10)
|
||||
#define ERROR_ADDRESS_TYPE_NOT_SUPPORTED (TCBASE+11)
|
||||
#define ERROR_TC_SUPPORTED_OBJECTS_EXIST (TCBASE+12)
|
||||
#define ERROR_INCOMPATABLE_QOS (TCBASE+13)
|
||||
#define ERROR_TC_NOT_SUPPORTED (TCBASE+14)
|
||||
#define ERROR_TC_OBJECT_LENGTH_INVALID (TCBASE+15)
|
||||
#define ERROR_INVALID_FLOW_MODE (TCBASE+16)
|
||||
#define ERROR_INVALID_DIFFSERV_FLOW (TCBASE+17)
|
||||
#define ERROR_DS_MAPPING_EXISTS (TCBASE+18)
|
||||
#define ERROR_INVALID_SHAPE_RATE (TCBASE+19)
|
||||
#define ERROR_INVALID_DS_CLASS (TCBASE+20)
|
||||
#define ERROR_TOO_MANY_CLIENTS (TCBASE+21)
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(GUID_QOS_REMAINING_BANDWIDTH,0xc4c51720,0x40ec,0x11d1,0x2c,0x91,0x00,0xaa,0x00,0x57,0x49,0x15);
|
||||
DEFINE_GUID(GUID_QOS_BESTEFFORT_BANDWIDTH,0xed885290,0x40ec,0x11d1,0x2c,0x91,0x00,0xaa,0x00,0x57,0x49,0x15);
|
||||
DEFINE_GUID(GUID_QOS_LATENCY,0xfc408ef0,0x40ec,0x11d1,0x2c,0x91,0x00,0xaa,0x00,0x57,0x49,0x15);
|
||||
DEFINE_GUID(GUID_QOS_FLOW_COUNT,0x1147f880,0x40ed,0x11d1,0x2c,0x91,0x00,0xaa,0x00,0x57,0x49,0x15);
|
||||
DEFINE_GUID(GUID_QOS_NON_BESTEFFORT_LIMIT,0x185c44e0,0x40ed,0x11d1,0x2c,0x91,0x00,0xaa,0x00,0x57,0x49,0x15);
|
||||
DEFINE_GUID(GUID_QOS_MAX_OUTSTANDING_SENDS,0x161ffa86,0x6120,0x11d1,0x2c,0x91,0x00,0xaa,0x00,0x57,0x49,0x15);
|
||||
DEFINE_GUID(GUID_QOS_STATISTICS_BUFFER,0xbb2c0980,0xe900,0x11d1,0xb0,0x7e,0x00,0x80,0xc7,0x13,0x82,0xbf);
|
||||
DEFINE_GUID(GUID_QOS_FLOW_MODE,0x5c82290a,0x515a,0x11d2,0x8e,0x58,0x00,0xc0,0x4f,0xc9,0xbf,0xcb);
|
||||
DEFINE_GUID(GUID_QOS_ISSLOW_FLOW,0xabf273a4,0xee07,0x11d2,0xbe,0x1b,0x00,0xa0,0xc9,0x9e,0xe6,0x3b);
|
||||
DEFINE_GUID(GUID_QOS_TIMER_RESOLUTION,0xba10cc88,0xf13e,0x11d2,0xbe,0x1b,0x00,0xa0,0xc9,0x9e,0xe6,0x3b);
|
||||
DEFINE_GUID(GUID_QOS_FLOW_IP_CONFORMING,0x07f99a8b,0xfcd2,0x11d2,0xbe,0x1e,0x00,0xa0,0xc9,0x9e,0xe6,0x3b);
|
||||
DEFINE_GUID(GUID_QOS_FLOW_IP_NONCONFORMING,0x087a5987,0xfcd2,0x11d2,0xbe,0x1e,0x00,0xa0,0xc9,0x9e,0xe6,0x3b);
|
||||
DEFINE_GUID(GUID_QOS_FLOW_8021P_CONFORMING,0x08c1e013,0xfcd2,0x11d2,0xbe,0x1e,0x00,0xa0,0xc9,0x9e,0xe6,0x3b);
|
||||
DEFINE_GUID(GUID_QOS_FLOW_8021P_NONCONFORMING,0x09023f91,0xfcd2,0x11d2,0xbe,0x1e,0x00,0xa0,0xc9,0x9e,0xe6,0x3b);
|
||||
DEFINE_GUID(GUID_QOS_ENABLE_AVG_STATS,0xbafb6d11,0x27c4,0x4801,0xa4,0x6f,0xef,0x80,0x80,0xc1,0x88,0xc8);
|
||||
DEFINE_GUID(GUID_QOS_ENABLE_WINDOW_ADJUSTMENT,0xaa966725,0xd3e9,0x4c55,0xb3,0x35,0x2a,0x0,0x27,0x9a,0x1e,0x64);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,212 @@
|
||||
/**
|
||||
* 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_TCPESTATS
|
||||
#define _INC_TCPESTATS
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _TCP_ESTATS_BANDWIDTH_ROD_v0 {
|
||||
ULONG64 OutboundBandwidth;
|
||||
ULONG64 InboundBandwidth;
|
||||
ULONG64 OutboundInstability;
|
||||
ULONG64 InboundInstability;
|
||||
BOOLEAN OutboundBandwidthPeaked;
|
||||
BOOLEAN InboundBandwidthPeaked;
|
||||
} TCP_ESTATS_BANDWIDTH_ROD_v0, *PTCP_ESTATS_BANDWIDTH_ROD_v0;
|
||||
|
||||
typedef enum _TCP_BOOLEAN_OPTIONAL {
|
||||
TcpBoolOptDisabled = 0,
|
||||
TcpBoolOptEnabled = 1,
|
||||
TcpBoolOptUnchanged = -1
|
||||
} TCP_BOOLEAN_OPTIONAL;
|
||||
|
||||
typedef struct _TCP_ESTATS_BANDWIDTH_RW_v0 {
|
||||
TCP_BOOLEAN_OPTIONAL EnableCollectionOutbound;
|
||||
TCP_BOOLEAN_OPTIONAL EnableCollectionInbound;
|
||||
} TCP_ESTATS_BANDWIDTH_RW_v0, *PTCP_ESTATS_BANDWIDTH_RW_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_DATA_ROD_v0 {
|
||||
ULONG64 DataBytesOut;
|
||||
ULONG64 DataSegsOut;
|
||||
ULONG64 DataBytesIn;
|
||||
ULONG64 DataSegsIn;
|
||||
ULONG64 SegsOut;
|
||||
ULONG64 SegsIn;
|
||||
ULONG SoftErrors;
|
||||
ULONG SoftErrorReason;
|
||||
ULONG SndUna;
|
||||
ULONG SndNxt;
|
||||
ULONG SndMax;
|
||||
ULONG64 ThruBytesAcked;
|
||||
ULONG RcvNxt;
|
||||
ULONG64 ThruBytesReceived;
|
||||
} TCP_ESTATS_DATA_ROD_v0, *PTCP_ESTATS_DATA_ROD_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_DATA_RW_v0 {
|
||||
BOOLEAN EnableCollection;
|
||||
} TCP_ESTATS_DATA_RW_v0, *PTCP_ESTATS_DATA_RW_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_FINE_RTT_ROD_v0 {
|
||||
ULONG RttVar;
|
||||
ULONG MaxRtt;
|
||||
ULONG MinRtt;
|
||||
ULONG SumRtt;
|
||||
} TCP_ESTATS_FINE_RTT_ROD_v0, *PTCP_ESTATS_FINE_RTT_ROD_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_FINE_RTT_RW_v0 {
|
||||
BOOLEAN EnableCollection;
|
||||
} TCP_ESTATS_FINE_RTT_RW_v0, *PTCP_ESTATS_FINE_RTT_RW_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_OBS_REC_ROD_v0 {
|
||||
ULONG CurRwinRcvd;
|
||||
ULONG MaxRwinRcvd;
|
||||
ULONG MinRwinRcvd;
|
||||
UCHAR WinScaleRcvd;
|
||||
} TCP_ESTATS_OBS_REC_ROD_v0, *PTCP_ESTATS_OBS_REC_ROD_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_OBS_REC_RW_v0 {
|
||||
BOOLEAN EnableCollection;
|
||||
} TCP_ESTATS_OBS_REC_RW_v0, *PTCP_ESTATS_OBS_REC_RW_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_PATH_ROD_v0 {
|
||||
ULONG FastRetran;
|
||||
ULONG Timeouts;
|
||||
ULONG SubsequentTimeouts;
|
||||
ULONG CurTimeoutCount;
|
||||
ULONG AbruptTimeouts;
|
||||
ULONG PktsRetrans;
|
||||
ULONG BytesRetrans;
|
||||
ULONG DupAcksIn;
|
||||
ULONG SacksRcvd;
|
||||
ULONG SackBlocksRcvd;
|
||||
ULONG CongSignals;
|
||||
ULONG PreCongSumCwnd;
|
||||
ULONG PreCongSumRtt;
|
||||
ULONG PostCongSumRtt;
|
||||
ULONG PostCongCountRtt;
|
||||
ULONG EcnSignals;
|
||||
ULONG EceRcvd;
|
||||
ULONG SendStall;
|
||||
ULONG QuenchRcvd;
|
||||
ULONG RetranThresh;
|
||||
ULONG SndDupAckEpisodes;
|
||||
ULONG SumBytesReordered;
|
||||
ULONG NonRecovDa;
|
||||
ULONG NonRecovDaEpisodes;
|
||||
ULONG AckAfterFr;
|
||||
ULONG DsackDups;
|
||||
ULONG SampleRtt;
|
||||
ULONG SmoothedRtt;
|
||||
ULONG RttVar;
|
||||
ULONG MaxRtt;
|
||||
ULONG MinRtt;
|
||||
ULONG SumRtt;
|
||||
ULONG CountRtt;
|
||||
ULONG CurRto;
|
||||
ULONG MaxRto;
|
||||
ULONG MinRto;
|
||||
ULONG CurMss;
|
||||
ULONG MaxMss;
|
||||
ULONG MinMss;
|
||||
ULONG SpuriousRtoDetections;
|
||||
} TCP_ESTATS_PATH_ROD_v0, *PTCP_ESTATS_PATH_ROD_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_PATH_RW_v0 {
|
||||
BOOLEAN EnableCollection;
|
||||
} TCP_ESTATS_PATH_RW_v0, *PTCP_ESTATS_PATH_RW_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_REC_ROD_v0 {
|
||||
ULONG CurRwinSent;
|
||||
ULONG MaxRwinSent;
|
||||
ULONG MinRwinSent;
|
||||
ULONG LimRwin;
|
||||
ULONG DupAckEpisodes;
|
||||
ULONG DupAcksOut;
|
||||
ULONG CeRcvd;
|
||||
ULONG EcnSent;
|
||||
ULONG EcnNoncesRcvd;
|
||||
ULONG CurReasmQueue;
|
||||
ULONG MaxReasmQueue;
|
||||
SIZE_T CurAppRQueue;
|
||||
SIZE_T MaxAppRQueue;
|
||||
UCHAR WinScaleSent;
|
||||
} TCP_ESTATS_REC_ROD_v0, *PTCP_ESTATS_REC_ROD_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_REC_RW_v0 {
|
||||
BOOLEAN EnableCollection;
|
||||
} TCP_ESTATS_REC_RW_v0, *PTCP_ESTATS_REC_RW_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_SEND_BUFF_ROD_v0 {
|
||||
SIZE_T CurRetxQueue;
|
||||
SIZE_T MaxRetxQueue;
|
||||
SIZE_T CurAppWQueue;
|
||||
SIZE_T MaxAppWQueue;
|
||||
} TCP_ESTATS_SEND_BUFF_ROD_v0, *PTCP_ESTATS_SEND_BUFF_ROD_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_SEND_BUFF_RW_v0 {
|
||||
BOOLEAN EnableCollection;
|
||||
} TCP_ESTATS_SEND_BUFF_RW_v0, *PTCP_ESTATS_SEND_BUFF_RW_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_SND_CONG_ROD_v0 {
|
||||
ULONG SndLimTransRwin;
|
||||
ULONG SndLimTimeRwin;
|
||||
SIZE_T SndLimBytesRwin;
|
||||
ULONG SndLimTransCwnd;
|
||||
ULONG SndLimTimeCwnd;
|
||||
SIZE_T SndLimBytesCwnd;
|
||||
ULONG SndLimTransSnd;
|
||||
ULONG SndLimTimeSnd;
|
||||
SIZE_T SndLimBytesSnd;
|
||||
ULONG SlowStart;
|
||||
ULONG CongAvoid;
|
||||
ULONG OtherReductions;
|
||||
ULONG CurCwnd;
|
||||
ULONG MaxSsCwnd;
|
||||
ULONG MaxCaCwnd;
|
||||
ULONG CurSsthresh;
|
||||
ULONG MaxSsthresh;
|
||||
ULONG MinSsthresh;
|
||||
} TCP_ESTATS_SND_CONG_ROD_v0, *PTCP_ESTATS_SND_CONG_ROD_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_SND_CONG_ROS_v0 {
|
||||
ULONG LimCwnd;
|
||||
} TCP_ESTATS_SND_CONG_ROS_v0, *PTCP_ESTATS_SND_CONG_ROS_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_SND_CONG_RW_v0 {
|
||||
BOOLEAN EnableCollection;
|
||||
} TCP_ESTATS_SND_CONG_RW_v0, *PTCP_ESTATS_SND_CONG_RW_v0;
|
||||
|
||||
typedef struct _TCP_ESTATS_SYN_OPTS_ROS_v0 {
|
||||
BOOLEAN ActiveOpen;
|
||||
ULONG MssRcvd;
|
||||
ULONG MssSent;
|
||||
} TCP_ESTATS_SYN_OPTS_ROS_v0, *PTCP_ESTATS_SYN_OPTS_ROS_v0;
|
||||
|
||||
typedef enum _TCP_ESTATS_TYPE {
|
||||
TcpConnectionEstatsSynOpts,
|
||||
TcpConnectionEstatsData,
|
||||
TcpConnectionEstatsSndCong,
|
||||
TcpConnectionEstatsPath,
|
||||
TcpConnectionEstatsSendBuff,
|
||||
TcpConnectionEstatsRec,
|
||||
TcpConnectionEstatsObsRec,
|
||||
TcpConnectionEstatsBandwidth,
|
||||
TcpConnectionEstatsFineRtt,
|
||||
TcpConnectionEstatsMaximum
|
||||
} TCP_ESTATS_TYPE;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*(_WIN32_WINNT >= 0x0600)*/
|
||||
|
||||
#endif /*_INC_TCPESTATS*/
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
/**
|
||||
* 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_TCPMIB
|
||||
#define _INC_TCPMIB
|
||||
|
||||
#ifndef ANY_SIZE
|
||||
#define ANY_SIZE 1
|
||||
#endif
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* As I read msdn on Vista the defines above were moved into
|
||||
typedef enum { MIB_..., } MIB_TCP_STATE;
|
||||
We simply typedef it to int. */
|
||||
typedef int MIB_TCP_STATE;
|
||||
|
||||
typedef enum _TCP_CONNECTION_OFFLOAD_STATE {
|
||||
TcpConnectionOffloadStateInHost = 0,
|
||||
TcpConnectionOffloadStateOffloading = 1,
|
||||
TcpConnectionOffloadStateOffloaded = 2,
|
||||
TcpConnectionOffloadStateUploading = 3,
|
||||
TcpConnectionOffloadStateMax = 4
|
||||
} TCP_CONNECTION_OFFLOAD_STATE;
|
||||
|
||||
typedef struct _MIB_TCP6ROW {
|
||||
MIB_TCP_STATE State;
|
||||
IN6_ADDR LocalAddr;
|
||||
DWORD dwLocalScopeId;
|
||||
DWORD dwLocalPort;
|
||||
IN6_ADDR RemoteAddr;
|
||||
DWORD dwRemoteScopeId;
|
||||
DWORD dwRemotePort;
|
||||
} MIB_TCP6ROW, *PMIB_TCP6ROW;
|
||||
|
||||
typedef struct _MIB_TCP6TABLE {
|
||||
DWORD dwNumEntries;
|
||||
MIB_TCP6ROW table[ANY_SIZE];
|
||||
} MIB_TCP6TABLE, *PMIB_TCP6TABLE;
|
||||
|
||||
typedef struct _MIB_TCP6ROW2 {
|
||||
IN6_ADDR LocalAddr;
|
||||
DWORD dwLocalScopeId;
|
||||
DWORD dwLocalPort;
|
||||
IN6_ADDR RemoteAddr;
|
||||
DWORD dwRemoteScopeId;
|
||||
DWORD dwRemotePort;
|
||||
MIB_TCP_STATE State;
|
||||
DWORD dwOwningPid;
|
||||
TCP_CONNECTION_OFFLOAD_STATE dwOffloadState;
|
||||
} MIB_TCP6ROW2, *PMIB_TCP6ROW2;
|
||||
|
||||
typedef struct _MIB_TCP6TABLE2 {
|
||||
DWORD dwNumEntries;
|
||||
MIB_TCP6ROW2 table[ANY_SIZE];
|
||||
} MIB_TCP6TABLE2, *PMIB_TCP6TABLE2;
|
||||
|
||||
typedef struct _MIB_TCPROW2 {
|
||||
DWORD dwState;
|
||||
DWORD dwLocalAddr;
|
||||
DWORD dwLocalPort;
|
||||
DWORD dwRemoteAddr;
|
||||
DWORD dwRemotePort;
|
||||
DWORD dwOwningPid;
|
||||
TCP_CONNECTION_OFFLOAD_STATE dwOffloadState;
|
||||
} MIB_TCPROW2, *PMIB_TCPROW2;
|
||||
|
||||
typedef struct _MIB_TCPTABLE2 {
|
||||
DWORD dwNumEntries;
|
||||
MIB_TCPROW2 table[ANY_SIZE];
|
||||
} MIB_TCPTABLE2, *PMIB_TCPTABLE2;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*(_WIN32_WINNT >= 0x0600)*/
|
||||
|
||||
#endif /*_INC_TCPMIB*/
|
||||
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* 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 _TCPXCV_
|
||||
#define _TCPXCV_
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#if !defined(UNKNOWN_PROTOCOL)
|
||||
#define UNKNOWN_PROTOCOL 0
|
||||
#define PROTOCOL_UNKNOWN_TYPE UNKNOWN_PROTOCOL
|
||||
#endif
|
||||
|
||||
#if !defined(RAWTCP)
|
||||
#define RAWTCP 1
|
||||
#define PROTOCOL_RAWTCP_TYPE RAWTCP
|
||||
#endif
|
||||
|
||||
#if !defined(LPR)
|
||||
#define LPR 2
|
||||
#define PROTOCOL_LPR_TYPE LPR
|
||||
#endif
|
||||
|
||||
#define MAX_PORTNAME_LEN 64
|
||||
#define MAX_NETWORKNAME_LEN 49
|
||||
#define MAX_NETWORKNAME2_LEN 128
|
||||
#define MAX_SNMP_COMMUNITY_STR_LEN 33
|
||||
#define MAX_QUEUENAME_LEN 33
|
||||
#define MAX_IPADDR_STR_LEN 16
|
||||
#define MAX_ADDRESS_STR_LEN 13
|
||||
#define MAX_DEVICEDESCRIPTION_STR_LEN 257
|
||||
|
||||
typedef struct _PORT_DATA_1 {
|
||||
WCHAR sztPortName[MAX_PORTNAME_LEN];
|
||||
DWORD dwVersion;
|
||||
DWORD dwProtocol;
|
||||
DWORD cbSize;
|
||||
DWORD dwReserved;
|
||||
WCHAR sztHostAddress[MAX_NETWORKNAME_LEN];
|
||||
WCHAR sztSNMPCommunity[MAX_SNMP_COMMUNITY_STR_LEN];
|
||||
DWORD dwDoubleSpool;
|
||||
WCHAR sztQueue[MAX_QUEUENAME_LEN];
|
||||
WCHAR sztIPAddress[MAX_IPADDR_STR_LEN];
|
||||
BYTE Reserved[540];
|
||||
DWORD dwPortNumber;
|
||||
DWORD dwSNMPEnabled;
|
||||
DWORD dwSNMPDevIndex;
|
||||
} PORT_DATA_1, *PPORT_DATA_1;
|
||||
|
||||
typedef struct _PORT_DATA_2 {
|
||||
WCHAR sztPortName[MAX_PORTNAME_LEN];
|
||||
DWORD dwVersion;
|
||||
DWORD dwProtocol;
|
||||
DWORD cbSize;
|
||||
DWORD dwReserved;
|
||||
WCHAR sztHostAddress [MAX_NETWORKNAME2_LEN];
|
||||
WCHAR sztSNMPCommunity[MAX_SNMP_COMMUNITY_STR_LEN];
|
||||
DWORD dwDoubleSpool;
|
||||
WCHAR sztQueue[MAX_QUEUENAME_LEN];
|
||||
BYTE Reserved[514];
|
||||
DWORD dwPortNumber;
|
||||
DWORD dwSNMPEnabled;
|
||||
DWORD dwSNMPDevIndex;
|
||||
DWORD dwPortMonitorMibIndex;
|
||||
} PORT_DATA_2, *PPORT_DATA_2;
|
||||
|
||||
typedef struct _PORT_DATA_LIST_1 {
|
||||
DWORD dwVersion;
|
||||
DWORD cPortData;
|
||||
PORT_DATA_2 pPortData[1];
|
||||
} PORT_DATA_LIST_1, *PPORT_DATA_LIST_1;
|
||||
|
||||
typedef struct _DELETE_PORT_DATA_1 {
|
||||
WCHAR psztPortName[MAX_PORTNAME_LEN];
|
||||
BYTE Reserved[98];
|
||||
DWORD dwVersion;
|
||||
DWORD dwReserved;
|
||||
} DELETE_PORT_DATA_1, *PDELETE_PORT_DATA_1;
|
||||
|
||||
typedef struct _CONFIG_INFO_DATA_1 {
|
||||
BYTE Reserved[128];
|
||||
DWORD dwVersion;
|
||||
} CONFIG_INFO_DATA_1, *PCONFIG_INFO_DATA_1;
|
||||
|
||||
#endif /* WINAPI_PARTITION_DESKTOP */
|
||||
|
||||
#endif /* _TCPXCV_ */
|
||||
@@ -0,0 +1,242 @@
|
||||
/**
|
||||
* 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_TDH
|
||||
#define _INC_TDH
|
||||
#include <evntprov.h>
|
||||
#include <evntcons.h>
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum _EVENT_FIELD_TYPE {
|
||||
EventKeywordInformation = 0,
|
||||
EventLevelInformation = 1,
|
||||
EventChannelInformation = 2,
|
||||
EventTaskInformation = 3,
|
||||
EventOpcodeInformation = 4,
|
||||
EventInformationMax = 5
|
||||
} EVENT_FIELD_TYPE;
|
||||
|
||||
typedef struct _EVENT_MAP_ENTRY {
|
||||
ULONG OutputOffset;
|
||||
__C89_NAMELESS union {
|
||||
ULONG Value;
|
||||
ULONG InputOffset;
|
||||
};
|
||||
} EVENT_MAP_ENTRY, *PEVENT_MAP_ENTRY;
|
||||
|
||||
typedef enum _MAP_VALUETYPE
|
||||
{
|
||||
EVENTMAP_ENTRY_VALUETYPE_ULONG = 0,
|
||||
EVENTMAP_ENTRY_VALUETYPE_STRING = 1
|
||||
} MAP_VALUETYPE;
|
||||
|
||||
typedef enum _MAP_FLAGS {
|
||||
EVENTMAP_INFO_FLAG_MANIFEST_VALUEMAP = 1,
|
||||
EVENTMAP_INFO_FLAG_MANIFEST_BITMAP = 2,
|
||||
EVENTMAP_INFO_FLAG_MANIFEST_PATTERNMAP = 4,
|
||||
EVENTMAP_INFO_FLAG_WBEM_VALUEMAP = 8,
|
||||
EVENTMAP_INFO_FLAG_WBEM_BITMAP = 16,
|
||||
EVENTMAP_INFO_FLAG_WBEM_FLAG = 32,
|
||||
EVENTMAP_INFO_FLAG_WBEM_NO_MAP = 64
|
||||
} MAP_FLAGS;
|
||||
|
||||
typedef struct _EVENT_MAP_INFO {
|
||||
ULONG NameOffset;
|
||||
MAP_FLAGS Flag;
|
||||
ULONG EntryCount;
|
||||
__C89_NAMELESS union {
|
||||
MAP_VALUETYPE MapEntryValueType;
|
||||
ULONG FormatStringOffset;
|
||||
};
|
||||
EVENT_MAP_ENTRY MapEntryArray[ANYSIZE_ARRAY];
|
||||
} EVENT_MAP_INFO, *PEVENT_MAP_INFO;
|
||||
|
||||
typedef enum _PROPERTY_FLAGS {
|
||||
PropertyStruct = 0x1,
|
||||
PropertyParamLength = 0x2,
|
||||
PropertyParamCount = 0x4,
|
||||
PropertyWBEMXmlFragment = 0x8,
|
||||
PropertyParamFixedLength = 0x10
|
||||
} PROPERTY_FLAGS;
|
||||
|
||||
typedef struct _EVENT_PROPERTY_INFO {
|
||||
PROPERTY_FLAGS Flags;
|
||||
ULONG NameOffset;
|
||||
__C89_NAMELESS union {
|
||||
struct {
|
||||
USHORT InType;
|
||||
USHORT OutType;
|
||||
ULONG MapNameOffset;
|
||||
} nonStructType;
|
||||
struct {
|
||||
USHORT StructStartIndex;
|
||||
USHORT NumOfStructMembers;
|
||||
ULONG padding;
|
||||
} structType;
|
||||
};
|
||||
__C89_NAMELESS union {
|
||||
USHORT count;
|
||||
USHORT countPropertyIndex;
|
||||
};
|
||||
__C89_NAMELESS union {
|
||||
USHORT length;
|
||||
USHORT lengthPropertyIndex;
|
||||
};
|
||||
ULONG Reserved;
|
||||
} EVENT_PROPERTY_INFO;
|
||||
|
||||
typedef enum _DECODING_SOURCE {
|
||||
DecodingSourceXMLFile = 0,
|
||||
DecodingSourceWbem = 1,
|
||||
DecodingSourceWPP = 2
|
||||
} DECODING_SOURCE;
|
||||
|
||||
typedef enum _TDH_CONTEXT_TYPE {
|
||||
TDH_CONTEXT_WPP_TMFFILE = 0,
|
||||
TDH_CONTEXT_WPP_TMFSEARCHPATH = 1,
|
||||
TDH_CONTEXT_WPP_GMT = 2,
|
||||
TDH_CONTEXT_POINTERSIZE = 3,
|
||||
TDH_CONTEXT_MAXIMUM = 4
|
||||
} TDH_CONTEXT_TYPE;
|
||||
|
||||
typedef enum _TEMPLATE_FLAGS {
|
||||
TEMPLATE_EVENT_DATA = 1,
|
||||
TEMPLATE_USER_DATA = 2
|
||||
} TEMPLATE_FLAGS;
|
||||
|
||||
typedef struct _TRACE_EVENT_INFO {
|
||||
GUID ProviderGuid;
|
||||
GUID EventGuid;
|
||||
EVENT_DESCRIPTOR EventDescriptor;
|
||||
DECODING_SOURCE DecodingSource;
|
||||
ULONG ProviderNameOffset;
|
||||
ULONG LevelNameOffset;
|
||||
ULONG ChannelNameOffset;
|
||||
ULONG KeywordsNameOffset;
|
||||
ULONG TaskNameOffset;
|
||||
ULONG OpcodeNameOffset;
|
||||
ULONG EventMessageOffset;
|
||||
ULONG ProviderMessageOffset;
|
||||
ULONG BinaryXMLOffset;
|
||||
ULONG BinaryXMLSize;
|
||||
ULONG ActivityIDNameOffset;
|
||||
ULONG RelatedActivityIDNameOffset;
|
||||
ULONG PropertyCount;
|
||||
ULONG TopLevelPropertyCount;
|
||||
TEMPLATE_FLAGS Flags;
|
||||
EVENT_PROPERTY_INFO EventPropertyInfoArray[ANYSIZE_ARRAY];
|
||||
} TRACE_EVENT_INFO, *PTRACE_EVENT_INFO;
|
||||
|
||||
typedef struct _PROPERTY_DATA_DESCRIPTOR {
|
||||
ULONGLONG PropertyName;
|
||||
ULONG ArrayIndex;
|
||||
ULONG Reserved;
|
||||
} PROPERTY_DATA_DESCRIPTOR, *PPROPERTY_DATA_DESCRIPTOR;
|
||||
|
||||
typedef struct _TRACE_PROVIDER_INFO {
|
||||
GUID ProviderGuid;
|
||||
ULONG SchemaSource;
|
||||
ULONG ProviderNameOffset;
|
||||
} TRACE_PROVIDER_INFO;
|
||||
|
||||
typedef struct _PROVIDER_ENUMERATION_INFO {
|
||||
ULONG NumberOfProviders;
|
||||
ULONG Padding;
|
||||
TRACE_PROVIDER_INFO TraceProviderInfoArray[ANYSIZE_ARRAY];
|
||||
} PROVIDER_ENUMERATION_INFO, *PPROVIDER_ENUMERATION_INFO;
|
||||
|
||||
typedef struct _PROVIDER_FIELD_INFO {
|
||||
ULONG NameOffset;
|
||||
ULONG DescriptionOffset;
|
||||
ULONGLONG Value;
|
||||
} PROVIDER_FIELD_INFO;
|
||||
|
||||
typedef struct _PROVIDER_FIELD_INFOARRAY {
|
||||
ULONG NumberOfElements;
|
||||
EVENT_FIELD_TYPE FieldType;
|
||||
PROVIDER_FIELD_INFO FieldInfoArray[ANYSIZE_ARRAY];
|
||||
} PROVIDER_FIELD_INFOARRAY, *PPROVIDER_FIELD_INFOARRAY;
|
||||
|
||||
typedef struct _TDH_CONTEXT {
|
||||
ULONGLONG ParameterValue;
|
||||
TDH_CONTEXT_TYPE ParameterType;
|
||||
ULONG ParameterSize;
|
||||
} TDH_CONTEXT, *PTDH_CONTEXT;
|
||||
|
||||
ULONG __stdcall TdhEnumerateProviderFieldInformation(
|
||||
LPGUID pGuid,
|
||||
EVENT_FIELD_TYPE EventFieldType,
|
||||
PPROVIDER_FIELD_INFOARRAY pBuffer,
|
||||
ULONG *pBufferSize
|
||||
);
|
||||
|
||||
ULONG __stdcall TdhEnumerateProviders(
|
||||
PPROVIDER_ENUMERATION_INFO pBuffer,
|
||||
ULONG *pBufferSize
|
||||
);
|
||||
|
||||
ULONG __stdcall TdhGetEventInformation(
|
||||
PEVENT_RECORD pEvent,
|
||||
ULONG TdhContextCount,
|
||||
PTDH_CONTEXT pTdhContext,
|
||||
PTRACE_EVENT_INFO pBuffer,
|
||||
ULONG *pBufferSize
|
||||
);
|
||||
|
||||
ULONG __stdcall TdhGetEventMapInformation(
|
||||
PEVENT_RECORD pEvent,
|
||||
LPWSTR pMapName,
|
||||
PEVENT_MAP_INFO pBuffer,
|
||||
ULONG *pBufferSize
|
||||
);
|
||||
|
||||
ULONG __stdcall TdhGetProperty(
|
||||
PEVENT_RECORD pEvent,
|
||||
ULONG TdhContextCount,
|
||||
PTDH_CONTEXT pTdhContext,
|
||||
ULONG PropertyDataCount,
|
||||
PPROPERTY_DATA_DESCRIPTOR pPropertyData,
|
||||
ULONG BufferSize,
|
||||
PBYTE pBuffer
|
||||
);
|
||||
|
||||
ULONG __stdcall TdhGetPropertySize(
|
||||
PEVENT_RECORD pEvent,
|
||||
ULONG TdhContextCount,
|
||||
PTDH_CONTEXT pTdhContext,
|
||||
ULONG PropertyDataCount,
|
||||
PPROPERTY_DATA_DESCRIPTOR pPropertyData,
|
||||
ULONG *pPropertySize
|
||||
);
|
||||
|
||||
ULONG __stdcall TdhQueryProviderFieldInformation(
|
||||
LPGUID pGuid,
|
||||
ULONGLONG EventFieldValue,
|
||||
EVENT_FIELD_TYPE EventFieldType,
|
||||
PPROVIDER_FIELD_INFOARRAY pBuffer,
|
||||
ULONG *pBufferSize
|
||||
);
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0601)
|
||||
typedef struct _PROVIDER_FILTER_INFO {
|
||||
UCHAR Id;
|
||||
UCHAR Version;
|
||||
ULONG MessageOffset;
|
||||
ULONG Reserved;
|
||||
ULONG PropertyCount;
|
||||
EVENT_PROPERTY_INFO EventPropertyInfoArray[ANYSIZE_ARRAY];
|
||||
} PROVIDER_FILTER_INFO, *PPROVIDER_FILTER_INFO;
|
||||
#endif /*(_WIN32_WINNT >= 0x0601)*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*(_WIN32_WINNT >= 0x0600)*/
|
||||
#endif /*_INC_TDH*/
|
||||
@@ -0,0 +1,588 @@
|
||||
/*
|
||||
* tdi.h
|
||||
*
|
||||
* TDI user mode definitions
|
||||
*
|
||||
* This file is part of the w32api package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __TDI_H
|
||||
#define __TDI_H
|
||||
|
||||
#include "ntddtdi.h"
|
||||
#include "tdistat.h"
|
||||
#include "netpnp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Basic types */
|
||||
|
||||
typedef LONG TDI_STATUS;
|
||||
typedef PVOID CONNECTION_CONTEXT;
|
||||
|
||||
typedef struct _TDI_CONNECTION_INFORMATION {
|
||||
LONG UserDataLength;
|
||||
PVOID UserData;
|
||||
LONG OptionsLength;
|
||||
PVOID Options;
|
||||
LONG RemoteAddressLength;
|
||||
PVOID RemoteAddress;
|
||||
} TDI_CONNECTION_INFORMATION, *PTDI_CONNECTION_INFORMATION;
|
||||
|
||||
typedef struct _TDI_REQUEST {
|
||||
union {
|
||||
HANDLE AddressHandle;
|
||||
CONNECTION_CONTEXT ConnectionContext;
|
||||
HANDLE ControlChannel;
|
||||
} Handle;
|
||||
PVOID RequestNotifyObject;
|
||||
PVOID RequestContext;
|
||||
TDI_STATUS TdiStatus;
|
||||
} TDI_REQUEST, *PTDI_REQUEST;
|
||||
|
||||
typedef struct _TDI_REQUEST_STATUS {
|
||||
TDI_STATUS Status;
|
||||
PVOID RequestContext;
|
||||
ULONG BytesTransferred;
|
||||
} TDI_REQUEST_STATUS, *PTDI_REQUEST_STATUS;
|
||||
|
||||
typedef struct _TDI_CONNECT_REQUEST {
|
||||
TDI_REQUEST Request;
|
||||
PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
|
||||
PTDI_CONNECTION_INFORMATION ReturnConnectionInformation;
|
||||
LARGE_INTEGER Timeout;
|
||||
} TDI_REQUEST_CONNECT, *PTDI_REQUEST_CONNECT;
|
||||
|
||||
typedef struct _TDI_REQUEST_ACCEPT {
|
||||
TDI_REQUEST Request;
|
||||
PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
|
||||
PTDI_CONNECTION_INFORMATION ReturnConnectionInformation;
|
||||
} TDI_REQUEST_ACCEPT, *PTDI_REQUEST_ACCEPT;
|
||||
|
||||
typedef struct _TDI_REQUEST_LISTEN {
|
||||
TDI_REQUEST Request;
|
||||
PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
|
||||
PTDI_CONNECTION_INFORMATION ReturnConnectionInformation;
|
||||
USHORT ListenFlags;
|
||||
} TDI_REQUEST_LISTEN, *PTDI_REQUEST_LISTEN;
|
||||
|
||||
typedef struct _TDI_DISCONNECT_REQUEST {
|
||||
TDI_REQUEST Request;
|
||||
LARGE_INTEGER Timeout;
|
||||
} TDI_REQUEST_DISCONNECT, *PTDI_REQUEST_DISCONNECT;
|
||||
|
||||
typedef struct _TDI_REQUEST_SEND {
|
||||
TDI_REQUEST Request;
|
||||
USHORT SendFlags;
|
||||
} TDI_REQUEST_SEND, *PTDI_REQUEST_SEND;
|
||||
|
||||
typedef struct _TDI_REQUEST_RECEIVE {
|
||||
TDI_REQUEST Request;
|
||||
USHORT ReceiveFlags;
|
||||
} TDI_REQUEST_RECEIVE, *PTDI_REQUEST_RECEIVE;
|
||||
|
||||
typedef struct _TDI_REQUEST_SEND_DATAGRAM {
|
||||
TDI_REQUEST Request;
|
||||
PTDI_CONNECTION_INFORMATION SendDatagramInformation;
|
||||
} TDI_REQUEST_SEND_DATAGRAM, *PTDI_REQUEST_SEND_DATAGRAM;
|
||||
|
||||
typedef struct _TDI_REQUEST_RECEIVE_DATAGRAM {
|
||||
TDI_REQUEST Request;
|
||||
PTDI_CONNECTION_INFORMATION ReceiveDatagramInformation;
|
||||
PTDI_CONNECTION_INFORMATION ReturnInformation;
|
||||
USHORT ReceiveFlags;
|
||||
} TDI_REQUEST_RECEIVE_DATAGRAM, *PTDI_REQUEST_RECEIVE_DATAGRAM;
|
||||
|
||||
typedef struct _TDI_REQUEST_SET_EVENT {
|
||||
TDI_REQUEST Request;
|
||||
LONG EventType;
|
||||
PVOID EventHandler;
|
||||
PVOID EventContext;
|
||||
} TDI_REQUEST_SET_EVENT_HANDLER, *PTDI_REQUEST_SET_EVENT_HANDLER;
|
||||
|
||||
#define TDI_RECEIVE_BROADCAST 0x00000004
|
||||
#define TDI_RECEIVE_MULTICAST 0x00000008
|
||||
#define TDI_RECEIVE_PARTIAL 0x00000010
|
||||
#define TDI_RECEIVE_NORMAL 0x00000020
|
||||
#define TDI_RECEIVE_EXPEDITED 0x00000040
|
||||
#define TDI_RECEIVE_PEEK 0x00000080
|
||||
#define TDI_RECEIVE_NO_RESPONSE_EXP 0x00000100
|
||||
#define TDI_RECEIVE_COPY_LOOKAHEAD 0x00000200
|
||||
#define TDI_RECEIVE_ENTIRE_MESSAGE 0x00000400
|
||||
#define TDI_RECEIVE_AT_DISPATCH_LEVEL 0x00000800
|
||||
#define TDI_RECEIVE_CONTROL_INFO 0x00001000
|
||||
|
||||
/* Listen flags */
|
||||
#define TDI_QUERY_ACCEPT 0x00000001
|
||||
|
||||
/* Options used for both SendOptions and ReceiveIndicators */
|
||||
#define TDI_SEND_EXPEDITED 0x0020
|
||||
#define TDI_SEND_PARTIAL 0x0040
|
||||
#define TDI_SEND_NO_RESPONSE_EXPECTED 0x0080
|
||||
#define TDI_SEND_NON_BLOCKING 0x0100
|
||||
#define TDI_SEND_AND_DISCONNECT 0x0200
|
||||
|
||||
/* Disconnect Flags */
|
||||
#define TDI_DISCONNECT_WAIT 0x0001
|
||||
#define TDI_DISCONNECT_ABORT 0x0002
|
||||
#define TDI_DISCONNECT_RELEASE 0x0004
|
||||
|
||||
/* TdiRequest structure for TdiQueryInformation request */
|
||||
typedef struct _TDI_REQUEST_QUERY_INFORMATION {
|
||||
TDI_REQUEST Request;
|
||||
ULONG QueryType;
|
||||
PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
|
||||
} TDI_REQUEST_QUERY_INFORMATION, *PTDI_REQUEST_QUERY_INFORMATION;
|
||||
|
||||
/* TdiRequest structure for TdiSetInformation request */
|
||||
typedef struct _TDI_REQUEST_SET_INFORMATION {
|
||||
TDI_REQUEST Request;
|
||||
ULONG SetType;
|
||||
PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
|
||||
} TDI_REQUEST_SET_INFORMATION, *PTDI_REQUEST_SET_INFORMATION;
|
||||
|
||||
typedef TDI_REQUEST_SET_INFORMATION TDI_REQ_SET_INFORMATION, *PTDI_REQ_SET_INFORMATION;
|
||||
|
||||
typedef union _TDI_REQUEST_TYPE {
|
||||
TDI_REQUEST_ACCEPT TdiAccept;
|
||||
TDI_REQUEST_CONNECT TdiConnect;
|
||||
TDI_REQUEST_DISCONNECT TdiDisconnect;
|
||||
TDI_REQUEST_LISTEN TdiListen;
|
||||
TDI_REQUEST_QUERY_INFORMATION TdiQueryInformation;
|
||||
TDI_REQUEST_RECEIVE TdiReceive;
|
||||
TDI_REQUEST_RECEIVE_DATAGRAM TdiReceiveDatagram;
|
||||
TDI_REQUEST_SEND TdiSend;
|
||||
TDI_REQUEST_SEND_DATAGRAM TdiSendDatagram;
|
||||
TDI_REQUEST_SET_EVENT_HANDLER TdiSetEventHandler;
|
||||
TDI_REQUEST_SET_INFORMATION TdiSetInformation;
|
||||
} TDI_REQUEST_TYPE, *PTDI_REQUEST_TYPE;
|
||||
|
||||
/* Query information types */
|
||||
|
||||
/* Generic query info types that must be supported by all transports */
|
||||
#define TDI_QUERY_BROADCAST_ADDRESS 0x00000001
|
||||
#define TDI_QUERY_PROVIDER_INFO 0x00000002
|
||||
#define TDI_QUERY_ADDRESS_INFO 0x00000003
|
||||
#define TDI_QUERY_CONNECTION_INFO 0x00000004
|
||||
#define TDI_QUERY_PROVIDER_STATISTICS 0x00000005
|
||||
#define TDI_QUERY_DATAGRAM_INFO 0x00000006
|
||||
#define TDI_QUERY_DATA_LINK_ADDRESS 0x00000007
|
||||
#define TDI_QUERY_NETWORK_ADDRESS 0x00000008
|
||||
#define TDI_QUERY_MAX_DATAGRAM_INFO 0x00000009
|
||||
|
||||
/* Netbios specific query information types */
|
||||
#define TDI_QUERY_ADAPTER_STATUS 0x00000100
|
||||
#define TDI_QUERY_SESSION_STATUS 0x00000200
|
||||
#define TDI_QUERY_FIND_NAME 0x00000300
|
||||
|
||||
/* Structures used for TdiQueryInformation and TdiSetInformation */
|
||||
|
||||
typedef struct _TDI_ENDPOINT_INFO {
|
||||
ULONG State;
|
||||
ULONG Event;
|
||||
ULONG TransmittedTsdus;
|
||||
ULONG ReceivedTsdus;
|
||||
ULONG TransmissionErrors;
|
||||
ULONG ReceiveErrors;
|
||||
ULONG MinimumLookaheadData;
|
||||
ULONG MaximumLookaheadData;
|
||||
ULONG PriorityLevel;
|
||||
ULONG SecurityLevel;
|
||||
ULONG SecurityCompartment;
|
||||
} TDI_ENDPOINT_INFO, *PTDI_ENDPOINT_INFO;
|
||||
|
||||
typedef struct _TDI_CONNECTION_INFO {
|
||||
ULONG State;
|
||||
ULONG Event;
|
||||
ULONG TransmittedTsdus;
|
||||
ULONG ReceivedTsdus;
|
||||
ULONG TransmissionErrors;
|
||||
ULONG ReceiveErrors;
|
||||
LARGE_INTEGER Throughput;
|
||||
LARGE_INTEGER Delay;
|
||||
ULONG SendBufferSize;
|
||||
ULONG ReceiveBufferSize;
|
||||
BOOLEAN Unreliable;
|
||||
} TDI_CONNECTION_INFO, *PTDI_CONNECTION_INFO;
|
||||
|
||||
typedef struct _TDI_DATAGRAM_INFO {
|
||||
ULONG MaximumDatagramBytes;
|
||||
ULONG MaximumDatagramCount;
|
||||
} TDI_DATAGRAM_INFO, *PTDI_DATAGRAM_INFO;
|
||||
|
||||
typedef struct _TDI_MAX_DATAGRAM_INFO {
|
||||
ULONG MaxDatagramSize;
|
||||
} TDI_MAX_DATAGRAM_INFO, *PTDI_MAX_DATAGRAM_INFO;
|
||||
|
||||
typedef struct _TDI_PROVIDER_INFO {
|
||||
ULONG Version;
|
||||
ULONG MaxSendSize;
|
||||
ULONG MaxConnectionUserData;
|
||||
ULONG MaxDatagramSize;
|
||||
ULONG ServiceFlags;
|
||||
ULONG MinimumLookaheadData;
|
||||
ULONG MaximumLookaheadData;
|
||||
ULONG NumberOfResources;
|
||||
LARGE_INTEGER StartTime;
|
||||
} TDI_PROVIDER_INFO, *PTDI_PROVIDER_INFO;
|
||||
|
||||
#define TDI_SERVICE_CONNECTION_MODE 0x00000001
|
||||
#define TDI_SERVICE_ORDERLY_RELEASE 0x00000002
|
||||
#define TDI_SERVICE_CONNECTIONLESS_MODE 0x00000004
|
||||
#define TDI_SERVICE_ERROR_FREE_DELIVERY 0x00000008
|
||||
#define TDI_SERVICE_SECURITY_LEVEL 0x00000010
|
||||
#define TDI_SERVICE_BROADCAST_SUPPORTED 0x00000020
|
||||
#define TDI_SERVICE_MULTICAST_SUPPORTED 0x00000040
|
||||
#define TDI_SERVICE_DELAYED_ACCEPTANCE 0x00000080
|
||||
#define TDI_SERVICE_EXPEDITED_DATA 0x00000100
|
||||
#define TDI_SERVICE_INTERNAL_BUFFERING 0x00000200
|
||||
#define TDI_SERVICE_ROUTE_DIRECTED 0x00000400
|
||||
#define TDI_SERVICE_NO_ZERO_LENGTH 0x00000800
|
||||
#define TDI_SERVICE_POINT_TO_POINT 0x00001000
|
||||
#define TDI_SERVICE_MESSAGE_MODE 0x00002000
|
||||
#define TDI_SERVICE_HALF_DUPLEX 0x00004000
|
||||
#define TDI_SERVICE_DGRAM_CONNECTION 0x00008000
|
||||
#define TDI_SERVICE_FORCE_ACCESS_CHECK 0x00010000
|
||||
#define TDI_SERVICE_SEND_AND_DISCONNECT 0x00020000
|
||||
#define TDI_SERVICE_DIRECT_ACCEPT 0x00040000
|
||||
#define TDI_SERVICE_ACCEPT_LOCAL_ADDR 0x00080000
|
||||
|
||||
typedef struct _TDI_PROVIDER_RESOURCE_STATS {
|
||||
ULONG ResourceId;
|
||||
ULONG MaximumResourceUsed;
|
||||
ULONG AverageResourceUsed;
|
||||
ULONG ResourceExhausted;
|
||||
} TDI_PROVIDER_RESOURCE_STATS, *PTDI_PROVIDER_RESOURCE_STATS;
|
||||
|
||||
typedef struct _TDI_PROVIDER_STATISTICS {
|
||||
ULONG Version;
|
||||
ULONG OpenConnections;
|
||||
ULONG ConnectionsAfterNoRetry;
|
||||
ULONG ConnectionsAfterRetry;
|
||||
ULONG LocalDisconnects;
|
||||
ULONG RemoteDisconnects;
|
||||
ULONG LinkFailures;
|
||||
ULONG AdapterFailures;
|
||||
ULONG SessionTimeouts;
|
||||
ULONG CancelledConnections;
|
||||
ULONG RemoteResourceFailures;
|
||||
ULONG LocalResourceFailures;
|
||||
ULONG NotFoundFailures;
|
||||
ULONG NoListenFailures;
|
||||
ULONG DatagramsSent;
|
||||
LARGE_INTEGER DatagramBytesSent;
|
||||
ULONG DatagramsReceived;
|
||||
LARGE_INTEGER DatagramBytesReceived;
|
||||
ULONG PacketsSent;
|
||||
ULONG PacketsReceived;
|
||||
ULONG DataFramesSent;
|
||||
LARGE_INTEGER DataFrameBytesSent;
|
||||
ULONG DataFramesReceived;
|
||||
LARGE_INTEGER DataFrameBytesReceived;
|
||||
ULONG DataFramesResent;
|
||||
LARGE_INTEGER DataFrameBytesResent;
|
||||
ULONG DataFramesRejected;
|
||||
LARGE_INTEGER DataFrameBytesRejected;
|
||||
ULONG ResponseTimerExpirations;
|
||||
ULONG AckTimerExpirations;
|
||||
ULONG MaximumSendWindow;
|
||||
ULONG AverageSendWindow;
|
||||
ULONG PiggybackAckQueued;
|
||||
ULONG PiggybackAckTimeouts;
|
||||
LARGE_INTEGER WastedPacketSpace;
|
||||
ULONG WastedSpacePackets;
|
||||
ULONG NumberOfResources;
|
||||
TDI_PROVIDER_RESOURCE_STATS ResourceStats[1];
|
||||
} TDI_PROVIDER_STATISTICS, *PTDI_PROVIDER_STATISTICS;
|
||||
|
||||
#define TDI_EVENT_CONNECT 0
|
||||
#define TDI_EVENT_DISCONNECT 1
|
||||
#define TDI_EVENT_ERROR 2
|
||||
#define TDI_EVENT_RECEIVE 3
|
||||
#define TDI_EVENT_RECEIVE_DATAGRAM 4
|
||||
#define TDI_EVENT_RECEIVE_EXPEDITED 5
|
||||
#define TDI_EVENT_SEND_POSSIBLE 6
|
||||
|
||||
typedef struct _TDI_REQUEST_ASSOCIATE {
|
||||
TDI_REQUEST Request;
|
||||
HANDLE AddressHandle;
|
||||
} TDI_REQUEST_ASSOCIATE_ADDRESS, *PTDI_REQUEST_ASSOCIATE_ADDRESS;
|
||||
|
||||
#define NDIS_PACKET_POOL_TAG_FOR_NWLNKIPX 'iPDN'
|
||||
#define NDIS_PACKET_POOL_TAG_FOR_NWLNKSPX 'sPDN'
|
||||
#define NDIS_PACKET_POOL_TAG_FOR_NWLNKNB 'nPDN'
|
||||
#define NDIS_PACKET_POOL_TAG_FOR_TCPIP 'tPDN'
|
||||
#define NDIS_PACKET_POOL_TAG_FOR_NBF 'bPDN'
|
||||
#define NDIS_PACKET_POOL_TAG_FOR_APPLETALK 'aPDN'
|
||||
|
||||
typedef struct _TA_ADDRESS {
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
UCHAR Address[1];
|
||||
} TA_ADDRESS, *PTA_ADDRESS;
|
||||
|
||||
#define TDI_ADDRESS_TYPE_UNSPEC 0
|
||||
#define TDI_ADDRESS_TYPE_UNIX 1
|
||||
#define TDI_ADDRESS_TYPE_IP 2
|
||||
#define TDI_ADDRESS_TYPE_IMPLINK 3
|
||||
#define TDI_ADDRESS_TYPE_PUP 4
|
||||
#define TDI_ADDRESS_TYPE_CHAOS 5
|
||||
#define TDI_ADDRESS_TYPE_NS 6
|
||||
#define TDI_ADDRESS_TYPE_IPX 6
|
||||
#define TDI_ADDRESS_TYPE_NBS 7
|
||||
#define TDI_ADDRESS_TYPE_ECMA 8
|
||||
#define TDI_ADDRESS_TYPE_DATAKIT 9
|
||||
#define TDI_ADDRESS_TYPE_CCITT 10
|
||||
#define TDI_ADDRESS_TYPE_SNA 11
|
||||
#define TDI_ADDRESS_TYPE_DECnet 12
|
||||
#define TDI_ADDRESS_TYPE_DLI 13
|
||||
#define TDI_ADDRESS_TYPE_LAT 14
|
||||
#define TDI_ADDRESS_TYPE_HYLINK 15
|
||||
#define TDI_ADDRESS_TYPE_APPLETALK 16
|
||||
#define TDI_ADDRESS_TYPE_NETBIOS 17
|
||||
#define TDI_ADDRESS_TYPE_8022 18
|
||||
#define TDI_ADDRESS_TYPE_OSI_TSAP 19
|
||||
#define TDI_ADDRESS_TYPE_NETONE 20
|
||||
#define TDI_ADDRESS_TYPE_VNS 21
|
||||
#define TDI_ADDRESS_TYPE_NETBIOS_EX 22
|
||||
#define TDI_ADDRESS_TYPE_IP6 23
|
||||
#define TDI_ADDRESS_TYPE_NETBIOS_UNICODE_EX 24
|
||||
|
||||
#define TdiTransportAddress "TransportAddress"
|
||||
#define TdiConnectionContext "ConnectionContext"
|
||||
#define TDI_TRANSPORT_ADDRESS_LENGTH (sizeof(TdiTransportAddress) - 1)
|
||||
#define TDI_CONNECTION_CONTEXT_LENGTH (sizeof(TdiConnectionContext) - 1)
|
||||
|
||||
typedef struct _TRANSPORT_ADDRESS {
|
||||
LONG TAAddressCount;
|
||||
TA_ADDRESS Address[1];
|
||||
} TRANSPORT_ADDRESS, *PTRANSPORT_ADDRESS;
|
||||
|
||||
typedef struct _TDI_ACTION_HEADER {
|
||||
ULONG TransportId;
|
||||
USHORT ActionCode;
|
||||
USHORT Reserved;
|
||||
} TDI_ACTION_HEADER, *PTDI_ACTION_HEADER;
|
||||
|
||||
typedef struct _TDI_ADDRESS_INFO {
|
||||
ULONG ActivityCount;
|
||||
TRANSPORT_ADDRESS Address;
|
||||
} TDI_ADDRESS_INFO, *PTDI_ADDRESS_INFO;
|
||||
|
||||
#include "pshpack1.h"
|
||||
|
||||
typedef struct _TDI_ADDRESS_8022 {
|
||||
UCHAR MACAddress[6];
|
||||
} TDI_ADDRESS_8022, *PTDI_ADDRESS_8022;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_8022 sizeof(TDI_ADDRESS_8022);
|
||||
|
||||
typedef struct _TDI_ADDRESS_APPLETALK {
|
||||
USHORT Network;
|
||||
UCHAR Node;
|
||||
UCHAR Socket;
|
||||
} TDI_ADDRESS_APPLETALK, *PTDI_ADDRESS_APPLETALK;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_APPLETALK sizeof(TDI_ADDRESS_APPLETALK)
|
||||
|
||||
typedef struct _TDI_ADDRESS_IP {
|
||||
USHORT sin_port;
|
||||
ULONG in_addr;
|
||||
UCHAR sin_zero[8];
|
||||
} TDI_ADDRESS_IP, *PTDI_ADDRESS_IP;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_IP sizeof(TDI_ADDRESS_IP)
|
||||
|
||||
typedef struct _TDI_ADDRESS_IPX {
|
||||
ULONG NetworkAddress;
|
||||
UCHAR NodeAddress[6];
|
||||
USHORT Socket;
|
||||
} TDI_ADDRESS_IPX, *PTDI_ADDRESS_IPX;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_IPX sizeof(TDI_ADDRESS_IPX)
|
||||
|
||||
/* TDI_ADDRESS_NETBIOS.NetbiosNameType constants */
|
||||
#define TDI_ADDRESS_NETBIOS_TYPE_UNIQUE 0x0000
|
||||
#define TDI_ADDRESS_NETBIOS_TYPE_GROUP 0x0001
|
||||
#define TDI_ADDRESS_NETBIOS_TYPE_QUICK_UNIQUE 0x0002
|
||||
#define TDI_ADDRESS_NETBIOS_TYPE_QUICK_GROUP 0x0003
|
||||
|
||||
typedef struct _TDI_ADDRESS_NETBIOS {
|
||||
USHORT NetbiosNameType;
|
||||
UCHAR NetbiosName[16];
|
||||
} TDI_ADDRESS_NETBIOS, *PTDI_ADDRESS_NETBIOS;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_NETBIOS sizeof(TDI_ADDRESS_NETBIOS)
|
||||
|
||||
typedef struct _TDI_ADDRESS_NETBIOS_EX {
|
||||
UCHAR EndpointName[16];
|
||||
TDI_ADDRESS_NETBIOS NetbiosAddress;
|
||||
} TDI_ADDRESS_NETBIOS_EX, *PTDI_ADDRESS_NETBIOS_EX;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_NETBIOS_EX sizeof(TDI_ADDRESS_NETBIOS_EX)
|
||||
|
||||
/* TDI_ADDRESS_NETONE.NetoneNameType constants */
|
||||
#define TDI_ADDRESS_NETONE_TYPE_UNIQUE 0x0000
|
||||
#define TDI_ADDRESS_NETONE_TYPE_ROTORED 0x0001
|
||||
|
||||
typedef struct _TDI_ADDRESS_NETONE {
|
||||
USHORT NetoneNameType;
|
||||
UCHAR NetoneName[20];
|
||||
} TDI_ADDRESS_NETONE, *PTDI_ADDRESS_NETONE;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_NETONE sizeof(TDI_ADDRESS_NETONE)
|
||||
|
||||
typedef struct _TDI_ADDRESS_NS
|
||||
{
|
||||
ULONG NetworkAddress;
|
||||
UCHAR NodeAddress[6];
|
||||
USHORT Socket;
|
||||
} TDI_ADDRESS_NS, *PTDI_ADDRESS_NS;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_NS sizeof(TDI_ADDRESS_NS)
|
||||
|
||||
#define ISO_MAX_ADDR_LENGTH 64
|
||||
|
||||
/* TDI_ADDRESS_OSI_TSAP.tp_addr_type constants */
|
||||
#define ISO_HIERARCHICAL 0
|
||||
#define ISO_NON_HIERARCHICAL 1
|
||||
|
||||
typedef struct _TDI_ADDRESS_OSI_TSAP {
|
||||
USHORT tp_addr_type;
|
||||
USHORT tp_taddr_len;
|
||||
USHORT tp_tsel_len;
|
||||
UCHAR tp_addr[ISO_MAX_ADDR_LENGTH];
|
||||
} TDI_ADDRESS_OSI_TSAP, *PTDI_ADDRESS_OSI_TSAP;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_OSI_TSAP sizeof(TDI_ADDRESS_OSI_TSAP)
|
||||
|
||||
typedef struct _TDI_ADDRESS_VNS {
|
||||
UCHAR net_address[4];
|
||||
UCHAR subnet_addr[2];
|
||||
UCHAR port[2];
|
||||
UCHAR hops;
|
||||
UCHAR filler[5];
|
||||
} TDI_ADDRESS_VNS, *PTDI_ADDRESS_VNS;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_VNS sizeof(TDI_ADDRESS_VNS)
|
||||
|
||||
typedef struct _TDI_ADDRESS_IP6 {
|
||||
USHORT sin6_port;
|
||||
ULONG sin6_flowinfo;
|
||||
USHORT sin6_addr[8];
|
||||
ULONG sin6_scope_id;
|
||||
} TDI_ADDRESS_IP6, *PTDI_ADDRESS_IP6;
|
||||
|
||||
#define TDI_ADDRESS_LENGTH_IP6 sizeof(TDI_ADDRESS_IP6)
|
||||
|
||||
enum eNameBufferType {
|
||||
NBT_READONLY = 0,
|
||||
NBT_WRITEONLY,
|
||||
NBT_READWRITE,
|
||||
NBT_WRITTEN
|
||||
};
|
||||
|
||||
typedef struct _TDI_ADDRESS_NETBIOS_UNICODE_EX {
|
||||
USHORT NetbiosNameType;
|
||||
enum eNameBufferType NameBufferType;
|
||||
UNICODE_STRING EndpointName;
|
||||
UNICODE_STRING RemoteName;
|
||||
WCHAR EndpointBuffer[17];
|
||||
WCHAR RemoteNameBuffer[1];
|
||||
} TDI_ADDRESS_NETBIOS_UNICODE_EX, *PTDI_ADDRESS_NETBIOS_UNICODE_EX;
|
||||
|
||||
typedef struct _TA_APPLETALK_ADDR {
|
||||
LONG TAAddressCount;
|
||||
struct _AddrAtalk {
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
TDI_ADDRESS_APPLETALK Address[1];
|
||||
} Address[1];
|
||||
} TA_APPLETALK_ADDRESS, *PTA_APPLETALK_ADDRESS;
|
||||
|
||||
typedef struct _TA_ADDRESS_IP {
|
||||
LONG TAAddressCount;
|
||||
struct _AddrIp {
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
TDI_ADDRESS_IP Address[1];
|
||||
} Address[1];
|
||||
} TA_IP_ADDRESS, *PTA_IP_ADDRESS;
|
||||
|
||||
typedef struct _TA_ADDRESS_IPX {
|
||||
LONG TAAddressCount;
|
||||
struct _AddrIpx {
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
TDI_ADDRESS_IPX Address[1];
|
||||
} Address[1];
|
||||
} TA_IPX_ADDRESS, *PTA_IPX_ADDRESS;
|
||||
|
||||
typedef struct _TA_NETBIOS_ADDRESS {
|
||||
LONG TAAddressCount;
|
||||
struct _Addr{
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
TDI_ADDRESS_NETBIOS Address[1];
|
||||
} Address[1];
|
||||
} TA_NETBIOS_ADDRESS, *PTA_NETBIOS_ADDRESS;
|
||||
|
||||
typedef struct _TA_ADDRESS_NS {
|
||||
LONG TAAddressCount;
|
||||
struct _AddrNs {
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
TDI_ADDRESS_NS Address[1];
|
||||
} Address[1];
|
||||
} TA_NS_ADDRESS, *PTA_NS_ADDRESS;
|
||||
|
||||
typedef struct _TA_ADDRESS_VNS {
|
||||
LONG TAAddressCount;
|
||||
struct _AddrVns {
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
TDI_ADDRESS_VNS Address[1];
|
||||
} Address[1];
|
||||
} TA_VNS_ADDRESS, *PTA_VNS_ADDRESS;
|
||||
|
||||
typedef struct _TA_ADDRESS_IP6 {
|
||||
LONG TAAddressCount;
|
||||
struct _AddrIp6 {
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
TDI_ADDRESS_IP6 Address[1];
|
||||
} Address [1];
|
||||
} TA_IP6_ADDRESS, *PTA_IP6_ADDRESS;
|
||||
|
||||
typedef struct _TA_ADDRESS_NETBIOS_UNICODE_EX {
|
||||
LONG TAAddressCount;
|
||||
struct _AddrNetbiosWCharEx {
|
||||
USHORT AddressLength;
|
||||
USHORT AddressType;
|
||||
TDI_ADDRESS_NETBIOS_UNICODE_EX Address[1];
|
||||
} Address [1];
|
||||
} TA_NETBIOS_UNICODE_EX_ADDRESS, *PTA_NETBIOS_UNICODE_EX_ADDRESS;
|
||||
|
||||
#include "poppack.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __TDI_H */
|
||||
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* tdiinfo.h
|
||||
*
|
||||
* TDI set and query information interface
|
||||
*
|
||||
* This file is part of the w32api package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __TDIINFO_H
|
||||
#define __TDIINFO_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _TDIEntityID {
|
||||
ULONG tei_entity;
|
||||
ULONG tei_instance;
|
||||
} TDIEntityID;
|
||||
|
||||
#define MAX_TDI_ENTITIES 4096
|
||||
#define INVALID_ENTITY_INSTANCE -1
|
||||
#define GENERIC_ENTITY 0
|
||||
#define ENTITY_LIST_ID 0
|
||||
#define ENTITY_TYPE_ID 1
|
||||
|
||||
#define AT_ENTITY 0x280
|
||||
#define CL_NL_ENTITY 0x301
|
||||
#define CL_TL_ENTITY 0x401
|
||||
#define CO_NL_ENTITY 0x300
|
||||
#define CO_TL_ENTITY 0x400
|
||||
#define ER_ENTITY 0x380
|
||||
#define IF_ENTITY 0x200
|
||||
|
||||
#define AT_ARP 0x280
|
||||
#define AT_NULL 0x282
|
||||
#define CL_TL_NBF 0x401
|
||||
#define CL_TL_UDP 0x403
|
||||
#define CL_NL_IPX 0x301
|
||||
#define CL_NL_IP 0x303
|
||||
#define CO_TL_NBF 0x400
|
||||
#define CO_TL_SPX 0x402
|
||||
#define CO_TL_TCP 0x404
|
||||
#define CO_TL_SPP 0x406
|
||||
#define ER_ICMP 0x380
|
||||
#define IF_GENERIC 0x200
|
||||
#define IF_MIB 0x202
|
||||
|
||||
/* TDIObjectID.toi_class constants */
|
||||
#define INFO_CLASS_GENERIC 0x100
|
||||
#define INFO_CLASS_PROTOCOL 0x200
|
||||
#define INFO_CLASS_IMPLEMENTATION 0x300
|
||||
|
||||
/* TDIObjectID.toi_type constants */
|
||||
#define INFO_TYPE_PROVIDER 0x100
|
||||
#define INFO_TYPE_ADDRESS_OBJECT 0x200
|
||||
#define INFO_TYPE_CONNECTION 0x300
|
||||
|
||||
typedef struct _TDIObjectID {
|
||||
TDIEntityID toi_entity;
|
||||
ULONG toi_class;
|
||||
ULONG toi_type;
|
||||
ULONG toi_id;
|
||||
} TDIObjectID;
|
||||
|
||||
#define CONTEXT_SIZE 16
|
||||
|
||||
typedef struct _TCP_REQUEST_QUERY_INFORMATION_EX {
|
||||
TDIObjectID ID;
|
||||
ULONG_PTR Context[CONTEXT_SIZE / sizeof(ULONG_PTR)];
|
||||
} TCP_REQUEST_QUERY_INFORMATION_EX, *PTCP_REQUEST_QUERY_INFORMATION_EX;
|
||||
|
||||
#if defined(_WIN64)
|
||||
typedef struct _TCP_REQUEST_QUERY_INFORMATION_EX32 {
|
||||
TDIObjectID ID;
|
||||
ULONG32 Context[CONTEXT_SIZE / sizeof(ULONG32)];
|
||||
} TCP_REQUEST_QUERY_INFORMATION_EX32, *PTCP_REQUEST_QUERY_INFORMATION_EX32;
|
||||
#endif /* _WIN64 */
|
||||
|
||||
typedef struct _TCP_REQUEST_SET_INFORMATION_EX {
|
||||
TDIObjectID ID;
|
||||
unsigned int BufferSize;
|
||||
unsigned char Buffer[1];
|
||||
} TCP_REQUEST_SET_INFORMATION_EX, *PTCP_REQUEST_SET_INFORMATION_EX;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __TDIINFO_H */
|
||||
@@ -0,0 +1,499 @@
|
||||
/**
|
||||
* 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 __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
|
||||
#include "rpc.h"
|
||||
#include "rpcndr.h"
|
||||
|
||||
#ifndef __RPCNDR_H_VERSION__
|
||||
#error This stub requires an updated version of <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include "windows.h"
|
||||
#include "ole2.h"
|
||||
#endif
|
||||
|
||||
#ifndef __termmgr_h__
|
||||
#define __termmgr_h__
|
||||
|
||||
#ifndef __ITTerminalControl_FWD_DEFINED__
|
||||
#define __ITTerminalControl_FWD_DEFINED__
|
||||
typedef struct ITTerminalControl ITTerminalControl;
|
||||
#endif
|
||||
|
||||
#ifndef __ITPluggableTerminalInitialization_FWD_DEFINED__
|
||||
#define __ITPluggableTerminalInitialization_FWD_DEFINED__
|
||||
typedef struct ITPluggableTerminalInitialization ITPluggableTerminalInitialization;
|
||||
#endif
|
||||
|
||||
#ifndef __ITTerminalManager_FWD_DEFINED__
|
||||
#define __ITTerminalManager_FWD_DEFINED__
|
||||
typedef struct ITTerminalManager ITTerminalManager;
|
||||
#endif
|
||||
|
||||
#ifndef __ITTerminalManager2_FWD_DEFINED__
|
||||
#define __ITTerminalManager2_FWD_DEFINED__
|
||||
typedef struct ITTerminalManager2 ITTerminalManager2;
|
||||
#endif
|
||||
|
||||
#ifndef __ITPluggableTerminalClassRegistration_FWD_DEFINED__
|
||||
#define __ITPluggableTerminalClassRegistration_FWD_DEFINED__
|
||||
typedef struct ITPluggableTerminalClassRegistration ITPluggableTerminalClassRegistration;
|
||||
#endif
|
||||
|
||||
#ifndef __ITPluggableTerminalSuperclassRegistration_FWD_DEFINED__
|
||||
#define __ITPluggableTerminalSuperclassRegistration_FWD_DEFINED__
|
||||
typedef struct ITPluggableTerminalSuperclassRegistration ITPluggableTerminalSuperclassRegistration;
|
||||
#endif
|
||||
|
||||
#ifndef __TerminalManager_FWD_DEFINED__
|
||||
#define __TerminalManager_FWD_DEFINED__
|
||||
#ifdef __cplusplus
|
||||
typedef class TerminalManager TerminalManager;
|
||||
#else
|
||||
typedef struct TerminalManager TerminalManager;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __PluggableSuperclassRegistration_FWD_DEFINED__
|
||||
#define __PluggableSuperclassRegistration_FWD_DEFINED__
|
||||
#ifdef __cplusplus
|
||||
typedef class PluggableSuperclassRegistration PluggableSuperclassRegistration;
|
||||
#else
|
||||
typedef struct PluggableSuperclassRegistration PluggableSuperclassRegistration;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __PluggableTerminalRegistration_FWD_DEFINED__
|
||||
#define __PluggableTerminalRegistration_FWD_DEFINED__
|
||||
#ifdef __cplusplus
|
||||
typedef class PluggableTerminalRegistration PluggableTerminalRegistration;
|
||||
#else
|
||||
typedef struct PluggableTerminalRegistration PluggableTerminalRegistration;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "Objsafe.h"
|
||||
#include "tapi3if.h"
|
||||
#include "tapi3ds.h"
|
||||
#include "msp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef __MIDL_user_allocate_free_DEFINED__
|
||||
#define __MIDL_user_allocate_free_DEFINED__
|
||||
void *__RPC_API MIDL_user_allocate(size_t);
|
||||
void __RPC_API MIDL_user_free(void *);
|
||||
#endif
|
||||
|
||||
typedef enum __MIDL___MIDL_itf_termmgr_0000_0001 {
|
||||
TMGR_TD_CAPTURE = 1,TMGR_TD_RENDER = 2,TMGR_TD_BOTH = 3
|
||||
} TMGR_DIRECTION;
|
||||
|
||||
#define CLSID_String_VideoSuperclass (L"{714C6F8C-6244-4685-87B3-B91F3F9EADA7}")
|
||||
#define CLSID_String_StreamingSuperclass (L"{214F4ACC-AE0B-4464-8405-07029003F8E2}")
|
||||
#define CLSID_String_FileSuperclass (L"{B4790031-56DB-4d3e-88C8-6FFAAFA08A91}")
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_termmgr_0000_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_termmgr_0000_v0_0_s_ifspec;
|
||||
|
||||
#ifndef __ITTerminalControl_INTERFACE_DEFINED__
|
||||
#define __ITTerminalControl_INTERFACE_DEFINED__
|
||||
|
||||
EXTERN_C const IID IID_ITTerminalControl;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITTerminalControl : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI get_AddressHandle(MSP_HANDLE *phtAddress) = 0;
|
||||
virtual HRESULT WINAPI ConnectTerminal(IGraphBuilder *pGraph,DWORD dwTerminalDirection,DWORD *pdwNumPins,IPin **ppPins) = 0;
|
||||
virtual HRESULT WINAPI CompleteConnectTerminal(void) = 0;
|
||||
virtual HRESULT WINAPI DisconnectTerminal(IGraphBuilder *pGraph,DWORD dwReserved) = 0;
|
||||
virtual HRESULT WINAPI RunRenderFilter(void) = 0;
|
||||
virtual HRESULT WINAPI StopRenderFilter(void) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITTerminalControlVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITTerminalControl *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITTerminalControl *This);
|
||||
ULONG (WINAPI *Release)(ITTerminalControl *This);
|
||||
HRESULT (WINAPI *get_AddressHandle)(ITTerminalControl *This,MSP_HANDLE *phtAddress);
|
||||
HRESULT (WINAPI *ConnectTerminal)(ITTerminalControl *This,IGraphBuilder *pGraph,DWORD dwTerminalDirection,DWORD *pdwNumPins,IPin **ppPins);
|
||||
HRESULT (WINAPI *CompleteConnectTerminal)(ITTerminalControl *This);
|
||||
HRESULT (WINAPI *DisconnectTerminal)(ITTerminalControl *This,IGraphBuilder *pGraph,DWORD dwReserved);
|
||||
HRESULT (WINAPI *RunRenderFilter)(ITTerminalControl *This);
|
||||
HRESULT (WINAPI *StopRenderFilter)(ITTerminalControl *This);
|
||||
END_INTERFACE
|
||||
} ITTerminalControlVtbl;
|
||||
struct ITTerminalControl {
|
||||
CONST_VTBL struct ITTerminalControlVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITTerminalControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITTerminalControl_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITTerminalControl_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITTerminalControl_get_AddressHandle(This,phtAddress) (This)->lpVtbl->get_AddressHandle(This,phtAddress)
|
||||
#define ITTerminalControl_ConnectTerminal(This,pGraph,dwTerminalDirection,pdwNumPins,ppPins) (This)->lpVtbl->ConnectTerminal(This,pGraph,dwTerminalDirection,pdwNumPins,ppPins)
|
||||
#define ITTerminalControl_CompleteConnectTerminal(This) (This)->lpVtbl->CompleteConnectTerminal(This)
|
||||
#define ITTerminalControl_DisconnectTerminal(This,pGraph,dwReserved) (This)->lpVtbl->DisconnectTerminal(This,pGraph,dwReserved)
|
||||
#define ITTerminalControl_RunRenderFilter(This) (This)->lpVtbl->RunRenderFilter(This)
|
||||
#define ITTerminalControl_StopRenderFilter(This) (This)->lpVtbl->StopRenderFilter(This)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITTerminalControl_get_AddressHandle_Proxy(ITTerminalControl *This,MSP_HANDLE *phtAddress);
|
||||
void __RPC_STUB ITTerminalControl_get_AddressHandle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITTerminalControl_ConnectTerminal_Proxy(ITTerminalControl *This,IGraphBuilder *pGraph,DWORD dwTerminalDirection,DWORD *pdwNumPins,IPin **ppPins);
|
||||
void __RPC_STUB ITTerminalControl_ConnectTerminal_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITTerminalControl_CompleteConnectTerminal_Proxy(ITTerminalControl *This);
|
||||
void __RPC_STUB ITTerminalControl_CompleteConnectTerminal_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITTerminalControl_DisconnectTerminal_Proxy(ITTerminalControl *This,IGraphBuilder *pGraph,DWORD dwReserved);
|
||||
void __RPC_STUB ITTerminalControl_DisconnectTerminal_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITTerminalControl_RunRenderFilter_Proxy(ITTerminalControl *This);
|
||||
void __RPC_STUB ITTerminalControl_RunRenderFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITTerminalControl_StopRenderFilter_Proxy(ITTerminalControl *This);
|
||||
void __RPC_STUB ITTerminalControl_StopRenderFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITPluggableTerminalInitialization_INTERFACE_DEFINED__
|
||||
#define __ITPluggableTerminalInitialization_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITPluggableTerminalInitialization;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITPluggableTerminalInitialization : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI InitializeDynamic(IID iidTerminalClass,DWORD dwMediaType,TERMINAL_DIRECTION Direction,MSP_HANDLE htAddress) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITPluggableTerminalInitializationVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITPluggableTerminalInitialization *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITPluggableTerminalInitialization *This);
|
||||
ULONG (WINAPI *Release)(ITPluggableTerminalInitialization *This);
|
||||
HRESULT (WINAPI *InitializeDynamic)(ITPluggableTerminalInitialization *This,IID iidTerminalClass,DWORD dwMediaType,TERMINAL_DIRECTION Direction,MSP_HANDLE htAddress);
|
||||
END_INTERFACE
|
||||
} ITPluggableTerminalInitializationVtbl;
|
||||
struct ITPluggableTerminalInitialization {
|
||||
CONST_VTBL struct ITPluggableTerminalInitializationVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITPluggableTerminalInitialization_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITPluggableTerminalInitialization_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITPluggableTerminalInitialization_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITPluggableTerminalInitialization_InitializeDynamic(This,iidTerminalClass,dwMediaType,Direction,htAddress) (This)->lpVtbl->InitializeDynamic(This,iidTerminalClass,dwMediaType,Direction,htAddress)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITPluggableTerminalInitialization_InitializeDynamic_Proxy(ITPluggableTerminalInitialization *This,IID iidTerminalClass,DWORD dwMediaType,TERMINAL_DIRECTION Direction,MSP_HANDLE htAddress);
|
||||
void __RPC_STUB ITPluggableTerminalInitialization_InitializeDynamic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITTerminalManager_INTERFACE_DEFINED__
|
||||
#define __ITTerminalManager_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITTerminalManager;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITTerminalManager : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetDynamicTerminalClasses(DWORD dwMediaTypes,DWORD *pdwNumClasses,IID *pTerminalClasses) = 0;
|
||||
virtual HRESULT WINAPI CreateDynamicTerminal(IUnknown *pOuterUnknown,IID iidTerminalClass,DWORD dwMediaType,TERMINAL_DIRECTION Direction,MSP_HANDLE htAddress,ITTerminal **ppTerminal) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITTerminalManagerVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITTerminalManager *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITTerminalManager *This);
|
||||
ULONG (WINAPI *Release)(ITTerminalManager *This);
|
||||
HRESULT (WINAPI *GetDynamicTerminalClasses)(ITTerminalManager *This,DWORD dwMediaTypes,DWORD *pdwNumClasses,IID *pTerminalClasses);
|
||||
HRESULT (WINAPI *CreateDynamicTerminal)(ITTerminalManager *This,IUnknown *pOuterUnknown,IID iidTerminalClass,DWORD dwMediaType,TERMINAL_DIRECTION Direction,MSP_HANDLE htAddress,ITTerminal **ppTerminal);
|
||||
END_INTERFACE
|
||||
} ITTerminalManagerVtbl;
|
||||
struct ITTerminalManager {
|
||||
CONST_VTBL struct ITTerminalManagerVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITTerminalManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITTerminalManager_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITTerminalManager_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITTerminalManager_GetDynamicTerminalClasses(This,dwMediaTypes,pdwNumClasses,pTerminalClasses) (This)->lpVtbl->GetDynamicTerminalClasses(This,dwMediaTypes,pdwNumClasses,pTerminalClasses)
|
||||
#define ITTerminalManager_CreateDynamicTerminal(This,pOuterUnknown,iidTerminalClass,dwMediaType,Direction,htAddress,ppTerminal) (This)->lpVtbl->CreateDynamicTerminal(This,pOuterUnknown,iidTerminalClass,dwMediaType,Direction,htAddress,ppTerminal)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITTerminalManager_GetDynamicTerminalClasses_Proxy(ITTerminalManager *This,DWORD dwMediaTypes,DWORD *pdwNumClasses,IID *pTerminalClasses);
|
||||
void __RPC_STUB ITTerminalManager_GetDynamicTerminalClasses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITTerminalManager_CreateDynamicTerminal_Proxy(ITTerminalManager *This,IUnknown *pOuterUnknown,IID iidTerminalClass,DWORD dwMediaType,TERMINAL_DIRECTION Direction,MSP_HANDLE htAddress,ITTerminal **ppTerminal);
|
||||
void __RPC_STUB ITTerminalManager_CreateDynamicTerminal_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITTerminalManager2_INTERFACE_DEFINED__
|
||||
#define __ITTerminalManager2_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITTerminalManager2;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITTerminalManager2 : public ITTerminalManager {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetPluggableSuperclasses(DWORD *pdwNumSuperclasses,IID *pSuperclasses) = 0;
|
||||
virtual HRESULT WINAPI GetPluggableTerminalClasses(IID iidSuperclass,DWORD dwMediaTypes,DWORD *pdwNumClasses,IID *pTerminalClasses) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITTerminalManager2Vtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITTerminalManager2 *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITTerminalManager2 *This);
|
||||
ULONG (WINAPI *Release)(ITTerminalManager2 *This);
|
||||
HRESULT (WINAPI *GetDynamicTerminalClasses)(ITTerminalManager2 *This,DWORD dwMediaTypes,DWORD *pdwNumClasses,IID *pTerminalClasses);
|
||||
HRESULT (WINAPI *CreateDynamicTerminal)(ITTerminalManager2 *This,IUnknown *pOuterUnknown,IID iidTerminalClass,DWORD dwMediaType,TERMINAL_DIRECTION Direction,MSP_HANDLE htAddress,ITTerminal **ppTerminal);
|
||||
HRESULT (WINAPI *GetPluggableSuperclasses)(ITTerminalManager2 *This,DWORD *pdwNumSuperclasses,IID *pSuperclasses);
|
||||
HRESULT (WINAPI *GetPluggableTerminalClasses)(ITTerminalManager2 *This,IID iidSuperclass,DWORD dwMediaTypes,DWORD *pdwNumClasses,IID *pTerminalClasses);
|
||||
END_INTERFACE
|
||||
} ITTerminalManager2Vtbl;
|
||||
struct ITTerminalManager2 {
|
||||
CONST_VTBL struct ITTerminalManager2Vtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITTerminalManager2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITTerminalManager2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITTerminalManager2_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITTerminalManager2_GetDynamicTerminalClasses(This,dwMediaTypes,pdwNumClasses,pTerminalClasses) (This)->lpVtbl->GetDynamicTerminalClasses(This,dwMediaTypes,pdwNumClasses,pTerminalClasses)
|
||||
#define ITTerminalManager2_CreateDynamicTerminal(This,pOuterUnknown,iidTerminalClass,dwMediaType,Direction,htAddress,ppTerminal) (This)->lpVtbl->CreateDynamicTerminal(This,pOuterUnknown,iidTerminalClass,dwMediaType,Direction,htAddress,ppTerminal)
|
||||
#define ITTerminalManager2_GetPluggableSuperclasses(This,pdwNumSuperclasses,pSuperclasses) (This)->lpVtbl->GetPluggableSuperclasses(This,pdwNumSuperclasses,pSuperclasses)
|
||||
#define ITTerminalManager2_GetPluggableTerminalClasses(This,iidSuperclass,dwMediaTypes,pdwNumClasses,pTerminalClasses) (This)->lpVtbl->GetPluggableTerminalClasses(This,iidSuperclass,dwMediaTypes,pdwNumClasses,pTerminalClasses)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITTerminalManager2_GetPluggableSuperclasses_Proxy(ITTerminalManager2 *This,DWORD *pdwNumSuperclasses,IID *pSuperclasses);
|
||||
void __RPC_STUB ITTerminalManager2_GetPluggableSuperclasses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITTerminalManager2_GetPluggableTerminalClasses_Proxy(ITTerminalManager2 *This,IID iidSuperclass,DWORD dwMediaTypes,DWORD *pdwNumClasses,IID *pTerminalClasses);
|
||||
void __RPC_STUB ITTerminalManager2_GetPluggableTerminalClasses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITPluggableTerminalClassRegistration_INTERFACE_DEFINED__
|
||||
#define __ITPluggableTerminalClassRegistration_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITPluggableTerminalClassRegistration;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITPluggableTerminalClassRegistration : public IDispatch {
|
||||
public:
|
||||
virtual HRESULT WINAPI get_Name(BSTR *pName) = 0;
|
||||
virtual HRESULT WINAPI put_Name(BSTR bstrName) = 0;
|
||||
virtual HRESULT WINAPI get_Company(BSTR *pCompany) = 0;
|
||||
virtual HRESULT WINAPI put_Company(BSTR bstrCompany) = 0;
|
||||
virtual HRESULT WINAPI get_Version(BSTR *pVersion) = 0;
|
||||
virtual HRESULT WINAPI put_Version(BSTR bstrVersion) = 0;
|
||||
virtual HRESULT WINAPI get_TerminalClass(BSTR *pTerminalClass) = 0;
|
||||
virtual HRESULT WINAPI put_TerminalClass(BSTR bstrTerminalClass) = 0;
|
||||
virtual HRESULT WINAPI get_CLSID(BSTR *pCLSID) = 0;
|
||||
virtual HRESULT WINAPI put_CLSID(BSTR bstrCLSID) = 0;
|
||||
virtual HRESULT WINAPI get_Direction(TMGR_DIRECTION *pDirection) = 0;
|
||||
virtual HRESULT WINAPI put_Direction(TMGR_DIRECTION nDirection) = 0;
|
||||
virtual HRESULT WINAPI get_MediaTypes(__LONG32 *pMediaTypes) = 0;
|
||||
virtual HRESULT WINAPI put_MediaTypes(__LONG32 nMediaTypes) = 0;
|
||||
virtual HRESULT WINAPI Add(BSTR bstrSuperclass) = 0;
|
||||
virtual HRESULT WINAPI Delete(BSTR bstrSuperclass) = 0;
|
||||
virtual HRESULT WINAPI GetTerminalClassInfo(BSTR bstrSuperclass) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITPluggableTerminalClassRegistrationVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITPluggableTerminalClassRegistration *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITPluggableTerminalClassRegistration *This);
|
||||
ULONG (WINAPI *Release)(ITPluggableTerminalClassRegistration *This);
|
||||
HRESULT (WINAPI *GetTypeInfoCount)(ITPluggableTerminalClassRegistration *This,UINT *pctinfo);
|
||||
HRESULT (WINAPI *GetTypeInfo)(ITPluggableTerminalClassRegistration *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
|
||||
HRESULT (WINAPI *GetIDsOfNames)(ITPluggableTerminalClassRegistration *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
|
||||
HRESULT (WINAPI *Invoke)(ITPluggableTerminalClassRegistration *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
|
||||
HRESULT (WINAPI *get_Name)(ITPluggableTerminalClassRegistration *This,BSTR *pName);
|
||||
HRESULT (WINAPI *put_Name)(ITPluggableTerminalClassRegistration *This,BSTR bstrName);
|
||||
HRESULT (WINAPI *get_Company)(ITPluggableTerminalClassRegistration *This,BSTR *pCompany);
|
||||
HRESULT (WINAPI *put_Company)(ITPluggableTerminalClassRegistration *This,BSTR bstrCompany);
|
||||
HRESULT (WINAPI *get_Version)(ITPluggableTerminalClassRegistration *This,BSTR *pVersion);
|
||||
HRESULT (WINAPI *put_Version)(ITPluggableTerminalClassRegistration *This,BSTR bstrVersion);
|
||||
HRESULT (WINAPI *get_TerminalClass)(ITPluggableTerminalClassRegistration *This,BSTR *pTerminalClass);
|
||||
HRESULT (WINAPI *put_TerminalClass)(ITPluggableTerminalClassRegistration *This,BSTR bstrTerminalClass);
|
||||
HRESULT (WINAPI *get_CLSID)(ITPluggableTerminalClassRegistration *This,BSTR *pCLSID);
|
||||
HRESULT (WINAPI *put_CLSID)(ITPluggableTerminalClassRegistration *This,BSTR bstrCLSID);
|
||||
HRESULT (WINAPI *get_Direction)(ITPluggableTerminalClassRegistration *This,TMGR_DIRECTION *pDirection);
|
||||
HRESULT (WINAPI *put_Direction)(ITPluggableTerminalClassRegistration *This,TMGR_DIRECTION nDirection);
|
||||
HRESULT (WINAPI *get_MediaTypes)(ITPluggableTerminalClassRegistration *This,__LONG32 *pMediaTypes);
|
||||
HRESULT (WINAPI *put_MediaTypes)(ITPluggableTerminalClassRegistration *This,__LONG32 nMediaTypes);
|
||||
HRESULT (WINAPI *Add)(ITPluggableTerminalClassRegistration *This,BSTR bstrSuperclass);
|
||||
HRESULT (WINAPI *Delete)(ITPluggableTerminalClassRegistration *This,BSTR bstrSuperclass);
|
||||
HRESULT (WINAPI *GetTerminalClassInfo)(ITPluggableTerminalClassRegistration *This,BSTR bstrSuperclass);
|
||||
END_INTERFACE
|
||||
} ITPluggableTerminalClassRegistrationVtbl;
|
||||
struct ITPluggableTerminalClassRegistration {
|
||||
CONST_VTBL struct ITPluggableTerminalClassRegistrationVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITPluggableTerminalClassRegistration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITPluggableTerminalClassRegistration_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITPluggableTerminalClassRegistration_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITPluggableTerminalClassRegistration_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
||||
#define ITPluggableTerminalClassRegistration_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
||||
#define ITPluggableTerminalClassRegistration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
||||
#define ITPluggableTerminalClassRegistration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
||||
#define ITPluggableTerminalClassRegistration_get_Name(This,pName) (This)->lpVtbl->get_Name(This,pName)
|
||||
#define ITPluggableTerminalClassRegistration_put_Name(This,bstrName) (This)->lpVtbl->put_Name(This,bstrName)
|
||||
#define ITPluggableTerminalClassRegistration_get_Company(This,pCompany) (This)->lpVtbl->get_Company(This,pCompany)
|
||||
#define ITPluggableTerminalClassRegistration_put_Company(This,bstrCompany) (This)->lpVtbl->put_Company(This,bstrCompany)
|
||||
#define ITPluggableTerminalClassRegistration_get_Version(This,pVersion) (This)->lpVtbl->get_Version(This,pVersion)
|
||||
#define ITPluggableTerminalClassRegistration_put_Version(This,bstrVersion) (This)->lpVtbl->put_Version(This,bstrVersion)
|
||||
#define ITPluggableTerminalClassRegistration_get_TerminalClass(This,pTerminalClass) (This)->lpVtbl->get_TerminalClass(This,pTerminalClass)
|
||||
#define ITPluggableTerminalClassRegistration_put_TerminalClass(This,bstrTerminalClass) (This)->lpVtbl->put_TerminalClass(This,bstrTerminalClass)
|
||||
#define ITPluggableTerminalClassRegistration_get_CLSID(This,pCLSID) (This)->lpVtbl->get_CLSID(This,pCLSID)
|
||||
#define ITPluggableTerminalClassRegistration_put_CLSID(This,bstrCLSID) (This)->lpVtbl->put_CLSID(This,bstrCLSID)
|
||||
#define ITPluggableTerminalClassRegistration_get_Direction(This,pDirection) (This)->lpVtbl->get_Direction(This,pDirection)
|
||||
#define ITPluggableTerminalClassRegistration_put_Direction(This,nDirection) (This)->lpVtbl->put_Direction(This,nDirection)
|
||||
#define ITPluggableTerminalClassRegistration_get_MediaTypes(This,pMediaTypes) (This)->lpVtbl->get_MediaTypes(This,pMediaTypes)
|
||||
#define ITPluggableTerminalClassRegistration_put_MediaTypes(This,nMediaTypes) (This)->lpVtbl->put_MediaTypes(This,nMediaTypes)
|
||||
#define ITPluggableTerminalClassRegistration_Add(This,bstrSuperclass) (This)->lpVtbl->Add(This,bstrSuperclass)
|
||||
#define ITPluggableTerminalClassRegistration_Delete(This,bstrSuperclass) (This)->lpVtbl->Delete(This,bstrSuperclass)
|
||||
#define ITPluggableTerminalClassRegistration_GetTerminalClassInfo(This,bstrSuperclass) (This)->lpVtbl->GetTerminalClassInfo(This,bstrSuperclass)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_get_Name_Proxy(ITPluggableTerminalClassRegistration *This,BSTR *pName);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_put_Name_Proxy(ITPluggableTerminalClassRegistration *This,BSTR bstrName);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_get_Company_Proxy(ITPluggableTerminalClassRegistration *This,BSTR *pCompany);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_get_Company_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_put_Company_Proxy(ITPluggableTerminalClassRegistration *This,BSTR bstrCompany);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_put_Company_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_get_Version_Proxy(ITPluggableTerminalClassRegistration *This,BSTR *pVersion);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_get_Version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_put_Version_Proxy(ITPluggableTerminalClassRegistration *This,BSTR bstrVersion);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_put_Version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_get_TerminalClass_Proxy(ITPluggableTerminalClassRegistration *This,BSTR *pTerminalClass);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_get_TerminalClass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_put_TerminalClass_Proxy(ITPluggableTerminalClassRegistration *This,BSTR bstrTerminalClass);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_put_TerminalClass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_get_CLSID_Proxy(ITPluggableTerminalClassRegistration *This,BSTR *pCLSID);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_get_CLSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_put_CLSID_Proxy(ITPluggableTerminalClassRegistration *This,BSTR bstrCLSID);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_put_CLSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_get_Direction_Proxy(ITPluggableTerminalClassRegistration *This,TMGR_DIRECTION *pDirection);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_get_Direction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_put_Direction_Proxy(ITPluggableTerminalClassRegistration *This,TMGR_DIRECTION nDirection);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_put_Direction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_get_MediaTypes_Proxy(ITPluggableTerminalClassRegistration *This,__LONG32 *pMediaTypes);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_get_MediaTypes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_put_MediaTypes_Proxy(ITPluggableTerminalClassRegistration *This,__LONG32 nMediaTypes);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_put_MediaTypes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_Add_Proxy(ITPluggableTerminalClassRegistration *This,BSTR bstrSuperclass);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_Delete_Proxy(ITPluggableTerminalClassRegistration *This,BSTR bstrSuperclass);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalClassRegistration_GetTerminalClassInfo_Proxy(ITPluggableTerminalClassRegistration *This,BSTR bstrSuperclass);
|
||||
void __RPC_STUB ITPluggableTerminalClassRegistration_GetTerminalClassInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITPluggableTerminalSuperclassRegistration_INTERFACE_DEFINED__
|
||||
#define __ITPluggableTerminalSuperclassRegistration_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITPluggableTerminalSuperclassRegistration;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITPluggableTerminalSuperclassRegistration : public IDispatch {
|
||||
public:
|
||||
virtual HRESULT WINAPI get_Name(BSTR *pName) = 0;
|
||||
virtual HRESULT WINAPI put_Name(BSTR bstrName) = 0;
|
||||
virtual HRESULT WINAPI get_CLSID(BSTR *pCLSID) = 0;
|
||||
virtual HRESULT WINAPI put_CLSID(BSTR bstrCLSID) = 0;
|
||||
virtual HRESULT WINAPI Add(void) = 0;
|
||||
virtual HRESULT WINAPI Delete(void) = 0;
|
||||
virtual HRESULT WINAPI GetTerminalSuperclassInfo(void) = 0;
|
||||
virtual HRESULT WINAPI get_TerminalClasses(VARIANT *pTerminals) = 0;
|
||||
virtual HRESULT WINAPI EnumerateTerminalClasses(IEnumTerminalClass **ppTerminals) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITPluggableTerminalSuperclassRegistrationVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITPluggableTerminalSuperclassRegistration *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITPluggableTerminalSuperclassRegistration *This);
|
||||
ULONG (WINAPI *Release)(ITPluggableTerminalSuperclassRegistration *This);
|
||||
HRESULT (WINAPI *GetTypeInfoCount)(ITPluggableTerminalSuperclassRegistration *This,UINT *pctinfo);
|
||||
HRESULT (WINAPI *GetTypeInfo)(ITPluggableTerminalSuperclassRegistration *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
|
||||
HRESULT (WINAPI *GetIDsOfNames)(ITPluggableTerminalSuperclassRegistration *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
|
||||
HRESULT (WINAPI *Invoke)(ITPluggableTerminalSuperclassRegistration *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
|
||||
HRESULT (WINAPI *get_Name)(ITPluggableTerminalSuperclassRegistration *This,BSTR *pName);
|
||||
HRESULT (WINAPI *put_Name)(ITPluggableTerminalSuperclassRegistration *This,BSTR bstrName);
|
||||
HRESULT (WINAPI *get_CLSID)(ITPluggableTerminalSuperclassRegistration *This,BSTR *pCLSID);
|
||||
HRESULT (WINAPI *put_CLSID)(ITPluggableTerminalSuperclassRegistration *This,BSTR bstrCLSID);
|
||||
HRESULT (WINAPI *Add)(ITPluggableTerminalSuperclassRegistration *This);
|
||||
HRESULT (WINAPI *Delete)(ITPluggableTerminalSuperclassRegistration *This);
|
||||
HRESULT (WINAPI *GetTerminalSuperclassInfo)(ITPluggableTerminalSuperclassRegistration *This);
|
||||
HRESULT (WINAPI *get_TerminalClasses)(ITPluggableTerminalSuperclassRegistration *This,VARIANT *pTerminals);
|
||||
HRESULT (WINAPI *EnumerateTerminalClasses)(ITPluggableTerminalSuperclassRegistration *This,IEnumTerminalClass **ppTerminals);
|
||||
END_INTERFACE
|
||||
} ITPluggableTerminalSuperclassRegistrationVtbl;
|
||||
struct ITPluggableTerminalSuperclassRegistration {
|
||||
CONST_VTBL struct ITPluggableTerminalSuperclassRegistrationVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITPluggableTerminalSuperclassRegistration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITPluggableTerminalSuperclassRegistration_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITPluggableTerminalSuperclassRegistration_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITPluggableTerminalSuperclassRegistration_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
||||
#define ITPluggableTerminalSuperclassRegistration_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
||||
#define ITPluggableTerminalSuperclassRegistration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
||||
#define ITPluggableTerminalSuperclassRegistration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
||||
#define ITPluggableTerminalSuperclassRegistration_get_Name(This,pName) (This)->lpVtbl->get_Name(This,pName)
|
||||
#define ITPluggableTerminalSuperclassRegistration_put_Name(This,bstrName) (This)->lpVtbl->put_Name(This,bstrName)
|
||||
#define ITPluggableTerminalSuperclassRegistration_get_CLSID(This,pCLSID) (This)->lpVtbl->get_CLSID(This,pCLSID)
|
||||
#define ITPluggableTerminalSuperclassRegistration_put_CLSID(This,bstrCLSID) (This)->lpVtbl->put_CLSID(This,bstrCLSID)
|
||||
#define ITPluggableTerminalSuperclassRegistration_Add(This) (This)->lpVtbl->Add(This)
|
||||
#define ITPluggableTerminalSuperclassRegistration_Delete(This) (This)->lpVtbl->Delete(This)
|
||||
#define ITPluggableTerminalSuperclassRegistration_GetTerminalSuperclassInfo(This) (This)->lpVtbl->GetTerminalSuperclassInfo(This)
|
||||
#define ITPluggableTerminalSuperclassRegistration_get_TerminalClasses(This,pTerminals) (This)->lpVtbl->get_TerminalClasses(This,pTerminals)
|
||||
#define ITPluggableTerminalSuperclassRegistration_EnumerateTerminalClasses(This,ppTerminals) (This)->lpVtbl->EnumerateTerminalClasses(This,ppTerminals)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_get_Name_Proxy(ITPluggableTerminalSuperclassRegistration *This,BSTR *pName);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_put_Name_Proxy(ITPluggableTerminalSuperclassRegistration *This,BSTR bstrName);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_get_CLSID_Proxy(ITPluggableTerminalSuperclassRegistration *This,BSTR *pCLSID);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_get_CLSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_put_CLSID_Proxy(ITPluggableTerminalSuperclassRegistration *This,BSTR bstrCLSID);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_put_CLSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_Add_Proxy(ITPluggableTerminalSuperclassRegistration *This);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_Delete_Proxy(ITPluggableTerminalSuperclassRegistration *This);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_GetTerminalSuperclassInfo_Proxy(ITPluggableTerminalSuperclassRegistration *This);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_GetTerminalSuperclassInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_get_TerminalClasses_Proxy(ITPluggableTerminalSuperclassRegistration *This,VARIANT *pTerminals);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_get_TerminalClasses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITPluggableTerminalSuperclassRegistration_EnumerateTerminalClasses_Proxy(ITPluggableTerminalSuperclassRegistration *This,IEnumTerminalClass **ppTerminals);
|
||||
void __RPC_STUB ITPluggableTerminalSuperclassRegistration_EnumerateTerminalClasses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __TERMMGRLib_LIBRARY_DEFINED__
|
||||
#define __TERMMGRLib_LIBRARY_DEFINED__
|
||||
EXTERN_C const IID LIBID_TERMMGRLib;
|
||||
EXTERN_C const CLSID CLSID_TerminalManager;
|
||||
#ifdef __cplusplus
|
||||
class TerminalManager;
|
||||
#endif
|
||||
EXTERN_C const CLSID CLSID_PluggableSuperclassRegistration;
|
||||
#ifdef __cplusplus
|
||||
class PluggableSuperclassRegistration;
|
||||
#endif
|
||||
EXTERN_C const CLSID CLSID_PluggableTerminalRegistration;
|
||||
#ifdef __cplusplus
|
||||
class PluggableTerminalRegistration;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
|
||||
unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
|
||||
unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
|
||||
void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
|
||||
ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
|
||||
unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
|
||||
unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
|
||||
void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,131 @@
|
||||
/**
|
||||
* 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 _TEXTSERV_H
|
||||
#define _TEXTSERV_H
|
||||
|
||||
EXTERN_C const IID IID_ITextServices;
|
||||
EXTERN_C const IID IID_ITextHost;
|
||||
|
||||
#define S_MSG_KEY_IGNORED MAKE_HRESULT(SEVERITY_SUCCESS,FACILITY_ITF,0x201)
|
||||
|
||||
enum TXTBACKSTYLE {
|
||||
TXTBACK_TRANSPARENT = 0,TXTBACK_OPAQUE
|
||||
};
|
||||
|
||||
enum TXTHITRESULT {
|
||||
TXTHITRESULT_NOHIT = 0,TXTHITRESULT_TRANSPARENT = 1,TXTHITRESULT_CLOSE = 2,TXTHITRESULT_HIT = 3
|
||||
};
|
||||
|
||||
enum TXTNATURALSIZE {
|
||||
TXTNS_FITTOCONTENT = 1,TXTNS_ROUNDTOLINE = 2
|
||||
};
|
||||
|
||||
enum TXTVIEW {
|
||||
TXTVIEW_ACTIVE = 0,TXTVIEW_INACTIVE = -1
|
||||
};
|
||||
|
||||
enum CHANGETYPE {
|
||||
CN_GENERIC = 0,CN_TEXTCHANGED = 1,CN_NEWUNDO = 2,CN_NEWREDO = 4
|
||||
};
|
||||
|
||||
struct CHANGENOTIFY {
|
||||
DWORD dwChangeType;
|
||||
void *pvCookieData;
|
||||
};
|
||||
|
||||
#define TXTBIT_RICHTEXT 1
|
||||
#define TXTBIT_MULTILINE 2
|
||||
#define TXTBIT_READONLY 4
|
||||
#define TXTBIT_SHOWACCELERATOR 8
|
||||
#define TXTBIT_USEPASSWORD 0x10
|
||||
#define TXTBIT_HIDESELECTION 0x20
|
||||
#define TXTBIT_SAVESELECTION 0x40
|
||||
#define TXTBIT_AUTOWORDSEL 0x80
|
||||
#define TXTBIT_VERTICAL 0x100
|
||||
#define TXTBIT_SELBARCHANGE 0x200
|
||||
|
||||
#define TXTBIT_WORDWRAP 0x400
|
||||
|
||||
#define TXTBIT_ALLOWBEEP 0x800
|
||||
#define TXTBIT_DISABLEDRAG 0x1000
|
||||
#define TXTBIT_VIEWINSETCHANGE 0x2000
|
||||
#define TXTBIT_BACKSTYLECHANGE 0x4000
|
||||
#define TXTBIT_MAXLENGTHCHANGE 0x8000
|
||||
#define TXTBIT_SCROLLBARCHANGE 0x10000
|
||||
#define TXTBIT_CHARFORMATCHANGE 0x20000
|
||||
#define TXTBIT_PARAFORMATCHANGE 0x40000
|
||||
#define TXTBIT_EXTENTCHANGE 0x80000
|
||||
#define TXTBIT_CLIENTRECTCHANGE 0x100000
|
||||
#define TXTBIT_USECURRENTBKG 0x200000
|
||||
|
||||
class ITextServices : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT TxSendMessage(UINT msg,WPARAM wparam,LPARAM lparam,LRESULT *plresult) = 0;
|
||||
virtual HRESULT TxDraw(DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hdcDraw,HDC hicTargetDev,LPCRECTL lprcBounds,LPCRECTL lprcWBounds,LPRECT lprcUpdate,WINBOOL (CALLBACK *pfnContinue) (DWORD),DWORD dwContinue,LONG lViewId) = 0;
|
||||
virtual HRESULT TxGetHScroll(LONG *plMin,LONG *plMax,LONG *plPos,LONG *plPage,WINBOOL *pfEnabled) = 0;
|
||||
virtual HRESULT TxGetVScroll(LONG *plMin,LONG *plMax,LONG *plPos,LONG *plPage,WINBOOL *pfEnabled) = 0;
|
||||
virtual HRESULT OnTxSetCursor(DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hdcDraw,HDC hicTargetDev,LPCRECT lprcClient,INT x,INT y) = 0;
|
||||
virtual HRESULT TxQueryHitPoint(DWORD dwDrawAspect,LONG lindex,void *pvAspect,DVTARGETDEVICE *ptd,HDC hdcDraw,HDC hicTargetDev,LPCRECT lprcClient,INT x,INT y,DWORD *pHitResult) = 0;
|
||||
virtual HRESULT OnTxInPlaceActivate(LPCRECT prcClient) = 0;
|
||||
virtual HRESULT OnTxInPlaceDeactivate() = 0;
|
||||
virtual HRESULT OnTxUIActivate() = 0;
|
||||
virtual HRESULT OnTxUIDeactivate() = 0;
|
||||
virtual HRESULT TxGetText(BSTR *pbstrText) = 0;
|
||||
virtual HRESULT TxSetText(LPCWSTR pszText) = 0;
|
||||
virtual HRESULT TxGetCurTargetX(LONG *) = 0;
|
||||
virtual HRESULT TxGetBaseLinePos(LONG *) = 0;
|
||||
virtual HRESULT TxGetNaturalSize(DWORD dwAspect,HDC hdcDraw,HDC hicTargetDev,DVTARGETDEVICE *ptd,DWORD dwMode,const SIZEL *psizelExtent,LONG *pwidth,LONG *pheight) = 0;
|
||||
virtual HRESULT TxGetDropTarget(IDropTarget **ppDropTarget) = 0;
|
||||
virtual HRESULT OnTxPropertyBitsChange(DWORD dwMask,DWORD dwBits) = 0;
|
||||
virtual HRESULT TxGetCachedSize(DWORD *pdwWidth,DWORD *pdwHeight)=0;
|
||||
};
|
||||
|
||||
class ITextHost : public IUnknown {
|
||||
public:
|
||||
virtual HDC TxGetDC() = 0;
|
||||
virtual INT TxReleaseDC(HDC hdc) = 0;
|
||||
virtual WINBOOL TxShowScrollBar(INT fnBar,WINBOOL fShow) = 0;
|
||||
virtual WINBOOL TxEnableScrollBar (INT fuSBFlags,INT fuArrowflags) = 0;
|
||||
virtual WINBOOL TxSetScrollRange(INT fnBar,LONG nMinPos,INT nMaxPos,WINBOOL fRedraw) = 0;
|
||||
virtual WINBOOL TxSetScrollPos (INT fnBar,INT nPos,WINBOOL fRedraw) = 0;
|
||||
virtual void TxInvalidateRect(LPCRECT prc,WINBOOL fMode) = 0;
|
||||
virtual void TxViewChange(WINBOOL fUpdate) = 0;
|
||||
virtual WINBOOL TxCreateCaret(HBITMAP hbmp,INT xWidth,INT yHeight) = 0;
|
||||
virtual WINBOOL TxShowCaret(WINBOOL fShow) = 0;
|
||||
virtual WINBOOL TxSetCaretPos(INT x,INT y) = 0;
|
||||
virtual WINBOOL TxSetTimer(UINT idTimer,UINT uTimeout) = 0;
|
||||
virtual void TxKillTimer(UINT idTimer) = 0;
|
||||
virtual void TxScrollWindowEx (INT dx,INT dy,LPCRECT lprcScroll,LPCRECT lprcClip,HRGN hrgnUpdate,LPRECT lprcUpdate,UINT fuScroll) = 0;
|
||||
virtual void TxSetCapture(WINBOOL fCapture) = 0;
|
||||
virtual void TxSetFocus() = 0;
|
||||
virtual void TxSetCursor(HCURSOR hcur,WINBOOL fText) = 0;
|
||||
virtual WINBOOL TxScreenToClient (LPPOINT lppt) = 0;
|
||||
virtual WINBOOL TxClientToScreen (LPPOINT lppt) = 0;
|
||||
virtual HRESULT TxActivate(LONG *plOldState) = 0;
|
||||
virtual HRESULT TxDeactivate(LONG lNewState) = 0;
|
||||
virtual HRESULT TxGetClientRect(LPRECT prc) = 0;
|
||||
virtual HRESULT TxGetViewInset(LPRECT prc) = 0;
|
||||
virtual HRESULT TxGetCharFormat(const CHARFORMATW **ppCF) = 0;
|
||||
virtual HRESULT TxGetParaFormat(const PARAFORMAT **ppPF) = 0;
|
||||
virtual COLORREF TxGetSysColor(int nIndex) = 0;
|
||||
virtual HRESULT TxGetBackStyle(TXTBACKSTYLE *pstyle) = 0;
|
||||
virtual HRESULT TxGetMaxLength(DWORD *plength) = 0;
|
||||
virtual HRESULT TxGetScrollBars(DWORD *pdwScrollBar) = 0;
|
||||
virtual HRESULT TxGetPasswordChar(TCHAR *pch) = 0;
|
||||
virtual HRESULT TxGetAcceleratorPos(LONG *pcp) = 0;
|
||||
virtual HRESULT TxGetExtent(LPSIZEL lpExtent) = 0;
|
||||
virtual HRESULT OnTxCharFormatChange (const CHARFORMATW *pcf) = 0;
|
||||
virtual HRESULT OnTxParaFormatChange (const PARAFORMAT *ppf) = 0;
|
||||
virtual HRESULT TxGetPropertyBits(DWORD dwMask,DWORD *pdwBits) = 0;
|
||||
virtual HRESULT TxNotify(DWORD iNotify,void *pv) = 0;
|
||||
virtual HIMC TxImmGetContext() = 0;
|
||||
virtual void TxImmReleaseContext(HIMC himc) = 0;
|
||||
virtual HRESULT TxGetSelectionBarWidth (LONG *lSelBarWidth) = 0;
|
||||
};
|
||||
|
||||
STDAPI CreateTextServices(IUnknown *punkOuter,ITextHost *pITextHost,IUnknown **ppUnk);
|
||||
typedef HRESULT (WINAPI *PCreateTextServices)(IUnknown *punkOuter,ITextHost *pITextHost,IUnknown **ppUnk);
|
||||
#endif
|
||||
@@ -0,0 +1,857 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/textstor.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __textstor_h__
|
||||
#define __textstor_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __ITextStoreACPSink_FWD_DEFINED__
|
||||
#define __ITextStoreACPSink_FWD_DEFINED__
|
||||
typedef interface ITextStoreACPSink ITextStoreACPSink;
|
||||
#ifdef __cplusplus
|
||||
interface ITextStoreACPSink;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __ITextStoreACP_FWD_DEFINED__
|
||||
#define __ITextStoreACP_FWD_DEFINED__
|
||||
typedef interface ITextStoreACP ITextStoreACP;
|
||||
#ifdef __cplusplus
|
||||
interface ITextStoreACP;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <oaidl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define TS_E_INVALIDPOS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
|
||||
#define TS_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)
|
||||
#define TS_E_NOOBJECT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202)
|
||||
#define TS_E_NOSERVICE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0203)
|
||||
#define TS_E_NOINTERFACE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0204)
|
||||
#define TS_E_NOSELECTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0205)
|
||||
#define TS_E_NOLAYOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0206)
|
||||
#define TS_E_INVALIDPOINT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0207)
|
||||
#define TS_E_SYNCHRONOUS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0208)
|
||||
#define TS_E_READONLY MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0209)
|
||||
#define TS_E_FORMAT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x020a)
|
||||
#define TS_S_ASYNC MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0x0300)
|
||||
#define TS_DEFAULT_SELECTION (~0u)
|
||||
|
||||
#define TS_SD_READONLY (0x1)
|
||||
|
||||
#define TS_SD_LOADING (0x2)
|
||||
|
||||
#define TS_SD_RESERVED (0x4)
|
||||
|
||||
#define TS_SD_TKBAUTOCORRECTENABLE (0x8)
|
||||
|
||||
#define TS_SD_TKBPREDICTIONENABLE (0x10)
|
||||
|
||||
#define TS_SD_UIINTEGRATIONENABLE (0x20)
|
||||
|
||||
#define TS_SD_INPUTPANEMANUALDISPLAYENABLE (0x40)
|
||||
|
||||
#define TS_SD_EMBEDDEDHANDWRITINGVIEW_ENABLED (0x80)
|
||||
|
||||
#define TS_SD_EMBEDDEDHANDWRITINGVIEW_VISIBLE (0x100)
|
||||
|
||||
#define TS_SD_MASKALL (TS_SD_READONLY | TS_SD_LOADING)
|
||||
|
||||
#define TS_SS_DISJOINTSEL (0x1)
|
||||
|
||||
#define TS_SS_REGIONS (0x2)
|
||||
|
||||
#define TS_SS_TRANSITORY (0x4)
|
||||
|
||||
#define TS_SS_NOHIDDENTEXT (0x8)
|
||||
|
||||
#define TS_SS_TKBAUTOCORRECTENABLE (0x10)
|
||||
|
||||
#define TS_SS_TKBPREDICTIONENABLE (0x20)
|
||||
|
||||
#define TS_SS_UWPCONTROL (0x40)
|
||||
|
||||
#define TS_AS_TEXT_CHANGE (0x1)
|
||||
|
||||
#define TS_AS_SEL_CHANGE (0x2)
|
||||
|
||||
#define TS_AS_LAYOUT_CHANGE (0x4)
|
||||
|
||||
#define TS_AS_ATTR_CHANGE (0x8)
|
||||
|
||||
#define TS_AS_STATUS_CHANGE (0x10)
|
||||
|
||||
#define TS_AS_ALL_SINKS ((((TS_AS_TEXT_CHANGE | TS_AS_SEL_CHANGE) | TS_AS_LAYOUT_CHANGE) | TS_AS_ATTR_CHANGE) | TS_AS_STATUS_CHANGE)
|
||||
|
||||
#define TS_LF_SYNC (0x1)
|
||||
|
||||
#define TS_LF_READ (0x2)
|
||||
|
||||
#define TS_LF_READWRITE (0x6)
|
||||
|
||||
#define TS_CHAR_EMBEDDED (0xfffc)
|
||||
|
||||
#define TS_CHAR_REGION (0x0)
|
||||
|
||||
#define TS_CHAR_REPLACEMENT (0xfffd)
|
||||
|
||||
#define TS_IAS_NOQUERY (0x1)
|
||||
|
||||
#define TS_IAS_QUERYONLY (0x2)
|
||||
|
||||
#define TS_ST_CORRECTION (0x1)
|
||||
|
||||
#define GXFPF_ROUND_NEAREST (0x1)
|
||||
|
||||
#define GXFPF_NEAREST (0x2)
|
||||
|
||||
typedef enum __WIDL_textstor_generated_name_0000000F {
|
||||
TS_AE_NONE = 0,
|
||||
TS_AE_START = 1,
|
||||
TS_AE_END = 2
|
||||
} TsActiveSelEnd;
|
||||
typedef enum __WIDL_textstor_generated_name_00000010 {
|
||||
TS_RT_PLAIN = 0,
|
||||
TS_RT_HIDDEN = 1,
|
||||
TS_RT_OPAQUE = 2
|
||||
} TsRunType;
|
||||
typedef GUID TS_ATTRID;
|
||||
typedef struct TS_STATUS {
|
||||
DWORD dwDynamicFlags;
|
||||
DWORD dwStaticFlags;
|
||||
} TS_STATUS;
|
||||
typedef struct TS_TEXTCHANGE {
|
||||
LONG acpStart;
|
||||
LONG acpOldEnd;
|
||||
LONG acpNewEnd;
|
||||
} TS_TEXTCHANGE;
|
||||
typedef struct TS_SELECTIONSTYLE {
|
||||
TsActiveSelEnd ase;
|
||||
WINBOOL fInterimChar;
|
||||
} TS_SELECTIONSTYLE;
|
||||
typedef struct TS_SELECTION_ACP {
|
||||
LONG acpStart;
|
||||
LONG acpEnd;
|
||||
TS_SELECTIONSTYLE style;
|
||||
} TS_SELECTION_ACP;
|
||||
typedef struct TS_RUNINFO {
|
||||
ULONG uCount;
|
||||
TsRunType type;
|
||||
} TS_RUNINFO;
|
||||
typedef struct TS_ATTRVAL {
|
||||
TS_ATTRID idAttr;
|
||||
DWORD dwOverlapId;
|
||||
VARIANT varValue;
|
||||
} TS_ATTRVAL;
|
||||
#define TS_ATTR_FIND_BACKWARDS (0x1)
|
||||
|
||||
#define TS_ATTR_FIND_WANT_OFFSET (0x2)
|
||||
|
||||
#define TS_ATTR_FIND_UPDATESTART (0x4)
|
||||
|
||||
#define TS_ATTR_FIND_WANT_VALUE (0x8)
|
||||
|
||||
#define TS_ATTR_FIND_WANT_END (0x10)
|
||||
|
||||
#define TS_ATTR_FIND_HIDDEN (0x20)
|
||||
|
||||
typedef enum __WIDL_textstor_generated_name_00000011 {
|
||||
TS_LC_CREATE = 0,
|
||||
TS_LC_CHANGE = 1,
|
||||
TS_LC_DESTROY = 2
|
||||
} TsLayoutCode;
|
||||
typedef DWORD TsViewCookie;
|
||||
/*****************************************************************************
|
||||
* ITextStoreACPSink interface
|
||||
*/
|
||||
#ifndef __ITextStoreACPSink_INTERFACE_DEFINED__
|
||||
#define __ITextStoreACPSink_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ITextStoreACPSink, 0x22d44c94, 0xa419, 0x4542, 0xa2,0x72, 0xae,0x26,0x09,0x3e,0xce,0xcf);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("22d44c94-a419-4542-a272-ae26093ececf")
|
||||
ITextStoreACPSink : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE OnTextChange(
|
||||
DWORD dwFlags,
|
||||
const TS_TEXTCHANGE *pChange) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE OnSelectionChange(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE OnLayoutChange(
|
||||
TsLayoutCode lcode,
|
||||
TsViewCookie vcView) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE OnAttrsChange(
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
ULONG cAttrs,
|
||||
const TS_ATTRID *paAttrs) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE OnLockGranted(
|
||||
DWORD dwLockFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE OnStartEditTransaction(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE OnEndEditTransaction(
|
||||
) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(ITextStoreACPSink, 0x22d44c94, 0xa419, 0x4542, 0xa2,0x72, 0xae,0x26,0x09,0x3e,0xce,0xcf)
|
||||
#endif
|
||||
#else
|
||||
typedef struct ITextStoreACPSinkVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ITextStoreACPSink *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ITextStoreACPSink *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ITextStoreACPSink *This);
|
||||
|
||||
/*** ITextStoreACPSink methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *OnTextChange)(
|
||||
ITextStoreACPSink *This,
|
||||
DWORD dwFlags,
|
||||
const TS_TEXTCHANGE *pChange);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *OnSelectionChange)(
|
||||
ITextStoreACPSink *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *OnLayoutChange)(
|
||||
ITextStoreACPSink *This,
|
||||
TsLayoutCode lcode,
|
||||
TsViewCookie vcView);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *OnStatusChange)(
|
||||
ITextStoreACPSink *This,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *OnAttrsChange)(
|
||||
ITextStoreACPSink *This,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
ULONG cAttrs,
|
||||
const TS_ATTRID *paAttrs);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *OnLockGranted)(
|
||||
ITextStoreACPSink *This,
|
||||
DWORD dwLockFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *OnStartEditTransaction)(
|
||||
ITextStoreACPSink *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *OnEndEditTransaction)(
|
||||
ITextStoreACPSink *This);
|
||||
|
||||
END_INTERFACE
|
||||
} ITextStoreACPSinkVtbl;
|
||||
|
||||
interface ITextStoreACPSink {
|
||||
CONST_VTBL ITextStoreACPSinkVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define ITextStoreACPSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITextStoreACPSink_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITextStoreACPSink_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ITextStoreACPSink methods ***/
|
||||
#define ITextStoreACPSink_OnTextChange(This,dwFlags,pChange) (This)->lpVtbl->OnTextChange(This,dwFlags,pChange)
|
||||
#define ITextStoreACPSink_OnSelectionChange(This) (This)->lpVtbl->OnSelectionChange(This)
|
||||
#define ITextStoreACPSink_OnLayoutChange(This,lcode,vcView) (This)->lpVtbl->OnLayoutChange(This,lcode,vcView)
|
||||
#define ITextStoreACPSink_OnStatusChange(This,dwFlags) (This)->lpVtbl->OnStatusChange(This,dwFlags)
|
||||
#define ITextStoreACPSink_OnAttrsChange(This,acpStart,acpEnd,cAttrs,paAttrs) (This)->lpVtbl->OnAttrsChange(This,acpStart,acpEnd,cAttrs,paAttrs)
|
||||
#define ITextStoreACPSink_OnLockGranted(This,dwLockFlags) (This)->lpVtbl->OnLockGranted(This,dwLockFlags)
|
||||
#define ITextStoreACPSink_OnStartEditTransaction(This) (This)->lpVtbl->OnStartEditTransaction(This)
|
||||
#define ITextStoreACPSink_OnEndEditTransaction(This) (This)->lpVtbl->OnEndEditTransaction(This)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT ITextStoreACPSink_QueryInterface(ITextStoreACPSink* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG ITextStoreACPSink_AddRef(ITextStoreACPSink* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG ITextStoreACPSink_Release(ITextStoreACPSink* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** ITextStoreACPSink methods ***/
|
||||
static inline HRESULT ITextStoreACPSink_OnTextChange(ITextStoreACPSink* This,DWORD dwFlags,const TS_TEXTCHANGE *pChange) {
|
||||
return This->lpVtbl->OnTextChange(This,dwFlags,pChange);
|
||||
}
|
||||
static inline HRESULT ITextStoreACPSink_OnSelectionChange(ITextStoreACPSink* This) {
|
||||
return This->lpVtbl->OnSelectionChange(This);
|
||||
}
|
||||
static inline HRESULT ITextStoreACPSink_OnLayoutChange(ITextStoreACPSink* This,TsLayoutCode lcode,TsViewCookie vcView) {
|
||||
return This->lpVtbl->OnLayoutChange(This,lcode,vcView);
|
||||
}
|
||||
static inline HRESULT ITextStoreACPSink_OnStatusChange(ITextStoreACPSink* This,DWORD dwFlags) {
|
||||
return This->lpVtbl->OnStatusChange(This,dwFlags);
|
||||
}
|
||||
static inline HRESULT ITextStoreACPSink_OnAttrsChange(ITextStoreACPSink* This,LONG acpStart,LONG acpEnd,ULONG cAttrs,const TS_ATTRID *paAttrs) {
|
||||
return This->lpVtbl->OnAttrsChange(This,acpStart,acpEnd,cAttrs,paAttrs);
|
||||
}
|
||||
static inline HRESULT ITextStoreACPSink_OnLockGranted(ITextStoreACPSink* This,DWORD dwLockFlags) {
|
||||
return This->lpVtbl->OnLockGranted(This,dwLockFlags);
|
||||
}
|
||||
static inline HRESULT ITextStoreACPSink_OnStartEditTransaction(ITextStoreACPSink* This) {
|
||||
return This->lpVtbl->OnStartEditTransaction(This);
|
||||
}
|
||||
static inline HRESULT ITextStoreACPSink_OnEndEditTransaction(ITextStoreACPSink* This) {
|
||||
return This->lpVtbl->OnEndEditTransaction(This);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __ITextStoreACPSink_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* ITextStoreACP interface
|
||||
*/
|
||||
#ifndef __ITextStoreACP_INTERFACE_DEFINED__
|
||||
#define __ITextStoreACP_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ITextStoreACP, 0x28888fe3, 0xc2a0, 0x483a, 0xa3,0xea, 0x8c,0xb1,0xce,0x51,0xff,0x3d);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("28888fe3-c2a0-483a-a3ea-8cb1ce51ff3d")
|
||||
ITextStoreACP : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE AdviseSink(
|
||||
REFIID riid,
|
||||
IUnknown *punk,
|
||||
DWORD dwMask) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE UnadviseSink(
|
||||
IUnknown *punk) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RequestLock(
|
||||
DWORD dwLockFlags,
|
||||
HRESULT *phrSession) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetStatus(
|
||||
TS_STATUS *pdcs) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInsert(
|
||||
LONG acpTestStart,
|
||||
LONG acpTestEnd,
|
||||
ULONG cch,
|
||||
LONG *pacpResultStart,
|
||||
LONG *pacpResultEnd) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetSelection(
|
||||
ULONG ulIndex,
|
||||
ULONG ulCount,
|
||||
TS_SELECTION_ACP *pSelection,
|
||||
ULONG *pcFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetSelection(
|
||||
ULONG ulCount,
|
||||
const TS_SELECTION_ACP *pSelection) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetText(
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
WCHAR *pchPlain,
|
||||
ULONG cchPlainReq,
|
||||
ULONG *pcchPlainRet,
|
||||
TS_RUNINFO *prgRunInfo,
|
||||
ULONG cRunInfoReq,
|
||||
ULONG *pcRunInfoRet,
|
||||
LONG *pacpNext) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetText(
|
||||
DWORD dwFlags,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
const WCHAR *pchText,
|
||||
ULONG cch,
|
||||
TS_TEXTCHANGE *pChange) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetFormattedText(
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
IDataObject **ppDataObject) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetEmbedded(
|
||||
LONG acpPos,
|
||||
REFGUID rguidService,
|
||||
REFIID riid,
|
||||
IUnknown **ppunk) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInsertEmbedded(
|
||||
const GUID *pguidService,
|
||||
const FORMATETC *pFormatEtc,
|
||||
WINBOOL *pfInsertable) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE InsertEmbedded(
|
||||
DWORD dwFlags,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
IDataObject *pDataObject,
|
||||
TS_TEXTCHANGE *pChange) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE InsertTextAtSelection(
|
||||
DWORD dwFlags,
|
||||
const WCHAR *pchText,
|
||||
ULONG cch,
|
||||
LONG *pacpStart,
|
||||
LONG *pacpEnd,
|
||||
TS_TEXTCHANGE *pChange) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE InsertEmbeddedAtSelection(
|
||||
DWORD dwFlags,
|
||||
IDataObject *pDataObject,
|
||||
LONG *pacpStart,
|
||||
LONG *pacpEnd,
|
||||
TS_TEXTCHANGE *pChange) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RequestSupportedAttrs(
|
||||
DWORD dwFlags,
|
||||
ULONG cFilterAttrs,
|
||||
const TS_ATTRID *paFilterAttrs) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RequestAttrsAtPosition(
|
||||
LONG acpPos,
|
||||
ULONG cFilterAttrs,
|
||||
const TS_ATTRID *paFilterAttrs,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RequestAttrsTransitioningAtPosition(
|
||||
LONG acpPos,
|
||||
ULONG cFilterAttrs,
|
||||
const TS_ATTRID *paFilterAttrs,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE FindNextAttrTransition(
|
||||
LONG acpStart,
|
||||
LONG acpHalt,
|
||||
ULONG cFilterAttrs,
|
||||
const TS_ATTRID *paFilterAttrs,
|
||||
DWORD dwFlags,
|
||||
LONG *pacpNext,
|
||||
WINBOOL *pfFound,
|
||||
LONG *plFoundOffset) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RetrieveRequestedAttrs(
|
||||
ULONG ulCount,
|
||||
TS_ATTRVAL *paAttrVals,
|
||||
ULONG *pcFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetEndACP(
|
||||
LONG *pacp) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetActiveView(
|
||||
TsViewCookie *pvcView) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetACPFromPoint(
|
||||
TsViewCookie vcView,
|
||||
const POINT *ptScreen,
|
||||
DWORD dwFlags,
|
||||
LONG *pacp) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetTextExt(
|
||||
TsViewCookie vcView,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
RECT *prc,
|
||||
WINBOOL *pfClipped) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetScreenExt(
|
||||
TsViewCookie vcView,
|
||||
RECT *prc) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetWnd(
|
||||
TsViewCookie vcView,
|
||||
HWND *phwnd) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(ITextStoreACP, 0x28888fe3, 0xc2a0, 0x483a, 0xa3,0xea, 0x8c,0xb1,0xce,0x51,0xff,0x3d)
|
||||
#endif
|
||||
#else
|
||||
typedef struct ITextStoreACPVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ITextStoreACP *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ITextStoreACP *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ITextStoreACP *This);
|
||||
|
||||
/*** ITextStoreACP methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *AdviseSink)(
|
||||
ITextStoreACP *This,
|
||||
REFIID riid,
|
||||
IUnknown *punk,
|
||||
DWORD dwMask);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *UnadviseSink)(
|
||||
ITextStoreACP *This,
|
||||
IUnknown *punk);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RequestLock)(
|
||||
ITextStoreACP *This,
|
||||
DWORD dwLockFlags,
|
||||
HRESULT *phrSession);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetStatus)(
|
||||
ITextStoreACP *This,
|
||||
TS_STATUS *pdcs);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInsert)(
|
||||
ITextStoreACP *This,
|
||||
LONG acpTestStart,
|
||||
LONG acpTestEnd,
|
||||
ULONG cch,
|
||||
LONG *pacpResultStart,
|
||||
LONG *pacpResultEnd);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetSelection)(
|
||||
ITextStoreACP *This,
|
||||
ULONG ulIndex,
|
||||
ULONG ulCount,
|
||||
TS_SELECTION_ACP *pSelection,
|
||||
ULONG *pcFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetSelection)(
|
||||
ITextStoreACP *This,
|
||||
ULONG ulCount,
|
||||
const TS_SELECTION_ACP *pSelection);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetText)(
|
||||
ITextStoreACP *This,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
WCHAR *pchPlain,
|
||||
ULONG cchPlainReq,
|
||||
ULONG *pcchPlainRet,
|
||||
TS_RUNINFO *prgRunInfo,
|
||||
ULONG cRunInfoReq,
|
||||
ULONG *pcRunInfoRet,
|
||||
LONG *pacpNext);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetText)(
|
||||
ITextStoreACP *This,
|
||||
DWORD dwFlags,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
const WCHAR *pchText,
|
||||
ULONG cch,
|
||||
TS_TEXTCHANGE *pChange);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetFormattedText)(
|
||||
ITextStoreACP *This,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
IDataObject **ppDataObject);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetEmbedded)(
|
||||
ITextStoreACP *This,
|
||||
LONG acpPos,
|
||||
REFGUID rguidService,
|
||||
REFIID riid,
|
||||
IUnknown **ppunk);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInsertEmbedded)(
|
||||
ITextStoreACP *This,
|
||||
const GUID *pguidService,
|
||||
const FORMATETC *pFormatEtc,
|
||||
WINBOOL *pfInsertable);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *InsertEmbedded)(
|
||||
ITextStoreACP *This,
|
||||
DWORD dwFlags,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
IDataObject *pDataObject,
|
||||
TS_TEXTCHANGE *pChange);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *InsertTextAtSelection)(
|
||||
ITextStoreACP *This,
|
||||
DWORD dwFlags,
|
||||
const WCHAR *pchText,
|
||||
ULONG cch,
|
||||
LONG *pacpStart,
|
||||
LONG *pacpEnd,
|
||||
TS_TEXTCHANGE *pChange);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *InsertEmbeddedAtSelection)(
|
||||
ITextStoreACP *This,
|
||||
DWORD dwFlags,
|
||||
IDataObject *pDataObject,
|
||||
LONG *pacpStart,
|
||||
LONG *pacpEnd,
|
||||
TS_TEXTCHANGE *pChange);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RequestSupportedAttrs)(
|
||||
ITextStoreACP *This,
|
||||
DWORD dwFlags,
|
||||
ULONG cFilterAttrs,
|
||||
const TS_ATTRID *paFilterAttrs);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RequestAttrsAtPosition)(
|
||||
ITextStoreACP *This,
|
||||
LONG acpPos,
|
||||
ULONG cFilterAttrs,
|
||||
const TS_ATTRID *paFilterAttrs,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RequestAttrsTransitioningAtPosition)(
|
||||
ITextStoreACP *This,
|
||||
LONG acpPos,
|
||||
ULONG cFilterAttrs,
|
||||
const TS_ATTRID *paFilterAttrs,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *FindNextAttrTransition)(
|
||||
ITextStoreACP *This,
|
||||
LONG acpStart,
|
||||
LONG acpHalt,
|
||||
ULONG cFilterAttrs,
|
||||
const TS_ATTRID *paFilterAttrs,
|
||||
DWORD dwFlags,
|
||||
LONG *pacpNext,
|
||||
WINBOOL *pfFound,
|
||||
LONG *plFoundOffset);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RetrieveRequestedAttrs)(
|
||||
ITextStoreACP *This,
|
||||
ULONG ulCount,
|
||||
TS_ATTRVAL *paAttrVals,
|
||||
ULONG *pcFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetEndACP)(
|
||||
ITextStoreACP *This,
|
||||
LONG *pacp);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetActiveView)(
|
||||
ITextStoreACP *This,
|
||||
TsViewCookie *pvcView);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetACPFromPoint)(
|
||||
ITextStoreACP *This,
|
||||
TsViewCookie vcView,
|
||||
const POINT *ptScreen,
|
||||
DWORD dwFlags,
|
||||
LONG *pacp);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetTextExt)(
|
||||
ITextStoreACP *This,
|
||||
TsViewCookie vcView,
|
||||
LONG acpStart,
|
||||
LONG acpEnd,
|
||||
RECT *prc,
|
||||
WINBOOL *pfClipped);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetScreenExt)(
|
||||
ITextStoreACP *This,
|
||||
TsViewCookie vcView,
|
||||
RECT *prc);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetWnd)(
|
||||
ITextStoreACP *This,
|
||||
TsViewCookie vcView,
|
||||
HWND *phwnd);
|
||||
|
||||
END_INTERFACE
|
||||
} ITextStoreACPVtbl;
|
||||
|
||||
interface ITextStoreACP {
|
||||
CONST_VTBL ITextStoreACPVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define ITextStoreACP_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITextStoreACP_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITextStoreACP_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ITextStoreACP methods ***/
|
||||
#define ITextStoreACP_AdviseSink(This,riid,punk,dwMask) (This)->lpVtbl->AdviseSink(This,riid,punk,dwMask)
|
||||
#define ITextStoreACP_UnadviseSink(This,punk) (This)->lpVtbl->UnadviseSink(This,punk)
|
||||
#define ITextStoreACP_RequestLock(This,dwLockFlags,phrSession) (This)->lpVtbl->RequestLock(This,dwLockFlags,phrSession)
|
||||
#define ITextStoreACP_GetStatus(This,pdcs) (This)->lpVtbl->GetStatus(This,pdcs)
|
||||
#define ITextStoreACP_QueryInsert(This,acpTestStart,acpTestEnd,cch,pacpResultStart,pacpResultEnd) (This)->lpVtbl->QueryInsert(This,acpTestStart,acpTestEnd,cch,pacpResultStart,pacpResultEnd)
|
||||
#define ITextStoreACP_GetSelection(This,ulIndex,ulCount,pSelection,pcFetched) (This)->lpVtbl->GetSelection(This,ulIndex,ulCount,pSelection,pcFetched)
|
||||
#define ITextStoreACP_SetSelection(This,ulCount,pSelection) (This)->lpVtbl->SetSelection(This,ulCount,pSelection)
|
||||
#define ITextStoreACP_GetText(This,acpStart,acpEnd,pchPlain,cchPlainReq,pcchPlainRet,prgRunInfo,cRunInfoReq,pcRunInfoRet,pacpNext) (This)->lpVtbl->GetText(This,acpStart,acpEnd,pchPlain,cchPlainReq,pcchPlainRet,prgRunInfo,cRunInfoReq,pcRunInfoRet,pacpNext)
|
||||
#define ITextStoreACP_SetText(This,dwFlags,acpStart,acpEnd,pchText,cch,pChange) (This)->lpVtbl->SetText(This,dwFlags,acpStart,acpEnd,pchText,cch,pChange)
|
||||
#define ITextStoreACP_GetFormattedText(This,acpStart,acpEnd,ppDataObject) (This)->lpVtbl->GetFormattedText(This,acpStart,acpEnd,ppDataObject)
|
||||
#define ITextStoreACP_GetEmbedded(This,acpPos,rguidService,riid,ppunk) (This)->lpVtbl->GetEmbedded(This,acpPos,rguidService,riid,ppunk)
|
||||
#define ITextStoreACP_QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable) (This)->lpVtbl->QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable)
|
||||
#define ITextStoreACP_InsertEmbedded(This,dwFlags,acpStart,acpEnd,pDataObject,pChange) (This)->lpVtbl->InsertEmbedded(This,dwFlags,acpStart,acpEnd,pDataObject,pChange)
|
||||
#define ITextStoreACP_InsertTextAtSelection(This,dwFlags,pchText,cch,pacpStart,pacpEnd,pChange) (This)->lpVtbl->InsertTextAtSelection(This,dwFlags,pchText,cch,pacpStart,pacpEnd,pChange)
|
||||
#define ITextStoreACP_InsertEmbeddedAtSelection(This,dwFlags,pDataObject,pacpStart,pacpEnd,pChange) (This)->lpVtbl->InsertEmbeddedAtSelection(This,dwFlags,pDataObject,pacpStart,pacpEnd,pChange)
|
||||
#define ITextStoreACP_RequestSupportedAttrs(This,dwFlags,cFilterAttrs,paFilterAttrs) (This)->lpVtbl->RequestSupportedAttrs(This,dwFlags,cFilterAttrs,paFilterAttrs)
|
||||
#define ITextStoreACP_RequestAttrsAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags) (This)->lpVtbl->RequestAttrsAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags)
|
||||
#define ITextStoreACP_RequestAttrsTransitioningAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags) (This)->lpVtbl->RequestAttrsTransitioningAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags)
|
||||
#define ITextStoreACP_FindNextAttrTransition(This,acpStart,acpHalt,cFilterAttrs,paFilterAttrs,dwFlags,pacpNext,pfFound,plFoundOffset) (This)->lpVtbl->FindNextAttrTransition(This,acpStart,acpHalt,cFilterAttrs,paFilterAttrs,dwFlags,pacpNext,pfFound,plFoundOffset)
|
||||
#define ITextStoreACP_RetrieveRequestedAttrs(This,ulCount,paAttrVals,pcFetched) (This)->lpVtbl->RetrieveRequestedAttrs(This,ulCount,paAttrVals,pcFetched)
|
||||
#define ITextStoreACP_GetEndACP(This,pacp) (This)->lpVtbl->GetEndACP(This,pacp)
|
||||
#define ITextStoreACP_GetActiveView(This,pvcView) (This)->lpVtbl->GetActiveView(This,pvcView)
|
||||
#define ITextStoreACP_GetACPFromPoint(This,vcView,ptScreen,dwFlags,pacp) (This)->lpVtbl->GetACPFromPoint(This,vcView,ptScreen,dwFlags,pacp)
|
||||
#define ITextStoreACP_GetTextExt(This,vcView,acpStart,acpEnd,prc,pfClipped) (This)->lpVtbl->GetTextExt(This,vcView,acpStart,acpEnd,prc,pfClipped)
|
||||
#define ITextStoreACP_GetScreenExt(This,vcView,prc) (This)->lpVtbl->GetScreenExt(This,vcView,prc)
|
||||
#define ITextStoreACP_GetWnd(This,vcView,phwnd) (This)->lpVtbl->GetWnd(This,vcView,phwnd)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT ITextStoreACP_QueryInterface(ITextStoreACP* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG ITextStoreACP_AddRef(ITextStoreACP* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG ITextStoreACP_Release(ITextStoreACP* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** ITextStoreACP methods ***/
|
||||
static inline HRESULT ITextStoreACP_AdviseSink(ITextStoreACP* This,REFIID riid,IUnknown *punk,DWORD dwMask) {
|
||||
return This->lpVtbl->AdviseSink(This,riid,punk,dwMask);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_UnadviseSink(ITextStoreACP* This,IUnknown *punk) {
|
||||
return This->lpVtbl->UnadviseSink(This,punk);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_RequestLock(ITextStoreACP* This,DWORD dwLockFlags,HRESULT *phrSession) {
|
||||
return This->lpVtbl->RequestLock(This,dwLockFlags,phrSession);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetStatus(ITextStoreACP* This,TS_STATUS *pdcs) {
|
||||
return This->lpVtbl->GetStatus(This,pdcs);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_QueryInsert(ITextStoreACP* This,LONG acpTestStart,LONG acpTestEnd,ULONG cch,LONG *pacpResultStart,LONG *pacpResultEnd) {
|
||||
return This->lpVtbl->QueryInsert(This,acpTestStart,acpTestEnd,cch,pacpResultStart,pacpResultEnd);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetSelection(ITextStoreACP* This,ULONG ulIndex,ULONG ulCount,TS_SELECTION_ACP *pSelection,ULONG *pcFetched) {
|
||||
return This->lpVtbl->GetSelection(This,ulIndex,ulCount,pSelection,pcFetched);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_SetSelection(ITextStoreACP* This,ULONG ulCount,const TS_SELECTION_ACP *pSelection) {
|
||||
return This->lpVtbl->SetSelection(This,ulCount,pSelection);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetText(ITextStoreACP* This,LONG acpStart,LONG acpEnd,WCHAR *pchPlain,ULONG cchPlainReq,ULONG *pcchPlainRet,TS_RUNINFO *prgRunInfo,ULONG cRunInfoReq,ULONG *pcRunInfoRet,LONG *pacpNext) {
|
||||
return This->lpVtbl->GetText(This,acpStart,acpEnd,pchPlain,cchPlainReq,pcchPlainRet,prgRunInfo,cRunInfoReq,pcRunInfoRet,pacpNext);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_SetText(ITextStoreACP* This,DWORD dwFlags,LONG acpStart,LONG acpEnd,const WCHAR *pchText,ULONG cch,TS_TEXTCHANGE *pChange) {
|
||||
return This->lpVtbl->SetText(This,dwFlags,acpStart,acpEnd,pchText,cch,pChange);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetFormattedText(ITextStoreACP* This,LONG acpStart,LONG acpEnd,IDataObject **ppDataObject) {
|
||||
return This->lpVtbl->GetFormattedText(This,acpStart,acpEnd,ppDataObject);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetEmbedded(ITextStoreACP* This,LONG acpPos,REFGUID rguidService,REFIID riid,IUnknown **ppunk) {
|
||||
return This->lpVtbl->GetEmbedded(This,acpPos,rguidService,riid,ppunk);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_QueryInsertEmbedded(ITextStoreACP* This,const GUID *pguidService,const FORMATETC *pFormatEtc,WINBOOL *pfInsertable) {
|
||||
return This->lpVtbl->QueryInsertEmbedded(This,pguidService,pFormatEtc,pfInsertable);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_InsertEmbedded(ITextStoreACP* This,DWORD dwFlags,LONG acpStart,LONG acpEnd,IDataObject *pDataObject,TS_TEXTCHANGE *pChange) {
|
||||
return This->lpVtbl->InsertEmbedded(This,dwFlags,acpStart,acpEnd,pDataObject,pChange);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_InsertTextAtSelection(ITextStoreACP* This,DWORD dwFlags,const WCHAR *pchText,ULONG cch,LONG *pacpStart,LONG *pacpEnd,TS_TEXTCHANGE *pChange) {
|
||||
return This->lpVtbl->InsertTextAtSelection(This,dwFlags,pchText,cch,pacpStart,pacpEnd,pChange);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_InsertEmbeddedAtSelection(ITextStoreACP* This,DWORD dwFlags,IDataObject *pDataObject,LONG *pacpStart,LONG *pacpEnd,TS_TEXTCHANGE *pChange) {
|
||||
return This->lpVtbl->InsertEmbeddedAtSelection(This,dwFlags,pDataObject,pacpStart,pacpEnd,pChange);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_RequestSupportedAttrs(ITextStoreACP* This,DWORD dwFlags,ULONG cFilterAttrs,const TS_ATTRID *paFilterAttrs) {
|
||||
return This->lpVtbl->RequestSupportedAttrs(This,dwFlags,cFilterAttrs,paFilterAttrs);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_RequestAttrsAtPosition(ITextStoreACP* This,LONG acpPos,ULONG cFilterAttrs,const TS_ATTRID *paFilterAttrs,DWORD dwFlags) {
|
||||
return This->lpVtbl->RequestAttrsAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_RequestAttrsTransitioningAtPosition(ITextStoreACP* This,LONG acpPos,ULONG cFilterAttrs,const TS_ATTRID *paFilterAttrs,DWORD dwFlags) {
|
||||
return This->lpVtbl->RequestAttrsTransitioningAtPosition(This,acpPos,cFilterAttrs,paFilterAttrs,dwFlags);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_FindNextAttrTransition(ITextStoreACP* This,LONG acpStart,LONG acpHalt,ULONG cFilterAttrs,const TS_ATTRID *paFilterAttrs,DWORD dwFlags,LONG *pacpNext,WINBOOL *pfFound,LONG *plFoundOffset) {
|
||||
return This->lpVtbl->FindNextAttrTransition(This,acpStart,acpHalt,cFilterAttrs,paFilterAttrs,dwFlags,pacpNext,pfFound,plFoundOffset);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_RetrieveRequestedAttrs(ITextStoreACP* This,ULONG ulCount,TS_ATTRVAL *paAttrVals,ULONG *pcFetched) {
|
||||
return This->lpVtbl->RetrieveRequestedAttrs(This,ulCount,paAttrVals,pcFetched);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetEndACP(ITextStoreACP* This,LONG *pacp) {
|
||||
return This->lpVtbl->GetEndACP(This,pacp);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetActiveView(ITextStoreACP* This,TsViewCookie *pvcView) {
|
||||
return This->lpVtbl->GetActiveView(This,pvcView);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetACPFromPoint(ITextStoreACP* This,TsViewCookie vcView,const POINT *ptScreen,DWORD dwFlags,LONG *pacp) {
|
||||
return This->lpVtbl->GetACPFromPoint(This,vcView,ptScreen,dwFlags,pacp);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetTextExt(ITextStoreACP* This,TsViewCookie vcView,LONG acpStart,LONG acpEnd,RECT *prc,WINBOOL *pfClipped) {
|
||||
return This->lpVtbl->GetTextExt(This,vcView,acpStart,acpEnd,prc,pfClipped);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetScreenExt(ITextStoreACP* This,TsViewCookie vcView,RECT *prc) {
|
||||
return This->lpVtbl->GetScreenExt(This,vcView,prc);
|
||||
}
|
||||
static inline HRESULT ITextStoreACP_GetWnd(ITextStoreACP* This,TsViewCookie vcView,HWND *phwnd) {
|
||||
return This->lpVtbl->GetWnd(This,vcView,phwnd);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __ITextStoreACP_INTERFACE_DEFINED__ */
|
||||
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
ULONG __RPC_USER CLIPFORMAT_UserSize (ULONG *, ULONG, CLIPFORMAT *);
|
||||
unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (ULONG *, unsigned char *, CLIPFORMAT *);
|
||||
unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
|
||||
void __RPC_USER CLIPFORMAT_UserFree (ULONG *, CLIPFORMAT *);
|
||||
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 *);
|
||||
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 /* __textstor_h__ */
|
||||
@@ -0,0 +1,64 @@
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#ifndef _THREADPOOLAPISET_H_
|
||||
#define _THREADPOOLAPISET_H_
|
||||
|
||||
#include <apiset.h>
|
||||
#include <apisetcconv.h>
|
||||
#include <minwindef.h>
|
||||
#include <minwinbase.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
|
||||
typedef VOID (WINAPI *PTP_WIN32_IO_CALLBACK) (PTP_CALLBACK_INSTANCE Instance, PVOID Context, PVOID Overlapped, ULONG IoResult, ULONG_PTR NumberOfBytesTransferred, PTP_IO Io);
|
||||
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
WINBASEAPI PTP_POOL WINAPI CreateThreadpool (PVOID reserved);
|
||||
WINBASEAPI VOID WINAPI SetThreadpoolThreadMaximum (PTP_POOL ptpp, DWORD cthrdMost);
|
||||
WINBASEAPI WINBOOL WINAPI SetThreadpoolThreadMinimum (PTP_POOL ptpp, DWORD cthrdMic);
|
||||
WINBASEAPI WINBOOL WINAPI SetThreadpoolStackInformation (PTP_POOL ptpp, PTP_POOL_STACK_INFORMATION ptpsi);
|
||||
WINBASEAPI WINBOOL WINAPI QueryThreadpoolStackInformation (PTP_POOL ptpp, PTP_POOL_STACK_INFORMATION ptpsi);
|
||||
WINBASEAPI VOID WINAPI CloseThreadpool (PTP_POOL ptpp);
|
||||
WINBASEAPI PTP_CLEANUP_GROUP WINAPI CreateThreadpoolCleanupGroup (VOID);
|
||||
WINBASEAPI VOID WINAPI CloseThreadpoolCleanupGroupMembers (PTP_CLEANUP_GROUP ptpcg, WINBOOL fCancelPendingCallbacks, PVOID pvCleanupContext);
|
||||
WINBASEAPI VOID WINAPI CloseThreadpoolCleanupGroup (PTP_CLEANUP_GROUP ptpcg);
|
||||
WINBASEAPI VOID WINAPI SetEventWhenCallbackReturns (PTP_CALLBACK_INSTANCE pci, HANDLE evt);
|
||||
WINBASEAPI VOID WINAPI ReleaseSemaphoreWhenCallbackReturns (PTP_CALLBACK_INSTANCE pci, HANDLE sem, DWORD crel);
|
||||
WINBASEAPI VOID WINAPI ReleaseMutexWhenCallbackReturns (PTP_CALLBACK_INSTANCE pci, HANDLE mut);
|
||||
WINBASEAPI VOID WINAPI LeaveCriticalSectionWhenCallbackReturns (PTP_CALLBACK_INSTANCE pci, PCRITICAL_SECTION pcs);
|
||||
WINBASEAPI VOID WINAPI FreeLibraryWhenCallbackReturns (PTP_CALLBACK_INSTANCE pci, HMODULE mod);
|
||||
WINBASEAPI WINBOOL WINAPI CallbackMayRunLong (PTP_CALLBACK_INSTANCE pci);
|
||||
WINBASEAPI VOID WINAPI DisassociateCurrentThreadFromCallback (PTP_CALLBACK_INSTANCE pci);
|
||||
WINBASEAPI WINBOOL WINAPI TrySubmitThreadpoolCallback (PTP_SIMPLE_CALLBACK pfns, PVOID pv, PTP_CALLBACK_ENVIRON pcbe);
|
||||
WINBASEAPI PTP_WORK WINAPI CreateThreadpoolWork (PTP_WORK_CALLBACK pfnwk, PVOID pv, PTP_CALLBACK_ENVIRON pcbe);
|
||||
WINBASEAPI VOID WINAPI SubmitThreadpoolWork (PTP_WORK pwk);
|
||||
WINBASEAPI VOID WINAPI WaitForThreadpoolWorkCallbacks (PTP_WORK pwk, WINBOOL fCancelPendingCallbacks);
|
||||
WINBASEAPI VOID WINAPI CloseThreadpoolWork (PTP_WORK pwk);
|
||||
WINBASEAPI PTP_TIMER WINAPI CreateThreadpoolTimer (PTP_TIMER_CALLBACK pfnti, PVOID pv, PTP_CALLBACK_ENVIRON pcbe);
|
||||
WINBASEAPI VOID WINAPI SetThreadpoolTimer (PTP_TIMER pti, PFILETIME pftDueTime, DWORD msPeriod, DWORD msWindowLength);
|
||||
WINBASEAPI WINBOOL WINAPI IsThreadpoolTimerSet (PTP_TIMER pti);
|
||||
WINBASEAPI VOID WINAPI WaitForThreadpoolTimerCallbacks (PTP_TIMER pti, WINBOOL fCancelPendingCallbacks);
|
||||
WINBASEAPI VOID WINAPI CloseThreadpoolTimer (PTP_TIMER pti);
|
||||
WINBASEAPI PTP_WAIT WINAPI CreateThreadpoolWait (PTP_WAIT_CALLBACK pfnwa, PVOID pv, PTP_CALLBACK_ENVIRON pcbe);
|
||||
WINBASEAPI VOID WINAPI SetThreadpoolWait (PTP_WAIT pwa, HANDLE h, PFILETIME pftTimeout);
|
||||
WINBASEAPI VOID WINAPI WaitForThreadpoolWaitCallbacks (PTP_WAIT pwa, WINBOOL fCancelPendingCallbacks);
|
||||
WINBASEAPI VOID WINAPI CloseThreadpoolWait (PTP_WAIT pwa);
|
||||
WINBASEAPI PTP_IO WINAPI CreateThreadpoolIo (HANDLE fl, PTP_WIN32_IO_CALLBACK pfnio, PVOID pv, PTP_CALLBACK_ENVIRON pcbe);
|
||||
WINBASEAPI VOID WINAPI StartThreadpoolIo (PTP_IO pio);
|
||||
WINBASEAPI VOID WINAPI CancelThreadpoolIo (PTP_IO pio);
|
||||
WINBASEAPI VOID WINAPI WaitForThreadpoolIoCallbacks (PTP_IO pio, WINBOOL fCancelPendingCallbacks);
|
||||
WINBASEAPI VOID WINAPI CloseThreadpoolIo (PTP_IO pio);
|
||||
WINBASEAPI WINBOOL WINAPI SetThreadpoolTimerEx (PTP_TIMER pti, PFILETIME pftDueTime, DWORD msPeriod, DWORD msWindowLength);
|
||||
WINBASEAPI WINBOOL WINAPI SetThreadpoolWaitEx (PTP_WAIT pwa, HANDLE h, PFILETIME pftTimeout, PVOID Reserved);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#ifndef _THREADPOOLLEGACYAPISET_H_
|
||||
#define _THREADPOOLLEGACYAPISET_H_
|
||||
|
||||
#include <apiset.h>
|
||||
#include <apisetcconv.h>
|
||||
#include <minwindef.h>
|
||||
#include <minwinbase.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || defined(WINSTORECOMPAT)
|
||||
WINBASEAPI WINBOOL WINAPI CreateTimerQueueTimer (PHANDLE phNewTimer, HANDLE TimerQueue, WAITORTIMERCALLBACK Callback, PVOID Parameter, DWORD DueTime, DWORD Period, ULONG Flags);
|
||||
WINBASEAPI WINBOOL WINAPI DeleteTimerQueueTimer (HANDLE TimerQueue, HANDLE Timer, HANDLE CompletionEvent);
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
WINBASEAPI WINBOOL WINAPI QueueUserWorkItem (LPTHREAD_START_ROUTINE Function, PVOID Context, ULONG Flags);
|
||||
WINBASEAPI WINBOOL WINAPI UnregisterWaitEx (HANDLE WaitHandle, HANDLE CompletionEvent);
|
||||
WINBASEAPI HANDLE WINAPI CreateTimerQueue (VOID);
|
||||
WINBASEAPI WINBOOL WINAPI ChangeTimerQueueTimer (HANDLE TimerQueue, HANDLE Timer, ULONG DueTime, ULONG Period);
|
||||
WINBASEAPI WINBOOL WINAPI DeleteTimerQueueEx (HANDLE TimerQueue, HANDLE CompletionEvent);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,701 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/thumbcache.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __thumbcache_h__
|
||||
#define __thumbcache_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __ISharedBitmap_FWD_DEFINED__
|
||||
#define __ISharedBitmap_FWD_DEFINED__
|
||||
typedef interface ISharedBitmap ISharedBitmap;
|
||||
#ifdef __cplusplus
|
||||
interface ISharedBitmap;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IThumbnailCache_FWD_DEFINED__
|
||||
#define __IThumbnailCache_FWD_DEFINED__
|
||||
typedef interface IThumbnailCache IThumbnailCache;
|
||||
#ifdef __cplusplus
|
||||
interface IThumbnailCache;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IThumbnailProvider_FWD_DEFINED__
|
||||
#define __IThumbnailProvider_FWD_DEFINED__
|
||||
typedef interface IThumbnailProvider IThumbnailProvider;
|
||||
#ifdef __cplusplus
|
||||
interface IThumbnailProvider;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IThumbnailSettings_FWD_DEFINED__
|
||||
#define __IThumbnailSettings_FWD_DEFINED__
|
||||
typedef interface IThumbnailSettings IThumbnailSettings;
|
||||
#ifdef __cplusplus
|
||||
interface IThumbnailSettings;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IThumbnailCachePrimer_FWD_DEFINED__
|
||||
#define __IThumbnailCachePrimer_FWD_DEFINED__
|
||||
typedef interface IThumbnailCachePrimer IThumbnailCachePrimer;
|
||||
#ifdef __cplusplus
|
||||
interface IThumbnailCachePrimer;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __LocalThumbnailCache_FWD_DEFINED__
|
||||
#define __LocalThumbnailCache_FWD_DEFINED__
|
||||
#ifdef __cplusplus
|
||||
typedef class LocalThumbnailCache LocalThumbnailCache;
|
||||
#else
|
||||
typedef struct LocalThumbnailCache LocalThumbnailCache;
|
||||
#endif /* defined __cplusplus */
|
||||
#endif /* defined __LocalThumbnailCache_FWD_DEFINED__ */
|
||||
|
||||
#ifndef __SharedBitmap_FWD_DEFINED__
|
||||
#define __SharedBitmap_FWD_DEFINED__
|
||||
#ifdef __cplusplus
|
||||
typedef class SharedBitmap SharedBitmap;
|
||||
#else
|
||||
typedef struct SharedBitmap SharedBitmap;
|
||||
#endif /* defined __cplusplus */
|
||||
#endif /* defined __SharedBitmap_FWD_DEFINED__ */
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <oaidl.h>
|
||||
#include <shtypes.h>
|
||||
#include <shobjidl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum WTS_FLAGS {
|
||||
WTS_NONE = 0x0,
|
||||
WTS_EXTRACT = 0x0,
|
||||
WTS_INCACHEONLY = 0x1,
|
||||
WTS_FASTEXTRACT = 0x2,
|
||||
WTS_FORCEEXTRACTION = 0x4,
|
||||
WTS_SLOWRECLAIM = 0x8,
|
||||
WTS_EXTRACTDONOTCACHE = 0x20,
|
||||
WTS_SCALETOREQUESTEDSIZE = 0x40,
|
||||
WTS_SKIPFASTEXTRACT = 0x80,
|
||||
WTS_EXTRACTINPROC = 0x100,
|
||||
WTS_CROPTOSQUARE = 0x200,
|
||||
WTS_INSTANCESURROGATE = 0x400,
|
||||
WTS_REQUIRESURROGATE = 0x800,
|
||||
WTS_APPSTYLE = 0x2000,
|
||||
WTS_WIDETHUMBNAILS = 0x4000,
|
||||
WTS_IDEALCACHESIZEONLY = 0x8000,
|
||||
WTS_SCALEUP = 0x10000
|
||||
} WTS_FLAGS;
|
||||
DEFINE_ENUM_FLAG_OPERATORS(WTS_FLAGS)
|
||||
typedef enum WTS_CACHEFLAGS {
|
||||
WTS_DEFAULT = 0x0,
|
||||
WTS_LOWQUALITY = 0x1,
|
||||
WTS_CACHED = 0x2
|
||||
} WTS_CACHEFLAGS;
|
||||
DEFINE_ENUM_FLAG_OPERATORS(WTS_CACHEFLAGS)
|
||||
typedef enum WTS_CONTEXTFLAGS {
|
||||
WTSCF_DEFAULT = 0x0,
|
||||
WTSCF_APPSTYLE = 0x1,
|
||||
WTSCF_SQUARE = 0x2,
|
||||
WTSCF_WIDE = 0x4,
|
||||
WTSCF_FAST = 0x8
|
||||
} WTS_CONTEXTFLAGS;
|
||||
DEFINE_ENUM_FLAG_OPERATORS(WTS_CONTEXTFLAGS)
|
||||
typedef enum WTS_ALPHATYPE {
|
||||
WTSAT_UNKNOWN = 0,
|
||||
WTSAT_RGB = 1,
|
||||
WTSAT_ARGB = 2
|
||||
} WTS_ALPHATYPE;
|
||||
typedef struct WTS_THUMBNAILID {
|
||||
BYTE rgbKey[16];
|
||||
} WTS_THUMBNAILID;
|
||||
#define WTS_E_FAILEDEXTRACTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb200)
|
||||
#define WTS_E_EXTRACTIONTIMEDOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb201)
|
||||
#define WTS_E_SURROGATEUNAVAILABLE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb202)
|
||||
#define WTS_E_FASTEXTRACTIONNOTSUPPORTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb203)
|
||||
#define WTS_E_DATAFILEUNAVAILABLE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb204)
|
||||
#define WTS_E_EXTRACTIONPENDING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb205)
|
||||
#define WTS_E_EXTRACTIONBLOCKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xb206)
|
||||
/*****************************************************************************
|
||||
* ISharedBitmap interface
|
||||
*/
|
||||
#ifndef __ISharedBitmap_INTERFACE_DEFINED__
|
||||
#define __ISharedBitmap_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ISharedBitmap, 0x091162a4, 0xbc96, 0x411f, 0xaa,0xe8, 0xc5,0x12,0x2c,0xd0,0x33,0x63);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("091162a4-bc96-411f-aae8-c5122cd03363")
|
||||
ISharedBitmap : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetSharedBitmap(
|
||||
HBITMAP *phbm) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetSize(
|
||||
SIZE *pSize) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetFormat(
|
||||
WTS_ALPHATYPE *pat) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE InitializeBitmap(
|
||||
HBITMAP hbm,
|
||||
WTS_ALPHATYPE wtsAT) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Detach(
|
||||
HBITMAP *phbm) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(ISharedBitmap, 0x091162a4, 0xbc96, 0x411f, 0xaa,0xe8, 0xc5,0x12,0x2c,0xd0,0x33,0x63)
|
||||
#endif
|
||||
#else
|
||||
typedef struct ISharedBitmapVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ISharedBitmap *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ISharedBitmap *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ISharedBitmap *This);
|
||||
|
||||
/*** ISharedBitmap methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetSharedBitmap)(
|
||||
ISharedBitmap *This,
|
||||
HBITMAP *phbm);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetSize)(
|
||||
ISharedBitmap *This,
|
||||
SIZE *pSize);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetFormat)(
|
||||
ISharedBitmap *This,
|
||||
WTS_ALPHATYPE *pat);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *InitializeBitmap)(
|
||||
ISharedBitmap *This,
|
||||
HBITMAP hbm,
|
||||
WTS_ALPHATYPE wtsAT);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Detach)(
|
||||
ISharedBitmap *This,
|
||||
HBITMAP *phbm);
|
||||
|
||||
END_INTERFACE
|
||||
} ISharedBitmapVtbl;
|
||||
|
||||
interface ISharedBitmap {
|
||||
CONST_VTBL ISharedBitmapVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define ISharedBitmap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ISharedBitmap_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ISharedBitmap_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ISharedBitmap methods ***/
|
||||
#define ISharedBitmap_GetSharedBitmap(This,phbm) (This)->lpVtbl->GetSharedBitmap(This,phbm)
|
||||
#define ISharedBitmap_GetSize(This,pSize) (This)->lpVtbl->GetSize(This,pSize)
|
||||
#define ISharedBitmap_GetFormat(This,pat) (This)->lpVtbl->GetFormat(This,pat)
|
||||
#define ISharedBitmap_InitializeBitmap(This,hbm,wtsAT) (This)->lpVtbl->InitializeBitmap(This,hbm,wtsAT)
|
||||
#define ISharedBitmap_Detach(This,phbm) (This)->lpVtbl->Detach(This,phbm)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT ISharedBitmap_QueryInterface(ISharedBitmap* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG ISharedBitmap_AddRef(ISharedBitmap* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG ISharedBitmap_Release(ISharedBitmap* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** ISharedBitmap methods ***/
|
||||
static inline HRESULT ISharedBitmap_GetSharedBitmap(ISharedBitmap* This,HBITMAP *phbm) {
|
||||
return This->lpVtbl->GetSharedBitmap(This,phbm);
|
||||
}
|
||||
static inline HRESULT ISharedBitmap_GetSize(ISharedBitmap* This,SIZE *pSize) {
|
||||
return This->lpVtbl->GetSize(This,pSize);
|
||||
}
|
||||
static inline HRESULT ISharedBitmap_GetFormat(ISharedBitmap* This,WTS_ALPHATYPE *pat) {
|
||||
return This->lpVtbl->GetFormat(This,pat);
|
||||
}
|
||||
static inline HRESULT ISharedBitmap_InitializeBitmap(ISharedBitmap* This,HBITMAP hbm,WTS_ALPHATYPE wtsAT) {
|
||||
return This->lpVtbl->InitializeBitmap(This,hbm,wtsAT);
|
||||
}
|
||||
static inline HRESULT ISharedBitmap_Detach(ISharedBitmap* This,HBITMAP *phbm) {
|
||||
return This->lpVtbl->Detach(This,phbm);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __ISharedBitmap_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IThumbnailCache interface
|
||||
*/
|
||||
#ifndef __IThumbnailCache_INTERFACE_DEFINED__
|
||||
#define __IThumbnailCache_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IThumbnailCache, 0xf676c15d, 0x596a, 0x4ce2, 0x82,0x34, 0x33,0x99,0x6f,0x44,0x5d,0xb1);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("f676c15d-596a-4ce2-8234-33996f445db1")
|
||||
IThumbnailCache : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetThumbnail(
|
||||
IShellItem *pShellItem,
|
||||
UINT cxyRequestedThumbSize,
|
||||
WTS_FLAGS flags,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags,
|
||||
WTS_THUMBNAILID *pThumbnailID) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetThumbnailByID(
|
||||
WTS_THUMBNAILID thumbnailID,
|
||||
UINT cxyRequestedThumbSize,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IThumbnailCache, 0xf676c15d, 0x596a, 0x4ce2, 0x82,0x34, 0x33,0x99,0x6f,0x44,0x5d,0xb1)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IThumbnailCacheVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IThumbnailCache *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IThumbnailCache *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IThumbnailCache *This);
|
||||
|
||||
/*** IThumbnailCache methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetThumbnail)(
|
||||
IThumbnailCache *This,
|
||||
IShellItem *pShellItem,
|
||||
UINT cxyRequestedThumbSize,
|
||||
WTS_FLAGS flags,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags,
|
||||
WTS_THUMBNAILID *pThumbnailID);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetThumbnailByID)(
|
||||
IThumbnailCache *This,
|
||||
WTS_THUMBNAILID thumbnailID,
|
||||
UINT cxyRequestedThumbSize,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags);
|
||||
|
||||
END_INTERFACE
|
||||
} IThumbnailCacheVtbl;
|
||||
|
||||
interface IThumbnailCache {
|
||||
CONST_VTBL IThumbnailCacheVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IThumbnailCache_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IThumbnailCache_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IThumbnailCache_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IThumbnailCache methods ***/
|
||||
#define IThumbnailCache_GetThumbnail(This,pShellItem,cxyRequestedThumbSize,flags,ppvThumb,pOutFlags,pThumbnailID) (This)->lpVtbl->GetThumbnail(This,pShellItem,cxyRequestedThumbSize,flags,ppvThumb,pOutFlags,pThumbnailID)
|
||||
#define IThumbnailCache_GetThumbnailByID(This,thumbnailID,cxyRequestedThumbSize,ppvThumb,pOutFlags) (This)->lpVtbl->GetThumbnailByID(This,thumbnailID,cxyRequestedThumbSize,ppvThumb,pOutFlags)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IThumbnailCache_QueryInterface(IThumbnailCache* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IThumbnailCache_AddRef(IThumbnailCache* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IThumbnailCache_Release(IThumbnailCache* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IThumbnailCache methods ***/
|
||||
static inline HRESULT IThumbnailCache_GetThumbnail(IThumbnailCache* This,IShellItem *pShellItem,UINT cxyRequestedThumbSize,WTS_FLAGS flags,ISharedBitmap **ppvThumb,WTS_CACHEFLAGS *pOutFlags,WTS_THUMBNAILID *pThumbnailID) {
|
||||
return This->lpVtbl->GetThumbnail(This,pShellItem,cxyRequestedThumbSize,flags,ppvThumb,pOutFlags,pThumbnailID);
|
||||
}
|
||||
static inline HRESULT IThumbnailCache_GetThumbnailByID(IThumbnailCache* This,WTS_THUMBNAILID thumbnailID,UINT cxyRequestedThumbSize,ISharedBitmap **ppvThumb,WTS_CACHEFLAGS *pOutFlags) {
|
||||
return This->lpVtbl->GetThumbnailByID(This,thumbnailID,cxyRequestedThumbSize,ppvThumb,pOutFlags);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
HRESULT STDMETHODCALLTYPE IThumbnailCache_RemoteGetThumbnail_Proxy(
|
||||
IThumbnailCache* This,
|
||||
IShellItem *pShellItem,
|
||||
UINT cxyRequestedThumbSize,
|
||||
WTS_FLAGS flags,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags,
|
||||
WTS_THUMBNAILID *pThumbnailID);
|
||||
void __RPC_STUB IThumbnailCache_RemoteGetThumbnail_Stub(
|
||||
IRpcStubBuffer* This,
|
||||
IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT STDMETHODCALLTYPE IThumbnailCache_RemoteGetThumbnailByID_Proxy(
|
||||
IThumbnailCache* This,
|
||||
WTS_THUMBNAILID thumbnailID,
|
||||
UINT cxyRequestedThumbSize,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags);
|
||||
void __RPC_STUB IThumbnailCache_RemoteGetThumbnailByID_Stub(
|
||||
IRpcStubBuffer* This,
|
||||
IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IThumbnailCache_GetThumbnail_Proxy(
|
||||
IThumbnailCache* This,
|
||||
IShellItem *pShellItem,
|
||||
UINT cxyRequestedThumbSize,
|
||||
WTS_FLAGS flags,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags,
|
||||
WTS_THUMBNAILID *pThumbnailID);
|
||||
HRESULT __RPC_STUB IThumbnailCache_GetThumbnail_Stub(
|
||||
IThumbnailCache* This,
|
||||
IShellItem *pShellItem,
|
||||
UINT cxyRequestedThumbSize,
|
||||
WTS_FLAGS flags,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags,
|
||||
WTS_THUMBNAILID *pThumbnailID);
|
||||
HRESULT CALLBACK IThumbnailCache_GetThumbnailByID_Proxy(
|
||||
IThumbnailCache* This,
|
||||
WTS_THUMBNAILID thumbnailID,
|
||||
UINT cxyRequestedThumbSize,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags);
|
||||
HRESULT __RPC_STUB IThumbnailCache_GetThumbnailByID_Stub(
|
||||
IThumbnailCache* This,
|
||||
WTS_THUMBNAILID thumbnailID,
|
||||
UINT cxyRequestedThumbSize,
|
||||
ISharedBitmap **ppvThumb,
|
||||
WTS_CACHEFLAGS *pOutFlags);
|
||||
|
||||
#endif /* __IThumbnailCache_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IThumbnailProvider interface
|
||||
*/
|
||||
#ifndef __IThumbnailProvider_INTERFACE_DEFINED__
|
||||
#define __IThumbnailProvider_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IThumbnailProvider, 0xe357fccd, 0xa995, 0x4576, 0xb0,0x1f, 0x23,0x46,0x30,0x15,0x4e,0x96);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("e357fccd-a995-4576-b01f-234630154e96")
|
||||
IThumbnailProvider : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetThumbnail(
|
||||
UINT cx,
|
||||
HBITMAP *phbmp,
|
||||
WTS_ALPHATYPE *pdwAlpha) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IThumbnailProvider, 0xe357fccd, 0xa995, 0x4576, 0xb0,0x1f, 0x23,0x46,0x30,0x15,0x4e,0x96)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IThumbnailProviderVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IThumbnailProvider *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IThumbnailProvider *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IThumbnailProvider *This);
|
||||
|
||||
/*** IThumbnailProvider methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetThumbnail)(
|
||||
IThumbnailProvider *This,
|
||||
UINT cx,
|
||||
HBITMAP *phbmp,
|
||||
WTS_ALPHATYPE *pdwAlpha);
|
||||
|
||||
END_INTERFACE
|
||||
} IThumbnailProviderVtbl;
|
||||
|
||||
interface IThumbnailProvider {
|
||||
CONST_VTBL IThumbnailProviderVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IThumbnailProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IThumbnailProvider_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IThumbnailProvider_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IThumbnailProvider methods ***/
|
||||
#define IThumbnailProvider_GetThumbnail(This,cx,phbmp,pdwAlpha) (This)->lpVtbl->GetThumbnail(This,cx,phbmp,pdwAlpha)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IThumbnailProvider_QueryInterface(IThumbnailProvider* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IThumbnailProvider_AddRef(IThumbnailProvider* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IThumbnailProvider_Release(IThumbnailProvider* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IThumbnailProvider methods ***/
|
||||
static inline HRESULT IThumbnailProvider_GetThumbnail(IThumbnailProvider* This,UINT cx,HBITMAP *phbmp,WTS_ALPHATYPE *pdwAlpha) {
|
||||
return This->lpVtbl->GetThumbnail(This,cx,phbmp,pdwAlpha);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IThumbnailProvider_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IThumbnailSettings interface
|
||||
*/
|
||||
#ifndef __IThumbnailSettings_INTERFACE_DEFINED__
|
||||
#define __IThumbnailSettings_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IThumbnailSettings, 0xf4376f00, 0xbef5, 0x4d45, 0x80,0xf3, 0x1e,0x02,0x3b,0xbf,0x12,0x09);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("f4376f00-bef5-4d45-80f3-1e023bbf1209")
|
||||
IThumbnailSettings : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE SetContext(
|
||||
WTS_CONTEXTFLAGS dwContext) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IThumbnailSettings, 0xf4376f00, 0xbef5, 0x4d45, 0x80,0xf3, 0x1e,0x02,0x3b,0xbf,0x12,0x09)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IThumbnailSettingsVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IThumbnailSettings *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IThumbnailSettings *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IThumbnailSettings *This);
|
||||
|
||||
/*** IThumbnailSettings methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *SetContext)(
|
||||
IThumbnailSettings *This,
|
||||
WTS_CONTEXTFLAGS dwContext);
|
||||
|
||||
END_INTERFACE
|
||||
} IThumbnailSettingsVtbl;
|
||||
|
||||
interface IThumbnailSettings {
|
||||
CONST_VTBL IThumbnailSettingsVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IThumbnailSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IThumbnailSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IThumbnailSettings_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IThumbnailSettings methods ***/
|
||||
#define IThumbnailSettings_SetContext(This,dwContext) (This)->lpVtbl->SetContext(This,dwContext)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IThumbnailSettings_QueryInterface(IThumbnailSettings* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IThumbnailSettings_AddRef(IThumbnailSettings* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IThumbnailSettings_Release(IThumbnailSettings* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IThumbnailSettings methods ***/
|
||||
static inline HRESULT IThumbnailSettings_SetContext(IThumbnailSettings* This,WTS_CONTEXTFLAGS dwContext) {
|
||||
return This->lpVtbl->SetContext(This,dwContext);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IThumbnailSettings_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IThumbnailCachePrimer interface
|
||||
*/
|
||||
#ifndef __IThumbnailCachePrimer_INTERFACE_DEFINED__
|
||||
#define __IThumbnailCachePrimer_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IThumbnailCachePrimer, 0x0f03f8fe, 0x2b26, 0x46f0, 0x96,0x5a, 0x21,0x2a,0xa8,0xd6,0x6b,0x76);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("0f03f8fe-2b26-46f0-965a-212aa8d66b76")
|
||||
IThumbnailCachePrimer : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE PageInThumbnail(
|
||||
IShellItem *psi,
|
||||
WTS_FLAGS wtsFlags,
|
||||
UINT cxyRequestedThumbSize) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IThumbnailCachePrimer, 0x0f03f8fe, 0x2b26, 0x46f0, 0x96,0x5a, 0x21,0x2a,0xa8,0xd6,0x6b,0x76)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IThumbnailCachePrimerVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IThumbnailCachePrimer *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IThumbnailCachePrimer *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IThumbnailCachePrimer *This);
|
||||
|
||||
/*** IThumbnailCachePrimer methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *PageInThumbnail)(
|
||||
IThumbnailCachePrimer *This,
|
||||
IShellItem *psi,
|
||||
WTS_FLAGS wtsFlags,
|
||||
UINT cxyRequestedThumbSize);
|
||||
|
||||
END_INTERFACE
|
||||
} IThumbnailCachePrimerVtbl;
|
||||
|
||||
interface IThumbnailCachePrimer {
|
||||
CONST_VTBL IThumbnailCachePrimerVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IThumbnailCachePrimer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IThumbnailCachePrimer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IThumbnailCachePrimer_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IThumbnailCachePrimer methods ***/
|
||||
#define IThumbnailCachePrimer_PageInThumbnail(This,psi,wtsFlags,cxyRequestedThumbSize) (This)->lpVtbl->PageInThumbnail(This,psi,wtsFlags,cxyRequestedThumbSize)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IThumbnailCachePrimer_QueryInterface(IThumbnailCachePrimer* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IThumbnailCachePrimer_AddRef(IThumbnailCachePrimer* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IThumbnailCachePrimer_Release(IThumbnailCachePrimer* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IThumbnailCachePrimer methods ***/
|
||||
static inline HRESULT IThumbnailCachePrimer_PageInThumbnail(IThumbnailCachePrimer* This,IShellItem *psi,WTS_FLAGS wtsFlags,UINT cxyRequestedThumbSize) {
|
||||
return This->lpVtbl->PageInThumbnail(This,psi,wtsFlags,cxyRequestedThumbSize);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IThumbnailCachePrimer_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __ThumbCacheLib_LIBRARY_DEFINED__
|
||||
#define __ThumbCacheLib_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_ThumbCacheLib, 0x4c857096, 0x0514, 0x4d4d, 0xab,0xd5, 0xdf,0xaa,0xa3,0xc3,0x26,0xd2);
|
||||
|
||||
/*****************************************************************************
|
||||
* LocalThumbnailCache coclass
|
||||
*/
|
||||
|
||||
DEFINE_GUID(CLSID_LocalThumbnailCache, 0x50ef4544, 0xac9f, 0x4a8e, 0xb2,0x1b, 0x8a,0x26,0x18,0x0d,0xb1,0x3f);
|
||||
|
||||
#ifdef __cplusplus
|
||||
class DECLSPEC_UUID("50ef4544-ac9f-4a8e-b21b-8a26180db13f") LocalThumbnailCache;
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(LocalThumbnailCache, 0x50ef4544, 0xac9f, 0x4a8e, 0xb2,0x1b, 0x8a,0x26,0x18,0x0d,0xb1,0x3f)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* SharedBitmap coclass
|
||||
*/
|
||||
|
||||
DEFINE_GUID(CLSID_SharedBitmap, 0x4db26476, 0x6787, 0x4046, 0xb8,0x36, 0xe8,0x41,0x2a,0x9e,0x8a,0x27);
|
||||
|
||||
#ifdef __cplusplus
|
||||
class DECLSPEC_UUID("4db26476-6787-4046-b836-e8412a9e8a27") SharedBitmap;
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(SharedBitmap, 0x4db26476, 0x6787, 0x4046, 0xb8,0x36, 0xe8,0x41,0x2a,0x9e,0x8a,0x27)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* __ThumbCacheLib_LIBRARY_DEFINED__ */
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
ULONG __RPC_USER HBITMAP_UserSize (ULONG *, ULONG, HBITMAP *);
|
||||
unsigned char * __RPC_USER HBITMAP_UserMarshal (ULONG *, unsigned char *, HBITMAP *);
|
||||
unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *);
|
||||
void __RPC_USER HBITMAP_UserFree (ULONG *, HBITMAP *);
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __thumbcache_h__ */
|
||||
@@ -0,0 +1,327 @@
|
||||
/**
|
||||
* 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 _TIME_H_
|
||||
#define _TIME_H_
|
||||
|
||||
#include <crtdefs.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
#error Only Win32 target is supported!
|
||||
#endif
|
||||
|
||||
#if defined(__LIBMSVCRT__)
|
||||
/* When building mingw-w64, this should be blank. */
|
||||
#define _SECIMP
|
||||
#else
|
||||
#ifndef _SECIMP
|
||||
#define _SECIMP __declspec(dllimport)
|
||||
#endif /* _SECIMP */
|
||||
#endif /* defined(__LIBMSVCRT__) */
|
||||
|
||||
/* Adding timespec definition. */
|
||||
#include <sys/timeb.h>
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _CRTIMP
|
||||
#define _CRTIMP __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
#ifndef _WCHAR_T_DEFINED
|
||||
#define _WCHAR_T_DEFINED
|
||||
typedef unsigned short wchar_t;
|
||||
#endif
|
||||
|
||||
#ifndef _TIME32_T_DEFINED
|
||||
#define _TIME32_T_DEFINED
|
||||
typedef long __time32_t;
|
||||
#endif
|
||||
|
||||
#ifndef _TIME64_T_DEFINED
|
||||
#define _TIME64_T_DEFINED
|
||||
__MINGW_EXTENSION typedef __int64 __time64_t;
|
||||
#endif
|
||||
|
||||
#ifndef _TIME_T_DEFINED
|
||||
#define _TIME_T_DEFINED
|
||||
#ifdef _USE_32BIT_TIME_T
|
||||
typedef __time32_t time_t;
|
||||
#else
|
||||
typedef __time64_t time_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef _CLOCK_T_DEFINED
|
||||
#define _CLOCK_T_DEFINED
|
||||
typedef long clock_t;
|
||||
#endif
|
||||
|
||||
#ifndef _SIZE_T_DEFINED
|
||||
#define _SIZE_T_DEFINED
|
||||
#undef size_t
|
||||
#ifdef _WIN64
|
||||
__MINGW_EXTENSION typedef unsigned __int64 size_t;
|
||||
#else
|
||||
typedef unsigned int size_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef _SSIZE_T_DEFINED
|
||||
#define _SSIZE_T_DEFINED
|
||||
#undef ssize_t
|
||||
#ifdef _WIN64
|
||||
__MINGW_EXTENSION typedef __int64 ssize_t;
|
||||
#else
|
||||
typedef int ssize_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef NULL
|
||||
#ifdef __cplusplus
|
||||
#ifndef _WIN64
|
||||
#define NULL 0
|
||||
#else
|
||||
#define NULL 0LL
|
||||
#endif /* W64 */
|
||||
#else
|
||||
#define NULL ((void *)0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef _TM_DEFINED
|
||||
#define _TM_DEFINED
|
||||
struct tm {
|
||||
int tm_sec;
|
||||
int tm_min;
|
||||
int tm_hour;
|
||||
int tm_mday;
|
||||
int tm_mon;
|
||||
int tm_year;
|
||||
int tm_wday;
|
||||
int tm_yday;
|
||||
int tm_isdst;
|
||||
};
|
||||
#endif
|
||||
|
||||
#define CLOCKS_PER_SEC 1000
|
||||
|
||||
#ifdef _UCRT
|
||||
#define TIME_UTC 1
|
||||
#endif
|
||||
|
||||
_CRTIMP int *__cdecl __daylight(void);
|
||||
_CRTIMP long *__cdecl __dstbias(void);
|
||||
_CRTIMP long *__cdecl __timezone(void);
|
||||
_CRTIMP char **__cdecl __tzname(void);
|
||||
#define _daylight (* __daylight())
|
||||
#define _dstbias (* __dstbias())
|
||||
#define _timezone (* __timezone())
|
||||
#define _tzname (__tzname())
|
||||
|
||||
#undef __MINGW_STRFTIME_FORMAT
|
||||
|
||||
#if defined(__clang__)
|
||||
#define __MINGW_STRFTIME_FORMAT strftime
|
||||
#elif defined(_UCRT)
|
||||
#define __MINGW_STRFTIME_FORMAT gnu_strftime
|
||||
#else
|
||||
#define __MINGW_STRFTIME_FORMAT ms_strftime
|
||||
#endif
|
||||
|
||||
_CRTIMP errno_t __cdecl _get_daylight(int *_Daylight);
|
||||
_CRTIMP errno_t __cdecl _get_dstbias(long *_Daylight_savings_bias);
|
||||
_CRTIMP errno_t __cdecl _get_timezone(long *_Timezone);
|
||||
_CRTIMP errno_t __cdecl _get_tzname(size_t *_ReturnValue,char *_Buffer,size_t _SizeInBytes,int _Index);
|
||||
char *__cdecl asctime(const struct tm *_Tm) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl asctime_s (char *_Buf,size_t _SizeInWords,const struct tm *_Tm);
|
||||
_CRTIMP char *__cdecl _ctime32(const __time32_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _ctime32_s (char *_Buf,size_t _SizeInBytes,const __time32_t *_Time);
|
||||
clock_t __cdecl clock(void);
|
||||
_CRTIMP double __cdecl _difftime32(__time32_t _Time1,__time32_t _Time2);
|
||||
_CRTIMP struct tm *__cdecl _gmtime32(const __time32_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _gmtime32_s (struct tm *_Tm,const __time32_t *_Time);
|
||||
_CRTIMP struct tm *__cdecl _localtime32(const __time32_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _localtime32_s (struct tm *_Tm,const __time32_t *_Time);
|
||||
size_t __cdecl strftime(char * __restrict__ _Buf,size_t _SizeInBytes,const char * __restrict__ _Format,const struct tm * __restrict__ _Tm) __attribute__((__format__ (__MINGW_STRFTIME_FORMAT, 3, 0)));
|
||||
_CRTIMP size_t __cdecl _strftime_l(char * __restrict__ _Buf,size_t _Max_size,const char * __restrict__ _Format,const struct tm * __restrict__ _Tm,_locale_t _Locale);
|
||||
_CRTIMP char *__cdecl _strdate(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _strdate_s (char *_Buf,size_t _SizeInBytes);
|
||||
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(errno_t, _strdate_s, char, _Str)
|
||||
_CRTIMP char *__cdecl _strtime(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _strtime_s (char *_Buf ,size_t _SizeInBytes);
|
||||
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(errno_t, _strtime_s, char, _Str)
|
||||
_CRTIMP __time32_t __cdecl _time32(__time32_t *_Time);
|
||||
#ifdef _UCRT
|
||||
_CRTIMP int __cdecl _timespec32_get(struct _timespec32 *_Ts, int _Base);
|
||||
#endif
|
||||
_CRTIMP __time32_t __cdecl _mktime32(struct tm *_Tm);
|
||||
_CRTIMP __time32_t __cdecl _mkgmtime32(struct tm *_Tm);
|
||||
|
||||
#if defined (_POSIX_) || defined(__GNUC__)
|
||||
void __cdecl tzset(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
|
||||
#endif
|
||||
#if !defined (_POSIX_)
|
||||
#ifndef _UCRT
|
||||
_CRTIMP
|
||||
#endif
|
||||
void __cdecl _tzset(void);
|
||||
#endif
|
||||
|
||||
_CRTIMP double __cdecl _difftime64(__time64_t _Time1,__time64_t _Time2);
|
||||
_CRTIMP char *__cdecl _ctime64(const __time64_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _ctime64_s (char *_Buf,size_t _SizeInBytes,const __time64_t *_Time);
|
||||
_CRTIMP struct tm *__cdecl _gmtime64(const __time64_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _gmtime64_s (struct tm *_Tm,const __time64_t *_Time);
|
||||
_CRTIMP struct tm *__cdecl _localtime64(const __time64_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _localtime64_s (struct tm *_Tm,const __time64_t *_Time);
|
||||
_CRTIMP __time64_t __cdecl _mktime64(struct tm *_Tm);
|
||||
_CRTIMP __time64_t __cdecl _mkgmtime64(struct tm *_Tm);
|
||||
_CRTIMP __time64_t __cdecl _time64(__time64_t *_Time);
|
||||
#ifdef _UCRT
|
||||
_CRTIMP int __cdecl _timespec64_get(struct _timespec64 *_Ts, int _Base);
|
||||
#endif
|
||||
unsigned __cdecl _getsystime(struct tm *_Tm);
|
||||
unsigned __cdecl _setsystime(struct tm *_Tm,unsigned _MilliSec);
|
||||
|
||||
#ifndef _WTIME_DEFINED
|
||||
_CRTIMP wchar_t *__cdecl _wasctime(const struct tm *_Tm);
|
||||
_SECIMP errno_t __cdecl _wasctime_s (wchar_t *_Buf,size_t _SizeInWords,const struct tm *_Tm);
|
||||
wchar_t *__cdecl _wctime32(const __time32_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _wctime32_s (wchar_t *_Buf,size_t _SizeInWords,const __time32_t *_Time);
|
||||
size_t __cdecl wcsftime(wchar_t * __restrict__ _Buf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,const struct tm * __restrict__ _Tm);
|
||||
_CRTIMP size_t __cdecl _wcsftime_l(wchar_t * __restrict__ _Buf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,const struct tm * __restrict__ _Tm,_locale_t _Locale);
|
||||
_CRTIMP wchar_t *__cdecl _wstrdate(wchar_t *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _wstrdate_s (wchar_t *_Buf,size_t _SizeInWords);
|
||||
_CRTIMP wchar_t *__cdecl _wstrtime(wchar_t *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _wstrtime_s (wchar_t *_Buf,size_t _SizeInWords);
|
||||
_CRTIMP wchar_t *__cdecl _wctime64(const __time64_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
_SECIMP errno_t __cdecl _wctime64_s (wchar_t *_Buf,size_t _SizeInWords,const __time64_t *_Time);
|
||||
|
||||
#if !defined (RC_INVOKED) && !defined (_INC_WTIME_INL)
|
||||
#define _INC_WTIME_INL
|
||||
#ifndef _USE_32BIT_TIME_T
|
||||
wchar_t *__cdecl _wctime(const time_t *_Time) __MINGW_ASM_CALL(_wctime64) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
#else
|
||||
wchar_t *__cdecl _wctime(const time_t *_Time) __MINGW_ASM_CALL(_wctime32) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined (RC_INVOKED) && !defined (_INC_WTIME_S_INL)
|
||||
#define _INC_WTIME_S_INL
|
||||
#ifndef _USE_32BIT_TIME_T
|
||||
errno_t __cdecl _wctime_s (wchar_t *_Buffer,size_t _SizeInWords,const time_t *_Time) __MINGW_ASM_CALL(_wctime64_s);
|
||||
#else
|
||||
errno_t __cdecl _wctime_s (wchar_t *_Buffer,size_t _SizeInWords,const time_t *_Time) __MINGW_ASM_CALL(_wctime32_s);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define _WTIME_DEFINED
|
||||
#endif
|
||||
|
||||
#ifndef RC_INVOKED
|
||||
|
||||
#ifdef _USE_32BIT_TIME_T
|
||||
time_t __CRTDECL time(time_t *_Time) __MINGW_ASM_CALL(_time32);
|
||||
#ifdef _UCRT
|
||||
int __CRTDECL timespec_get(struct timespec* _Ts, int _Base) __MINGW_ASM_CALL(_timespec32_get);
|
||||
#endif
|
||||
double __CRTDECL difftime(time_t _Time1,time_t _Time2) __MINGW_ASM_CALL(_difftime32);
|
||||
struct tm *__CRTDECL localtime(const time_t *_Time) __MINGW_ASM_CALL(_localtime32);
|
||||
errno_t __CRTDECL localtime_s(struct tm *_Tm,const time_t *_Time) __MINGW_ASM_CALL(_localtime32_s);
|
||||
struct tm *__CRTDECL gmtime(const time_t *_Time) __MINGW_ASM_CALL(_gmtime32);
|
||||
errno_t __CRTDECL gmtime_s(struct tm *_Tm, const time_t *_Time) __MINGW_ASM_CALL(_gmtime32_s);
|
||||
char *__CRTDECL ctime(const time_t *_Time) __MINGW_ASM_CALL(_ctime32);
|
||||
errno_t __CRTDECL ctime_s(char *_Buf,size_t _SizeInBytes,const time_t *_Time) __MINGW_ASM_CALL(_ctime32_s);
|
||||
time_t __CRTDECL mktime(struct tm *_Tm) __MINGW_ASM_CALL(_mktime32);
|
||||
time_t __CRTDECL _mkgmtime(struct tm *_Tm) __MINGW_ASM_CALL(_mkgmtime32);
|
||||
#else
|
||||
time_t __CRTDECL time(time_t *_Time) __MINGW_ASM_CALL(_time64);
|
||||
#ifdef _UCRT
|
||||
int __CRTDECL timespec_get(struct timespec* _Ts, int _Base) __MINGW_ASM_CALL(_timespec64_get);
|
||||
#endif
|
||||
double __CRTDECL difftime(time_t _Time1,time_t _Time2) __MINGW_ASM_CALL(_difftime64);
|
||||
struct tm *__CRTDECL localtime(const time_t *_Time) __MINGW_ASM_CALL(_localtime64);
|
||||
errno_t __CRTDECL localtime_s(struct tm *_Tm,const time_t *_Time) __MINGW_ASM_CALL(_localtime64_s);
|
||||
struct tm *__CRTDECL gmtime(const time_t *_Time) __MINGW_ASM_CALL(_gmtime64);
|
||||
errno_t __CRTDECL gmtime_s(struct tm *_Tm, const time_t *_Time) __MINGW_ASM_CALL(_gmtime64_s);
|
||||
char *__CRTDECL ctime(const time_t *_Time) __MINGW_ASM_CALL(_ctime64);
|
||||
errno_t __CRTDECL ctime_s(char *_Buf,size_t _SizeInBytes,const time_t *_Time) __MINGW_ASM_CALL(_ctime64_s);
|
||||
time_t __CRTDECL mktime(struct tm *_Tm) __MINGW_ASM_CALL(_mktime64);
|
||||
time_t __CRTDECL _mkgmtime(struct tm *_Tm) __MINGW_ASM_CALL(_mkgmtime64);
|
||||
#endif
|
||||
|
||||
#endif /* !RC_INVOKED */
|
||||
|
||||
#if !defined(NO_OLDNAMES) || defined(_POSIX)
|
||||
#define CLK_TCK CLOCKS_PER_SEC
|
||||
|
||||
#ifdef _UCRT
|
||||
#define __MINGW_ATTRIB_DEPRECATED_UCRT \
|
||||
__MINGW_ATTRIB_DEPRECATED_MSG( \
|
||||
"Only provided for source compatibility; this variable might " \
|
||||
"not always be accurate when linking to UCRT.")
|
||||
#else
|
||||
#define __MINGW_ATTRIB_DEPRECATED_UCRT
|
||||
#endif
|
||||
|
||||
_CRTIMP extern int daylight __MINGW_ATTRIB_DEPRECATED_UCRT;
|
||||
_CRTIMP extern long timezone __MINGW_ATTRIB_DEPRECATED_UCRT;
|
||||
_CRTIMP extern char *tzname[2] __MINGW_ATTRIB_DEPRECATED_UCRT;
|
||||
void __cdecl tzset(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
|
||||
#endif
|
||||
|
||||
#include <_timeval.h>
|
||||
|
||||
#ifndef _TIMEZONE_DEFINED /* also in sys/time.h */
|
||||
#define _TIMEZONE_DEFINED
|
||||
struct timezone {
|
||||
int tz_minuteswest;
|
||||
int tz_dsttime;
|
||||
};
|
||||
|
||||
extern int __cdecl mingw_gettimeofday (struct timeval *p, struct timezone *z);
|
||||
#endif /* _TIMEZONE_DEFINED */
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#if defined(_POSIX_C_SOURCE) && !defined(_POSIX_THREAD_SAFE_FUNCTIONS)
|
||||
#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
|
||||
#endif
|
||||
|
||||
#ifdef _POSIX_THREAD_SAFE_FUNCTIONS
|
||||
__forceinline struct tm *__CRTDECL localtime_r(const time_t *_Time, struct tm *_Tm) {
|
||||
return localtime_s(_Tm, _Time) ? NULL : _Tm;
|
||||
}
|
||||
__forceinline struct tm *__CRTDECL gmtime_r(const time_t *_Time, struct tm *_Tm) {
|
||||
return gmtime_s(_Tm, _Time) ? NULL : _Tm;
|
||||
}
|
||||
__forceinline char *__CRTDECL ctime_r(const time_t *_Time, char *_Str) {
|
||||
return ctime_s(_Str, 0x7fffffff, _Time) ? NULL : _Str;
|
||||
}
|
||||
__forceinline char *__CRTDECL asctime_r(const struct tm *_Tm, char * _Str) {
|
||||
return asctime_s(_Str, 0x7fffffff, _Tm) ? NULL : _Str;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* POSIX 2008 says clock_gettime and timespec are defined in time.h header,
|
||||
but other systems - like Linux, Solaris, etc - tend to declare such
|
||||
recent extensions only if the following guards are met. */
|
||||
#if !defined(IN_WINPTHREAD) && \
|
||||
((!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \
|
||||
(_POSIX_C_SOURCE > 2) || defined(__EXTENSIONS__))
|
||||
#include <pthread_time.h>
|
||||
#endif
|
||||
|
||||
#endif /* End _TIME_H_ */
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* 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 _TIMERAPI_H_
|
||||
#define _TIMERAPI_H_
|
||||
|
||||
#include <apiset.h>
|
||||
#include <apisetcconv.h>
|
||||
|
||||
#include <mmsyscom.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#ifndef MMNOTIMER
|
||||
|
||||
#define TIMERR_NOERROR (0)
|
||||
#define TIMERR_NOCANDO (TIMERR_BASE+1)
|
||||
#define TIMERR_STRUCT (TIMERR_BASE+33)
|
||||
|
||||
typedef struct timecaps_tag {
|
||||
UINT wPeriodMin;
|
||||
UINT wPeriodMax;
|
||||
} TIMECAPS, *PTIMECAPS, *NPTIMECAPS, *LPTIMECAPS;
|
||||
|
||||
WINMMAPI MMRESULT WINAPI timeGetSystemTime(LPMMTIME pmmt, UINT cbmmt);
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
|
||||
WINMMAPI DWORD WINAPI timeGetTime(void);
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
WINMMAPI MMRESULT WINAPI timeGetDevCaps(LPTIMECAPS ptc, UINT cbtc);
|
||||
WINMMAPI MMRESULT WINAPI timeBeginPeriod(UINT uPeriod);
|
||||
WINMMAPI MMRESULT WINAPI timeEndPeriod(UINT uPeriod);
|
||||
|
||||
#endif /* ifndef MMNOTIMER */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _TIMERAPI_H_ */
|
||||
@@ -0,0 +1,110 @@
|
||||
/**
|
||||
* 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 TIMEPROV_H
|
||||
#define TIMEPROV_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define wszW32TimeRegKeyTimeProviders L"System\\CurrentControlSet\\Services\\W32Time\\TimeProviders"
|
||||
#define wszW32TimeRegKeyPolicyTimeProviders L"Software\\Policies\\Microsoft\\W32Time\\TimeProviders"
|
||||
#define wszW32TimeRegValueEnabled L"Enabled"
|
||||
#define wszW32TimeRegValueDllName L"DllName"
|
||||
#define wszW32TimeRegValueInputProvider L"InputProvider"
|
||||
|
||||
#define TSF_Hardware 0x00000001
|
||||
#define TSF_Authenticated 0x00000002
|
||||
|
||||
typedef enum TimeProvCmd {
|
||||
TPC_TimeJumped,TPC_UpdateConfig,TPC_PollIntervalChanged,TPC_GetSamples,TPC_NetTopoChange,TPC_Query,TPC_Shutdown
|
||||
} TimeProvCmd;
|
||||
|
||||
typedef enum TimeSysInfo {
|
||||
TSI_LastSyncTime,TSI_ClockTickSize,TSI_ClockPrecision,TSI_CurrentTime,TSI_PhaseOffset,TSI_TickCount,TSI_LeapFlags,TSI_Stratum,
|
||||
TSI_ReferenceIdentifier,TSI_PollInterval,TSI_RootDelay,TSI_RootDispersion,TSI_TSFlags
|
||||
} TimeSysInfo;
|
||||
|
||||
typedef enum TimeJumpedFlags {
|
||||
TJF_Default=0,TJF_UserRequested=1
|
||||
} TimeJumpedFlags;
|
||||
|
||||
typedef enum NetTopoChangeFlags {
|
||||
NTC_Default=0,NTC_UserRequested=1
|
||||
} NetTopoChangeFlags;
|
||||
|
||||
typedef enum TimeProvState {
|
||||
TPS_Running,TPS_Error
|
||||
} TimeProvState;
|
||||
|
||||
struct SetProviderStatusInfo;
|
||||
|
||||
typedef void (WINAPI SetProviderStatusInfoFreeFunc)(struct SetProviderStatusInfo *pspsi);
|
||||
|
||||
typedef struct SetProviderStatusInfo {
|
||||
TimeProvState tpsCurrentState;
|
||||
DWORD dwStratum;
|
||||
LPWSTR wszProvName;
|
||||
HANDLE hWaitEvent;
|
||||
SetProviderStatusInfoFreeFunc *pfnFree;
|
||||
HRESULT *pHr;
|
||||
DWORD *pdwSysStratum;
|
||||
} SetProviderStatusInfo;
|
||||
|
||||
typedef HRESULT (WINAPI GetTimeSysInfoFunc)(TimeSysInfo eInfo,void *pvInfo);
|
||||
typedef HRESULT (WINAPI LogTimeProvEventFunc)(WORD wType,WCHAR *wszProvName,WCHAR *wszMessage);
|
||||
typedef HRESULT (WINAPI AlertSamplesAvailFunc)(void);
|
||||
typedef HRESULT (WINAPI SetProviderStatusFunc)(SetProviderStatusInfo *pspsi);
|
||||
|
||||
typedef struct TimeProvSysCallbacks {
|
||||
DWORD dwSize;
|
||||
GetTimeSysInfoFunc *pfnGetTimeSysInfo;
|
||||
LogTimeProvEventFunc *pfnLogTimeProvEvent;
|
||||
AlertSamplesAvailFunc *pfnAlertSamplesAvail;
|
||||
SetProviderStatusFunc *pfnSetProviderStatus;
|
||||
} TimeProvSysCallbacks;
|
||||
|
||||
typedef void *TimeProvArgs;
|
||||
|
||||
typedef struct TimeSample {
|
||||
DWORD dwSize;
|
||||
DWORD dwRefid;
|
||||
__MINGW_EXTENSION signed __int64 toOffset;
|
||||
__MINGW_EXTENSION signed __int64 toDelay;
|
||||
__MINGW_EXTENSION unsigned __int64 tpDispersion;
|
||||
__MINGW_EXTENSION unsigned __int64 nSysTickCount;
|
||||
__MINGW_EXTENSION signed __int64 nSysPhaseOffset;
|
||||
BYTE nLeapFlags;
|
||||
BYTE nStratum;
|
||||
DWORD dwTSFlags;
|
||||
WCHAR wszUniqueName[256];
|
||||
} TimeSample;
|
||||
|
||||
typedef struct TpcGetSamplesArgs {
|
||||
BYTE *pbSampleBuf;
|
||||
DWORD cbSampleBuf;
|
||||
DWORD dwSamplesReturned;
|
||||
DWORD dwSamplesAvailable;
|
||||
} TpcGetSamplesArgs;
|
||||
|
||||
typedef struct TpcTimeJumpedArgs {
|
||||
TimeJumpedFlags tjfFlags;
|
||||
} TpcTimeJumpedArgs;
|
||||
|
||||
typedef struct TpcNetTopoChangeArgs {
|
||||
NetTopoChangeFlags ntcfFlags;
|
||||
} TpcNetTopoChangeArgs;
|
||||
|
||||
typedef void *TimeProvHandle;
|
||||
|
||||
HRESULT WINAPI TimeProvOpen(WCHAR *wszName,TimeProvSysCallbacks *pSysCallbacks,TimeProvHandle *phTimeProv);
|
||||
HRESULT WINAPI TimeProvCommand(TimeProvHandle hTimeProv,TimeProvCmd eCmd,TimeProvArgs pvArgs);
|
||||
HRESULT WINAPI TimeProvClose(TimeProvHandle hTimeProv);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,73 @@
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#ifndef _TIMEZONEAPI_H_
|
||||
#define _TIMEZONEAPI_H_
|
||||
|
||||
#include <apiset.h>
|
||||
#include <apisetcconv.h>
|
||||
#include <minwindef.h>
|
||||
#include <minwinbase.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
|
||||
|
||||
#define TIME_ZONE_ID_INVALID ((DWORD)0xffffffff)
|
||||
|
||||
typedef struct _TIME_ZONE_INFORMATION {
|
||||
LONG Bias;
|
||||
WCHAR StandardName[32];
|
||||
SYSTEMTIME StandardDate;
|
||||
LONG StandardBias;
|
||||
WCHAR DaylightName[32];
|
||||
SYSTEMTIME DaylightDate;
|
||||
LONG DaylightBias;
|
||||
} TIME_ZONE_INFORMATION,*PTIME_ZONE_INFORMATION,*LPTIME_ZONE_INFORMATION;
|
||||
|
||||
typedef struct _TIME_DYNAMIC_ZONE_INFORMATION {
|
||||
LONG Bias;
|
||||
WCHAR StandardName[32];
|
||||
SYSTEMTIME StandardDate;
|
||||
LONG StandardBias;
|
||||
WCHAR DaylightName[32];
|
||||
SYSTEMTIME DaylightDate;
|
||||
LONG DaylightBias;
|
||||
WCHAR TimeZoneKeyName[128];
|
||||
BOOLEAN DynamicDaylightTimeDisabled;
|
||||
} DYNAMIC_TIME_ZONE_INFORMATION,*PDYNAMIC_TIME_ZONE_INFORMATION;
|
||||
|
||||
WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation, CONST SYSTEMTIME *lpUniversalTime, LPSYSTEMTIME lpLocalTime);
|
||||
WINBASEAPI WINBOOL WINAPI TzSpecificLocalTimeToSystemTime (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation, CONST SYSTEMTIME *lpLocalTime, LPSYSTEMTIME lpUniversalTime);
|
||||
WINBASEAPI WINBOOL WINAPI FileTimeToSystemTime (CONST FILETIME *lpFileTime, LPSYSTEMTIME lpSystemTime);
|
||||
WINBASEAPI WINBOOL WINAPI SystemTimeToFileTime (CONST SYSTEMTIME *lpSystemTime, LPFILETIME lpFileTime);
|
||||
WINBASEAPI DWORD WINAPI GetTimeZoneInformation (LPTIME_ZONE_INFORMATION lpTimeZoneInformation);
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
WINBASEAPI DWORD WINAPI GetDynamicTimeZoneInformation (PDYNAMIC_TIME_ZONE_INFORMATION pTimeZoneInformation);
|
||||
#endif
|
||||
#if _WIN32_WINNT >= 0x0601
|
||||
WINBOOL WINAPI GetTimeZoneInformationForYear (USHORT wYear, PDYNAMIC_TIME_ZONE_INFORMATION pdtzi, LPTIME_ZONE_INFORMATION ptzi);
|
||||
#endif
|
||||
#if _WIN32_WINNT >= 0x0602
|
||||
WINBASEAPI DWORD WINAPI EnumDynamicTimeZoneInformation (CONST DWORD dwIndex, PDYNAMIC_TIME_ZONE_INFORMATION lpTimeZoneInformation);
|
||||
WINBASEAPI DWORD WINAPI GetDynamicTimeZoneInformationEffectiveYears (CONST PDYNAMIC_TIME_ZONE_INFORMATION lpTimeZoneInformation, LPDWORD FirstYear, LPDWORD LastYear);
|
||||
WINBASEAPI WINBOOL WINAPI SystemTimeToTzSpecificLocalTimeEx (CONST DYNAMIC_TIME_ZONE_INFORMATION *lpTimeZoneInformation, CONST SYSTEMTIME *lpUniversalTime, LPSYSTEMTIME lpLocalTime);
|
||||
WINBASEAPI WINBOOL WINAPI TzSpecificLocalTimeToSystemTimeEx (CONST DYNAMIC_TIME_ZONE_INFORMATION *lpTimeZoneInformation, CONST SYSTEMTIME *lpLocalTime, LPSYSTEMTIME lpUniversalTime);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
WINBASEAPI WINBOOL WINAPI SetTimeZoneInformation (CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation);
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
WINBASEAPI WINBOOL WINAPI SetDynamicTimeZoneInformation (CONST DYNAMIC_TIME_ZONE_INFORMATION *lpTimeZoneInformation);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,149 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/tlbref.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __tlbref_h__
|
||||
#define __tlbref_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __ITypeLibResolver_FWD_DEFINED__
|
||||
#define __ITypeLibResolver_FWD_DEFINED__
|
||||
typedef interface ITypeLibResolver ITypeLibResolver;
|
||||
#ifdef __cplusplus
|
||||
interface ITypeLibResolver;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <oaidl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#include <winapifamily.h>
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
/*****************************************************************************
|
||||
* ITypeLibResolver interface
|
||||
*/
|
||||
#ifndef __ITypeLibResolver_INTERFACE_DEFINED__
|
||||
#define __ITypeLibResolver_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ITypeLibResolver, 0x8f026edb, 0x785e, 0x4470, 0xa8,0xe1, 0xb4,0xe8,0x4e,0x9d,0x17,0x79);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("8f026edb-785e-4470-a8e1-b4e84e9d1779")
|
||||
ITypeLibResolver : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE ResolveTypeLib(
|
||||
BSTR bstrSimpleName,
|
||||
GUID tlbid,
|
||||
LCID lcid,
|
||||
USHORT wMajorVersion,
|
||||
USHORT wMinorVersion,
|
||||
SYSKIND syskind,
|
||||
BSTR *pbstrResolvedTlbName) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(ITypeLibResolver, 0x8f026edb, 0x785e, 0x4470, 0xa8,0xe1, 0xb4,0xe8,0x4e,0x9d,0x17,0x79)
|
||||
#endif
|
||||
#else
|
||||
typedef struct ITypeLibResolverVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ITypeLibResolver *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ITypeLibResolver *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ITypeLibResolver *This);
|
||||
|
||||
/*** ITypeLibResolver methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *ResolveTypeLib)(
|
||||
ITypeLibResolver *This,
|
||||
BSTR bstrSimpleName,
|
||||
GUID tlbid,
|
||||
LCID lcid,
|
||||
USHORT wMajorVersion,
|
||||
USHORT wMinorVersion,
|
||||
SYSKIND syskind,
|
||||
BSTR *pbstrResolvedTlbName);
|
||||
|
||||
END_INTERFACE
|
||||
} ITypeLibResolverVtbl;
|
||||
|
||||
interface ITypeLibResolver {
|
||||
CONST_VTBL ITypeLibResolverVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define ITypeLibResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITypeLibResolver_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITypeLibResolver_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ITypeLibResolver methods ***/
|
||||
#define ITypeLibResolver_ResolveTypeLib(This,bstrSimpleName,tlbid,lcid,wMajorVersion,wMinorVersion,syskind,pbstrResolvedTlbName) (This)->lpVtbl->ResolveTypeLib(This,bstrSimpleName,tlbid,lcid,wMajorVersion,wMinorVersion,syskind,pbstrResolvedTlbName)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT ITypeLibResolver_QueryInterface(ITypeLibResolver* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG ITypeLibResolver_AddRef(ITypeLibResolver* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG ITypeLibResolver_Release(ITypeLibResolver* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** ITypeLibResolver methods ***/
|
||||
static inline HRESULT ITypeLibResolver_ResolveTypeLib(ITypeLibResolver* This,BSTR bstrSimpleName,GUID tlbid,LCID lcid,USHORT wMajorVersion,USHORT wMinorVersion,SYSKIND syskind,BSTR *pbstrResolvedTlbName) {
|
||||
return This->lpVtbl->ResolveTypeLib(This,bstrSimpleName,tlbid,lcid,wMajorVersion,wMinorVersion,syskind,pbstrResolvedTlbName);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __ITypeLibResolver_INTERFACE_DEFINED__ */
|
||||
|
||||
STDAPI LoadTypeLibWithResolver (LPCOLESTR szFile, REGKIND regkind, ITypeLibResolver *pTlbResolver, ITypeLib **pptlib);
|
||||
STDAPI GetTypeLibInfo (LPWSTR szFile, GUID *pTypeLibID, LCID *pTypeLibLCID, SYSKIND *pTypeLibPlatform, USHORT *pTypeLibMajorVer, USHORT *pTypeLibMinorVer);
|
||||
#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 *);
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __tlbref_h__ */
|
||||
@@ -0,0 +1,168 @@
|
||||
/**
|
||||
* 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_TOOLHELP32
|
||||
#define _INC_TOOLHELP32
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define MAX_MODULE_NAME32 255
|
||||
|
||||
HANDLE WINAPI CreateToolhelp32Snapshot(DWORD dwFlags,DWORD th32ProcessID);
|
||||
|
||||
#define TH32CS_SNAPHEAPLIST 0x00000001
|
||||
#define TH32CS_SNAPPROCESS 0x00000002
|
||||
#define TH32CS_SNAPTHREAD 0x00000004
|
||||
#define TH32CS_SNAPMODULE 0x00000008
|
||||
#define TH32CS_SNAPMODULE32 0x00000010
|
||||
#define TH32CS_SNAPALL (TH32CS_SNAPHEAPLIST | TH32CS_SNAPPROCESS | TH32CS_SNAPTHREAD | TH32CS_SNAPMODULE)
|
||||
#define TH32CS_INHERIT 0x80000000
|
||||
|
||||
typedef struct tagHEAPLIST32 {
|
||||
SIZE_T dwSize;
|
||||
DWORD th32ProcessID;
|
||||
ULONG_PTR th32HeapID;
|
||||
DWORD dwFlags;
|
||||
} HEAPLIST32;
|
||||
typedef HEAPLIST32 *PHEAPLIST32;
|
||||
typedef HEAPLIST32 *LPHEAPLIST32;
|
||||
|
||||
#define HF32_DEFAULT 1
|
||||
#define HF32_SHARED 2
|
||||
|
||||
WINBOOL WINAPI Heap32ListFirst(HANDLE hSnapshot,LPHEAPLIST32 lphl);
|
||||
WINBOOL WINAPI Heap32ListNext(HANDLE hSnapshot,LPHEAPLIST32 lphl);
|
||||
|
||||
typedef struct tagHEAPENTRY32 {
|
||||
SIZE_T dwSize;
|
||||
HANDLE hHandle;
|
||||
ULONG_PTR dwAddress;
|
||||
SIZE_T dwBlockSize;
|
||||
DWORD dwFlags;
|
||||
DWORD dwLockCount;
|
||||
DWORD dwResvd;
|
||||
DWORD th32ProcessID;
|
||||
ULONG_PTR th32HeapID;
|
||||
} HEAPENTRY32;
|
||||
typedef HEAPENTRY32 *PHEAPENTRY32;
|
||||
typedef HEAPENTRY32 *LPHEAPENTRY32;
|
||||
|
||||
#define LF32_FIXED 0x00000001
|
||||
#define LF32_FREE 0x00000002
|
||||
#define LF32_MOVEABLE 0x00000004
|
||||
|
||||
WINBOOL WINAPI Heap32First(LPHEAPENTRY32 lphe,DWORD th32ProcessID,ULONG_PTR th32HeapID);
|
||||
WINBOOL WINAPI Heap32Next(LPHEAPENTRY32 lphe);
|
||||
WINBOOL WINAPI Toolhelp32ReadProcessMemory(DWORD th32ProcessID,LPCVOID lpBaseAddress,LPVOID lpBuffer,SIZE_T cbRead,SIZE_T *lpNumberOfBytesRead);
|
||||
|
||||
typedef struct tagPROCESSENTRY32W {
|
||||
DWORD dwSize;
|
||||
DWORD cntUsage;
|
||||
DWORD th32ProcessID;
|
||||
ULONG_PTR th32DefaultHeapID;
|
||||
DWORD th32ModuleID;
|
||||
DWORD cntThreads;
|
||||
DWORD th32ParentProcessID;
|
||||
LONG pcPriClassBase;
|
||||
DWORD dwFlags;
|
||||
WCHAR szExeFile[MAX_PATH];
|
||||
} PROCESSENTRY32W;
|
||||
typedef PROCESSENTRY32W *PPROCESSENTRY32W;
|
||||
typedef PROCESSENTRY32W *LPPROCESSENTRY32W;
|
||||
|
||||
WINBOOL WINAPI Process32FirstW(HANDLE hSnapshot,LPPROCESSENTRY32W lppe);
|
||||
WINBOOL WINAPI Process32NextW(HANDLE hSnapshot,LPPROCESSENTRY32W lppe);
|
||||
|
||||
typedef struct tagPROCESSENTRY32 {
|
||||
DWORD dwSize;
|
||||
DWORD cntUsage;
|
||||
DWORD th32ProcessID;
|
||||
ULONG_PTR th32DefaultHeapID;
|
||||
DWORD th32ModuleID;
|
||||
DWORD cntThreads;
|
||||
DWORD th32ParentProcessID;
|
||||
LONG pcPriClassBase;
|
||||
DWORD dwFlags;
|
||||
CHAR szExeFile[MAX_PATH];
|
||||
} PROCESSENTRY32;
|
||||
typedef PROCESSENTRY32 *PPROCESSENTRY32;
|
||||
typedef PROCESSENTRY32 *LPPROCESSENTRY32;
|
||||
|
||||
WINBOOL WINAPI Process32First(HANDLE hSnapshot,LPPROCESSENTRY32 lppe);
|
||||
WINBOOL WINAPI Process32Next(HANDLE hSnapshot,LPPROCESSENTRY32 lppe);
|
||||
|
||||
#if defined(UNICODE)
|
||||
#define Process32First Process32FirstW
|
||||
#define Process32Next Process32NextW
|
||||
#define PROCESSENTRY32 PROCESSENTRY32W
|
||||
#define PPROCESSENTRY32 PPROCESSENTRY32W
|
||||
#define LPPROCESSENTRY32 LPPROCESSENTRY32W
|
||||
#endif
|
||||
|
||||
typedef struct tagTHREADENTRY32 {
|
||||
DWORD dwSize;
|
||||
DWORD cntUsage;
|
||||
DWORD th32ThreadID;
|
||||
DWORD th32OwnerProcessID;
|
||||
LONG tpBasePri;
|
||||
LONG tpDeltaPri;
|
||||
DWORD dwFlags;
|
||||
} THREADENTRY32;
|
||||
typedef THREADENTRY32 *PTHREADENTRY32;
|
||||
typedef THREADENTRY32 *LPTHREADENTRY32;
|
||||
|
||||
WINBOOL WINAPI Thread32First(HANDLE hSnapshot,LPTHREADENTRY32 lpte);
|
||||
WINBOOL WINAPI Thread32Next(HANDLE hSnapshot,LPTHREADENTRY32 lpte);
|
||||
|
||||
typedef struct tagMODULEENTRY32W {
|
||||
DWORD dwSize;
|
||||
DWORD th32ModuleID;
|
||||
DWORD th32ProcessID;
|
||||
DWORD GlblcntUsage;
|
||||
DWORD ProccntUsage;
|
||||
BYTE *modBaseAddr;
|
||||
DWORD modBaseSize;
|
||||
HMODULE hModule;
|
||||
WCHAR szModule[MAX_MODULE_NAME32 + 1];
|
||||
WCHAR szExePath[MAX_PATH];
|
||||
} MODULEENTRY32W;
|
||||
typedef MODULEENTRY32W *PMODULEENTRY32W;
|
||||
typedef MODULEENTRY32W *LPMODULEENTRY32W;
|
||||
|
||||
WINBOOL WINAPI Module32FirstW(HANDLE hSnapshot,LPMODULEENTRY32W lpme);
|
||||
WINBOOL WINAPI Module32NextW(HANDLE hSnapshot,LPMODULEENTRY32W lpme);
|
||||
|
||||
typedef struct tagMODULEENTRY32 {
|
||||
DWORD dwSize;
|
||||
DWORD th32ModuleID;
|
||||
DWORD th32ProcessID;
|
||||
DWORD GlblcntUsage;
|
||||
DWORD ProccntUsage;
|
||||
BYTE *modBaseAddr;
|
||||
DWORD modBaseSize;
|
||||
HMODULE hModule;
|
||||
char szModule[MAX_MODULE_NAME32 + 1];
|
||||
char szExePath[MAX_PATH];
|
||||
} MODULEENTRY32;
|
||||
typedef MODULEENTRY32 *PMODULEENTRY32;
|
||||
typedef MODULEENTRY32 *LPMODULEENTRY32;
|
||||
|
||||
WINBOOL WINAPI Module32First(HANDLE hSnapshot,LPMODULEENTRY32 lpme);
|
||||
WINBOOL WINAPI Module32Next(HANDLE hSnapshot,LPMODULEENTRY32 lpme);
|
||||
|
||||
#if defined(UNICODE)
|
||||
#define Module32First Module32FirstW
|
||||
#define Module32Next Module32NextW
|
||||
#define MODULEENTRY32 MODULEENTRY32W
|
||||
#define PMODULEENTRY32 PMODULEENTRY32W
|
||||
#define LPMODULEENTRY32 LPMODULEENTRY32W
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,573 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/tlogstg.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __tlogstg_h__
|
||||
#define __tlogstg_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __ITravelLogEntry_FWD_DEFINED__
|
||||
#define __ITravelLogEntry_FWD_DEFINED__
|
||||
typedef interface ITravelLogEntry ITravelLogEntry;
|
||||
#ifdef __cplusplus
|
||||
interface ITravelLogEntry;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __ITravelLogClient_FWD_DEFINED__
|
||||
#define __ITravelLogClient_FWD_DEFINED__
|
||||
typedef interface ITravelLogClient ITravelLogClient;
|
||||
#ifdef __cplusplus
|
||||
interface ITravelLogClient;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IEnumTravelLogEntry_FWD_DEFINED__
|
||||
#define __IEnumTravelLogEntry_FWD_DEFINED__
|
||||
typedef interface IEnumTravelLogEntry IEnumTravelLogEntry;
|
||||
#ifdef __cplusplus
|
||||
interface IEnumTravelLogEntry;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __ITravelLogStg_FWD_DEFINED__
|
||||
#define __ITravelLogStg_FWD_DEFINED__
|
||||
typedef interface ITravelLogStg ITravelLogStg;
|
||||
#ifdef __cplusplus
|
||||
interface ITravelLogStg;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <objidl.h>
|
||||
#include <oleidl.h>
|
||||
#include <shtypes.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#define SID_STravelLogCursor IID_ITravelLogStg
|
||||
enum tagTLENUMF {
|
||||
TLEF_RELATIVE_INCLUDE_CURRENT = 0x1,
|
||||
TLEF_RELATIVE_BACK = 0x10,
|
||||
TLEF_RELATIVE_FORE = 0x20,
|
||||
TLEF_INCLUDE_UNINVOKEABLE = 0x40,
|
||||
TLEF_ABSOLUTE = 0x31,
|
||||
TLEF_EXCLUDE_SUBFRAME_ENTRIES = 0x80
|
||||
};
|
||||
typedef struct _WINDOWDATA {
|
||||
DWORD dwWindowID;
|
||||
UINT uiCP;
|
||||
PIDLIST_ABSOLUTE pidl;
|
||||
LPWSTR lpszUrl;
|
||||
LPWSTR lpszUrlLocation;
|
||||
LPWSTR lpszTitle;
|
||||
} WINDOWDATA;
|
||||
typedef DWORD TLENUMF;
|
||||
typedef WINDOWDATA *LPWINDOWDATA;
|
||||
typedef const WINDOWDATA *LPCWINDOWDATA;
|
||||
/*****************************************************************************
|
||||
* ITravelLogEntry interface
|
||||
*/
|
||||
#ifndef __ITravelLogEntry_INTERFACE_DEFINED__
|
||||
#define __ITravelLogEntry_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ITravelLogEntry, 0x7ebfdd87, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("7ebfdd87-ad18-11d3-a4c5-00c04f72d6b8")
|
||||
ITravelLogEntry : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetTitle(
|
||||
LPWSTR *ppszTitle) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetURL(
|
||||
LPWSTR *ppszURL) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(ITravelLogEntry, 0x7ebfdd87, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8)
|
||||
#endif
|
||||
#else
|
||||
typedef struct ITravelLogEntryVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ITravelLogEntry *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ITravelLogEntry *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ITravelLogEntry *This);
|
||||
|
||||
/*** ITravelLogEntry methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetTitle)(
|
||||
ITravelLogEntry *This,
|
||||
LPWSTR *ppszTitle);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetURL)(
|
||||
ITravelLogEntry *This,
|
||||
LPWSTR *ppszURL);
|
||||
|
||||
END_INTERFACE
|
||||
} ITravelLogEntryVtbl;
|
||||
|
||||
interface ITravelLogEntry {
|
||||
CONST_VTBL ITravelLogEntryVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define ITravelLogEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITravelLogEntry_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITravelLogEntry_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ITravelLogEntry methods ***/
|
||||
#define ITravelLogEntry_GetTitle(This,ppszTitle) (This)->lpVtbl->GetTitle(This,ppszTitle)
|
||||
#define ITravelLogEntry_GetURL(This,ppszURL) (This)->lpVtbl->GetURL(This,ppszURL)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT ITravelLogEntry_QueryInterface(ITravelLogEntry* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG ITravelLogEntry_AddRef(ITravelLogEntry* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG ITravelLogEntry_Release(ITravelLogEntry* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** ITravelLogEntry methods ***/
|
||||
static inline HRESULT ITravelLogEntry_GetTitle(ITravelLogEntry* This,LPWSTR *ppszTitle) {
|
||||
return This->lpVtbl->GetTitle(This,ppszTitle);
|
||||
}
|
||||
static inline HRESULT ITravelLogEntry_GetURL(ITravelLogEntry* This,LPWSTR *ppszURL) {
|
||||
return This->lpVtbl->GetURL(This,ppszURL);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __ITravelLogEntry_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* ITravelLogClient interface
|
||||
*/
|
||||
#ifndef __ITravelLogClient_INTERFACE_DEFINED__
|
||||
#define __ITravelLogClient_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ITravelLogClient, 0x241c033e, 0xe659, 0x43da, 0xaa,0x4d, 0x40,0x86,0xdb,0xc4,0x75,0x8d);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("241c033e-e659-43da-aa4d-4086dbc4758d")
|
||||
ITravelLogClient : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE FindWindowByIndex(
|
||||
DWORD dwID,
|
||||
IUnknown **ppunk) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetWindowData(
|
||||
IStream *pStream,
|
||||
LPWINDOWDATA pWinData) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE LoadHistoryPosition(
|
||||
LPWSTR pszUrlLocation,
|
||||
DWORD dwPosition) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(ITravelLogClient, 0x241c033e, 0xe659, 0x43da, 0xaa,0x4d, 0x40,0x86,0xdb,0xc4,0x75,0x8d)
|
||||
#endif
|
||||
#else
|
||||
typedef struct ITravelLogClientVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ITravelLogClient *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ITravelLogClient *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ITravelLogClient *This);
|
||||
|
||||
/*** ITravelLogClient methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *FindWindowByIndex)(
|
||||
ITravelLogClient *This,
|
||||
DWORD dwID,
|
||||
IUnknown **ppunk);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetWindowData)(
|
||||
ITravelLogClient *This,
|
||||
IStream *pStream,
|
||||
LPWINDOWDATA pWinData);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *LoadHistoryPosition)(
|
||||
ITravelLogClient *This,
|
||||
LPWSTR pszUrlLocation,
|
||||
DWORD dwPosition);
|
||||
|
||||
END_INTERFACE
|
||||
} ITravelLogClientVtbl;
|
||||
|
||||
interface ITravelLogClient {
|
||||
CONST_VTBL ITravelLogClientVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define ITravelLogClient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITravelLogClient_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITravelLogClient_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ITravelLogClient methods ***/
|
||||
#define ITravelLogClient_FindWindowByIndex(This,dwID,ppunk) (This)->lpVtbl->FindWindowByIndex(This,dwID,ppunk)
|
||||
#define ITravelLogClient_GetWindowData(This,pStream,pWinData) (This)->lpVtbl->GetWindowData(This,pStream,pWinData)
|
||||
#define ITravelLogClient_LoadHistoryPosition(This,pszUrlLocation,dwPosition) (This)->lpVtbl->LoadHistoryPosition(This,pszUrlLocation,dwPosition)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT ITravelLogClient_QueryInterface(ITravelLogClient* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG ITravelLogClient_AddRef(ITravelLogClient* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG ITravelLogClient_Release(ITravelLogClient* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** ITravelLogClient methods ***/
|
||||
static inline HRESULT ITravelLogClient_FindWindowByIndex(ITravelLogClient* This,DWORD dwID,IUnknown **ppunk) {
|
||||
return This->lpVtbl->FindWindowByIndex(This,dwID,ppunk);
|
||||
}
|
||||
static inline HRESULT ITravelLogClient_GetWindowData(ITravelLogClient* This,IStream *pStream,LPWINDOWDATA pWinData) {
|
||||
return This->lpVtbl->GetWindowData(This,pStream,pWinData);
|
||||
}
|
||||
static inline HRESULT ITravelLogClient_LoadHistoryPosition(ITravelLogClient* This,LPWSTR pszUrlLocation,DWORD dwPosition) {
|
||||
return This->lpVtbl->LoadHistoryPosition(This,pszUrlLocation,dwPosition);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __ITravelLogClient_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumTravelLogEntry interface
|
||||
*/
|
||||
#ifndef __IEnumTravelLogEntry_INTERFACE_DEFINED__
|
||||
#define __IEnumTravelLogEntry_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IEnumTravelLogEntry, 0x7ebfdd85, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("7ebfdd85-ad18-11d3-a4c5-00c04f72d6b8")
|
||||
IEnumTravelLogEntry : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
ULONG cElt,
|
||||
ITravelLogEntry **rgElt,
|
||||
ULONG *pcEltFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
ULONG cElt) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
IEnumTravelLogEntry **ppEnum) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IEnumTravelLogEntry, 0x7ebfdd85, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IEnumTravelLogEntryVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IEnumTravelLogEntry *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IEnumTravelLogEntry *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IEnumTravelLogEntry *This);
|
||||
|
||||
/*** IEnumTravelLogEntry methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Next)(
|
||||
IEnumTravelLogEntry *This,
|
||||
ULONG cElt,
|
||||
ITravelLogEntry **rgElt,
|
||||
ULONG *pcEltFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Skip)(
|
||||
IEnumTravelLogEntry *This,
|
||||
ULONG cElt);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IEnumTravelLogEntry *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Clone)(
|
||||
IEnumTravelLogEntry *This,
|
||||
IEnumTravelLogEntry **ppEnum);
|
||||
|
||||
END_INTERFACE
|
||||
} IEnumTravelLogEntryVtbl;
|
||||
|
||||
interface IEnumTravelLogEntry {
|
||||
CONST_VTBL IEnumTravelLogEntryVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumTravelLogEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IEnumTravelLogEntry_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IEnumTravelLogEntry_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IEnumTravelLogEntry methods ***/
|
||||
#define IEnumTravelLogEntry_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched)
|
||||
#define IEnumTravelLogEntry_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt)
|
||||
#define IEnumTravelLogEntry_Reset(This) (This)->lpVtbl->Reset(This)
|
||||
#define IEnumTravelLogEntry_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IEnumTravelLogEntry_QueryInterface(IEnumTravelLogEntry* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IEnumTravelLogEntry_AddRef(IEnumTravelLogEntry* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IEnumTravelLogEntry_Release(IEnumTravelLogEntry* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IEnumTravelLogEntry methods ***/
|
||||
static inline HRESULT IEnumTravelLogEntry_Next(IEnumTravelLogEntry* This,ULONG cElt,ITravelLogEntry **rgElt,ULONG *pcEltFetched) {
|
||||
return This->lpVtbl->Next(This,cElt,rgElt,pcEltFetched);
|
||||
}
|
||||
static inline HRESULT IEnumTravelLogEntry_Skip(IEnumTravelLogEntry* This,ULONG cElt) {
|
||||
return This->lpVtbl->Skip(This,cElt);
|
||||
}
|
||||
static inline HRESULT IEnumTravelLogEntry_Reset(IEnumTravelLogEntry* This) {
|
||||
return This->lpVtbl->Reset(This);
|
||||
}
|
||||
static inline HRESULT IEnumTravelLogEntry_Clone(IEnumTravelLogEntry* This,IEnumTravelLogEntry **ppEnum) {
|
||||
return This->lpVtbl->Clone(This,ppEnum);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IEnumTravelLogEntry_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* ITravelLogStg interface
|
||||
*/
|
||||
#ifndef __ITravelLogStg_INTERFACE_DEFINED__
|
||||
#define __ITravelLogStg_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ITravelLogStg, 0x7ebfdd80, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("7ebfdd80-ad18-11d3-a4c5-00c04f72d6b8")
|
||||
ITravelLogStg : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateEntry(
|
||||
LPCWSTR pszUrl,
|
||||
LPCWSTR pszTitle,
|
||||
ITravelLogEntry *ptleRelativeTo,
|
||||
WINBOOL fPrepend,
|
||||
ITravelLogEntry **pptle) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE TravelTo(
|
||||
ITravelLogEntry *ptle) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumEntries(
|
||||
TLENUMF flags,
|
||||
IEnumTravelLogEntry **ppenum) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE FindEntries(
|
||||
TLENUMF flags,
|
||||
LPCWSTR pszUrl,
|
||||
IEnumTravelLogEntry **ppenum) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetCount(
|
||||
TLENUMF flags,
|
||||
DWORD *pcEntries) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RemoveEntry(
|
||||
ITravelLogEntry *ptle) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetRelativeEntry(
|
||||
int iOffset,
|
||||
ITravelLogEntry **ptle) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(ITravelLogStg, 0x7ebfdd80, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8)
|
||||
#endif
|
||||
#else
|
||||
typedef struct ITravelLogStgVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ITravelLogStg *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ITravelLogStg *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ITravelLogStg *This);
|
||||
|
||||
/*** ITravelLogStg methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *CreateEntry)(
|
||||
ITravelLogStg *This,
|
||||
LPCWSTR pszUrl,
|
||||
LPCWSTR pszTitle,
|
||||
ITravelLogEntry *ptleRelativeTo,
|
||||
WINBOOL fPrepend,
|
||||
ITravelLogEntry **pptle);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *TravelTo)(
|
||||
ITravelLogStg *This,
|
||||
ITravelLogEntry *ptle);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumEntries)(
|
||||
ITravelLogStg *This,
|
||||
TLENUMF flags,
|
||||
IEnumTravelLogEntry **ppenum);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *FindEntries)(
|
||||
ITravelLogStg *This,
|
||||
TLENUMF flags,
|
||||
LPCWSTR pszUrl,
|
||||
IEnumTravelLogEntry **ppenum);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetCount)(
|
||||
ITravelLogStg *This,
|
||||
TLENUMF flags,
|
||||
DWORD *pcEntries);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RemoveEntry)(
|
||||
ITravelLogStg *This,
|
||||
ITravelLogEntry *ptle);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetRelativeEntry)(
|
||||
ITravelLogStg *This,
|
||||
int iOffset,
|
||||
ITravelLogEntry **ptle);
|
||||
|
||||
END_INTERFACE
|
||||
} ITravelLogStgVtbl;
|
||||
|
||||
interface ITravelLogStg {
|
||||
CONST_VTBL ITravelLogStgVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define ITravelLogStg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITravelLogStg_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITravelLogStg_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ITravelLogStg methods ***/
|
||||
#define ITravelLogStg_CreateEntry(This,pszUrl,pszTitle,ptleRelativeTo,fPrepend,pptle) (This)->lpVtbl->CreateEntry(This,pszUrl,pszTitle,ptleRelativeTo,fPrepend,pptle)
|
||||
#define ITravelLogStg_TravelTo(This,ptle) (This)->lpVtbl->TravelTo(This,ptle)
|
||||
#define ITravelLogStg_EnumEntries(This,flags,ppenum) (This)->lpVtbl->EnumEntries(This,flags,ppenum)
|
||||
#define ITravelLogStg_FindEntries(This,flags,pszUrl,ppenum) (This)->lpVtbl->FindEntries(This,flags,pszUrl,ppenum)
|
||||
#define ITravelLogStg_GetCount(This,flags,pcEntries) (This)->lpVtbl->GetCount(This,flags,pcEntries)
|
||||
#define ITravelLogStg_RemoveEntry(This,ptle) (This)->lpVtbl->RemoveEntry(This,ptle)
|
||||
#define ITravelLogStg_GetRelativeEntry(This,iOffset,ptle) (This)->lpVtbl->GetRelativeEntry(This,iOffset,ptle)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT ITravelLogStg_QueryInterface(ITravelLogStg* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG ITravelLogStg_AddRef(ITravelLogStg* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG ITravelLogStg_Release(ITravelLogStg* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** ITravelLogStg methods ***/
|
||||
static inline HRESULT ITravelLogStg_CreateEntry(ITravelLogStg* This,LPCWSTR pszUrl,LPCWSTR pszTitle,ITravelLogEntry *ptleRelativeTo,WINBOOL fPrepend,ITravelLogEntry **pptle) {
|
||||
return This->lpVtbl->CreateEntry(This,pszUrl,pszTitle,ptleRelativeTo,fPrepend,pptle);
|
||||
}
|
||||
static inline HRESULT ITravelLogStg_TravelTo(ITravelLogStg* This,ITravelLogEntry *ptle) {
|
||||
return This->lpVtbl->TravelTo(This,ptle);
|
||||
}
|
||||
static inline HRESULT ITravelLogStg_EnumEntries(ITravelLogStg* This,TLENUMF flags,IEnumTravelLogEntry **ppenum) {
|
||||
return This->lpVtbl->EnumEntries(This,flags,ppenum);
|
||||
}
|
||||
static inline HRESULT ITravelLogStg_FindEntries(ITravelLogStg* This,TLENUMF flags,LPCWSTR pszUrl,IEnumTravelLogEntry **ppenum) {
|
||||
return This->lpVtbl->FindEntries(This,flags,pszUrl,ppenum);
|
||||
}
|
||||
static inline HRESULT ITravelLogStg_GetCount(ITravelLogStg* This,TLENUMF flags,DWORD *pcEntries) {
|
||||
return This->lpVtbl->GetCount(This,flags,pcEntries);
|
||||
}
|
||||
static inline HRESULT ITravelLogStg_RemoveEntry(ITravelLogStg* This,ITravelLogEntry *ptle) {
|
||||
return This->lpVtbl->RemoveEntry(This,ptle);
|
||||
}
|
||||
static inline HRESULT ITravelLogStg_GetRelativeEntry(ITravelLogStg* This,int iOffset,ITravelLogEntry **ptle) {
|
||||
return This->lpVtbl->GetRelativeEntry(This,iOffset,ptle);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __ITravelLogStg_INTERFACE_DEFINED__ */
|
||||
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
ULONG __RPC_USER PIDLIST_ABSOLUTE_UserSize (ULONG *, ULONG, PIDLIST_ABSOLUTE *);
|
||||
unsigned char * __RPC_USER PIDLIST_ABSOLUTE_UserMarshal (ULONG *, unsigned char *, PIDLIST_ABSOLUTE *);
|
||||
unsigned char * __RPC_USER PIDLIST_ABSOLUTE_UserUnmarshal(ULONG *, unsigned char *, PIDLIST_ABSOLUTE *);
|
||||
void __RPC_USER PIDLIST_ABSOLUTE_UserFree (ULONG *, PIDLIST_ABSOLUTE *);
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __tlogstg_h__ */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,221 @@
|
||||
/**
|
||||
* 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 TNEF_H
|
||||
#define TNEF_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef BEGIN_INTERFACE
|
||||
#define BEGIN_INTERFACE
|
||||
#endif
|
||||
|
||||
typedef struct _STnefProblem {
|
||||
ULONG ulComponent;
|
||||
ULONG ulAttribute;
|
||||
ULONG ulPropTag;
|
||||
SCODE scode;
|
||||
} STnefProblem;
|
||||
|
||||
typedef struct _STnefProblemArray {
|
||||
ULONG cProblem;
|
||||
STnefProblem aProblem[MAPI_DIM];
|
||||
} STnefProblemArray,*LPSTnefProblemArray;
|
||||
|
||||
#define CbNewSTnefProblemArray(_cprob) (offsetof(STnefProblemArray,aProblem) + (_cprob)*sizeof(STnefProblem))
|
||||
#define CbSTnefProblemArray(_lparray) (offsetof(STnefProblemArray,aProblem) + (UINT) ((_lparray)->cProblem*sizeof(STnefProblem)))
|
||||
|
||||
DECLARE_MAPI_INTERFACE_PTR(ITnef,LPITNEF);
|
||||
|
||||
#define TNEF_DECODE ((ULONG) 0)
|
||||
#define TNEF_ENCODE ((ULONG) 2)
|
||||
|
||||
#define TNEF_PURE ((ULONG) 0x00010000)
|
||||
#define TNEF_COMPATIBILITY ((ULONG) 0x00020000)
|
||||
#define TNEF_BEST_DATA ((ULONG) 0x00040000)
|
||||
#define TNEF_COMPONENT_ENCODING ((ULONG) 0x80000000)
|
||||
|
||||
#define TNEF_PROP_INCLUDE ((ULONG) 0x00000001)
|
||||
#define TNEF_PROP_EXCLUDE ((ULONG) 0x00000002)
|
||||
#define TNEF_PROP_CONTAINED ((ULONG) 0x00000004)
|
||||
#define TNEF_PROP_MESSAGE_ONLY ((ULONG) 0x00000008)
|
||||
#define TNEF_PROP_ATTACHMENTS_ONLY ((ULONG) 0x00000010)
|
||||
#define TNEF_PROP_CONTAINED_TNEF ((ULONG) 0x00000040)
|
||||
|
||||
#define TNEF_COMPONENT_MESSAGE ((ULONG) 0x00001000)
|
||||
#define TNEF_COMPONENT_ATTACHMENT ((ULONG) 0x00002000)
|
||||
|
||||
#define MAPI_ITNEF_METHODS(IPURE) MAPIMETHOD(AddProps) (THIS_ ULONG ulFlags,ULONG ulElemID,LPVOID lpvData,LPSPropTagArray lpPropList) IPURE; MAPIMETHOD(ExtractProps) (THIS_ ULONG ulFlags,LPSPropTagArray lpPropList,LPSTnefProblemArray *lpProblems) IPURE; MAPIMETHOD(Finish) (THIS_ ULONG ulFlags,WORD *lpKey,LPSTnefProblemArray *lpProblems) IPURE; MAPIMETHOD(OpenTaggedBody) (THIS_ LPMESSAGE lpMessage,ULONG ulFlags,LPSTREAM *lppStream) IPURE; MAPIMETHOD(SetProps) (THIS_ ULONG ulFlags,ULONG ulElemID,ULONG cValues,LPSPropValue lpProps) IPURE; MAPIMETHOD(EncodeRecips) (THIS_ ULONG ulFlags,LPMAPITABLE lpRecipientTable) IPURE; MAPIMETHOD(FinishComponent) (THIS_ ULONG ulFlags,ULONG ulComponentID,LPSPropTagArray lpCustomPropList,LPSPropValue lpCustomProps,LPSPropTagArray lpPropList,LPSTnefProblemArray *lpProblems) IPURE;
|
||||
#undef INTERFACE
|
||||
#define INTERFACE ITnef
|
||||
DECLARE_MAPI_INTERFACE_(ITnef,IUnknown) {
|
||||
BEGIN_INTERFACE
|
||||
MAPI_IUNKNOWN_METHODS(PURE)
|
||||
MAPI_ITNEF_METHODS(PURE)
|
||||
};
|
||||
|
||||
STDMETHODIMP OpenTnefStream(LPVOID lpvSupport,LPSTREAM lpStream,LPTSTR lpszStreamName,ULONG ulFlags,LPMESSAGE lpMessage,WORD wKeyVal,LPITNEF *lppTNEF);
|
||||
typedef HRESULT (WINAPI *LPOPENTNEFSTREAM) (LPVOID lpvSupport,LPSTREAM lpStream,LPTSTR lpszStreamName,ULONG ulFlags,LPMESSAGE lpMessage,WORD wKeyVal,LPITNEF *lppTNEF);
|
||||
STDMETHODIMP OpenTnefStreamEx(LPVOID lpvSupport,LPSTREAM lpStream,LPTSTR lpszStreamName,ULONG ulFlags,LPMESSAGE lpMessage,WORD wKeyVal,LPADRBOOK lpAdressBook,LPITNEF *lppTNEF);
|
||||
typedef HRESULT (WINAPI *LPOPENTNEFSTREAMEX) (LPVOID lpvSupport,LPSTREAM lpStream,LPTSTR lpszStreamName,ULONG ulFlags,LPMESSAGE lpMessage,WORD wKeyVal,LPADRBOOK lpAdressBook,LPITNEF *lppTNEF);
|
||||
STDMETHODIMP GetTnefStreamCodepage (LPSTREAM lpStream,ULONG *lpulCodepage,ULONG *lpulSubCodepage);
|
||||
typedef HRESULT (WINAPI *LPGETTNEFSTREAMCODEPAGE) (LPSTREAM lpStream,ULONG *lpulCodepage,ULONG *lpulSubCodepage);
|
||||
|
||||
#define OPENTNEFSTREAM "OpenTnefStream"
|
||||
#define OPENTNEFSTREAMEX "OpenTnefStreamEx"
|
||||
#define GETTNEFSTREAMCODEPAGE "GetTnefStreamCodePage"
|
||||
|
||||
#define MAKE_TNEF_VERSION(_mj,_mn) (((ULONG)(0x0000FFFF & _mj) << 16) | (ULONG)(0x0000FFFF & _mn))
|
||||
#define TNEF_SIGNATURE ((ULONG) 0x223E9F78)
|
||||
#define TNEF_VERSION ((ULONG) MAKE_TNEF_VERSION(1,0))
|
||||
|
||||
typedef WORD ATYP;
|
||||
enum { atypNull,atypFile,atypOle,atypPicture,atypMax };
|
||||
|
||||
#define MAC_BINARY ((DWORD) 0x00000001)
|
||||
|
||||
#include <pshpack1.h>
|
||||
typedef struct _renddata {
|
||||
ATYP atyp;
|
||||
ULONG ulPosition;
|
||||
WORD dxWidth;
|
||||
WORD dyHeight;
|
||||
DWORD dwFlags;
|
||||
} RENDDATA,*PRENDDATA;
|
||||
#include <poppack.h>
|
||||
|
||||
#include <pshpack1.h>
|
||||
typedef struct _dtr {
|
||||
WORD wYear;
|
||||
WORD wMonth;
|
||||
WORD wDay;
|
||||
WORD wHour;
|
||||
WORD wMinute;
|
||||
WORD wSecond;
|
||||
WORD wDayOfWeek;
|
||||
} DTR;
|
||||
#include <poppack.h>
|
||||
|
||||
#define fmsNull ((BYTE) 0x00)
|
||||
#define fmsModified ((BYTE) 0x01)
|
||||
#define fmsLocal ((BYTE) 0x02)
|
||||
#define fmsSubmitted ((BYTE) 0x04)
|
||||
#define fmsRead ((BYTE) 0x20)
|
||||
#define fmsHasAttach ((BYTE) 0x80)
|
||||
|
||||
#define trpidNull ((WORD) 0x0000)
|
||||
#define trpidUnresolved ((WORD) 0x0001)
|
||||
#define trpidResolvedNSID ((WORD) 0x0002)
|
||||
#define trpidResolvedAddress ((WORD) 0x0003)
|
||||
#define trpidOneOff ((WORD) 0x0004)
|
||||
#define trpidGroupNSID ((WORD) 0x0005)
|
||||
#define trpidOffline ((WORD) 0x0006)
|
||||
#define trpidIgnore ((WORD) 0x0007)
|
||||
#define trpidClassEntry ((WORD) 0x0008)
|
||||
#define trpidResolvedGroupAddress ((WORD) 0x0009)
|
||||
typedef struct _trp {
|
||||
WORD trpid;
|
||||
WORD cbgrtrp;
|
||||
WORD cch;
|
||||
WORD cbRgb;
|
||||
} TRP,*PTRP,*PGRTRP,*LPTRP;
|
||||
#define CbOfTrp(_p) (sizeof(TRP) + (_p)->cch + (_p)->cbRgb)
|
||||
#define LpszOfTrp(_p) ((LPSTR)(((LPTRP) (_p)) + 1))
|
||||
#define LpbOfTrp(_p) (((LPBYTE)(((LPTRP)(_p)) + 1)) + (_p)->cch)
|
||||
#define LptrpNext(_p) ((LPTRP)((LPBYTE)(_p) + CbOfTrp(_p)))
|
||||
|
||||
typedef DWORD XTYPE;
|
||||
#define xtypeUnknown ((XTYPE) 0)
|
||||
#define xtypeInternet ((XTYPE) 6)
|
||||
|
||||
#define cbDisplayName 41
|
||||
#define cbEmailName 11
|
||||
#define cbSeverName 12
|
||||
typedef struct _ADDR_ALIAS {
|
||||
char rgchName[cbDisplayName];
|
||||
char rgchEName[cbEmailName];
|
||||
char rgchSrvr[cbSeverName];
|
||||
ULONG dibDetail;
|
||||
WORD type;
|
||||
} ADDRALIAS,*LPADDRALIAS;
|
||||
#define cbALIAS sizeof(ALIAS)
|
||||
|
||||
#define cbTYPE 16
|
||||
#define cbMaxIdData 200
|
||||
typedef struct _NSID {
|
||||
DWORD dwSize;
|
||||
unsigned char uchType[cbTYPE];
|
||||
XTYPE xtype;
|
||||
LONG lTime;
|
||||
union {
|
||||
ADDRALIAS alias;
|
||||
char rgchInterNet[1];
|
||||
} address;
|
||||
} NSID,*LPNSID;
|
||||
#define cbNSID sizeof(NSID)
|
||||
|
||||
#define prioLow 3
|
||||
#define prioNorm 2
|
||||
#define prioHigh 1
|
||||
|
||||
#define atpTriples ((WORD) 0x0000)
|
||||
#define atpString ((WORD) 0x0001)
|
||||
#define atpText ((WORD) 0x0002)
|
||||
#define atpDate ((WORD) 0x0003)
|
||||
#define atpShort ((WORD) 0x0004)
|
||||
#define atpLong ((WORD) 0x0005)
|
||||
#define atpByte ((WORD) 0x0006)
|
||||
#define atpWord ((WORD) 0x0007)
|
||||
#define atpDword ((WORD) 0x0008)
|
||||
#define atpMax ((WORD) 0x0009)
|
||||
|
||||
#define LVL_MESSAGE ((BYTE) 0x01)
|
||||
#define LVL_ATTACHMENT ((BYTE) 0x02)
|
||||
|
||||
#define ATT_ID(_att) ((WORD) ((_att) & 0x0000FFFF))
|
||||
#define ATT_TYPE(_att) ((WORD) (((_att) >> 16) & 0x0000FFFF))
|
||||
#define ATT(_atp,_id) ((((DWORD) (_atp)) << 16) | ((WORD) (_id)))
|
||||
|
||||
#define attNull ATT(0,0x0000)
|
||||
#define attFrom ATT(atpTriples,0x8000)
|
||||
#define attSubject ATT(atpString,0x8004)
|
||||
#define attDateSent ATT(atpDate,0x8005)
|
||||
#define attDateRecd ATT(atpDate,0x8006)
|
||||
#define attMessageStatus ATT(atpByte,0x8007)
|
||||
#define attMessageClass ATT(atpWord,0x8008)
|
||||
#define attMessageID ATT(atpString,0x8009)
|
||||
#define attParentID ATT(atpString,0x800A)
|
||||
#define attConversationID ATT(atpString,0x800B)
|
||||
#define attBody ATT(atpText,0x800C)
|
||||
#define attPriority ATT(atpShort,0x800D)
|
||||
#define attAttachData ATT(atpByte,0x800F)
|
||||
#define attAttachTitle ATT(atpString,0x8010)
|
||||
#define attAttachMetaFile ATT(atpByte,0x8011)
|
||||
#define attAttachCreateDate ATT(atpDate,0x8012)
|
||||
#define attAttachModifyDate ATT(atpDate,0x8013)
|
||||
#define attDateModified ATT(atpDate,0x8020)
|
||||
#define attAttachTransportFilename ATT(atpByte,0x9001)
|
||||
#define attAttachRenddata ATT(atpByte,0x9002)
|
||||
#define attMAPIProps ATT(atpByte,0x9003)
|
||||
#define attRecipTable ATT(atpByte,0x9004)
|
||||
#define attAttachment ATT(atpByte,0x9005)
|
||||
#define attTnefVersion ATT(atpDword,0x9006)
|
||||
#define attOemCodepage ATT(atpByte,0x9007)
|
||||
#define attOriginalMessageClass ATT(atpWord,0x0006)
|
||||
|
||||
#define attOwner ATT(atpByte,0x0000)
|
||||
#define attSentFor ATT(atpByte,0x0001)
|
||||
#define attDelegate ATT(atpByte,0x0002)
|
||||
#define attDateStart ATT(atpDate,0x0006)
|
||||
#define attDateEnd ATT(atpDate,0x0007)
|
||||
#define attAidOwner ATT(atpLong,0x0008)
|
||||
#define attRequestRes ATT(atpShort,0x0009)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,68 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/tpcshrd.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __tpcshrd_h__
|
||||
#define __tpcshrd_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <wtypes.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define TABLET_DISABLE_PRESSANDHOLD 0x00000001
|
||||
#define TABLET_DISABLE_PENTAPFEEDBACK 0x00000008
|
||||
#define TABLET_DISABLE_PENBARRELFEEDBACK 0x00000010
|
||||
#define TABLET_DISABLE_TOUCHUIFORCEON 0x00000100
|
||||
#define TABLET_DISABLE_TOUCHUIFORCEOFF 0x00000200
|
||||
#define TABLET_DISABLE_TOUCHSWITCH 0x00008000
|
||||
#define TABLET_DISABLE_FLICKS 0x00010000
|
||||
#define TABLET_ENABLE_FLICKSONCONTEXT 0x00020000
|
||||
#define TABLET_ENABLE_FLICKLEARNINGMODE 0x00040000
|
||||
#define TABLET_DISABLE_SMOOTHSCROLLING 0x00080000
|
||||
#define TABLET_DISABLE_FLICKFALLBACKKEYS 0x00100000
|
||||
#define TABLET_ENABLE_MULTITOUCHDATA 0x01000000
|
||||
#define WM_TABLET_QUERYSYSTEMGESTURESTATUS 0x02CC
|
||||
#define IP_CURSOR_DOWN 0x1
|
||||
#define IP_INVERTED 0x2
|
||||
#define IP_MARGIN 0x4
|
||||
typedef DWORD CURSOR_ID;
|
||||
typedef USHORT SYSTEM_EVENT;
|
||||
typedef DWORD TABLET_CONTEXT_ID;
|
||||
#ifndef _XFORM_
|
||||
#define _XFORM_
|
||||
typedef struct tagXFORM {
|
||||
float eM11;
|
||||
float eM12;
|
||||
float eM21;
|
||||
float eM22;
|
||||
float eDx;
|
||||
float eDy;
|
||||
} XFORM;
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __tpcshrd_h__ */
|
||||
@@ -0,0 +1,198 @@
|
||||
/**
|
||||
* 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 __TRAFFIC_H
|
||||
#define __TRAFFIC_H
|
||||
|
||||
#include <_mingw_unicode.h>
|
||||
#include <ntddndis.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define CURRENT_TCI_VERSION 0x0002
|
||||
|
||||
#define TC_NOTIFY_IFC_UP 1
|
||||
#define TC_NOTIFY_IFC_CLOSE 2
|
||||
#define TC_NOTIFY_IFC_CHANGE 3
|
||||
#define TC_NOTIFY_PARAM_CHANGED 4
|
||||
#define TC_NOTIFY_FLOW_CLOSE 5
|
||||
#define TC_INVALID_HANDLE ((HANDLE)0)
|
||||
|
||||
#define MAX_STRING_LENGTH 256
|
||||
|
||||
#ifndef CALLBACK
|
||||
#if defined(_ARM_)
|
||||
#define CALLBACK
|
||||
#else
|
||||
#define CALLBACK __stdcall
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef WINAPI
|
||||
#if defined(_ARM_)
|
||||
#define WINAPI
|
||||
#else
|
||||
#define WINAPI __stdcall
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef APIENTRY
|
||||
#define APIENTRY WINAPI
|
||||
#endif
|
||||
|
||||
typedef VOID (CALLBACK *TCI_NOTIFY_HANDLER)(HANDLE ClRegCtx,HANDLE ClIfcCtx,ULONG Event,HANDLE SubCode,ULONG BufSize,PVOID Buffer);
|
||||
typedef VOID (CALLBACK *TCI_ADD_FLOW_COMPLETE_HANDLER)(HANDLE ClFlowCtx,ULONG Status);
|
||||
typedef VOID (CALLBACK *TCI_MOD_FLOW_COMPLETE_HANDLER)(HANDLE ClFlowCtx,ULONG Status);
|
||||
typedef VOID (CALLBACK *TCI_DEL_FLOW_COMPLETE_HANDLER)(HANDLE ClFlowCtx,ULONG Status);
|
||||
|
||||
typedef struct _TCI_CLIENT_FUNC_LIST {
|
||||
TCI_NOTIFY_HANDLER ClNotifyHandler;
|
||||
TCI_ADD_FLOW_COMPLETE_HANDLER ClAddFlowCompleteHandler;
|
||||
TCI_MOD_FLOW_COMPLETE_HANDLER ClModifyFlowCompleteHandler;
|
||||
TCI_DEL_FLOW_COMPLETE_HANDLER ClDeleteFlowCompleteHandler;
|
||||
} TCI_CLIENT_FUNC_LIST,*PTCI_CLIENT_FUNC_LIST;
|
||||
|
||||
typedef struct _ADDRESS_LIST_DESCRIPTOR {
|
||||
ULONG MediaType;
|
||||
NETWORK_ADDRESS_LIST AddressList;
|
||||
} ADDRESS_LIST_DESCRIPTOR,*PADDRESS_LIST_DESCRIPTOR;
|
||||
|
||||
typedef struct _TC_IFC_DESCRIPTOR {
|
||||
ULONG Length;
|
||||
LPWSTR pInterfaceName;
|
||||
LPWSTR pInterfaceID;
|
||||
ADDRESS_LIST_DESCRIPTOR AddressListDesc;
|
||||
} TC_IFC_DESCRIPTOR,*PTC_IFC_DESCRIPTOR;
|
||||
|
||||
typedef struct _TC_SUPPORTED_INFO_BUFFER {
|
||||
USHORT InstanceIDLength;
|
||||
WCHAR InstanceID[MAX_STRING_LENGTH];
|
||||
ADDRESS_LIST_DESCRIPTOR AddrListDesc;
|
||||
} TC_SUPPORTED_INFO_BUFFER,*PTC_SUPPORTED_INFO_BUFFER;
|
||||
|
||||
typedef struct _TC_GEN_FILTER {
|
||||
USHORT AddressType;
|
||||
ULONG PatternSize;
|
||||
PVOID Pattern;
|
||||
PVOID Mask;
|
||||
} TC_GEN_FILTER,*PTC_GEN_FILTER;
|
||||
|
||||
typedef struct _TC_GEN_FLOW {
|
||||
FLOWSPEC SendingFlowspec;
|
||||
FLOWSPEC ReceivingFlowspec;
|
||||
ULONG TcObjectsLength;
|
||||
QOS_OBJECT_HDR TcObjects[1];
|
||||
} TC_GEN_FLOW,*PTC_GEN_FLOW;
|
||||
|
||||
typedef struct _IP_PATTERN {
|
||||
ULONG Reserved1;
|
||||
ULONG Reserved2;
|
||||
ULONG SrcAddr;
|
||||
ULONG DstAddr;
|
||||
union {
|
||||
struct { USHORT s_srcport,s_dstport; } S_un_ports;
|
||||
struct { UCHAR s_type,s_code; USHORT filler; } S_un_icmp;
|
||||
ULONG S_Spi;
|
||||
} S_un;
|
||||
UCHAR ProtocolId;
|
||||
UCHAR Reserved3[3];
|
||||
} IP_PATTERN,*PIP_PATTERN;
|
||||
|
||||
#define tcSrcPort S_un.S_un_ports.s_srcport
|
||||
#define tcDstPort S_un.S_un_ports.s_dstport
|
||||
#define tcIcmpType S_un.S_un_icmp.s_type
|
||||
#define tcIcmpCode S_un.S_un_icmp.s_code
|
||||
#define tcSpi S_un.S_Spi
|
||||
|
||||
typedef struct _IPX_PATTERN {
|
||||
struct {
|
||||
ULONG NetworkAddress;
|
||||
UCHAR NodeAddress[6];
|
||||
USHORT Socket;
|
||||
} Src,Dest;
|
||||
} IPX_PATTERN,*PIPX_PATTERN;
|
||||
|
||||
typedef struct _ENUMERATION_BUFFER {
|
||||
ULONG Length;
|
||||
ULONG OwnerProcessId;
|
||||
USHORT FlowNameLength;
|
||||
WCHAR FlowName[MAX_STRING_LENGTH];
|
||||
PTC_GEN_FLOW pFlow;
|
||||
ULONG NumberOfFilters;
|
||||
TC_GEN_FILTER GenericFilter[1];
|
||||
} ENUMERATION_BUFFER,*PENUMERATION_BUFFER;
|
||||
|
||||
#define QOS_TRAFFIC_GENERAL_ID_BASE 4000
|
||||
#define QOS_OBJECT_DS_CLASS (0x00000001 + QOS_TRAFFIC_GENERAL_ID_BASE)
|
||||
#define QOS_OBJECT_TRAFFIC_CLASS (0x00000002 + QOS_TRAFFIC_GENERAL_ID_BASE)
|
||||
#define QOS_OBJECT_DIFFSERV (0x00000003 + QOS_TRAFFIC_GENERAL_ID_BASE)
|
||||
#define QOS_OBJECT_TCP_TRAFFIC (0x00000004 + QOS_TRAFFIC_GENERAL_ID_BASE)
|
||||
#define QOS_OBJECT_FRIENDLY_NAME (0x00000005 + QOS_TRAFFIC_GENERAL_ID_BASE)
|
||||
|
||||
typedef struct _QOS_FRIENDLY_NAME {
|
||||
QOS_OBJECT_HDR ObjectHdr;
|
||||
WCHAR FriendlyName[MAX_STRING_LENGTH];
|
||||
} QOS_FRIENDLY_NAME,*LPQOS_FRIENDLY_NAME;
|
||||
|
||||
typedef struct _QOS_TRAFFIC_CLASS {
|
||||
QOS_OBJECT_HDR ObjectHdr;
|
||||
ULONG TrafficClass;
|
||||
} QOS_TRAFFIC_CLASS,*LPQOS_TRAFFIC_CLASS;
|
||||
|
||||
typedef struct _QOS_DS_CLASS {
|
||||
QOS_OBJECT_HDR ObjectHdr;
|
||||
ULONG DSField;
|
||||
} QOS_DS_CLASS,*LPQOS_DS_CLASS;
|
||||
|
||||
typedef struct _QOS_DIFFSERV {
|
||||
QOS_OBJECT_HDR ObjectHdr;
|
||||
ULONG DSFieldCount;
|
||||
UCHAR DiffservRule[1];
|
||||
} QOS_DIFFSERV,*LPQOS_DIFFSERV;
|
||||
|
||||
typedef struct _QOS_DIFFSERV_RULE {
|
||||
UCHAR InboundDSField;
|
||||
UCHAR ConformingOutboundDSField;
|
||||
UCHAR NonConformingOutboundDSField;
|
||||
UCHAR ConformingUserPriority;
|
||||
UCHAR NonConformingUserPriority;
|
||||
} QOS_DIFFSERV_RULE,*LPQOS_DIFFSERV_RULE;
|
||||
|
||||
typedef struct _QOS_TCP_TRAFFIC {
|
||||
QOS_OBJECT_HDR ObjectHdr;
|
||||
} QOS_TCP_TRAFFIC,*LPQOS_TCP_TRAFFIC;
|
||||
|
||||
#define TcOpenInterface __MINGW_NAME_AW(TcOpenInterface)
|
||||
#define TcQueryFlow __MINGW_NAME_AW(TcQueryFlow)
|
||||
#define TcSetFlow __MINGW_NAME_AW(TcSetFlow)
|
||||
#define TcGetFlowName __MINGW_NAME_AW(TcGetFlowName)
|
||||
|
||||
ULONG WINAPI TcRegisterClient(ULONG TciVersion,HANDLE ClRegCtx,PTCI_CLIENT_FUNC_LIST ClientHandlerList,PHANDLE pClientHandle);
|
||||
ULONG WINAPI TcEnumerateInterfaces(HANDLE ClientHandle,PULONG pBufferSize,PTC_IFC_DESCRIPTOR InterfaceBuffer);
|
||||
ULONG WINAPI TcOpenInterfaceA(LPSTR pInterfaceName,HANDLE ClientHandle,HANDLE ClIfcCtx,PHANDLE pIfcHandle);
|
||||
ULONG WINAPI TcOpenInterfaceW(LPWSTR pInterfaceName,HANDLE ClientHandle,HANDLE ClIfcCtx,PHANDLE pIfcHandle);
|
||||
ULONG WINAPI TcCloseInterface(HANDLE IfcHandle);
|
||||
ULONG WINAPI TcQueryInterface(HANDLE IfcHandle,LPGUID pGuidParam,BOOLEAN NotifyChange,PULONG pBufferSize,PVOID Buffer);
|
||||
ULONG WINAPI TcSetInterface(HANDLE IfcHandle,LPGUID pGuidParam,ULONG BufferSize,PVOID Buffer);
|
||||
ULONG WINAPI TcQueryFlowA(LPSTR pFlowName,LPGUID pGuidParam,PULONG pBufferSize,PVOID Buffer);
|
||||
ULONG WINAPI TcQueryFlowW(LPWSTR pFlowName,LPGUID pGuidParam,PULONG pBufferSize,PVOID Buffer);
|
||||
ULONG WINAPI TcSetFlowA(LPSTR pFlowName,LPGUID pGuidParam,ULONG BufferSize,PVOID Buffer);
|
||||
ULONG WINAPI TcSetFlowW(LPWSTR pFlowName,LPGUID pGuidParam,ULONG BufferSize,PVOID Buffer);
|
||||
ULONG WINAPI TcAddFlow(HANDLE IfcHandle,HANDLE ClFlowCtx,ULONG Flags,PTC_GEN_FLOW pGenericFlow,PHANDLE pFlowHandle);
|
||||
ULONG WINAPI TcGetFlowNameA(HANDLE FlowHandle,ULONG StrSize,LPSTR pFlowName);
|
||||
ULONG WINAPI TcGetFlowNameW(HANDLE FlowHandle,ULONG StrSize,LPWSTR pFlowName);
|
||||
ULONG WINAPI TcModifyFlow(HANDLE FlowHandle,PTC_GEN_FLOW pGenericFlow);
|
||||
ULONG WINAPI TcAddFilter(HANDLE FlowHandle,PTC_GEN_FILTER pGenericFilter,PHANDLE pFilterHandle);
|
||||
ULONG WINAPI TcDeregisterClient(HANDLE ClientHandle);
|
||||
ULONG WINAPI TcDeleteFlow(HANDLE FlowHandle);
|
||||
ULONG WINAPI TcDeleteFilter(HANDLE FilterHandle);
|
||||
ULONG WINAPI TcEnumerateFlows(HANDLE IfcHandle,PHANDLE pEnumHandle,PULONG pFlowCount,PULONG pBufSize,PENUMERATION_BUFFER Buffer);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,441 @@
|
||||
/**
|
||||
* 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 __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
|
||||
#include "rpc.h"
|
||||
#include "rpcndr.h"
|
||||
|
||||
#ifndef __RPCNDR_H_VERSION__
|
||||
#error This stub requires an updated version of <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include "windows.h"
|
||||
#include "ole2.h"
|
||||
#endif
|
||||
|
||||
#ifndef __transact_h__
|
||||
#define __transact_h__
|
||||
|
||||
#ifndef __ITransaction_FWD_DEFINED__
|
||||
#define __ITransaction_FWD_DEFINED__
|
||||
typedef struct ITransaction ITransaction;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionCloner_FWD_DEFINED__
|
||||
#define __ITransactionCloner_FWD_DEFINED__
|
||||
typedef struct ITransactionCloner ITransactionCloner;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransaction2_FWD_DEFINED__
|
||||
#define __ITransaction2_FWD_DEFINED__
|
||||
typedef struct ITransaction2 ITransaction2;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionDispenser_FWD_DEFINED__
|
||||
#define __ITransactionDispenser_FWD_DEFINED__
|
||||
typedef struct ITransactionDispenser ITransactionDispenser;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionOptions_FWD_DEFINED__
|
||||
#define __ITransactionOptions_FWD_DEFINED__
|
||||
typedef struct ITransactionOptions ITransactionOptions;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionOutcomeEvents_FWD_DEFINED__
|
||||
#define __ITransactionOutcomeEvents_FWD_DEFINED__
|
||||
typedef struct ITransactionOutcomeEvents ITransactionOutcomeEvents;
|
||||
#endif
|
||||
|
||||
#ifndef __ITmNodeName_FWD_DEFINED__
|
||||
#define __ITmNodeName_FWD_DEFINED__
|
||||
typedef struct ITmNodeName ITmNodeName;
|
||||
#endif
|
||||
|
||||
#include "unknwn.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef __MIDL_user_allocate_free_DEFINED__
|
||||
#define __MIDL_user_allocate_free_DEFINED__
|
||||
void *__RPC_API MIDL_user_allocate(size_t);
|
||||
void __RPC_API MIDL_user_free(void *);
|
||||
#endif
|
||||
|
||||
#include "winerror.h"
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_transact_0000_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_transact_0000_v0_0_s_ifspec;
|
||||
|
||||
#ifndef __BasicTransactionTypes_INTERFACE_DEFINED__
|
||||
#define __BasicTransactionTypes_INTERFACE_DEFINED__
|
||||
|
||||
typedef struct BOID {
|
||||
byte rgb[16 ];
|
||||
} BOID;
|
||||
|
||||
#define BOID_NULL (*((BOID*)(&IID_NULL)))
|
||||
#ifndef MAX_TRAN_DESC_DEFINED
|
||||
#define MAX_TRAN_DESC_DEFINED
|
||||
typedef enum TX_MISC_CONSTANTS {
|
||||
MAX_TRAN_DESC = 40
|
||||
} TX_MISC_CONSTANTS;
|
||||
#endif
|
||||
typedef BOID XACTUOW;
|
||||
typedef LONG ISOLEVEL;
|
||||
|
||||
typedef enum ISOLATIONLEVEL {
|
||||
ISOLATIONLEVEL_UNSPECIFIED = 0xffffffff,ISOLATIONLEVEL_CHAOS = 0x10,ISOLATIONLEVEL_READUNCOMMITTED = 0x100,ISOLATIONLEVEL_BROWSE = 0x100,
|
||||
ISOLATIONLEVEL_CURSORSTABILITY = 0x1000,ISOLATIONLEVEL_READCOMMITTED = 0x1000,ISOLATIONLEVEL_REPEATABLEREAD = 0x10000,
|
||||
ISOLATIONLEVEL_SERIALIZABLE = 0x100000,ISOLATIONLEVEL_ISOLATED = 0x100000
|
||||
} ISOLATIONLEVEL;
|
||||
|
||||
typedef struct XACTTRANSINFO {
|
||||
XACTUOW uow;
|
||||
ISOLEVEL isoLevel;
|
||||
ULONG isoFlags;
|
||||
DWORD grfTCSupported;
|
||||
DWORD grfRMSupported;
|
||||
DWORD grfTCSupportedRetaining;
|
||||
DWORD grfRMSupportedRetaining;
|
||||
} XACTTRANSINFO;
|
||||
|
||||
typedef struct XACTSTATS {
|
||||
ULONG cOpen;
|
||||
ULONG cCommitting;
|
||||
ULONG cCommitted;
|
||||
ULONG cAborting;
|
||||
ULONG cAborted;
|
||||
ULONG cInDoubt;
|
||||
ULONG cHeuristicDecision;
|
||||
FILETIME timeTransactionsUp;
|
||||
} XACTSTATS;
|
||||
|
||||
typedef enum ISOFLAG {
|
||||
ISOFLAG_RETAIN_COMMIT_DC = 1,ISOFLAG_RETAIN_COMMIT = 2,ISOFLAG_RETAIN_COMMIT_NO = 3,ISOFLAG_RETAIN_ABORT_DC = 4,ISOFLAG_RETAIN_ABORT = 8,
|
||||
ISOFLAG_RETAIN_ABORT_NO = 12,ISOFLAG_RETAIN_DONTCARE = ISOFLAG_RETAIN_COMMIT_DC | ISOFLAG_RETAIN_ABORT_DC,
|
||||
ISOFLAG_RETAIN_BOTH = ISOFLAG_RETAIN_COMMIT | ISOFLAG_RETAIN_ABORT,ISOFLAG_RETAIN_NONE = ISOFLAG_RETAIN_COMMIT_NO | ISOFLAG_RETAIN_ABORT_NO,ISOFLAG_OPTIMISTIC = 16,ISOFLAG_READONLY = 32
|
||||
} ISOFLAG;
|
||||
|
||||
typedef enum XACTTC {
|
||||
XACTTC_NONE = 0,XACTTC_SYNC_PHASEONE = 1,XACTTC_SYNC_PHASETWO = 2,XACTTC_SYNC = 2,XACTTC_ASYNC_PHASEONE = 4,XACTTC_ASYNC = 4
|
||||
} XACTTC;
|
||||
|
||||
typedef enum XACTRM {
|
||||
XACTRM_OPTIMISTICLASTWINS = 1,XACTRM_NOREADONLYPREPARES = 2
|
||||
} XACTRM;
|
||||
|
||||
typedef enum XACTCONST {
|
||||
XACTCONST_TIMEOUTINFINITE = 0
|
||||
} XACTCONST;
|
||||
|
||||
typedef enum XACTHEURISTIC {
|
||||
XACTHEURISTIC_ABORT = 1,XACTHEURISTIC_COMMIT = 2,XACTHEURISTIC_DAMAGE = 3,XACTHEURISTIC_DANGER = 4
|
||||
} XACTHEURISTIC;
|
||||
|
||||
typedef enum XACTSTAT {
|
||||
XACTSTAT_NONE = 0,XACTSTAT_OPENNORMAL = 0x1,XACTSTAT_OPENREFUSED = 0x2,XACTSTAT_PREPARING = 0x4,XACTSTAT_PREPARED = 0x8,XACTSTAT_PREPARERETAINING = 0x10,XACTSTAT_PREPARERETAINED = 0x20,XACTSTAT_COMMITTING = 0x40,XACTSTAT_COMMITRETAINING = 0x80,XACTSTAT_ABORTING = 0x100,XACTSTAT_ABORTED = 0x200,XACTSTAT_COMMITTED = 0x400,XACTSTAT_HEURISTIC_ABORT = 0x800,XACTSTAT_HEURISTIC_COMMIT = 0x1000,XACTSTAT_HEURISTIC_DAMAGE = 0x2000,XACTSTAT_HEURISTIC_DANGER = 0x4000,XACTSTAT_FORCED_ABORT = 0x8000,XACTSTAT_FORCED_COMMIT = 0x10000,XACTSTAT_INDOUBT = 0x20000,XACTSTAT_CLOSED = 0x40000,XACTSTAT_OPEN = 0x3,XACTSTAT_NOTPREPARED = 0x7ffc3,XACTSTAT_ALL = 0x7ffff
|
||||
} XACTSTAT;
|
||||
|
||||
typedef struct XACTOPT {
|
||||
ULONG ulTimeout;
|
||||
char szDescription[40 ];
|
||||
} XACTOPT;
|
||||
|
||||
extern RPC_IF_HANDLE BasicTransactionTypes_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE BasicTransactionTypes_v0_0_s_ifspec;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransaction_INTERFACE_DEFINED__
|
||||
#define __ITransaction_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransaction;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransaction : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI Commit(WINBOOL fRetaining,DWORD grfTC,DWORD grfRM) = 0;
|
||||
virtual HRESULT WINAPI Abort(BOID *pboidReason,WINBOOL fRetaining,WINBOOL fAsync) = 0;
|
||||
virtual HRESULT WINAPI GetTransactionInfo(XACTTRANSINFO *pinfo) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransaction *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransaction *This);
|
||||
ULONG (WINAPI *Release)(ITransaction *This);
|
||||
HRESULT (WINAPI *Commit)(ITransaction *This,WINBOOL fRetaining,DWORD grfTC,DWORD grfRM);
|
||||
HRESULT (WINAPI *Abort)(ITransaction *This,BOID *pboidReason,WINBOOL fRetaining,WINBOOL fAsync);
|
||||
HRESULT (WINAPI *GetTransactionInfo)(ITransaction *This,XACTTRANSINFO *pinfo);
|
||||
END_INTERFACE
|
||||
} ITransactionVtbl;
|
||||
struct ITransaction {
|
||||
CONST_VTBL struct ITransactionVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransaction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransaction_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransaction_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransaction_Commit(This,fRetaining,grfTC,grfRM) (This)->lpVtbl->Commit(This,fRetaining,grfTC,grfRM)
|
||||
#define ITransaction_Abort(This,pboidReason,fRetaining,fAsync) (This)->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync)
|
||||
#define ITransaction_GetTransactionInfo(This,pinfo) (This)->lpVtbl->GetTransactionInfo(This,pinfo)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransaction_Commit_Proxy(ITransaction *This,WINBOOL fRetaining,DWORD grfTC,DWORD grfRM);
|
||||
void __RPC_STUB ITransaction_Commit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransaction_Abort_Proxy(ITransaction *This,BOID *pboidReason,WINBOOL fRetaining,WINBOOL fAsync);
|
||||
void __RPC_STUB ITransaction_Abort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransaction_GetTransactionInfo_Proxy(ITransaction *This,XACTTRANSINFO *pinfo);
|
||||
void __RPC_STUB ITransaction_GetTransactionInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionCloner_INTERFACE_DEFINED__
|
||||
#define __ITransactionCloner_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionCloner;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionCloner : public ITransaction {
|
||||
public:
|
||||
virtual HRESULT WINAPI CloneWithCommitDisabled(ITransaction **ppITransaction) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionClonerVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionCloner *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionCloner *This);
|
||||
ULONG (WINAPI *Release)(ITransactionCloner *This);
|
||||
HRESULT (WINAPI *Commit)(ITransactionCloner *This,WINBOOL fRetaining,DWORD grfTC,DWORD grfRM);
|
||||
HRESULT (WINAPI *Abort)(ITransactionCloner *This,BOID *pboidReason,WINBOOL fRetaining,WINBOOL fAsync);
|
||||
HRESULT (WINAPI *GetTransactionInfo)(ITransactionCloner *This,XACTTRANSINFO *pinfo);
|
||||
HRESULT (WINAPI *CloneWithCommitDisabled)(ITransactionCloner *This,ITransaction **ppITransaction);
|
||||
END_INTERFACE
|
||||
} ITransactionClonerVtbl;
|
||||
struct ITransactionCloner {
|
||||
CONST_VTBL struct ITransactionClonerVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionCloner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionCloner_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionCloner_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionCloner_Commit(This,fRetaining,grfTC,grfRM) (This)->lpVtbl->Commit(This,fRetaining,grfTC,grfRM)
|
||||
#define ITransactionCloner_Abort(This,pboidReason,fRetaining,fAsync) (This)->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync)
|
||||
#define ITransactionCloner_GetTransactionInfo(This,pinfo) (This)->lpVtbl->GetTransactionInfo(This,pinfo)
|
||||
#define ITransactionCloner_CloneWithCommitDisabled(This,ppITransaction) (This)->lpVtbl->CloneWithCommitDisabled(This,ppITransaction)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionCloner_CloneWithCommitDisabled_Proxy(ITransactionCloner *This,ITransaction **ppITransaction);
|
||||
void __RPC_STUB ITransactionCloner_CloneWithCommitDisabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransaction2_INTERFACE_DEFINED__
|
||||
#define __ITransaction2_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransaction2;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransaction2 : public ITransactionCloner {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetTransactionInfo2(XACTTRANSINFO *pinfo) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransaction2Vtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransaction2 *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransaction2 *This);
|
||||
ULONG (WINAPI *Release)(ITransaction2 *This);
|
||||
HRESULT (WINAPI *Commit)(ITransaction2 *This,WINBOOL fRetaining,DWORD grfTC,DWORD grfRM);
|
||||
HRESULT (WINAPI *Abort)(ITransaction2 *This,BOID *pboidReason,WINBOOL fRetaining,WINBOOL fAsync);
|
||||
HRESULT (WINAPI *GetTransactionInfo)(ITransaction2 *This,XACTTRANSINFO *pinfo);
|
||||
HRESULT (WINAPI *CloneWithCommitDisabled)(ITransaction2 *This,ITransaction **ppITransaction);
|
||||
HRESULT (WINAPI *GetTransactionInfo2)(ITransaction2 *This,XACTTRANSINFO *pinfo);
|
||||
END_INTERFACE
|
||||
} ITransaction2Vtbl;
|
||||
struct ITransaction2 {
|
||||
CONST_VTBL struct ITransaction2Vtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransaction2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransaction2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransaction2_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransaction2_Commit(This,fRetaining,grfTC,grfRM) (This)->lpVtbl->Commit(This,fRetaining,grfTC,grfRM)
|
||||
#define ITransaction2_Abort(This,pboidReason,fRetaining,fAsync) (This)->lpVtbl->Abort(This,pboidReason,fRetaining,fAsync)
|
||||
#define ITransaction2_GetTransactionInfo(This,pinfo) (This)->lpVtbl->GetTransactionInfo(This,pinfo)
|
||||
#define ITransaction2_CloneWithCommitDisabled(This,ppITransaction) (This)->lpVtbl->CloneWithCommitDisabled(This,ppITransaction)
|
||||
#define ITransaction2_GetTransactionInfo2(This,pinfo) (This)->lpVtbl->GetTransactionInfo2(This,pinfo)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransaction2_GetTransactionInfo2_Proxy(ITransaction2 *This,XACTTRANSINFO *pinfo);
|
||||
void __RPC_STUB ITransaction2_GetTransactionInfo2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionDispenser_INTERFACE_DEFINED__
|
||||
#define __ITransactionDispenser_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionDispenser;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionDispenser : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetOptionsObject(ITransactionOptions **ppOptions) = 0;
|
||||
virtual HRESULT WINAPI BeginTransaction(IUnknown *punkOuter,ISOLEVEL isoLevel,ULONG isoFlags,ITransactionOptions *pOptions,ITransaction **ppTransaction) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionDispenserVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionDispenser *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionDispenser *This);
|
||||
ULONG (WINAPI *Release)(ITransactionDispenser *This);
|
||||
HRESULT (WINAPI *GetOptionsObject)(ITransactionDispenser *This,ITransactionOptions **ppOptions);
|
||||
HRESULT (WINAPI *BeginTransaction)(ITransactionDispenser *This,IUnknown *punkOuter,ISOLEVEL isoLevel,ULONG isoFlags,ITransactionOptions *pOptions,ITransaction **ppTransaction);
|
||||
END_INTERFACE
|
||||
} ITransactionDispenserVtbl;
|
||||
struct ITransactionDispenser {
|
||||
CONST_VTBL struct ITransactionDispenserVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionDispenser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionDispenser_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionDispenser_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionDispenser_GetOptionsObject(This,ppOptions) (This)->lpVtbl->GetOptionsObject(This,ppOptions)
|
||||
#define ITransactionDispenser_BeginTransaction(This,punkOuter,isoLevel,isoFlags,pOptions,ppTransaction) (This)->lpVtbl->BeginTransaction(This,punkOuter,isoLevel,isoFlags,pOptions,ppTransaction)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionDispenser_GetOptionsObject_Proxy(ITransactionDispenser *This,ITransactionOptions **ppOptions);
|
||||
void __RPC_STUB ITransactionDispenser_GetOptionsObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionDispenser_BeginTransaction_Proxy(ITransactionDispenser *This,IUnknown *punkOuter,ISOLEVEL isoLevel,ULONG isoFlags,ITransactionOptions *pOptions,ITransaction **ppTransaction);
|
||||
void __RPC_STUB ITransactionDispenser_BeginTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionOptions_INTERFACE_DEFINED__
|
||||
#define __ITransactionOptions_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionOptions;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionOptions : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI SetOptions(XACTOPT *pOptions) = 0;
|
||||
virtual HRESULT WINAPI GetOptions(XACTOPT *pOptions) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionOptionsVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionOptions *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionOptions *This);
|
||||
ULONG (WINAPI *Release)(ITransactionOptions *This);
|
||||
HRESULT (WINAPI *SetOptions)(ITransactionOptions *This,XACTOPT *pOptions);
|
||||
HRESULT (WINAPI *GetOptions)(ITransactionOptions *This,XACTOPT *pOptions);
|
||||
END_INTERFACE
|
||||
} ITransactionOptionsVtbl;
|
||||
struct ITransactionOptions {
|
||||
CONST_VTBL struct ITransactionOptionsVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionOptions_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionOptions_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionOptions_SetOptions(This,pOptions) (This)->lpVtbl->SetOptions(This,pOptions)
|
||||
#define ITransactionOptions_GetOptions(This,pOptions) (This)->lpVtbl->GetOptions(This,pOptions)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionOptions_SetOptions_Proxy(ITransactionOptions *This,XACTOPT *pOptions);
|
||||
void __RPC_STUB ITransactionOptions_SetOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionOptions_GetOptions_Proxy(ITransactionOptions *This,XACTOPT *pOptions);
|
||||
void __RPC_STUB ITransactionOptions_GetOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionOutcomeEvents_INTERFACE_DEFINED__
|
||||
#define __ITransactionOutcomeEvents_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionOutcomeEvents;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionOutcomeEvents : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI Committed(WINBOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr) = 0;
|
||||
virtual HRESULT WINAPI Aborted(BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr) = 0;
|
||||
virtual HRESULT WINAPI HeuristicDecision(DWORD dwDecision,BOID *pboidReason,HRESULT hr) = 0;
|
||||
virtual HRESULT WINAPI Indoubt(void) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionOutcomeEventsVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionOutcomeEvents *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionOutcomeEvents *This);
|
||||
ULONG (WINAPI *Release)(ITransactionOutcomeEvents *This);
|
||||
HRESULT (WINAPI *Committed)(ITransactionOutcomeEvents *This,WINBOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr);
|
||||
HRESULT (WINAPI *Aborted)(ITransactionOutcomeEvents *This,BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr);
|
||||
HRESULT (WINAPI *HeuristicDecision)(ITransactionOutcomeEvents *This,DWORD dwDecision,BOID *pboidReason,HRESULT hr);
|
||||
HRESULT (WINAPI *Indoubt)(ITransactionOutcomeEvents *This);
|
||||
END_INTERFACE
|
||||
} ITransactionOutcomeEventsVtbl;
|
||||
struct ITransactionOutcomeEvents {
|
||||
CONST_VTBL struct ITransactionOutcomeEventsVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionOutcomeEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionOutcomeEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionOutcomeEvents_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionOutcomeEvents_Committed(This,fRetaining,pNewUOW,hr) (This)->lpVtbl->Committed(This,fRetaining,pNewUOW,hr)
|
||||
#define ITransactionOutcomeEvents_Aborted(This,pboidReason,fRetaining,pNewUOW,hr) (This)->lpVtbl->Aborted(This,pboidReason,fRetaining,pNewUOW,hr)
|
||||
#define ITransactionOutcomeEvents_HeuristicDecision(This,dwDecision,pboidReason,hr) (This)->lpVtbl->HeuristicDecision(This,dwDecision,pboidReason,hr)
|
||||
#define ITransactionOutcomeEvents_Indoubt(This) (This)->lpVtbl->Indoubt(This)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionOutcomeEvents_Committed_Proxy(ITransactionOutcomeEvents *This,WINBOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr);
|
||||
void __RPC_STUB ITransactionOutcomeEvents_Committed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionOutcomeEvents_Aborted_Proxy(ITransactionOutcomeEvents *This,BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr);
|
||||
void __RPC_STUB ITransactionOutcomeEvents_Aborted_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionOutcomeEvents_HeuristicDecision_Proxy(ITransactionOutcomeEvents *This,DWORD dwDecision,BOID *pboidReason,HRESULT hr);
|
||||
void __RPC_STUB ITransactionOutcomeEvents_HeuristicDecision_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionOutcomeEvents_Indoubt_Proxy(ITransactionOutcomeEvents *This);
|
||||
void __RPC_STUB ITransactionOutcomeEvents_Indoubt_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITmNodeName_INTERFACE_DEFINED__
|
||||
#define __ITmNodeName_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITmNodeName;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITmNodeName : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetNodeNameSize(ULONG *pcbNodeNameSize) = 0;
|
||||
virtual HRESULT WINAPI GetNodeName(ULONG cbNodeNameBufferSize,LPWSTR pNodeNameBuffer) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITmNodeNameVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITmNodeName *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITmNodeName *This);
|
||||
ULONG (WINAPI *Release)(ITmNodeName *This);
|
||||
HRESULT (WINAPI *GetNodeNameSize)(ITmNodeName *This,ULONG *pcbNodeNameSize);
|
||||
HRESULT (WINAPI *GetNodeName)(ITmNodeName *This,ULONG cbNodeNameBufferSize,LPWSTR pNodeNameBuffer);
|
||||
END_INTERFACE
|
||||
} ITmNodeNameVtbl;
|
||||
struct ITmNodeName {
|
||||
CONST_VTBL struct ITmNodeNameVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITmNodeName_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITmNodeName_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITmNodeName_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITmNodeName_GetNodeNameSize(This,pcbNodeNameSize) (This)->lpVtbl->GetNodeNameSize(This,pcbNodeNameSize)
|
||||
#define ITmNodeName_GetNodeName(This,cbNodeNameBufferSize,pNodeNameBuffer) (This)->lpVtbl->GetNodeName(This,cbNodeNameBufferSize,pNodeNameBuffer)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITmNodeName_GetNodeNameSize_Proxy(ITmNodeName *This,ULONG *pcbNodeNameSize);
|
||||
void __RPC_STUB ITmNodeName_GetNodeNameSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITmNodeName_GetNodeName_Proxy(ITmNodeName *This,ULONG cbNodeNameBufferSize,LPWSTR pNodeNameBuffer);
|
||||
void __RPC_STUB ITmNodeName_GetNodeName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(IID_ITransaction,0x0fb15084,0xaf41,0x11ce,0xbd,0x2b,0x20,0x4c,0x4f,0x4f,0x50,0x20);
|
||||
DEFINE_GUID(IID_ITransactionCloner,0x02656950,0x2152,0x11d0,0x94,0x4C,0x00,0xA0,0xC9,0x05,0x41,0x6E);
|
||||
DEFINE_GUID(IID_ITransaction2,0x34021548,0x0065,0x11d3,0xba,0xc1,0x00,0xc0,0x4f,0x79,0x7b,0xe2);
|
||||
DEFINE_GUID(IID_ITransactionDispenser,0x3A6AD9E1,0x23B9,0x11cf,0xAD,0x60,0x00,0xAA,0x00,0xA7,0x4C,0xCD);
|
||||
DEFINE_GUID(IID_ITransactionOptions,0x3A6AD9E0,0x23B9,0x11cf,0xAD,0x60,0x00,0xAA,0x00,0xA7,0x4C,0xCD);
|
||||
DEFINE_GUID(IID_ITransactionOutcomeEvents,0x3A6AD9E2,0x23B9,0x11cf,0xAD,0x60,0x00,0xAA,0x00,0xA7,0x4C,0xCD);
|
||||
DEFINE_GUID(IID_ITmNodeName,0x30274F88,0x6EE4,0x474e,0x9B,0x95,0x78,0x07,0xBC,0x9E,0xF8,0xCF);
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_transact_0016_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_transact_0016_v0_0_s_ifspec;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,78 @@
|
||||
/**
|
||||
* 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 __TRIEDCID_H__
|
||||
#define __TRIEDCID_H__
|
||||
|
||||
#define IDM_TRIED_NUDGE_ELEMENT 2
|
||||
#define IDM_TRIED_SET_ALIGNMENT 3
|
||||
#define IDM_TRIED_MAKE_ABSOLUTE 4
|
||||
#define IDM_TRIED_LOCK_ELEMENT 5
|
||||
#define IDM_TRIED_SEND_TO_BACK 6
|
||||
#define IDM_TRIED_BRING_TO_FRONT 7
|
||||
#define IDM_TRIED_SEND_BACKWARD 8
|
||||
#define IDM_TRIED_BRING_FORWARD 9
|
||||
#define IDM_TRIED_SEND_BELOW_TEXT 10
|
||||
#define IDM_TRIED_BRING_ABOVE_TEXT 11
|
||||
#define IDM_TRIED_CONSTRAIN 12
|
||||
#define IDM_TRIED_ABSOLUTE_DROP_MODE 13
|
||||
#define IDM_TRIED_INSERTROW 14
|
||||
#define IDM_TRIED_INSERTCOL 15
|
||||
#define IDM_TRIED_DELETEROWS 16
|
||||
#define IDM_TRIED_DELETECOLS 17
|
||||
#define IDM_TRIED_MERGECELLS 18
|
||||
#define IDM_TRIED_SPLITCELL 19
|
||||
#define IDM_TRIED_INSERTCELL 20
|
||||
#define IDM_TRIED_DELETECELLS 21
|
||||
#define IDM_TRIED_INSERTTABLE 22
|
||||
#define IDM_TRIED_ACTIVATEACTIVEXCONTROLS 23
|
||||
#define IDM_TRIED_ACTIVATEAPPLETS 24
|
||||
#define IDM_TRIED_ACTIVATEDTCS 25
|
||||
#define IDM_TRIED_BACKCOLOR 26
|
||||
#define IDM_TRIED_BLOCKFMT 27
|
||||
#define IDM_TRIED_BOLD 28
|
||||
#define IDM_TRIED_BROWSEMODE 29
|
||||
#define IDM_TRIED_COPY 30
|
||||
#define IDM_TRIED_CUT 31
|
||||
#define IDM_TRIED_DELETE 32
|
||||
#define IDM_TRIED_EDITMODE 33
|
||||
#define IDM_TRIED_FIND 34
|
||||
#define IDM_TRIED_FONT 35
|
||||
#define IDM_TRIED_FONTNAME 36
|
||||
#define IDM_TRIED_FONTSIZE 37
|
||||
#define IDM_TRIED_FORECOLOR 38
|
||||
#define IDM_TRIED_GETBLOCKFMTS 39
|
||||
#define IDM_TRIED_HYPERLINK 40
|
||||
#define IDM_TRIED_IMAGE 41
|
||||
#define IDM_TRIED_INDENT 42
|
||||
#define IDM_TRIED_ITALIC 43
|
||||
#define IDM_TRIED_JUSTIFYCENTER 44
|
||||
#define IDM_TRIED_JUSTIFYLEFT 45
|
||||
#define IDM_TRIED_JUSTIFYRIGHT 46
|
||||
#define IDM_TRIED_ORDERLIST 47
|
||||
#define IDM_TRIED_OUTDENT 48
|
||||
#define IDM_TRIED_PASTE 50
|
||||
#define IDM_TRIED_PRINT 51
|
||||
#define IDM_TRIED_REDO 52
|
||||
#define IDM_TRIED_REMOVEFORMAT 53
|
||||
#define IDM_TRIED_SELECTALL 54
|
||||
#define IDM_TRIED_SHOWBORDERS 55
|
||||
#define IDM_TRIED_SHOWDETAILS 56
|
||||
#define IDM_TRIED_UNDERLINE 57
|
||||
#define IDM_TRIED_UNDO 58
|
||||
#define IDM_TRIED_UNLINK 59
|
||||
#define IDM_TRIED_UNORDERLIST 60
|
||||
#define IDM_TRIED_DOVERB 61
|
||||
|
||||
#define IDM_TRIED_LAST_CID IDM_TRIED_DOVERB
|
||||
|
||||
#define IDM_TRIED_IS_1D_ELEMENT 0
|
||||
#define IDM_TRIED_IS_2D_ELEMENT 1
|
||||
#define IDM_TRIED_SEND_TO_FRONT IDM_TRIED_BRING_TO_FRONT
|
||||
#define IDM_TRIED_SEND_FORWARD IDM_TRIED_BRING_FORWARD
|
||||
#define IDM_TRIED_SEND_BEHIND_1D IDM_TRIED_SEND_BELOW_TEXT
|
||||
#define IDM_TRIED_SEND_FRONT_1D IDM_TRIED_BRING_ABOVE_TEXT
|
||||
#define IDM_TRIED_SET_2D_DROP_MODE IDM_TRIED_ABSOLUTE_DROP_MODE
|
||||
#endif
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* 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 _triediid_h_
|
||||
#define _triediid_h_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
EXTERN_C const GUID GUID_TriEditCommandGroup;
|
||||
EXTERN_C const IID IID_ITriEditDocument;
|
||||
EXTERN_C const IID LIBID_TRIEDITLib;
|
||||
EXTERN_C const CLSID CLSID_TriEditDocument;
|
||||
|
||||
DEFINE_GUID(GUID_TriEditCommandGroup,0x2582f1c0,0x084e,0x11d1,0x9a,0x0e,0x00,0x60,0x97,0xc9,0xb3,0x44);
|
||||
DEFINE_GUID(IID_ITriEditDocument,0x438DA5DF,0xF171,0x11D0,0x98,0x4E,0x00,0x00,0xF8,0x02,0x70,0xF8);
|
||||
DEFINE_GUID(LIBID_TRIEDITLib,0x438DA5D1,0xF171,0x11D0,0x98,0x4E,0x00,0x00,0xF8,0x02,0x70,0xF8);
|
||||
DEFINE_GUID(CLSID_TriEditDocument,0x438DA5E0,0xF171,0x11D0,0x98,0x4E,0x00,0x00,0xF8,0x02,0x70,0xF8);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,169 @@
|
||||
/**
|
||||
* 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 __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 440
|
||||
#endif
|
||||
|
||||
#include "rpc.h"
|
||||
#include "rpcndr.h"
|
||||
|
||||
#ifndef __RPCNDR_H_VERSION__
|
||||
#error This stub requires an updated version of <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include "windows.h"
|
||||
#include "ole2.h"
|
||||
#endif
|
||||
|
||||
#ifndef __triedit_h__
|
||||
#define __triedit_h__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
#ifndef __ITriEditDocument_FWD_DEFINED__
|
||||
#define __ITriEditDocument_FWD_DEFINED__
|
||||
typedef struct ITriEditDocument ITriEditDocument;
|
||||
#endif
|
||||
|
||||
#ifndef __TriEditDocument_FWD_DEFINED__
|
||||
#define __TriEditDocument_FWD_DEFINED__
|
||||
#ifdef __cplusplus
|
||||
typedef class TriEditDocument TriEditDocument;
|
||||
#else
|
||||
typedef struct TriEditDocument TriEditDocument;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __IDocHostDragDropHandler_FWD_DEFINED__
|
||||
#define __IDocHostDragDropHandler_FWD_DEFINED__
|
||||
typedef struct IDocHostDragDropHandler IDocHostDragDropHandler;
|
||||
#endif
|
||||
|
||||
#include "oaidl.h"
|
||||
#include "ocidl.h"
|
||||
|
||||
#ifndef __MIDL_user_allocate_free_DEFINED__
|
||||
#define __MIDL_user_allocate_free_DEFINED__
|
||||
void *__RPC_API MIDL_user_allocate(size_t);
|
||||
void __RPC_API MIDL_user_free(void *);
|
||||
#endif
|
||||
|
||||
#define dwFilterDefaults 0x00000000
|
||||
#define dwFilterNone 0x00000001
|
||||
#define dwFilterDTCs 0x00000002
|
||||
#define dwFilterDTCsWithoutMetaTags 0x00000004
|
||||
#define dwFilterServerSideScripts 0x00000008
|
||||
#define dwPreserveSourceCode 0x00000010
|
||||
#define dwFilterSourceCode 0x00000020
|
||||
#define dwFilterMultiByteStream 0x10000000
|
||||
#define dwFilterUsePstmNew 0x20000000
|
||||
|
||||
#define E_FILTER_FRAMESET 0x80100001
|
||||
#define E_FILTER_SERVERSCRIPT 0x80100002
|
||||
#define E_FILTER_MULTIPLETAGS 0x80100004
|
||||
#define E_FILTER_SCRIPTLISTING 0x80100008
|
||||
#define E_FILTER_SCRIPTLABEL 0x80100010
|
||||
#define E_FILTER_SCRIPTTEXTAREA 0x80100020
|
||||
#define E_FILTER_SCRIPTSELECT 0x80100040
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_triedit_0000_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_triedit_0000_v0_0_s_ifspec;
|
||||
#ifndef __ITriEditDocument_INTERFACE_DEFINED__
|
||||
#define __ITriEditDocument_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITriEditDocument;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITriEditDocument : public IDispatch {
|
||||
public:
|
||||
virtual HRESULT WINAPI FilterIn(IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL) = 0;
|
||||
virtual HRESULT WINAPI FilterOut(IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITriEditDocumentVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITriEditDocument *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITriEditDocument *This);
|
||||
ULONG (WINAPI *Release)(ITriEditDocument *This);
|
||||
HRESULT (WINAPI *GetTypeInfoCount)(ITriEditDocument *This,UINT *pctinfo);
|
||||
HRESULT (WINAPI *GetTypeInfo)(ITriEditDocument *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
|
||||
HRESULT (WINAPI *GetIDsOfNames)(ITriEditDocument *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
|
||||
HRESULT (WINAPI *Invoke)(ITriEditDocument *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
|
||||
HRESULT (WINAPI *FilterIn)(ITriEditDocument *This,IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL);
|
||||
HRESULT (WINAPI *FilterOut)(ITriEditDocument *This,IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL);
|
||||
END_INTERFACE
|
||||
} ITriEditDocumentVtbl;
|
||||
struct ITriEditDocument {
|
||||
CONST_VTBL struct ITriEditDocumentVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITriEditDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITriEditDocument_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITriEditDocument_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITriEditDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
||||
#define ITriEditDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
||||
#define ITriEditDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
||||
#define ITriEditDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
||||
#define ITriEditDocument_FilterIn(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL) (This)->lpVtbl->FilterIn(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL)
|
||||
#define ITriEditDocument_FilterOut(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL) (This)->lpVtbl->FilterOut(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITriEditDocument_FilterIn_Proxy(ITriEditDocument *This,IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL);
|
||||
void __RPC_STUB ITriEditDocument_FilterIn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITriEditDocument_FilterOut_Proxy(ITriEditDocument *This,IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL);
|
||||
void __RPC_STUB ITriEditDocument_FilterOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __TRIEDITLib_LIBRARY_DEFINED__
|
||||
#define __TRIEDITLib_LIBRARY_DEFINED__
|
||||
EXTERN_C const IID LIBID_TRIEDITLib;
|
||||
EXTERN_C const CLSID CLSID_TriEditDocument;
|
||||
#ifdef __cplusplus
|
||||
class TriEditDocument;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __IDocHostDragDropHandler_INTERFACE_DEFINED__
|
||||
#define __IDocHostDragDropHandler_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_IDocHostDragDropHandler;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IDocHostDragDropHandler : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI DrawDragFeedback(RECT *pRect) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct IDocHostDragDropHandlerVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(IDocHostDragDropHandler *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(IDocHostDragDropHandler *This);
|
||||
ULONG (WINAPI *Release)(IDocHostDragDropHandler *This);
|
||||
HRESULT (WINAPI *DrawDragFeedback)(IDocHostDragDropHandler *This,RECT *pRect);
|
||||
END_INTERFACE
|
||||
} IDocHostDragDropHandlerVtbl;
|
||||
struct IDocHostDragDropHandler {
|
||||
CONST_VTBL struct IDocHostDragDropHandlerVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define IDocHostDragDropHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IDocHostDragDropHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IDocHostDragDropHandler_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define IDocHostDragDropHandler_DrawDragFeedback(This,pRect) (This)->lpVtbl->DrawDragFeedback(This,pRect)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI IDocHostDragDropHandler_DrawDragFeedback_Proxy(IDocHostDragDropHandler *This,RECT *pRect);
|
||||
void __RPC_STUB IDocHostDragDropHandler_DrawDragFeedback_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
|
||||
unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
|
||||
unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
|
||||
void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,100 @@
|
||||
/**
|
||||
* 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 _TSATTRS_H_
|
||||
#define _TSATTRS_H_
|
||||
|
||||
DEFINE_GUID(TSATTRID_OTHERS, 0xb3c32af9,0x57d0,0x46a9,0xbc,0xa8,0xda,0xc2,0x38,0xa1,0x30,0x57);
|
||||
|
||||
DEFINE_GUID(TSATTRID_Font, 0x573ea825,0x749b,0x4f8a,0x9c,0xfd,0x21,0xc3,0x60,0x5c,0xa8,0x28);
|
||||
DEFINE_GUID(TSATTRID_Font_FaceName, 0xb536aeb6,0x053b,0x4eb8,0xb6,0x5a,0x50,0xda,0x1e,0x81,0xe7,0x2e);
|
||||
DEFINE_GUID(TSATTRID_Font_SizePts, 0xc8493302,0xa5e9,0x456d,0xaf,0x04,0x80,0x05,0xe4,0x13,0x0f,0x03);
|
||||
DEFINE_GUID(TSATTRID_Font_Style, 0x68b2a77f,0x6b0e,0x4f28,0x81,0x77,0x57,0x1c,0x2f,0x3a,0x42,0xb1);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Bold, 0x48813a43,0x8a20,0x4940,0x8e,0x58,0x97,0x82,0x3f,0x7b,0x26,0x8a);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Italic, 0x8740682a,0xa765,0x48e1,0xac,0xfc,0xd2,0x22,0x22,0xb2,0xf8,0x10);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_SmallCaps, 0xfacb6bc6,0x9100,0x4cc6,0xb9,0x69,0x11,0xee,0xa4,0x5a,0x86,0xb4);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Capitalize, 0x7d85a3ba,0xb4fd,0x43b3,0xbe,0xfc,0x6b,0x98,0x5c,0x84,0x31,0x41);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Uppercase, 0x33a300e8,0xe340,0x4937,0xb6,0x97,0x8f,0x23,0x40,0x45,0xcd,0x9a);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Lowercase, 0x76d8ccb5,0xca7b,0x4498,0x8e,0xe9,0xd5,0xc4,0xf6,0xf7,0x4c,0x60);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation, 0xdcf73d22,0xe029,0x47b7,0xbb,0x36,0xf2,0x63,0xa3,0xd0,0x04,0xcc);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation_LasVegasLights, 0xf40423d5,0x0f87,0x4f8f,0xba,0xda,0xe6,0xd6,0x0c,0x25,0xe1,0x52);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation_BlinkingBackground, 0x86e5b104,0x0104,0x4b10,0xb5,0x85,0x00,0xf2,0x52,0x75,0x22,0xb5);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation_SparkleText, 0x533aad20,0x962c,0x4e9f,0x8c,0x09,0xb4,0x2e,0xa4,0x74,0x97,0x11);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation_MarchingBlackAnts, 0x7644e067,0xf186,0x4902,0xbf,0xc6,0xec,0x81,0x5a,0xa2,0x0e,0x9d);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation_MarchingRedAnts, 0x78368dad,0x50fb,0x4c6f,0x84,0x0b,0xd4,0x86,0xbb,0x6c,0xf7,0x81);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation_Shimmer, 0x2ce31b58,0x5293,0x4c36,0x88,0x09,0xbf,0x8b,0xb5,0x1a,0x27,0xb3);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation_WipeDown, 0x5872e874,0x367b,0x4803,0xb1,0x60,0xc9,0x0f,0xf6,0x25,0x69,0xd0);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Animation_WipeRight, 0xb855cbe3,0x3d2c,0x4600,0xb1,0xe9,0xe1,0xc9,0xce,0x02,0xf8,0x42);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Emboss, 0xbd8ed742,0x349e,0x4e37,0x82,0xfb,0x43,0x79,0x79,0xcb,0x53,0xa7);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Engrave, 0x9c3371de,0x8332,0x4897,0xbe,0x5d,0x89,0x23,0x32,0x23,0x17,0x9a);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Hidden, 0xb1e28770,0x881c,0x475f,0x86,0x3f,0x88,0x7a,0x64,0x7b,0x10,0x90);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Kerning, 0xcc26e1b4,0x2f9a,0x47c8,0x8b,0xff,0xbf,0x1e,0xb7,0xcc,0xe0,0xdd);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Outlined, 0x10e6db31,0xdb0d,0x4ac6,0xa7,0xf5,0x9c,0x9c,0xff,0x6f,0x2a,0xb4);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Position, 0x15cd26ab,0xf2fb,0x4062,0xb5,0xa6,0x9a,0x49,0xe1,0xa5,0xcc,0x0b);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Protected, 0x1c557cb2,0x14cf,0x4554,0xa5,0x74,0xec,0xb2,0xf7,0xe7,0xef,0xd4);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Shadow, 0x5f686d2f,0xc6cd,0x4c56,0x8a,0x1a,0x99,0x4a,0x4b,0x97,0x66,0xbe);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Spacing, 0x98c1200d,0x8f06,0x409a,0x8e,0x49,0x6a,0x55,0x4b,0xf7,0xc1,0x53);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Weight, 0x12f3189c,0x8bb0,0x461b,0xb1,0xfa,0xea,0xf9,0x07,0x04,0x7f,0xe0);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Height, 0x7e937477,0x12e6,0x458b,0x92,0x6a,0x1f,0xa4,0x4e,0xe8,0xf3,0x91);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Underline, 0xc3c9c9f3,0x7902,0x444b,0x9a,0x7b,0x48,0xe7,0x0f,0x4b,0x50,0xf7);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Underline_Single, 0x1b6720e5,0x0f73,0x4951,0xa6,0xb3,0x6f,0x19,0xe4,0x3c,0x94,0x61);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Underline_Double, 0x74d24aa6,0x1db3,0x4c69,0xa1,0x76,0x31,0x12,0x0e,0x75,0x86,0xd5);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Strikethrough, 0x0c562193,0x2d08,0x4668,0x96,0x01,0xce,0xd4,0x13,0x09,0xd7,0xaf);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Strikethrough_Single, 0x75d736b6,0x3c8f,0x4b97,0xab,0x78,0x18,0x77,0xcb,0x99,0x0d,0x31);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Strikethrough_Double, 0x62489b31,0xa3e7,0x4f94,0xac,0x43,0xeb,0xaf,0x8f,0xcc,0x7a,0x9f);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Overline, 0xe3989f4a,0x992b,0x4301,0x8c,0xe1,0xa5,0xb7,0xc6,0xd1,0xf3,0xc8);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Overline_Single, 0x8440d94c,0x51ce,0x47b2,0x8d,0x4c,0x15,0x75,0x1e,0x5f,0x72,0x1b);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Overline_Double, 0xdc46063a,0xe115,0x46e3,0xbc,0xd8,0xca,0x67,0x72,0xaa,0x95,0xb4);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Blink, 0xbfb2c036,0x7acf,0x4532,0xb7,0x20,0xb4,0x16,0xdd,0x77,0x65,0xa8);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Subscript, 0x5774fb84,0x389b,0x43bc,0xa7,0x4b,0x15,0x68,0x34,0x7c,0xf0,0xf4);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Superscript, 0x2ea4993c,0x563c,0x49aa,0x93,0x72,0x0b,0xef,0x09,0xa9,0x25,0x5b);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_Color, 0x857a7a37,0xb8af,0x4e9a,0x81,0xb4,0xac,0xf7,0x00,0xc8,0x41,0x1b);
|
||||
DEFINE_GUID(TSATTRID_Font_Style_BackgroundColor, 0xb50eaa4e,0x3091,0x4468,0x81,0xdb,0xd7,0x9e,0xa1,0x90,0xc7,0xc7);
|
||||
|
||||
DEFINE_GUID(TSATTRID_Text, 0x7edb8e68,0x81f9,0x449d,0xa1,0x5a,0x87,0xa8,0x38,0x8f,0xaa,0xc0);
|
||||
DEFINE_GUID(TSATTRID_Text_VerticalWriting, 0x6bba8195,0x046f,0x4ea9,0xb3,0x11,0x97,0xfd,0x66,0xc4,0x27,0x4b);
|
||||
DEFINE_GUID(TSATTRID_Text_RightToLeft, 0xca666e71,0x1b08,0x453d,0xbf,0xdd,0x28,0xe0,0x8c,0x8a,0xaf,0x7a);
|
||||
DEFINE_GUID(TSATTRID_Text_Orientation, 0x6bab707f,0x8785,0x4c39,0x8b,0x52,0x96,0xf8,0x78,0x30,0x3f,0xfb);
|
||||
DEFINE_GUID(TSATTRID_Text_Language, 0xd8c04ef1,0x5753,0x4c25,0x88,0x87,0x85,0x44,0x3f,0xe5,0xf8,0x19);
|
||||
DEFINE_GUID(TSATTRID_Text_ReadOnly, 0x85836617,0xde32,0x4afd,0xa5,0x0f,0xa2,0xdb,0x11,0x0e,0x6e,0x4d);
|
||||
DEFINE_GUID(TSATTRID_Text_EmbeddedObject, 0x7edb8e68,0x81f9,0x449d,0xa1,0x5a,0x87,0xa8,0x38,0x8f,0xaa,0xc0);
|
||||
DEFINE_GUID(TSATTRID_Text_Alignment, 0x139941e6,0x1767,0x456d,0x93,0x8e,0x35,0xba,0x56,0x8b,0x5c,0xd4);
|
||||
DEFINE_GUID(TSATTRID_Text_Alignment_Left, 0x16ae95d3,0x6361,0x43a2,0x84,0x95,0xd0,0x0f,0x39,0x7f,0x16,0x93);
|
||||
DEFINE_GUID(TSATTRID_Text_Alignment_Right, 0xb36f0f98,0x1b9e,0x4360,0x86,0x16,0x03,0xfb,0x08,0xa7,0x84,0x56);
|
||||
DEFINE_GUID(TSATTRID_Text_Alignment_Center, 0xa4a95c16,0x53bf,0x4d55,0x8b,0x87,0x4b,0xdd,0x8d,0x42,0x75,0xfc);
|
||||
DEFINE_GUID(TSATTRID_Text_Alignment_Justify, 0xed350740,0xa0f7,0x42d3,0x8e,0xa8,0xf8,0x1b,0x64,0x88,0xfa,0xf0);
|
||||
DEFINE_GUID(TSATTRID_Text_Link, 0x47cd9051,0x3722,0x4cd8,0xb7,0xc8,0x4e,0x17,0xca,0x17,0x59,0xf5);
|
||||
DEFINE_GUID(TSATTRID_Text_Hyphenation, 0xdadf4525,0x618e,0x49eb,0xb1,0xa8,0x3b,0x68,0xbd,0x76,0x48,0xe3);
|
||||
DEFINE_GUID(TSATTRID_Text_Para, 0x5edc5822,0x99dc,0x4dd6,0xae,0xc3,0xb6,0x2b,0xaa,0x5b,0x2e,0x7c);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_FirstLineIndent, 0x07c97a13,0x7472,0x4dd8,0x90,0xa9,0x91,0xe3,0xd7,0xe4,0xf2,0x9c);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_LeftIndent, 0xfb2848e9,0x7471,0x41c9,0xb6,0xb3,0x8a,0x14,0x50,0xe0,0x18,0x97);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_RightIndent, 0x2c7f26f9,0xa5e2,0x48da,0xb9,0x8a,0x52,0x0c,0xb1,0x65,0x13,0xbf);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_SpaceAfter, 0x7b0a3f55,0x22dc,0x425f,0xa4,0x11,0x93,0xda,0x1d,0x8f,0x9b,0xaa);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_SpaceBefore, 0x8df98589,0x194a,0x4601,0xb2,0x51,0x98,0x65,0xa3,0xe9,0x06,0xdd);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_LineSpacing, 0x699b380d,0x7f8c,0x46d6,0xa7,0x3b,0xdf,0xe3,0xd1,0x53,0x8d,0xf3);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Single, 0xed350740,0xa0f7,0x42d3,0x8e,0xa8,0xf8,0x1b,0x64,0x88,0xfa,0xf0);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_OnePtFive, 0x0428a021,0x0397,0x4b57,0x9a,0x17,0x07,0x95,0x99,0x4c,0xd3,0xc5);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Double, 0x82fb1805,0xa6c4,0x4231,0xac,0x12,0x62,0x60,0xaf,0x2a,0xba,0x28);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_AtLeast, 0xadfedf31,0x2d44,0x4434,0xa5,0xff,0x7f,0x4c,0x49,0x90,0xa9,0x05);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Exactly, 0x3d45ad40,0x23de,0x48d7,0xa6,0xb3,0x76,0x54,0x20,0xc6,0x20,0xcc);
|
||||
DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Multiple, 0x910f1e3c,0xd6d0,0x4f65,0x8a,0x3c,0x42,0xb4,0xb3,0x18,0x68,0xc5);
|
||||
|
||||
DEFINE_GUID(TSATTRID_List, 0x436d673b,0x26f1,0x4aee,0x9e,0x65,0x8f,0x83,0xa4,0xed,0x48,0x84);
|
||||
DEFINE_GUID(TSATTRID_List_LevelIndel, 0x7f7cc899,0x311f,0x487b,0xad,0x5d,0xe2,0xa4,0x59,0xe1,0x2d,0x42);
|
||||
DEFINE_GUID(TSATTRID_List_Type, 0xae3e665e,0x4bce,0x49e3,0xa0,0xfe,0x2d,0xb4,0x7d,0x3a,0x17,0xae);
|
||||
DEFINE_GUID(TSATTRID_List_Type_Bullet, 0xbccd77c5,0x4c4d,0x4ce2,0xb1,0x02,0x55,0x9f,0x3b,0x2b,0xfc,0xea);
|
||||
DEFINE_GUID(TSATTRID_List_Type_Arabic, 0x1338c5d6,0x98a3,0x4fa3,0x9b,0xd1,0x7a,0x60,0xee,0xf8,0xe9,0xe0);
|
||||
DEFINE_GUID(TSATTRID_List_Type_LowerLetter, 0x96372285,0xf3cf,0x491e,0xa9,0x25,0x38,0x32,0x34,0x7f,0xd2,0x37);
|
||||
DEFINE_GUID(TSATTRID_List_Type_UpperLetter, 0x7987b7cd,0xce52,0x428b,0x9b,0x95,0xa3,0x57,0xf6,0xf1,0x0c,0x45);
|
||||
DEFINE_GUID(TSATTRID_List_Type_LowerRoman, 0x90466262,0x3980,0x4b8e,0x93,0x68,0x91,0x8b,0xd1,0x21,0x8a,0x41);
|
||||
DEFINE_GUID(TSATTRID_List_Type_UpperRoman, 0x0f6ab552,0x4a80,0x467f,0xb2,0xf1,0x12,0x7e,0x2a,0xa3,0xba,0x9e);
|
||||
|
||||
DEFINE_GUID(TSATTRID_App, 0xa80f77df,0x4237,0x40e5,0x84,0x9c,0xb5,0xfa,0x51,0xc1,0x3a,0xc7);
|
||||
DEFINE_GUID(TSATTRID_App_IncorrectSpelling, 0xf42de43c,0xef12,0x430d,0x94,0x4c,0x9a,0x08,0x97,0x0a,0x25,0xd2);
|
||||
DEFINE_GUID(TSATTRID_App_IncorrectGrammar, 0xbd54e398,0xad03,0x4b74,0xb6,0xb3,0x5e,0xdb,0x19,0x99,0x63,0x88);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,250 @@
|
||||
/**
|
||||
* 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 TSPI_H
|
||||
#define TSPI_H
|
||||
|
||||
#include <windows.h>
|
||||
#include "tapi.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef DECLARE_OPAQUE
|
||||
#define DECLARE_OPAQUE(name) struct name##__ { int unused; }; typedef const struct name##__ *name
|
||||
#endif
|
||||
|
||||
#ifndef TSPIAPI
|
||||
#define TSPIAPI WINAPI
|
||||
#endif
|
||||
|
||||
DECLARE_OPAQUE(HDRVCALL);
|
||||
DECLARE_OPAQUE(HDRVLINE);
|
||||
DECLARE_OPAQUE(HDRVPHONE);
|
||||
DECLARE_OPAQUE(HDRVMSPLINE);
|
||||
DECLARE_OPAQUE(HDRVDIALOGINSTANCE);
|
||||
|
||||
typedef HDRVCALL *LPHDRVCALL;
|
||||
typedef HDRVLINE *LPHDRVLINE;
|
||||
typedef HDRVPHONE *LPHDRVPHONE;
|
||||
typedef HDRVDIALOGINSTANCE *LPHDRVDIALOGINSTANCE;
|
||||
typedef HDRVMSPLINE *LPHDRVMSPLINE;
|
||||
|
||||
DECLARE_OPAQUE(HTAPICALL);
|
||||
DECLARE_OPAQUE(HTAPILINE);
|
||||
DECLARE_OPAQUE(HTAPIPHONE);
|
||||
DECLARE_OPAQUE32(HTAPIDIALOGINSTANCE);
|
||||
DECLARE_OPAQUE32(HTAPIMSPLINE);
|
||||
|
||||
typedef HTAPICALL *LPHTAPICALL;
|
||||
typedef HTAPILINE *LPHTAPILINE;
|
||||
typedef HTAPIPHONE *LPHTAPIPHONE;
|
||||
typedef HTAPIDIALOGINSTANCE *LPHTAPIDIALOGINSTANCE;
|
||||
typedef HTAPIMSPLINE *LPHTAPIMSPLINE;
|
||||
|
||||
DECLARE_OPAQUE(HPROVIDER);
|
||||
typedef HPROVIDER *LPHPROVIDER;
|
||||
|
||||
typedef DWORD DRV_REQUESTID;
|
||||
|
||||
typedef void (CALLBACK *ASYNC_COMPLETION)(DRV_REQUESTID dwRequestID,LONG lResult);
|
||||
typedef void (CALLBACK *LINEEVENT)(HTAPILINE htLine,HTAPICALL htCall,DWORD dwMsg,DWORD_PTR dwParam1,DWORD_PTR dwParam2,DWORD_PTR dwParam3);
|
||||
typedef void (CALLBACK *PHONEEVENT)(HTAPIPHONE htPhone,DWORD dwMsg,DWORD_PTR dwParam1,DWORD_PTR dwParam2,DWORD_PTR dwParam3);
|
||||
typedef LONG (CALLBACK *TUISPIDLLCALLBACK)(DWORD_PTR dwObjectID,DWORD dwObjectType,LPVOID lpParams,DWORD dwSize);
|
||||
|
||||
typedef struct tuispicreatedialoginstanceparams_tag {
|
||||
DRV_REQUESTID dwRequestID;
|
||||
HDRVDIALOGINSTANCE hdDlgInst;
|
||||
HTAPIDIALOGINSTANCE htDlgInst;
|
||||
LPCWSTR lpszUIDLLName;
|
||||
LPVOID lpParams;
|
||||
DWORD dwSize;
|
||||
} TUISPICREATEDIALOGINSTANCEPARAMS,*LPTUISPICREATEDIALOGINSTANCEPARAMS;
|
||||
|
||||
#define LINEQOSSTRUCT_KEY ((DWORD)'LQSK')
|
||||
|
||||
typedef struct LINEQOSSERVICELEVEL_tag {
|
||||
DWORD dwMediaMode;
|
||||
DWORD dwQOSServiceLevel;
|
||||
} LINEQOSSERVICELEVEL,*LPLINEQOSSERVICELEVEL;
|
||||
|
||||
typedef struct LINECALLQOSINFO_tag {
|
||||
DWORD dwKey;
|
||||
DWORD dwTotalSize;
|
||||
DWORD dwQOSRequestType;
|
||||
__C89_NAMELESS union {
|
||||
struct {
|
||||
DWORD dwNumServiceLevelEntries;
|
||||
LINEQOSSERVICELEVEL LineQOSServiceLevel[1];
|
||||
} SetQOSServiceLevel;
|
||||
};
|
||||
} LINECALLQOSINFO,*LPLINECALLQOSINFO;
|
||||
|
||||
EXTERN_C const CLSID TAPIPROTOCOL_PSTN;
|
||||
EXTERN_C const CLSID TAPIPROTOCOL_H323;
|
||||
EXTERN_C const CLSID TAPIPROTOCOL_Multicast;
|
||||
|
||||
#define TSPI_MESSAGE_BASE 500
|
||||
#define LINE_NEWCALL ((__LONG32) TSPI_MESSAGE_BASE + 0)
|
||||
#define LINE_CALLDEVSPECIFIC ((__LONG32) TSPI_MESSAGE_BASE + 1)
|
||||
#define LINE_CALLDEVSPECIFICFEATURE ((__LONG32) TSPI_MESSAGE_BASE + 2)
|
||||
#define LINE_CREATEDIALOGINSTANCE ((__LONG32) TSPI_MESSAGE_BASE + 3)
|
||||
#define LINE_SENDDIALOGINSTANCEDATA ((__LONG32) TSPI_MESSAGE_BASE + 4)
|
||||
#define LINE_SENDMSPDATA ((__LONG32) TSPI_MESSAGE_BASE + 5)
|
||||
#define LINE_QOSINFO ((__LONG32) TSPI_MESSAGE_BASE + 6)
|
||||
|
||||
#define LINETSPIOPTION_NONREENTRANT 0x00000001
|
||||
|
||||
#define TUISPIDLL_OBJECT_LINEID __MSABI_LONG(1)
|
||||
#define TUISPIDLL_OBJECT_PHONEID __MSABI_LONG(2)
|
||||
#define TUISPIDLL_OBJECT_PROVIDERID __MSABI_LONG(3)
|
||||
#define TUISPIDLL_OBJECT_DIALOGINSTANCE __MSABI_LONG(4)
|
||||
|
||||
#define PRIVATEOBJECT_NONE 0x00000001
|
||||
#define PRIVATEOBJECT_CALLID 0x00000002
|
||||
#define PRIVATEOBJECT_LINE 0x00000003
|
||||
#define PRIVATEOBJECT_CALL 0x00000004
|
||||
#define PRIVATEOBJECT_PHONE 0x00000005
|
||||
#define PRIVATEOBJECT_ADDRESS 0x00000006
|
||||
|
||||
#define LINEQOSREQUESTTYPE_SERVICELEVEL 0x00000001
|
||||
|
||||
#define LINEQOSSERVICELEVEL_NEEDED 0x00000001
|
||||
#define LINEQOSSERVICELEVEL_IFAVAILABLE 0x00000002
|
||||
#define LINEQOSSERVICELEVEL_BESTEFFORT 0x00000003
|
||||
|
||||
#define LINEEQOSINFO_NOQOS 0x00000001
|
||||
#define LINEEQOSINFO_ADMISSIONFAILURE 0x00000002
|
||||
#define LINEEQOSINFO_POLICYFAILURE 0x00000003
|
||||
#define LINEEQOSINFO_GENERICERROR 0x00000004
|
||||
|
||||
LONG WINAPI TSPI_lineAccept(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPCSTR lpsUserUserInfo,DWORD dwSize);
|
||||
LONG WINAPI TSPI_lineAddToConference(DRV_REQUESTID dwRequestID,HDRVCALL hdConfCall,HDRVCALL hdConsultCall);
|
||||
LONG WINAPI TSPI_lineAnswer(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPCSTR lpsUserUserInfo,DWORD dwSize);
|
||||
LONG WINAPI TSPI_lineBlindTransfer(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPCWSTR lpszDestAddress,DWORD dwCountryCode);
|
||||
LONG WINAPI TSPI_lineClose(HDRVLINE hdLine);
|
||||
LONG WINAPI TSPI_lineCloseCall(HDRVCALL hdCall);
|
||||
LONG WINAPI TSPI_lineCompleteCall(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPDWORD lpdwCompletionID,DWORD dwCompletionMode,DWORD dwMessageID);
|
||||
LONG WINAPI TSPI_lineCompleteTransfer(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,HDRVCALL hdConsultCall,HTAPICALL htConfCall,LPHDRVCALL lphdConfCall,DWORD dwTransferMode);
|
||||
LONG WINAPI TSPI_lineConditionalMediaDetection(HDRVLINE hdLine,DWORD dwMediaModes,LPLINECALLPARAMS const lpCallParams);
|
||||
LONG WINAPI TSPI_lineDevSpecific(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,DWORD dwAddressID,HDRVCALL hdCall,LPVOID lpParams,DWORD dwSize);
|
||||
LONG WINAPI TSPI_lineDevSpecificFeature(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,DWORD dwFeature,LPVOID lpParams,DWORD dwSize);
|
||||
LONG WINAPI TSPI_lineDial(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPCWSTR lpszDestAddress,DWORD dwCountryCode);
|
||||
LONG WINAPI TSPI_lineDrop(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPCSTR lpsUserUserInfo,DWORD dwSize);
|
||||
LONG WINAPI TSPI_lineDropOnClose(HDRVCALL hdCall);
|
||||
LONG WINAPI TSPI_lineDropNoOwner(HDRVCALL hdCall);
|
||||
LONG WINAPI TSPI_lineForward(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,DWORD bAllAddresses,DWORD dwAddressID,LPLINEFORWARDLIST const lpForwardList,DWORD dwNumRingsNoAnswer,HTAPICALL htConsultCall,LPHDRVCALL lphdConsultCall,LPLINECALLPARAMS const lpCallParams);
|
||||
LONG WINAPI TSPI_lineGatherDigits(HDRVCALL hdCall,DWORD dwEndToEndID,DWORD dwDigitModes,LPWSTR lpsDigits,DWORD dwNumDigits,LPCWSTR lpszTerminationDigits,DWORD dwFirstDigitTimeout,DWORD dwInterDigitTimeout);
|
||||
LONG WINAPI TSPI_lineGenerateDigits(HDRVCALL hdCall,DWORD dwEndToEndID,DWORD dwDigitMode,LPCWSTR lpszDigits,DWORD dwDuration);
|
||||
LONG WINAPI TSPI_lineGenerateTone(HDRVCALL hdCall,DWORD dwEndToEndID,DWORD dwToneMode,DWORD dwDuration,DWORD dwNumTones,LPLINEGENERATETONE const lpTones);
|
||||
LONG WINAPI TSPI_lineGetAddressCaps(DWORD dwDeviceID,DWORD dwAddressID,DWORD dwTSPIVersion,DWORD dwExtVersion,LPLINEADDRESSCAPS lpAddressCaps);
|
||||
LONG WINAPI TSPI_lineGetAddressID(HDRVLINE hdLine,LPDWORD lpdwAddressID,DWORD dwAddressMode,LPCWSTR lpsAddress,DWORD dwSize);
|
||||
LONG WINAPI TSPI_lineGetAddressStatus(HDRVLINE hdLine,DWORD dwAddressID,LPLINEADDRESSSTATUS lpAddressStatus);
|
||||
LONG WINAPI TSPI_lineGetCallAddressID(HDRVCALL hdCall,LPDWORD lpdwAddressID);
|
||||
LONG WINAPI TSPI_lineGetCallHubTracking(HDRVLINE hdLine,LPLINECALLHUBTRACKINGINFO lpTrackingInfo);
|
||||
LONG WINAPI TSPI_lineGetCallIDs(HDRVCALL hdCall,LPDWORD lpdwAddressID,LPDWORD lpdwCallID,LPDWORD lpdwRelatedCallID);
|
||||
LONG WINAPI TSPI_lineGetCallInfo(HDRVCALL hdCall,LPLINECALLINFO lpCallInfo);
|
||||
LONG WINAPI TSPI_lineGetCallStatus(HDRVCALL hdCall,LPLINECALLSTATUS lpCallStatus);
|
||||
LONG WINAPI TSPI_lineGetDevCaps(DWORD dwDeviceID,DWORD dwTSPIVersion,DWORD dwExtVersion,LPLINEDEVCAPS lpLineDevCaps);
|
||||
LONG WINAPI TSPI_lineGetDevConfig(DWORD dwDeviceID,LPVARSTRING lpDeviceConfig,LPCWSTR lpszDeviceClass);
|
||||
LONG WINAPI TSPI_lineGetExtensionID(DWORD dwDeviceID,DWORD dwTSPIVersion,LPLINEEXTENSIONID lpExtensionID);
|
||||
LONG WINAPI TSPI_lineGetIcon(DWORD dwDeviceID,LPCWSTR lpszDeviceClass,LPHICON lphIcon);
|
||||
LONG WINAPI TSPI_lineGetID(HDRVLINE hdLine,DWORD dwAddressID,HDRVCALL hdCall,DWORD dwSelect,LPVARSTRING lpDeviceID,LPCWSTR lpszDeviceClass,HANDLE hTargetProcess);
|
||||
LONG WINAPI TSPI_lineGetLineDevStatus(HDRVLINE hdLine,LPLINEDEVSTATUS lpLineDevStatus);
|
||||
LONG WINAPI TSPI_lineGetNumAddressIDs(HDRVLINE hdLine,LPDWORD lpdwNumAddressIDs);
|
||||
LONG WINAPI TSPI_lineHold(DRV_REQUESTID dwRequestID,HDRVCALL hdCall);
|
||||
LONG WINAPI TSPI_lineMakeCall(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,HTAPICALL htCall,LPHDRVCALL lphdCall,LPCWSTR lpszDestAddress,DWORD dwCountryCode,LPLINECALLPARAMS const lpCallParams);
|
||||
LONG WINAPI TSPI_lineMonitorDigits(HDRVCALL hdCall,DWORD dwDigitModes);
|
||||
LONG WINAPI TSPI_lineMonitorMedia(HDRVCALL hdCall,DWORD dwMediaModes);
|
||||
LONG WINAPI TSPI_lineMonitorTones(HDRVCALL hdCall,DWORD dwToneListID,LPLINEMONITORTONE const lpToneList,DWORD dwNumEntries);
|
||||
LONG WINAPI TSPI_lineNegotiateExtVersion(DWORD dwDeviceID,DWORD dwTSPIVersion,DWORD dwLowVersion,DWORD dwHighVersion,LPDWORD lpdwExtVersion);
|
||||
LONG WINAPI TSPI_lineNegotiateTSPIVersion(DWORD dwDeviceID,DWORD dwLowVersion,DWORD dwHighVersion,LPDWORD lpdwTSPIVersion);
|
||||
LONG WINAPI TSPI_lineOpen(DWORD dwDeviceID,HTAPILINE htLine,LPHDRVLINE lphdLine,DWORD dwTSPIVersion,LINEEVENT lpfnEventProc);
|
||||
LONG WINAPI TSPI_linePark(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,DWORD dwParkMode,LPCWSTR lpszDirAddress,LPVARSTRING lpNonDirAddress);
|
||||
LONG WINAPI TSPI_linePickup(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,DWORD dwAddressID,HTAPICALL htCall,LPHDRVCALL lphdCall,LPCWSTR lpszDestAddress,LPCWSTR lpszGroupID);
|
||||
LONG WINAPI TSPI_linePrepareAddToConference(DRV_REQUESTID dwRequestID,HDRVCALL hdConfCall,HTAPICALL htConsultCall,LPHDRVCALL lphdConsultCall,LPLINECALLPARAMS const lpCallParams);
|
||||
LONG WINAPI TSPI_lineRedirect(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPCWSTR lpszDestAddress,DWORD dwCountryCode);
|
||||
LONG WINAPI TSPI_lineReleaseUserUserInfo(DRV_REQUESTID dwRequestID,HDRVCALL hdCall);
|
||||
LONG WINAPI TSPI_lineRemoveFromConference(DRV_REQUESTID dwRequestID,HDRVCALL hdCall);
|
||||
LONG WINAPI TSPI_lineSecureCall(DRV_REQUESTID dwRequestID,HDRVCALL hdCall);
|
||||
LONG WINAPI TSPI_lineSelectExtVersion(HDRVLINE hdLine,DWORD dwExtVersion);
|
||||
LONG WINAPI TSPI_lineSendUserUserInfo(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPCSTR lpsUserUserInfo,DWORD dwSize);
|
||||
LONG WINAPI TSPI_lineSetAppSpecific(HDRVCALL hdCall,DWORD dwAppSpecific);
|
||||
LONG WINAPI TSPI_lineSetCallData(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPVOID lpCallData,DWORD dwSize);
|
||||
LONG WINAPI TSPI_lineSetCallHubTracking(HDRVLINE hdLine,LPLINECALLHUBTRACKINGINFO lpTrackingInfo);
|
||||
LONG WINAPI TSPI_lineSetCallParams(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,DWORD dwBearerMode,DWORD dwMinRate,DWORD dwMaxRate,LPLINEDIALPARAMS const lpDialParams);
|
||||
LONG WINAPI TSPI_lineSetCallQualityOfService(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,LPVOID lpSendingFlowspec,DWORD dwSendingFlowspecSize,LPVOID lpReceivingFlowspec,DWORD dwReceivingFlowspecSize);
|
||||
LONG WINAPI TSPI_lineSetCallTreatment(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,DWORD dwTreatment);
|
||||
LONG WINAPI TSPI_lineSetCurrentLocation(DWORD dwLocation);
|
||||
LONG WINAPI TSPI_lineSetDefaultMediaDetection(HDRVLINE hdLine,DWORD dwMediaModes);
|
||||
LONG WINAPI TSPI_lineSetDevConfig(DWORD dwDeviceID,LPVOID const lpDeviceConfig,DWORD dwSize,LPCWSTR lpszDeviceClass);
|
||||
LONG WINAPI TSPI_lineSetLineDevStatus(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,DWORD dwStatusToChange,DWORD fStatus);
|
||||
LONG WINAPI TSPI_lineSetMediaControl(HDRVLINE hdLine,DWORD dwAddressID,HDRVCALL hdCall,DWORD dwSelect,LPLINEMEDIACONTROLDIGIT const lpDigitList,DWORD dwDigitNumEntries,LPLINEMEDIACONTROLMEDIA const lpMediaList,DWORD dwMediaNumEntries,LPLINEMEDIACONTROLTONE const lpToneList,DWORD dwToneNumEntries,LPLINEMEDIACONTROLCALLSTATE const lpCallStateList,DWORD dwCallStateNumEntries);
|
||||
LONG WINAPI TSPI_lineSetMediaMode(HDRVCALL hdCall,DWORD dwMediaMode);
|
||||
LONG WINAPI TSPI_lineSetStatusMessages(HDRVLINE hdLine,DWORD dwLineStates,DWORD dwAddressStates);
|
||||
LONG WINAPI TSPI_lineSetTerminal(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,DWORD dwAddressID,HDRVCALL hdCall,DWORD dwSelect,DWORD dwTerminalModes,DWORD dwTerminalID,DWORD bEnable);
|
||||
LONG WINAPI TSPI_lineSetupConference(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,HDRVLINE hdLine,HTAPICALL htConfCall,LPHDRVCALL lphdConfCall,HTAPICALL htConsultCall,LPHDRVCALL lphdConsultCall,DWORD dwNumParties,LPLINECALLPARAMS const lpCallParams);
|
||||
LONG WINAPI TSPI_lineSetupTransfer(DRV_REQUESTID dwRequestID,HDRVCALL hdCall,HTAPICALL htConsultCall,LPHDRVCALL lphdConsultCall,LPLINECALLPARAMS const lpCallParams);
|
||||
LONG WINAPI TSPI_lineSwapHold(DRV_REQUESTID dwRequestID,HDRVCALL hdActiveCall,HDRVCALL hdHeldCall);
|
||||
LONG WINAPI TSPI_lineUncompleteCall(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,DWORD dwCompletionID);
|
||||
LONG WINAPI TSPI_lineUnhold(DRV_REQUESTID dwRequestID,HDRVCALL hdCall);
|
||||
LONG WINAPI TSPI_lineUnpark(DRV_REQUESTID dwRequestID,HDRVLINE hdLine,DWORD dwAddressID,HTAPICALL htCall,LPHDRVCALL lphdCall,LPCWSTR lpszDestAddress);
|
||||
LONG WINAPI TSPI_phoneClose(HDRVPHONE hdPhone);
|
||||
LONG WINAPI TSPI_phoneDevSpecific(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,LPVOID lpParams,DWORD dwSize);
|
||||
LONG WINAPI TSPI_phoneGetButtonInfo(HDRVPHONE hdPhone,DWORD dwButtonLampID,LPPHONEBUTTONINFO lpButtonInfo);
|
||||
LONG WINAPI TSPI_phoneGetData(HDRVPHONE hdPhone,DWORD dwDataID,LPVOID lpData,DWORD dwSize);
|
||||
LONG WINAPI TSPI_phoneGetDevCaps(DWORD dwDeviceID,DWORD dwTSPIVersion,DWORD dwExtVersion,LPPHONECAPS lpPhoneCaps);
|
||||
LONG WINAPI TSPI_phoneGetDisplay(HDRVPHONE hdPhone,LPVARSTRING lpDisplay);
|
||||
LONG WINAPI TSPI_phoneGetExtensionID(DWORD dwDeviceID,DWORD dwTSPIVersion,LPPHONEEXTENSIONID lpExtensionID);
|
||||
LONG WINAPI TSPI_phoneGetGain(HDRVPHONE hdPhone,DWORD dwHookSwitchDev,LPDWORD lpdwGain);
|
||||
LONG WINAPI TSPI_phoneGetHookSwitch(HDRVPHONE hdPhone,LPDWORD lpdwHookSwitchDevs);
|
||||
LONG WINAPI TSPI_phoneGetIcon(DWORD dwDeviceID,LPCWSTR lpszDeviceClass,LPHICON lphIcon);
|
||||
LONG WINAPI TSPI_phoneGetID(HDRVPHONE hdPhone,LPVARSTRING lpDeviceID,LPCWSTR lpszDeviceClass,HANDLE hTargetProcess);
|
||||
LONG WINAPI TSPI_phoneGetLamp(HDRVPHONE hdPhone,DWORD dwButtonLampID,LPDWORD lpdwLampMode);
|
||||
LONG WINAPI TSPI_phoneGetRing(HDRVPHONE hdPhone,LPDWORD lpdwRingMode,LPDWORD lpdwVolume);
|
||||
LONG WINAPI TSPI_phoneGetStatus(HDRVPHONE hdPhone,LPPHONESTATUS lpPhoneStatus);
|
||||
LONG WINAPI TSPI_phoneGetVolume(HDRVPHONE hdPhone,DWORD dwHookSwitchDev,LPDWORD lpdwVolume);
|
||||
LONG WINAPI TSPI_phoneNegotiateExtVersion(DWORD dwDeviceID,DWORD dwTSPIVersion,DWORD dwLowVersion,DWORD dwHighVersion,LPDWORD lpdwExtVersion);
|
||||
LONG WINAPI TSPI_phoneNegotiateTSPIVersion(DWORD dwDeviceID,DWORD dwLowVersion,DWORD dwHighVersion,LPDWORD lpdwTSPIVersion);
|
||||
LONG WINAPI TSPI_phoneOpen(DWORD dwDeviceID,HTAPIPHONE htPhone,LPHDRVPHONE lphdPhone,DWORD dwTSPIVersion,PHONEEVENT lpfnEventProc);
|
||||
LONG WINAPI TSPI_phoneSelectExtVersion(HDRVPHONE hdPhone,DWORD dwExtVersion);
|
||||
LONG WINAPI TSPI_phoneSetButtonInfo(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,DWORD dwButtonLampID,LPPHONEBUTTONINFO const lpButtonInfo);
|
||||
LONG WINAPI TSPI_phoneSetData(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,DWORD dwDataID,LPVOID const lpData,DWORD dwSize);
|
||||
LONG WINAPI TSPI_phoneSetDisplay(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,DWORD dwRow,DWORD dwColumn,LPCWSTR lpsDisplay,DWORD dwSize);
|
||||
LONG WINAPI TSPI_phoneSetGain(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,DWORD dwHookSwitchDev,DWORD dwGain);
|
||||
LONG WINAPI TSPI_phoneSetHookSwitch(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,DWORD dwHookSwitchDevs,DWORD dwHookSwitchMode);
|
||||
LONG WINAPI TSPI_phoneSetLamp(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,DWORD dwButtonLampID,DWORD dwLampMode);
|
||||
LONG WINAPI TSPI_phoneSetRing(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,DWORD dwRingMode,DWORD dwVolume);
|
||||
LONG WINAPI TSPI_phoneSetStatusMessages(HDRVPHONE hdPhone,DWORD dwPhoneStates,DWORD dwButtonModes,DWORD dwButtonStates);
|
||||
LONG WINAPI TSPI_phoneSetVolume(DRV_REQUESTID dwRequestID,HDRVPHONE hdPhone,DWORD dwHookSwitchDev,DWORD dwVolume);
|
||||
LONG WINAPI TSPI_providerConfig(HWND hwndOwner,DWORD dwPermanentProviderID);
|
||||
LONG WINAPI TSPI_providerCreateLineDevice(DWORD_PTR dwTempID,DWORD dwDeviceID);
|
||||
LONG WINAPI TSPI_providerCreatePhoneDevice(DWORD_PTR dwTempID,DWORD dwDeviceID);
|
||||
LONG WINAPI TSPI_providerEnumDevices(DWORD dwPermanentProviderID,LPDWORD lpdwNumLines,LPDWORD lpdwNumPhones,HPROVIDER hProvider,LINEEVENT lpfnLineCreateProc,PHONEEVENT lpfnPhoneCreateProc);
|
||||
LONG WINAPI TSPI_providerFreeDialogInstance(HDRVDIALOGINSTANCE hdDlgInst);
|
||||
LONG WINAPI TSPI_providerGenericDialogData(DWORD_PTR dwObjectID,DWORD dwObjectType,LPVOID lpParams,DWORD dwSize);
|
||||
LONG WINAPI TSPI_providerInit(DWORD dwTSPIVersion,DWORD dwPermanentProviderID,DWORD dwLineDeviceIDBase,DWORD dwPhoneDeviceIDBase,DWORD_PTR dwNumLines,DWORD_PTR dwNumPhones,ASYNC_COMPLETION lpfnCompletionProc,LPDWORD lpdwTSPIOptions);
|
||||
LONG WINAPI TSPI_providerInstall(HWND hwndOwner,DWORD dwPermanentProviderID);
|
||||
LONG WINAPI TSPI_providerRemove(HWND hwndOwner,DWORD dwPermanentProviderID);
|
||||
LONG WINAPI TSPI_providerShutdown(DWORD dwTSPIVersion,DWORD dwPermanentProviderID);
|
||||
LONG WINAPI TSPI_providerUIIdentify(LPWSTR lpszUIDLLName);
|
||||
LONG WINAPI TSPI_lineMSPIdentify(DWORD dwDeviceID,GUID *pCLSID);
|
||||
LONG WINAPI TSPI_lineCreateMSPInstance(HDRVLINE hdLine,DWORD dwAddressID,HTAPIMSPLINE htMSPLine,LPHDRVMSPLINE lphdMSPLine);
|
||||
LONG WINAPI TSPI_lineCloseMSPInstance(HDRVMSPLINE hdMSPLine);
|
||||
LONG WINAPI TSPI_lineReceiveMSPData(HDRVLINE hdLine,HDRVCALL hdCall,HDRVMSPLINE hdMSPLine,LPVOID pBuffer,DWORD dwSize);
|
||||
LONG WINAPI TUISPI_lineConfigDialog(TUISPIDLLCALLBACK lpfnUIDLLCallback,DWORD dwDeviceID,HWND hwndOwner,LPCWSTR lpszDeviceClass);
|
||||
LONG WINAPI TUISPI_lineConfigDialogEdit(TUISPIDLLCALLBACK lpfnUIDLLCallback,DWORD dwDeviceID,HWND hwndOwner,LPCWSTR lpszDeviceClass,LPVOID const lpDeviceConfigIn,DWORD dwSize,LPVARSTRING lpDeviceConfigOut);
|
||||
LONG WINAPI TUISPI_phoneConfigDialog(TUISPIDLLCALLBACK lpfnUIDLLCallback,DWORD dwDeviceID,HWND hwndOwner,LPCWSTR lpszDeviceClass);
|
||||
LONG WINAPI TUISPI_providerConfig(TUISPIDLLCALLBACK lpfnUIDLLCallback,HWND hwndOwner,DWORD dwPermanentProviderID);
|
||||
LONG WINAPI TUISPI_providerGenericDialog(TUISPIDLLCALLBACK lpfnUIDLLCallback,HTAPIDIALOGINSTANCE htDlgInst,LPVOID lpParams,DWORD dwSize,HANDLE hEvent);
|
||||
LONG WINAPI TUISPI_providerGenericDialogData(HTAPIDIALOGINSTANCE htDlgInst,LPVOID lpParams,DWORD dwSize);
|
||||
LONG WINAPI TUISPI_providerInstall(TUISPIDLLCALLBACK lpfnUIDLLCallback,HWND hwndOwner,DWORD dwPermanentProviderID);
|
||||
LONG WINAPI TUISPI_providerRemove(TUISPIDLLCALLBACK lpfnUIDLLCallback,HWND hwndOwner,DWORD dwPermanentProviderID);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,106 @@
|
||||
/**
|
||||
* 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_TSSBX
|
||||
#define _INC_TSSBX
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum _WTSSBX_ADDRESS_FAMILY {
|
||||
WTSSBX_ADDRESS_FAMILY_AF_UNSPEC = 0,
|
||||
WTSSBX_ADDRESS_FAMILY_AF_INET = 1,
|
||||
WTSSBX_ADDRESS_FAMILY_AF_INET6 = 2,
|
||||
WTSSBX_ADDRESS_FAMILY_AF_IPX = 3,
|
||||
WTSSBX_ADDRESS_FAMILY_AF_NETBIOS = 4
|
||||
} WTSSBX_ADDRESS_FAMILY;
|
||||
|
||||
typedef enum _WTSSBX_MACHINE_DRAIN {
|
||||
WTSSBX_MACHINE_DRAIN_UNSPEC = 0,
|
||||
WTSSBX_MACHINE_DRAIN_OFF = 1,
|
||||
WTSSBX_MACHINE_DRAIN_ON = 2
|
||||
} WTSSBX_MACHINE_DRAIN;
|
||||
|
||||
typedef enum _WTSSBX_NOTIFICATION_TYPE {
|
||||
WTSSBX_MACHINE_SESSION_MODE_UNSPEC = 0,
|
||||
WTSSBX_MACHINE_SESSION_MODE_SINGLE = 1,
|
||||
WTSSBX_MACHINE_SESSION_MODE_MULTIPLE = 2
|
||||
} WTSSBX_NOTIFICATION_TYPE;
|
||||
|
||||
typedef enum _WTSSBX_MACHINE_STATE {
|
||||
WTSSBX_MACHINE_STATE_UNSPEC = 0,
|
||||
WTSSBX_MACHINE_STATE_READY = 1,
|
||||
WTSSBX_MACHINE_STATE_SYNCHRONIZING = 2
|
||||
} WTSSBX_MACHINE_STATE;
|
||||
|
||||
typedef enum _WTSSBX_NOTIFICATION_TYPE {
|
||||
WTSSBX_NOTIFICATION_REMOVED = 1,
|
||||
WTSSBX_NOTIFICATION_CHANGED = 2,
|
||||
WTSSBX_NOTIFICATION_ADDED = 4,
|
||||
WTSSBX_NOTIFICATION_RESYNC = 8
|
||||
} WTSSBX_NOTIFICATION_TYPE;
|
||||
|
||||
typedef enum _WTSSBX_SESSION_STATE {
|
||||
WTSSBX_SESSION_STATE_UNSPEC = 0,
|
||||
WTSSBX_SESSION_STATE_ACTIVE = 1,
|
||||
WTSSBX_SESSION_STATE_DISCONNECTED = 2
|
||||
} WTSSBX_SESSION_STATE;
|
||||
|
||||
typedef struct _WTSSBX_IP_ADDRESS {
|
||||
WTSSBX_ADDRESS_FAMILY AddressFamily;
|
||||
BYTE Address[16];
|
||||
unsigned short PortNumber;
|
||||
DWORD dwScope;
|
||||
} WTSSBX_IP_ADDRESS;
|
||||
|
||||
#define MaxFQDN_Len 256
|
||||
#define MaxNetBiosName_Len 16
|
||||
|
||||
typedef struct _WTSSBX_MACHINE_CONNECT_INFO {
|
||||
WCHAR wczMachineFQDN[MaxFQDN_Len + 1];
|
||||
WCHAR wczMachineNetBiosName[MaxNetBiosName_Len + 1];
|
||||
DWORD dwNumOfIPAddr;
|
||||
WTSSBX_IP_ADDRESS IPaddr[MaxNumOfExposed_IPs];
|
||||
} WTSSBX_MACHINE_CONNECT_INFO;
|
||||
|
||||
#define MaxFarm_Len 256
|
||||
|
||||
typedef struct _WTSSBX_MACHINE_INFO {
|
||||
WTSSBX_MACHINE_CONNECT_INFO ClientConnectInfo;
|
||||
WCHAR wczFarmName[MaxFarm_Len + 1];
|
||||
WTSSBX_IP_ADDRESS InternalIPAddress;
|
||||
DWORD dwMaxSessionsLimit;
|
||||
DWORD ServerWeight;
|
||||
WTSSBX_MACHINE_SESSION_MODE SingleSessionMode;
|
||||
WTSSBX_MACHINE_DRAIN InDrain;
|
||||
WTSSBX_MACHINE_STATE MachineState;
|
||||
} WTSSBX_MACHINE_INFO;
|
||||
|
||||
#define MaxUserName_Len 104
|
||||
#define MaxDomainName_Len 256
|
||||
#define MaxAppName_Len 256
|
||||
|
||||
typedef struct _WTSSBX_SESSION_INFO {
|
||||
WCHAR wszUserName[MaxUserName_Len + 1];
|
||||
WCHAR wszDomainName[MaxDomainName_Len + 1];
|
||||
WCHAR ApplicationType[MaxAppName_Len + 1];
|
||||
DWORD dwSessionId;
|
||||
FILETIME CreateTime;
|
||||
FILETIME DisconnectTime;
|
||||
WTSSBX_SESSION_STATE SessionState;
|
||||
} WTSSBX_SESSION_INFO;
|
||||
|
||||
/* IID_IWTSSBPlugin is defined as DC44BE78-B18D-4399-B210-641BF67A002C */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*(_WIN32_WINNT >= 0x0600)*/
|
||||
|
||||
#endif /*_INC_TSSBX*/
|
||||
@@ -0,0 +1,261 @@
|
||||
/**
|
||||
* 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 __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
|
||||
#include "rpc.h"
|
||||
#include "rpcndr.h"
|
||||
|
||||
#ifndef __RPCNDR_H_VERSION__
|
||||
#error This stub requires an updated version of <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef __tsuserex_h__
|
||||
#define __tsuserex_h__
|
||||
|
||||
#ifndef __TSUserExInterfaces_FWD_DEFINED__
|
||||
#define __TSUserExInterfaces_FWD_DEFINED__
|
||||
#ifdef __cplusplus
|
||||
typedef class TSUserExInterfaces TSUserExInterfaces;
|
||||
#else
|
||||
typedef struct TSUserExInterfaces TSUserExInterfaces;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __IADsTSUserEx_FWD_DEFINED__
|
||||
#define __IADsTSUserEx_FWD_DEFINED__
|
||||
typedef struct IADsTSUserEx IADsTSUserEx;
|
||||
#endif
|
||||
|
||||
#ifndef __ADsTSUserEx_FWD_DEFINED__
|
||||
#define __ADsTSUserEx_FWD_DEFINED__
|
||||
|
||||
#ifdef __cplusplus
|
||||
typedef class ADsTSUserEx ADsTSUserEx;
|
||||
#else
|
||||
typedef struct ADsTSUserEx ADsTSUserEx;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "oaidl.h"
|
||||
#include "ocidl.h"
|
||||
#include "mmc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
#ifndef __MIDL_user_allocate_free_DEFINED__
|
||||
#define __MIDL_user_allocate_free_DEFINED__
|
||||
void *__RPC_API MIDL_user_allocate(size_t);
|
||||
void __RPC_API MIDL_user_free(void *);
|
||||
#endif
|
||||
|
||||
#ifndef __TSUSEREXLib_LIBRARY_DEFINED__
|
||||
#define __TSUSEREXLib_LIBRARY_DEFINED__
|
||||
|
||||
EXTERN_C const IID LIBID_TSUSEREXLib;
|
||||
EXTERN_C const CLSID CLSID_TSUserExInterfaces;
|
||||
|
||||
#ifdef __cplusplus
|
||||
class TSUserExInterfaces;
|
||||
#endif
|
||||
|
||||
#ifndef __IADsTSUserEx_INTERFACE_DEFINED__
|
||||
#define __IADsTSUserEx_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_IADsTSUserEx;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IADsTSUserEx : public IDispatch {
|
||||
public:
|
||||
virtual HRESULT WINAPI get_TerminalServicesProfilePath(BSTR *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_TerminalServicesProfilePath(BSTR pNewVal) = 0;
|
||||
virtual HRESULT WINAPI get_TerminalServicesHomeDirectory(BSTR *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_TerminalServicesHomeDirectory(BSTR pNewVal) = 0;
|
||||
virtual HRESULT WINAPI get_TerminalServicesHomeDrive(BSTR *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_TerminalServicesHomeDrive(BSTR pNewVal) = 0;
|
||||
virtual HRESULT WINAPI get_AllowLogon(LONG *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_AllowLogon(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_EnableRemoteControl(LONG *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_EnableRemoteControl(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_MaxDisconnectionTime(LONG *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_MaxDisconnectionTime(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_MaxConnectionTime(LONG *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_MaxConnectionTime(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_MaxIdleTime(LONG *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_MaxIdleTime(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_ReconnectionAction(LONG *pNewVal) = 0;
|
||||
virtual HRESULT WINAPI put_ReconnectionAction(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_BrokenConnectionAction(LONG *pNewVal) = 0;
|
||||
virtual HRESULT WINAPI put_BrokenConnectionAction(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_ConnectClientDrivesAtLogon(LONG *pNewVal) = 0;
|
||||
virtual HRESULT WINAPI put_ConnectClientDrivesAtLogon(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_ConnectClientPrintersAtLogon(LONG *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_ConnectClientPrintersAtLogon(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_DefaultToMainPrinter(LONG *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_DefaultToMainPrinter(LONG NewVal) = 0;
|
||||
virtual HRESULT WINAPI get_TerminalServicesWorkDirectory(BSTR *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_TerminalServicesWorkDirectory(BSTR pNewVal) = 0;
|
||||
virtual HRESULT WINAPI get_TerminalServicesInitialProgram(BSTR *pVal) = 0;
|
||||
virtual HRESULT WINAPI put_TerminalServicesInitialProgram(BSTR pNewVal) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct IADsTSUserExVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(IADsTSUserEx *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(IADsTSUserEx *This);
|
||||
ULONG (WINAPI *Release)(IADsTSUserEx *This);
|
||||
HRESULT (WINAPI *GetTypeInfoCount)(IADsTSUserEx *This,UINT *pctinfo);
|
||||
HRESULT (WINAPI *GetTypeInfo)(IADsTSUserEx *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
|
||||
HRESULT (WINAPI *GetIDsOfNames)(IADsTSUserEx *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
|
||||
HRESULT (WINAPI *Invoke)(IADsTSUserEx *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
|
||||
HRESULT (WINAPI *get_TerminalServicesProfilePath)(IADsTSUserEx *This,BSTR *pVal);
|
||||
HRESULT (WINAPI *put_TerminalServicesProfilePath)(IADsTSUserEx *This,BSTR pNewVal);
|
||||
HRESULT (WINAPI *get_TerminalServicesHomeDirectory)(IADsTSUserEx *This,BSTR *pVal);
|
||||
HRESULT (WINAPI *put_TerminalServicesHomeDirectory)(IADsTSUserEx *This,BSTR pNewVal);
|
||||
HRESULT (WINAPI *get_TerminalServicesHomeDrive)(IADsTSUserEx *This,BSTR *pVal);
|
||||
HRESULT (WINAPI *put_TerminalServicesHomeDrive)(IADsTSUserEx *This,BSTR pNewVal);
|
||||
HRESULT (WINAPI *get_AllowLogon)(IADsTSUserEx *This,LONG *pVal);
|
||||
HRESULT (WINAPI *put_AllowLogon)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_EnableRemoteControl)(IADsTSUserEx *This,LONG *pVal);
|
||||
HRESULT (WINAPI *put_EnableRemoteControl)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_MaxDisconnectionTime)(IADsTSUserEx *This,LONG *pVal);
|
||||
HRESULT (WINAPI *put_MaxDisconnectionTime)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_MaxConnectionTime)(IADsTSUserEx *This,LONG *pVal);
|
||||
HRESULT (WINAPI *put_MaxConnectionTime)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_MaxIdleTime)(IADsTSUserEx *This,LONG *pVal);
|
||||
HRESULT (WINAPI *put_MaxIdleTime)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_ReconnectionAction)(IADsTSUserEx *This,LONG *pNewVal);
|
||||
HRESULT (WINAPI *put_ReconnectionAction)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_BrokenConnectionAction)(IADsTSUserEx *This,LONG *pNewVal);
|
||||
HRESULT (WINAPI *put_BrokenConnectionAction)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_ConnectClientDrivesAtLogon)(IADsTSUserEx *This,LONG *pNewVal);
|
||||
HRESULT (WINAPI *put_ConnectClientDrivesAtLogon)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_ConnectClientPrintersAtLogon)(IADsTSUserEx *This,LONG *pVal);
|
||||
HRESULT (WINAPI *put_ConnectClientPrintersAtLogon)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_DefaultToMainPrinter)(IADsTSUserEx *This,LONG *pVal);
|
||||
HRESULT (WINAPI *put_DefaultToMainPrinter)(IADsTSUserEx *This,LONG NewVal);
|
||||
HRESULT (WINAPI *get_TerminalServicesWorkDirectory)(IADsTSUserEx *This,BSTR *pVal);
|
||||
HRESULT (WINAPI *put_TerminalServicesWorkDirectory)(IADsTSUserEx *This,BSTR pNewVal);
|
||||
HRESULT (WINAPI *get_TerminalServicesInitialProgram)(IADsTSUserEx *This,BSTR *pVal);
|
||||
HRESULT (WINAPI *put_TerminalServicesInitialProgram)(IADsTSUserEx *This,BSTR pNewVal);
|
||||
END_INTERFACE
|
||||
} IADsTSUserExVtbl;
|
||||
struct IADsTSUserEx {
|
||||
CONST_VTBL struct IADsTSUserExVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define IADsTSUserEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IADsTSUserEx_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IADsTSUserEx_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define IADsTSUserEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
||||
#define IADsTSUserEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
||||
#define IADsTSUserEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
||||
#define IADsTSUserEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
||||
#define IADsTSUserEx_get_TerminalServicesProfilePath(This,pVal) (This)->lpVtbl->get_TerminalServicesProfilePath(This,pVal)
|
||||
#define IADsTSUserEx_put_TerminalServicesProfilePath(This,pNewVal) (This)->lpVtbl->put_TerminalServicesProfilePath(This,pNewVal)
|
||||
#define IADsTSUserEx_get_TerminalServicesHomeDirectory(This,pVal) (This)->lpVtbl->get_TerminalServicesHomeDirectory(This,pVal)
|
||||
#define IADsTSUserEx_put_TerminalServicesHomeDirectory(This,pNewVal) (This)->lpVtbl->put_TerminalServicesHomeDirectory(This,pNewVal)
|
||||
#define IADsTSUserEx_get_TerminalServicesHomeDrive(This,pVal) (This)->lpVtbl->get_TerminalServicesHomeDrive(This,pVal)
|
||||
#define IADsTSUserEx_put_TerminalServicesHomeDrive(This,pNewVal) (This)->lpVtbl->put_TerminalServicesHomeDrive(This,pNewVal)
|
||||
#define IADsTSUserEx_get_AllowLogon(This,pVal) (This)->lpVtbl->get_AllowLogon(This,pVal)
|
||||
#define IADsTSUserEx_put_AllowLogon(This,NewVal) (This)->lpVtbl->put_AllowLogon(This,NewVal)
|
||||
#define IADsTSUserEx_get_EnableRemoteControl(This,pVal) (This)->lpVtbl->get_EnableRemoteControl(This,pVal)
|
||||
#define IADsTSUserEx_put_EnableRemoteControl(This,NewVal) (This)->lpVtbl->put_EnableRemoteControl(This,NewVal)
|
||||
#define IADsTSUserEx_get_MaxDisconnectionTime(This,pVal) (This)->lpVtbl->get_MaxDisconnectionTime(This,pVal)
|
||||
#define IADsTSUserEx_put_MaxDisconnectionTime(This,NewVal) (This)->lpVtbl->put_MaxDisconnectionTime(This,NewVal)
|
||||
#define IADsTSUserEx_get_MaxConnectionTime(This,pVal) (This)->lpVtbl->get_MaxConnectionTime(This,pVal)
|
||||
#define IADsTSUserEx_put_MaxConnectionTime(This,NewVal) (This)->lpVtbl->put_MaxConnectionTime(This,NewVal)
|
||||
#define IADsTSUserEx_get_MaxIdleTime(This,pVal) (This)->lpVtbl->get_MaxIdleTime(This,pVal)
|
||||
#define IADsTSUserEx_put_MaxIdleTime(This,NewVal) (This)->lpVtbl->put_MaxIdleTime(This,NewVal)
|
||||
#define IADsTSUserEx_get_ReconnectionAction(This,pNewVal) (This)->lpVtbl->get_ReconnectionAction(This,pNewVal)
|
||||
#define IADsTSUserEx_put_ReconnectionAction(This,NewVal) (This)->lpVtbl->put_ReconnectionAction(This,NewVal)
|
||||
#define IADsTSUserEx_get_BrokenConnectionAction(This,pNewVal) (This)->lpVtbl->get_BrokenConnectionAction(This,pNewVal)
|
||||
#define IADsTSUserEx_put_BrokenConnectionAction(This,NewVal) (This)->lpVtbl->put_BrokenConnectionAction(This,NewVal)
|
||||
#define IADsTSUserEx_get_ConnectClientDrivesAtLogon(This,pNewVal) (This)->lpVtbl->get_ConnectClientDrivesAtLogon(This,pNewVal)
|
||||
#define IADsTSUserEx_put_ConnectClientDrivesAtLogon(This,NewVal) (This)->lpVtbl->put_ConnectClientDrivesAtLogon(This,NewVal)
|
||||
#define IADsTSUserEx_get_ConnectClientPrintersAtLogon(This,pVal) (This)->lpVtbl->get_ConnectClientPrintersAtLogon(This,pVal)
|
||||
#define IADsTSUserEx_put_ConnectClientPrintersAtLogon(This,NewVal) (This)->lpVtbl->put_ConnectClientPrintersAtLogon(This,NewVal)
|
||||
#define IADsTSUserEx_get_DefaultToMainPrinter(This,pVal) (This)->lpVtbl->get_DefaultToMainPrinter(This,pVal)
|
||||
#define IADsTSUserEx_put_DefaultToMainPrinter(This,NewVal) (This)->lpVtbl->put_DefaultToMainPrinter(This,NewVal)
|
||||
#define IADsTSUserEx_get_TerminalServicesWorkDirectory(This,pVal) (This)->lpVtbl->get_TerminalServicesWorkDirectory(This,pVal)
|
||||
#define IADsTSUserEx_put_TerminalServicesWorkDirectory(This,pNewVal) (This)->lpVtbl->put_TerminalServicesWorkDirectory(This,pNewVal)
|
||||
#define IADsTSUserEx_get_TerminalServicesInitialProgram(This,pVal) (This)->lpVtbl->get_TerminalServicesInitialProgram(This,pVal)
|
||||
#define IADsTSUserEx_put_TerminalServicesInitialProgram(This,pNewVal) (This)->lpVtbl->put_TerminalServicesInitialProgram(This,pNewVal)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI IADsTSUserEx_get_TerminalServicesProfilePath_Proxy(IADsTSUserEx *This,BSTR *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_TerminalServicesProfilePath_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_TerminalServicesProfilePath_Proxy(IADsTSUserEx *This,BSTR pNewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_TerminalServicesProfilePath_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_TerminalServicesHomeDirectory_Proxy(IADsTSUserEx *This,BSTR *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_TerminalServicesHomeDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_TerminalServicesHomeDirectory_Proxy(IADsTSUserEx *This,BSTR pNewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_TerminalServicesHomeDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_TerminalServicesHomeDrive_Proxy(IADsTSUserEx *This,BSTR *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_TerminalServicesHomeDrive_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_TerminalServicesHomeDrive_Proxy(IADsTSUserEx *This,BSTR pNewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_TerminalServicesHomeDrive_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_AllowLogon_Proxy(IADsTSUserEx *This,LONG *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_AllowLogon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_AllowLogon_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_AllowLogon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_EnableRemoteControl_Proxy(IADsTSUserEx *This,LONG *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_EnableRemoteControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_EnableRemoteControl_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_EnableRemoteControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_MaxDisconnectionTime_Proxy(IADsTSUserEx *This,LONG *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_MaxDisconnectionTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_MaxDisconnectionTime_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_MaxDisconnectionTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_MaxConnectionTime_Proxy(IADsTSUserEx *This,LONG *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_MaxConnectionTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_MaxConnectionTime_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_MaxConnectionTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_MaxIdleTime_Proxy(IADsTSUserEx *This,LONG *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_MaxIdleTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_MaxIdleTime_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_MaxIdleTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_ReconnectionAction_Proxy(IADsTSUserEx *This,LONG *pNewVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_ReconnectionAction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_ReconnectionAction_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_ReconnectionAction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_BrokenConnectionAction_Proxy(IADsTSUserEx *This,LONG *pNewVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_BrokenConnectionAction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_BrokenConnectionAction_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_BrokenConnectionAction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_ConnectClientDrivesAtLogon_Proxy(IADsTSUserEx *This,LONG *pNewVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_ConnectClientDrivesAtLogon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_ConnectClientDrivesAtLogon_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_ConnectClientDrivesAtLogon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_ConnectClientPrintersAtLogon_Proxy(IADsTSUserEx *This,LONG *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_ConnectClientPrintersAtLogon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_ConnectClientPrintersAtLogon_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_ConnectClientPrintersAtLogon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_DefaultToMainPrinter_Proxy(IADsTSUserEx *This,LONG *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_DefaultToMainPrinter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_DefaultToMainPrinter_Proxy(IADsTSUserEx *This,LONG NewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_DefaultToMainPrinter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_TerminalServicesWorkDirectory_Proxy(IADsTSUserEx *This,BSTR *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_TerminalServicesWorkDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_TerminalServicesWorkDirectory_Proxy(IADsTSUserEx *This,BSTR pNewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_TerminalServicesWorkDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_get_TerminalServicesInitialProgram_Proxy(IADsTSUserEx *This,BSTR *pVal);
|
||||
void __RPC_STUB IADsTSUserEx_get_TerminalServicesInitialProgram_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IADsTSUserEx_put_TerminalServicesInitialProgram_Proxy(IADsTSUserEx *This,BSTR pNewVal);
|
||||
void __RPC_STUB IADsTSUserEx_put_TerminalServicesInitialProgram_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
EXTERN_C const CLSID CLSID_ADsTSUserEx;
|
||||
#ifdef __cplusplus
|
||||
class ADsTSUserEx;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifdef _MIDL_USE_GUIDDEF_
|
||||
|
||||
#ifndef INITGUID
|
||||
#define INITGUID
|
||||
#include <guiddef.h>
|
||||
#undef INITGUID
|
||||
#else
|
||||
#include <guiddef.h>
|
||||
#endif
|
||||
|
||||
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
|
||||
#else
|
||||
|
||||
#ifndef __IID_DEFINED__
|
||||
#define __IID_DEFINED__
|
||||
typedef struct _IID {
|
||||
unsigned long x;
|
||||
unsigned short s1;
|
||||
unsigned short s2;
|
||||
unsigned char c[8];
|
||||
} IID;
|
||||
#endif
|
||||
|
||||
#ifndef CLSID_DEFINED
|
||||
#define CLSID_DEFINED
|
||||
typedef IID CLSID;
|
||||
#endif
|
||||
|
||||
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
|
||||
#endif
|
||||
|
||||
MIDL_DEFINE_GUID(IID,LIBID_TSUSEREXLib,0x45413F04,0xDF86,0x11D1,0xAE,0x27,0x00,0xC0,0x4F,0xA3,0x58,0x13);
|
||||
MIDL_DEFINE_GUID(CLSID,CLSID_TSUserExInterfaces,0x0910dd01,0xdf8c,0x11d1,0xae,0x27,0x00,0xc0,0x4f,0xa3,0x58,0x13);
|
||||
MIDL_DEFINE_GUID(IID,IID_IADsTSUserEx,0xC4930E79,0x2989,0x4462,0x8A,0x60,0x2F,0xCF,0x2F,0x29,0x55,0xEF);
|
||||
MIDL_DEFINE_GUID(CLSID,CLSID_ADsTSUserEx,0xE2E9CAE6,0x1E7B,0x4B8E,0xBA,0xBD,0xE9,0xBF,0x62,0x92,0xAC,0x29);
|
||||
|
||||
#undef MIDL_DEFINE_GUID
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
17749
tools/zig-x86_64-windows-0.14.1/lib/libc/include/any-windows-any/tuner.h
Normal file
17749
tools/zig-x86_64-windows-0.14.1/lib/libc/include/any-windows-any/tuner.h
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,79 @@
|
||||
/**
|
||||
* 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 __TVOUT__
|
||||
#define __TVOUT__
|
||||
|
||||
#include <guiddef.h>
|
||||
|
||||
typedef struct _VIDEOPARAMETERS {
|
||||
GUID Guid;
|
||||
ULONG dwOffset;
|
||||
ULONG dwCommand;
|
||||
ULONG dwFlags;
|
||||
ULONG dwMode;
|
||||
ULONG dwTVStandard;
|
||||
ULONG dwAvailableModes;
|
||||
ULONG dwAvailableTVStandard;
|
||||
ULONG dwFlickerFilter;
|
||||
ULONG dwOverScanX;
|
||||
ULONG dwOverScanY;
|
||||
ULONG dwMaxUnscaledX;
|
||||
ULONG dwMaxUnscaledY;
|
||||
ULONG dwPositionX;
|
||||
ULONG dwPositionY;
|
||||
ULONG dwBrightness;
|
||||
ULONG dwContrast;
|
||||
ULONG dwCPType;
|
||||
ULONG dwCPCommand;
|
||||
ULONG dwCPStandard;
|
||||
ULONG dwCPKey;
|
||||
ULONG bCP_APSTriggerBits;
|
||||
UCHAR bOEMCopyProtection[256];
|
||||
} VIDEOPARAMETERS,*PVIDEOPARAMETERS,*LPVIDEOPARAMETERS;
|
||||
|
||||
#define VP_COMMAND_GET 0x0001
|
||||
#define VP_COMMAND_SET 0x0002
|
||||
|
||||
#define VP_FLAGS_TV_MODE 0x0001
|
||||
#define VP_FLAGS_TV_STANDARD 0x0002
|
||||
#define VP_FLAGS_FLICKER 0x0004
|
||||
#define VP_FLAGS_OVERSCAN 0x0008
|
||||
#define VP_FLAGS_MAX_UNSCALED 0x0010
|
||||
#define VP_FLAGS_POSITION 0x0020
|
||||
#define VP_FLAGS_BRIGHTNESS 0x0040
|
||||
#define VP_FLAGS_CONTRAST 0x0080
|
||||
#define VP_FLAGS_COPYPROTECT 0x0100
|
||||
|
||||
#define VP_MODE_WIN_GRAPHICS 0x0001
|
||||
#define VP_MODE_TV_PLAYBACK 0x0002
|
||||
|
||||
#define VP_TV_STANDARD_NTSC_M 0x0001
|
||||
#define VP_TV_STANDARD_NTSC_M_J 0x0002
|
||||
#define VP_TV_STANDARD_PAL_B 0x0004
|
||||
#define VP_TV_STANDARD_PAL_D 0x0008
|
||||
#define VP_TV_STANDARD_PAL_H 0x0010
|
||||
#define VP_TV_STANDARD_PAL_I 0x0020
|
||||
#define VP_TV_STANDARD_PAL_M 0x0040
|
||||
#define VP_TV_STANDARD_PAL_N 0x0080
|
||||
#define VP_TV_STANDARD_SECAM_B 0x0100
|
||||
#define VP_TV_STANDARD_SECAM_D 0x0200
|
||||
#define VP_TV_STANDARD_SECAM_G 0x0400
|
||||
#define VP_TV_STANDARD_SECAM_H 0x0800
|
||||
#define VP_TV_STANDARD_SECAM_K 0x1000
|
||||
#define VP_TV_STANDARD_SECAM_K1 0x2000
|
||||
#define VP_TV_STANDARD_SECAM_L 0x4000
|
||||
#define VP_TV_STANDARD_WIN_VGA 0x8000
|
||||
#define VP_TV_STANDARD_NTSC_433 0x00010000
|
||||
#define VP_TV_STANDARD_PAL_G 0x00020000
|
||||
#define VP_TV_STANDARD_PAL_60 0x00040000
|
||||
#define VP_TV_STANDARD_SECAM_L1 0x00080000
|
||||
|
||||
#define VP_CP_TYPE_APS_TRIGGER 0x0001
|
||||
#define VP_CP_TYPE_MACROVISION 0x0002
|
||||
#define VP_CP_CMD_ACTIVATE 0x0001
|
||||
#define VP_CP_CMD_DEACTIVATE 0x0002
|
||||
#define VP_CP_CMD_CHANGE 0x0004
|
||||
#endif
|
||||
@@ -0,0 +1,764 @@
|
||||
/**
|
||||
* 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 __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
|
||||
#include "rpc.h"
|
||||
#include "rpcndr.h"
|
||||
|
||||
#ifndef __RPCNDR_H_VERSION__
|
||||
#error This stub requires an updated version of <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include "windows.h"
|
||||
#include "ole2.h"
|
||||
#endif
|
||||
|
||||
#ifndef __txcoord_h__
|
||||
#define __txcoord_h__
|
||||
|
||||
#ifndef __ITransactionResourceAsync_FWD_DEFINED__
|
||||
#define __ITransactionResourceAsync_FWD_DEFINED__
|
||||
typedef struct ITransactionResourceAsync ITransactionResourceAsync;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionLastResourceAsync_FWD_DEFINED__
|
||||
#define __ITransactionLastResourceAsync_FWD_DEFINED__
|
||||
typedef struct ITransactionLastResourceAsync ITransactionLastResourceAsync;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionResource_FWD_DEFINED__
|
||||
#define __ITransactionResource_FWD_DEFINED__
|
||||
typedef struct ITransactionResource ITransactionResource;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionEnlistmentAsync_FWD_DEFINED__
|
||||
#define __ITransactionEnlistmentAsync_FWD_DEFINED__
|
||||
typedef struct ITransactionEnlistmentAsync ITransactionEnlistmentAsync;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionLastEnlistmentAsync_FWD_DEFINED__
|
||||
#define __ITransactionLastEnlistmentAsync_FWD_DEFINED__
|
||||
typedef struct ITransactionLastEnlistmentAsync ITransactionLastEnlistmentAsync;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionExportFactory_FWD_DEFINED__
|
||||
#define __ITransactionExportFactory_FWD_DEFINED__
|
||||
typedef struct ITransactionExportFactory ITransactionExportFactory;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionImportWhereabouts_FWD_DEFINED__
|
||||
#define __ITransactionImportWhereabouts_FWD_DEFINED__
|
||||
typedef struct ITransactionImportWhereabouts ITransactionImportWhereabouts;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionExport_FWD_DEFINED__
|
||||
#define __ITransactionExport_FWD_DEFINED__
|
||||
typedef struct ITransactionExport ITransactionExport;
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionImport_FWD_DEFINED__
|
||||
#define __ITransactionImport_FWD_DEFINED__
|
||||
typedef struct ITransactionImport ITransactionImport;
|
||||
#endif
|
||||
|
||||
#ifndef __ITipTransaction_FWD_DEFINED__
|
||||
#define __ITipTransaction_FWD_DEFINED__
|
||||
typedef struct ITipTransaction ITipTransaction;
|
||||
#endif
|
||||
|
||||
#ifndef __ITipHelper_FWD_DEFINED__
|
||||
#define __ITipHelper_FWD_DEFINED__
|
||||
typedef struct ITipHelper ITipHelper;
|
||||
#endif
|
||||
|
||||
#ifndef __ITipPullSink_FWD_DEFINED__
|
||||
#define __ITipPullSink_FWD_DEFINED__
|
||||
typedef struct ITipPullSink ITipPullSink;
|
||||
#endif
|
||||
|
||||
#ifndef __IDtcNetworkAccessConfig_FWD_DEFINED__
|
||||
#define __IDtcNetworkAccessConfig_FWD_DEFINED__
|
||||
typedef struct IDtcNetworkAccessConfig IDtcNetworkAccessConfig;
|
||||
#endif
|
||||
|
||||
#ifndef __IDtcNetworkAccessConfig2_FWD_DEFINED__
|
||||
#define __IDtcNetworkAccessConfig2_FWD_DEFINED__
|
||||
typedef struct IDtcNetworkAccessConfig2 IDtcNetworkAccessConfig2;
|
||||
#endif
|
||||
|
||||
#include "transact.h"
|
||||
#include "objidl.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef __MIDL_user_allocate_free_DEFINED__
|
||||
#define __MIDL_user_allocate_free_DEFINED__
|
||||
void *__RPC_API MIDL_user_allocate(size_t);
|
||||
void __RPC_API MIDL_user_free(void *);
|
||||
#endif
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_txcoord_0000_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_txcoord_0000_v0_0_s_ifspec;
|
||||
|
||||
#ifndef __ITransactionResourceAsync_INTERFACE_DEFINED__
|
||||
#define __ITransactionResourceAsync_INTERFACE_DEFINED__
|
||||
|
||||
EXTERN_C const IID IID_ITransactionResourceAsync;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionResourceAsync : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI PrepareRequest(WINBOOL fRetaining,DWORD grfRM,WINBOOL fWantMoniker,WINBOOL fSinglePhase) = 0;
|
||||
virtual HRESULT WINAPI CommitRequest(DWORD grfRM,XACTUOW *pNewUOW) = 0;
|
||||
virtual HRESULT WINAPI AbortRequest(BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW) = 0;
|
||||
virtual HRESULT WINAPI TMDown(void) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionResourceAsyncVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionResourceAsync *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionResourceAsync *This);
|
||||
ULONG (WINAPI *Release)(ITransactionResourceAsync *This);
|
||||
HRESULT (WINAPI *PrepareRequest)(ITransactionResourceAsync *This,WINBOOL fRetaining,DWORD grfRM,WINBOOL fWantMoniker,WINBOOL fSinglePhase);
|
||||
HRESULT (WINAPI *CommitRequest)(ITransactionResourceAsync *This,DWORD grfRM,XACTUOW *pNewUOW);
|
||||
HRESULT (WINAPI *AbortRequest)(ITransactionResourceAsync *This,BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW);
|
||||
HRESULT (WINAPI *TMDown)(ITransactionResourceAsync *This);
|
||||
END_INTERFACE
|
||||
} ITransactionResourceAsyncVtbl;
|
||||
struct ITransactionResourceAsync {
|
||||
CONST_VTBL struct ITransactionResourceAsyncVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionResourceAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionResourceAsync_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionResourceAsync_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionResourceAsync_PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase) (This)->lpVtbl->PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase)
|
||||
#define ITransactionResourceAsync_CommitRequest(This,grfRM,pNewUOW) (This)->lpVtbl->CommitRequest(This,grfRM,pNewUOW)
|
||||
#define ITransactionResourceAsync_AbortRequest(This,pboidReason,fRetaining,pNewUOW) (This)->lpVtbl->AbortRequest(This,pboidReason,fRetaining,pNewUOW)
|
||||
#define ITransactionResourceAsync_TMDown(This) (This)->lpVtbl->TMDown(This)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionResourceAsync_PrepareRequest_Proxy(ITransactionResourceAsync *This,WINBOOL fRetaining,DWORD grfRM,WINBOOL fWantMoniker,WINBOOL fSinglePhase);
|
||||
void __RPC_STUB ITransactionResourceAsync_PrepareRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionResourceAsync_CommitRequest_Proxy(ITransactionResourceAsync *This,DWORD grfRM,XACTUOW *pNewUOW);
|
||||
void __RPC_STUB ITransactionResourceAsync_CommitRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionResourceAsync_AbortRequest_Proxy(ITransactionResourceAsync *This,BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW);
|
||||
void __RPC_STUB ITransactionResourceAsync_AbortRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionResourceAsync_TMDown_Proxy(ITransactionResourceAsync *This);
|
||||
void __RPC_STUB ITransactionResourceAsync_TMDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionLastResourceAsync_INTERFACE_DEFINED__
|
||||
#define __ITransactionLastResourceAsync_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionLastResourceAsync;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionLastResourceAsync : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI DelegateCommit(DWORD grfRM) = 0;
|
||||
virtual HRESULT WINAPI ForgetRequest(XACTUOW *pNewUOW) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionLastResourceAsyncVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionLastResourceAsync *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionLastResourceAsync *This);
|
||||
ULONG (WINAPI *Release)(ITransactionLastResourceAsync *This);
|
||||
HRESULT (WINAPI *DelegateCommit)(ITransactionLastResourceAsync *This,DWORD grfRM);
|
||||
HRESULT (WINAPI *ForgetRequest)(ITransactionLastResourceAsync *This,XACTUOW *pNewUOW);
|
||||
END_INTERFACE
|
||||
} ITransactionLastResourceAsyncVtbl;
|
||||
struct ITransactionLastResourceAsync {
|
||||
CONST_VTBL struct ITransactionLastResourceAsyncVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionLastResourceAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionLastResourceAsync_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionLastResourceAsync_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionLastResourceAsync_DelegateCommit(This,grfRM) (This)->lpVtbl->DelegateCommit(This,grfRM)
|
||||
#define ITransactionLastResourceAsync_ForgetRequest(This,pNewUOW) (This)->lpVtbl->ForgetRequest(This,pNewUOW)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionLastResourceAsync_DelegateCommit_Proxy(ITransactionLastResourceAsync *This,DWORD grfRM);
|
||||
void __RPC_STUB ITransactionLastResourceAsync_DelegateCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionLastResourceAsync_ForgetRequest_Proxy(ITransactionLastResourceAsync *This,XACTUOW *pNewUOW);
|
||||
void __RPC_STUB ITransactionLastResourceAsync_ForgetRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionResource_INTERFACE_DEFINED__
|
||||
#define __ITransactionResource_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionResource;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionResource : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI PrepareRequest(WINBOOL fRetaining,DWORD grfRM,WINBOOL fWantMoniker,WINBOOL fSinglePhase) = 0;
|
||||
virtual HRESULT WINAPI CommitRequest(DWORD grfRM,XACTUOW *pNewUOW) = 0;
|
||||
virtual HRESULT WINAPI AbortRequest(BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW) = 0;
|
||||
virtual HRESULT WINAPI TMDown(void) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionResourceVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionResource *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionResource *This);
|
||||
ULONG (WINAPI *Release)(ITransactionResource *This);
|
||||
HRESULT (WINAPI *PrepareRequest)(ITransactionResource *This,WINBOOL fRetaining,DWORD grfRM,WINBOOL fWantMoniker,WINBOOL fSinglePhase);
|
||||
HRESULT (WINAPI *CommitRequest)(ITransactionResource *This,DWORD grfRM,XACTUOW *pNewUOW);
|
||||
HRESULT (WINAPI *AbortRequest)(ITransactionResource *This,BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW);
|
||||
HRESULT (WINAPI *TMDown)(ITransactionResource *This);
|
||||
END_INTERFACE
|
||||
} ITransactionResourceVtbl;
|
||||
struct ITransactionResource {
|
||||
CONST_VTBL struct ITransactionResourceVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionResource_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionResource_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionResource_PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase) (This)->lpVtbl->PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase)
|
||||
#define ITransactionResource_CommitRequest(This,grfRM,pNewUOW) (This)->lpVtbl->CommitRequest(This,grfRM,pNewUOW)
|
||||
#define ITransactionResource_AbortRequest(This,pboidReason,fRetaining,pNewUOW) (This)->lpVtbl->AbortRequest(This,pboidReason,fRetaining,pNewUOW)
|
||||
#define ITransactionResource_TMDown(This) (This)->lpVtbl->TMDown(This)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionResource_PrepareRequest_Proxy(ITransactionResource *This,WINBOOL fRetaining,DWORD grfRM,WINBOOL fWantMoniker,WINBOOL fSinglePhase);
|
||||
void __RPC_STUB ITransactionResource_PrepareRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionResource_CommitRequest_Proxy(ITransactionResource *This,DWORD grfRM,XACTUOW *pNewUOW);
|
||||
void __RPC_STUB ITransactionResource_CommitRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionResource_AbortRequest_Proxy(ITransactionResource *This,BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW);
|
||||
void __RPC_STUB ITransactionResource_AbortRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionResource_TMDown_Proxy(ITransactionResource *This);
|
||||
void __RPC_STUB ITransactionResource_TMDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionEnlistmentAsync_INTERFACE_DEFINED__
|
||||
#define __ITransactionEnlistmentAsync_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionEnlistmentAsync;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionEnlistmentAsync : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI PrepareRequestDone(HRESULT hr,IMoniker *pmk,BOID *pboidReason) = 0;
|
||||
virtual HRESULT WINAPI CommitRequestDone(HRESULT hr) = 0;
|
||||
virtual HRESULT WINAPI AbortRequestDone(HRESULT hr) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionEnlistmentAsyncVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionEnlistmentAsync *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionEnlistmentAsync *This);
|
||||
ULONG (WINAPI *Release)(ITransactionEnlistmentAsync *This);
|
||||
HRESULT (WINAPI *PrepareRequestDone)(ITransactionEnlistmentAsync *This,HRESULT hr,IMoniker *pmk,BOID *pboidReason);
|
||||
HRESULT (WINAPI *CommitRequestDone)(ITransactionEnlistmentAsync *This,HRESULT hr);
|
||||
HRESULT (WINAPI *AbortRequestDone)(ITransactionEnlistmentAsync *This,HRESULT hr);
|
||||
END_INTERFACE
|
||||
} ITransactionEnlistmentAsyncVtbl;
|
||||
struct ITransactionEnlistmentAsync {
|
||||
CONST_VTBL struct ITransactionEnlistmentAsyncVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionEnlistmentAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionEnlistmentAsync_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionEnlistmentAsync_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionEnlistmentAsync_PrepareRequestDone(This,hr,pmk,pboidReason) (This)->lpVtbl->PrepareRequestDone(This,hr,pmk,pboidReason)
|
||||
#define ITransactionEnlistmentAsync_CommitRequestDone(This,hr) (This)->lpVtbl->CommitRequestDone(This,hr)
|
||||
#define ITransactionEnlistmentAsync_AbortRequestDone(This,hr) (This)->lpVtbl->AbortRequestDone(This,hr)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionEnlistmentAsync_PrepareRequestDone_Proxy(ITransactionEnlistmentAsync *This,HRESULT hr,IMoniker *pmk,BOID *pboidReason);
|
||||
void __RPC_STUB ITransactionEnlistmentAsync_PrepareRequestDone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionEnlistmentAsync_CommitRequestDone_Proxy(ITransactionEnlistmentAsync *This,HRESULT hr);
|
||||
void __RPC_STUB ITransactionEnlistmentAsync_CommitRequestDone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionEnlistmentAsync_AbortRequestDone_Proxy(ITransactionEnlistmentAsync *This,HRESULT hr);
|
||||
void __RPC_STUB ITransactionEnlistmentAsync_AbortRequestDone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionLastEnlistmentAsync_INTERFACE_DEFINED__
|
||||
#define __ITransactionLastEnlistmentAsync_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionLastEnlistmentAsync;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionLastEnlistmentAsync : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI TransactionOutcome(XACTSTAT XactStat,BOID *pboidReason) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionLastEnlistmentAsyncVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionLastEnlistmentAsync *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionLastEnlistmentAsync *This);
|
||||
ULONG (WINAPI *Release)(ITransactionLastEnlistmentAsync *This);
|
||||
HRESULT (WINAPI *TransactionOutcome)(ITransactionLastEnlistmentAsync *This,XACTSTAT XactStat,BOID *pboidReason);
|
||||
END_INTERFACE
|
||||
} ITransactionLastEnlistmentAsyncVtbl;
|
||||
struct ITransactionLastEnlistmentAsync {
|
||||
CONST_VTBL struct ITransactionLastEnlistmentAsyncVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
define ITransactionLastEnlistmentAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionLastEnlistmentAsync_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionLastEnlistmentAsync_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionLastEnlistmentAsync_TransactionOutcome(This,XactStat,pboidReason) (This)->lpVtbl->TransactionOutcome(This,XactStat,pboidReason)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionLastEnlistmentAsync_TransactionOutcome_Proxy(ITransactionLastEnlistmentAsync *This,XACTSTAT XactStat,BOID *pboidReason);
|
||||
void __RPC_STUB ITransactionLastEnlistmentAsync_TransactionOutcome_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionExportFactory_INTERFACE_DEFINED__
|
||||
#define __ITransactionExportFactory_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionExportFactory;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionExportFactory : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetRemoteClassId(CLSID *pclsid) = 0;
|
||||
virtual HRESULT WINAPI Create(ULONG cbWhereabouts,byte *rgbWhereabouts,ITransactionExport **ppExport) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionExportFactoryVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionExportFactory *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionExportFactory *This);
|
||||
ULONG (WINAPI *Release)(ITransactionExportFactory *This);
|
||||
HRESULT (WINAPI *GetRemoteClassId)(ITransactionExportFactory *This,CLSID *pclsid);
|
||||
HRESULT (WINAPI *Create)(ITransactionExportFactory *This,ULONG cbWhereabouts,byte *rgbWhereabouts,ITransactionExport **ppExport);
|
||||
END_INTERFACE
|
||||
} ITransactionExportFactoryVtbl;
|
||||
struct ITransactionExportFactory {
|
||||
CONST_VTBL struct ITransactionExportFactoryVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionExportFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionExportFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionExportFactory_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionExportFactory_GetRemoteClassId(This,pclsid) (This)->lpVtbl->GetRemoteClassId(This,pclsid)
|
||||
#define ITransactionExportFactory_Create(This,cbWhereabouts,rgbWhereabouts,ppExport) (This)->lpVtbl->Create(This,cbWhereabouts,rgbWhereabouts,ppExport)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionExportFactory_GetRemoteClassId_Proxy(ITransactionExportFactory *This,CLSID *pclsid);
|
||||
void __RPC_STUB ITransactionExportFactory_GetRemoteClassId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionExportFactory_Create_Proxy(ITransactionExportFactory *This,ULONG cbWhereabouts,byte *rgbWhereabouts,ITransactionExport **ppExport);
|
||||
void __RPC_STUB ITransactionExportFactory_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionImportWhereabouts_INTERFACE_DEFINED__
|
||||
#define __ITransactionImportWhereabouts_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionImportWhereabouts;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionImportWhereabouts : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetWhereaboutsSize(ULONG *pcbWhereabouts) = 0;
|
||||
virtual HRESULT WINAPI GetWhereabouts(ULONG cbWhereabouts,byte *rgbWhereabouts,ULONG *pcbUsed) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionImportWhereaboutsVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionImportWhereabouts *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionImportWhereabouts *This);
|
||||
ULONG (WINAPI *Release)(ITransactionImportWhereabouts *This);
|
||||
HRESULT (WINAPI *GetWhereaboutsSize)(ITransactionImportWhereabouts *This,ULONG *pcbWhereabouts);
|
||||
HRESULT (WINAPI *GetWhereabouts)(ITransactionImportWhereabouts *This,ULONG cbWhereabouts,byte *rgbWhereabouts,ULONG *pcbUsed);
|
||||
END_INTERFACE
|
||||
} ITransactionImportWhereaboutsVtbl;
|
||||
struct ITransactionImportWhereabouts {
|
||||
CONST_VTBL struct ITransactionImportWhereaboutsVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionImportWhereabouts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionImportWhereabouts_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionImportWhereabouts_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionImportWhereabouts_GetWhereaboutsSize(This,pcbWhereabouts) (This)->lpVtbl->GetWhereaboutsSize(This,pcbWhereabouts)
|
||||
#define ITransactionImportWhereabouts_GetWhereabouts(This,cbWhereabouts,rgbWhereabouts,pcbUsed) (This)->lpVtbl->GetWhereabouts(This,cbWhereabouts,rgbWhereabouts,pcbUsed)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionImportWhereabouts_GetWhereaboutsSize_Proxy(ITransactionImportWhereabouts *This,ULONG *pcbWhereabouts);
|
||||
void __RPC_STUB ITransactionImportWhereabouts_GetWhereaboutsSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionImportWhereabouts_RemoteGetWhereabouts_Proxy(ITransactionImportWhereabouts *This,ULONG *pcbUsed,ULONG cbWhereabouts,byte *rgbWhereabouts);
|
||||
void __RPC_STUB ITransactionImportWhereabouts_RemoteGetWhereabouts_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionExport_INTERFACE_DEFINED__
|
||||
#define __ITransactionExport_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionExport;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionExport : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI Export(IUnknown *punkTransaction,ULONG *pcbTransactionCookie) = 0;
|
||||
virtual HRESULT WINAPI GetTransactionCookie(IUnknown *punkTransaction,ULONG cbTransactionCookie,byte *rgbTransactionCookie,ULONG *pcbUsed) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionExportVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionExport *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionExport *This);
|
||||
ULONG (WINAPI *Release)(ITransactionExport *This);
|
||||
HRESULT (WINAPI *Export)(ITransactionExport *This,IUnknown *punkTransaction,ULONG *pcbTransactionCookie);
|
||||
HRESULT (WINAPI *GetTransactionCookie)(ITransactionExport *This,IUnknown *punkTransaction,ULONG cbTransactionCookie,byte *rgbTransactionCookie,ULONG *pcbUsed);
|
||||
END_INTERFACE
|
||||
} ITransactionExportVtbl;
|
||||
struct ITransactionExport {
|
||||
CONST_VTBL struct ITransactionExportVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionExport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionExport_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionExport_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionExport_Export(This,punkTransaction,pcbTransactionCookie) (This)->lpVtbl->Export(This,punkTransaction,pcbTransactionCookie)
|
||||
#define ITransactionExport_GetTransactionCookie(This,punkTransaction,cbTransactionCookie,rgbTransactionCookie,pcbUsed) (This)->lpVtbl->GetTransactionCookie(This,punkTransaction,cbTransactionCookie,rgbTransactionCookie,pcbUsed)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionExport_Export_Proxy(ITransactionExport *This,IUnknown *punkTransaction,ULONG *pcbTransactionCookie);
|
||||
void __RPC_STUB ITransactionExport_Export_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITransactionExport_RemoteGetTransactionCookie_Proxy(ITransactionExport *This,IUnknown *punkTransaction,ULONG *pcbUsed,ULONG cbTransactionCookie,byte *rgbTransactionCookie);
|
||||
void __RPC_STUB ITransactionExport_RemoteGetTransactionCookie_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITransactionImport_INTERFACE_DEFINED__
|
||||
#define __ITransactionImport_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITransactionImport;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITransactionImport : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI Import(ULONG cbTransactionCookie,byte *rgbTransactionCookie,IID *piid,void **ppvTransaction) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITransactionImportVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITransactionImport *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITransactionImport *This);
|
||||
ULONG (WINAPI *Release)(ITransactionImport *This);
|
||||
HRESULT (WINAPI *Import)(ITransactionImport *This,ULONG cbTransactionCookie,byte *rgbTransactionCookie,IID *piid,void **ppvTransaction);
|
||||
END_INTERFACE
|
||||
} ITransactionImportVtbl;
|
||||
struct ITransactionImport {
|
||||
CONST_VTBL struct ITransactionImportVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITransactionImport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITransactionImport_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITransactionImport_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITransactionImport_Import(This,cbTransactionCookie,rgbTransactionCookie,piid,ppvTransaction) (This)->lpVtbl->Import(This,cbTransactionCookie,rgbTransactionCookie,piid,ppvTransaction)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITransactionImport_Import_Proxy(ITransactionImport *This,ULONG cbTransactionCookie,byte *rgbTransactionCookie,IID *piid,void **ppvTransaction);
|
||||
void __RPC_STUB ITransactionImport_Import_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITipTransaction_INTERFACE_DEFINED__
|
||||
#define __ITipTransaction_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITipTransaction;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITipTransaction : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI Push(char *i_pszRemoteTmUrl,char **o_ppszRemoteTxUrl) = 0;
|
||||
virtual HRESULT WINAPI GetTransactionUrl(char **o_ppszLocalTxUrl) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITipTransactionVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITipTransaction *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITipTransaction *This);
|
||||
ULONG (WINAPI *Release)(ITipTransaction *This);
|
||||
HRESULT (WINAPI *Push)(ITipTransaction *This,char *i_pszRemoteTmUrl,char **o_ppszRemoteTxUrl);
|
||||
HRESULT (WINAPI *GetTransactionUrl)(ITipTransaction *This,char **o_ppszLocalTxUrl);
|
||||
END_INTERFACE
|
||||
} ITipTransactionVtbl;
|
||||
struct ITipTransaction {
|
||||
CONST_VTBL struct ITipTransactionVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITipTransaction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITipTransaction_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITipTransaction_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITipTransaction_Push(This,i_pszRemoteTmUrl,o_ppszRemoteTxUrl) (This)->lpVtbl->Push(This,i_pszRemoteTmUrl,o_ppszRemoteTxUrl)
|
||||
#define ITipTransaction_GetTransactionUrl(This,o_ppszLocalTxUrl) (This)->lpVtbl->GetTransactionUrl(This,o_ppszLocalTxUrl)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITipTransaction_Push_Proxy(ITipTransaction *This,char *i_pszRemoteTmUrl,char **o_ppszRemoteTxUrl);
|
||||
void __RPC_STUB ITipTransaction_Push_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITipTransaction_GetTransactionUrl_Proxy(ITipTransaction *This,char **o_ppszLocalTxUrl);
|
||||
void __RPC_STUB ITipTransaction_GetTransactionUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITipHelper_INTERFACE_DEFINED__
|
||||
#define __ITipHelper_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITipHelper;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITipHelper : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI Pull(char *i_pszTxUrl,ITransaction **o_ppITransaction) = 0;
|
||||
virtual HRESULT WINAPI PullAsync(char *i_pszTxUrl,ITipPullSink *i_pTipPullSink,ITransaction **o_ppITransaction) = 0;
|
||||
virtual HRESULT WINAPI GetLocalTmUrl(char **o_ppszLocalTmUrl) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITipHelperVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITipHelper *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITipHelper *This);
|
||||
ULONG (WINAPI *Release)(ITipHelper *This);
|
||||
HRESULT (WINAPI *Pull)(ITipHelper *This,char *i_pszTxUrl,ITransaction **o_ppITransaction);
|
||||
HRESULT (WINAPI *PullAsync)(ITipHelper *This,char *i_pszTxUrl,ITipPullSink *i_pTipPullSink,ITransaction **o_ppITransaction);
|
||||
HRESULT (WINAPI *GetLocalTmUrl)(ITipHelper *This,char **o_ppszLocalTmUrl);
|
||||
END_INTERFACE
|
||||
} ITipHelperVtbl;
|
||||
struct ITipHelper {
|
||||
CONST_VTBL struct ITipHelperVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITipHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITipHelper_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITipHelper_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITipHelper_Pull(This,i_pszTxUrl,o_ppITransaction) (This)->lpVtbl->Pull(This,i_pszTxUrl,o_ppITransaction)
|
||||
#define ITipHelper_PullAsync(This,i_pszTxUrl,i_pTipPullSink,o_ppITransaction) (This)->lpVtbl->PullAsync(This,i_pszTxUrl,i_pTipPullSink,o_ppITransaction)
|
||||
#define ITipHelper_GetLocalTmUrl(This,o_ppszLocalTmUrl) (This)->lpVtbl->GetLocalTmUrl(This,o_ppszLocalTmUrl)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITipHelper_Pull_Proxy(ITipHelper *This,char *i_pszTxUrl,ITransaction **o_ppITransaction);
|
||||
void __RPC_STUB ITipHelper_Pull_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITipHelper_PullAsync_Proxy(ITipHelper *This,char *i_pszTxUrl,ITipPullSink *i_pTipPullSink,ITransaction **o_ppITransaction);
|
||||
void __RPC_STUB ITipHelper_PullAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI ITipHelper_GetLocalTmUrl_Proxy(ITipHelper *This,char **o_ppszLocalTmUrl);
|
||||
void __RPC_STUB ITipHelper_GetLocalTmUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __ITipPullSink_INTERFACE_DEFINED__
|
||||
#define __ITipPullSink_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_ITipPullSink;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ITipPullSink : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI PullComplete(HRESULT i_hrPull) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct ITipPullSinkVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(ITipPullSink *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(ITipPullSink *This);
|
||||
ULONG (WINAPI *Release)(ITipPullSink *This);
|
||||
HRESULT (WINAPI *PullComplete)(ITipPullSink *This,HRESULT i_hrPull);
|
||||
END_INTERFACE
|
||||
} ITipPullSinkVtbl;
|
||||
struct ITipPullSink {
|
||||
CONST_VTBL struct ITipPullSinkVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define ITipPullSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ITipPullSink_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ITipPullSink_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define ITipPullSink_PullComplete(This,i_hrPull) (This)->lpVtbl->PullComplete(This,i_hrPull)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI ITipPullSink_PullComplete_Proxy(ITipPullSink *This,HRESULT i_hrPull);
|
||||
void __RPC_STUB ITipPullSink_PullComplete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#ifndef __IDtcNetworkAccessConfig_INTERFACE_DEFINED__
|
||||
#define __IDtcNetworkAccessConfig_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_IDtcNetworkAccessConfig;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IDtcNetworkAccessConfig : public IUnknown {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetAnyNetworkAccess(WINBOOL *pbAnyNetworkAccess) = 0;
|
||||
virtual HRESULT WINAPI SetAnyNetworkAccess(WINBOOL bAnyNetworkAccess) = 0;
|
||||
virtual HRESULT WINAPI GetNetworkAdministrationAccess(WINBOOL *pbNetworkAdministrationAccess) = 0;
|
||||
virtual HRESULT WINAPI SetNetworkAdministrationAccess(WINBOOL bNetworkAdministrationAccess) = 0;
|
||||
virtual HRESULT WINAPI GetNetworkTransactionAccess(WINBOOL *pbNetworkTransactionAccess) = 0;
|
||||
virtual HRESULT WINAPI SetNetworkTransactionAccess(WINBOOL bNetworkTransactionAccess) = 0;
|
||||
virtual HRESULT WINAPI GetNetworkClientAccess(WINBOOL *pbNetworkClientAccess) = 0;
|
||||
virtual HRESULT WINAPI SetNetworkClientAccess(WINBOOL bNetworkClientAccess) = 0;
|
||||
virtual HRESULT WINAPI GetNetworkTIPAccess(WINBOOL *pbNetworkTIPAccess) = 0;
|
||||
virtual HRESULT WINAPI SetNetworkTIPAccess(WINBOOL bNetworkTIPAccess) = 0;
|
||||
virtual HRESULT WINAPI GetXAAccess(WINBOOL *pbXAAccess) = 0;
|
||||
virtual HRESULT WINAPI SetXAAccess(WINBOOL bXAAccess) = 0;
|
||||
virtual HRESULT WINAPI RestartDtcService(void) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct IDtcNetworkAccessConfigVtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(IDtcNetworkAccessConfig *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(IDtcNetworkAccessConfig *This);
|
||||
ULONG (WINAPI *Release)(IDtcNetworkAccessConfig *This);
|
||||
HRESULT (WINAPI *GetAnyNetworkAccess)(IDtcNetworkAccessConfig *This,WINBOOL *pbAnyNetworkAccess);
|
||||
HRESULT (WINAPI *SetAnyNetworkAccess)(IDtcNetworkAccessConfig *This,WINBOOL bAnyNetworkAccess);
|
||||
HRESULT (WINAPI *GetNetworkAdministrationAccess)(IDtcNetworkAccessConfig *This,WINBOOL *pbNetworkAdministrationAccess);
|
||||
HRESULT (WINAPI *SetNetworkAdministrationAccess)(IDtcNetworkAccessConfig *This,WINBOOL bNetworkAdministrationAccess);
|
||||
HRESULT (WINAPI *GetNetworkTransactionAccess)(IDtcNetworkAccessConfig *This,WINBOOL *pbNetworkTransactionAccess);
|
||||
HRESULT (WINAPI *SetNetworkTransactionAccess)(IDtcNetworkAccessConfig *This,WINBOOL bNetworkTransactionAccess);
|
||||
HRESULT (WINAPI *GetNetworkClientAccess)(IDtcNetworkAccessConfig *This,WINBOOL *pbNetworkClientAccess);
|
||||
HRESULT (WINAPI *SetNetworkClientAccess)(IDtcNetworkAccessConfig *This,WINBOOL bNetworkClientAccess);
|
||||
HRESULT (WINAPI *GetNetworkTIPAccess)(IDtcNetworkAccessConfig *This,WINBOOL *pbNetworkTIPAccess);
|
||||
HRESULT (WINAPI *SetNetworkTIPAccess)(IDtcNetworkAccessConfig *This,WINBOOL bNetworkTIPAccess);
|
||||
HRESULT (WINAPI *GetXAAccess)(IDtcNetworkAccessConfig *This,WINBOOL *pbXAAccess);
|
||||
HRESULT (WINAPI *SetXAAccess)(IDtcNetworkAccessConfig *This,WINBOOL bXAAccess);
|
||||
HRESULT (WINAPI *RestartDtcService)(IDtcNetworkAccessConfig *This);
|
||||
END_INTERFACE
|
||||
} IDtcNetworkAccessConfigVtbl;
|
||||
struct IDtcNetworkAccessConfig {
|
||||
CONST_VTBL struct IDtcNetworkAccessConfigVtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define IDtcNetworkAccessConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IDtcNetworkAccessConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IDtcNetworkAccessConfig_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define IDtcNetworkAccessConfig_GetAnyNetworkAccess(This,pbAnyNetworkAccess) (This)->lpVtbl->GetAnyNetworkAccess(This,pbAnyNetworkAccess)
|
||||
#define IDtcNetworkAccessConfig_SetAnyNetworkAccess(This,bAnyNetworkAccess) (This)->lpVtbl->SetAnyNetworkAccess(This,bAnyNetworkAccess)
|
||||
#define IDtcNetworkAccessConfig_GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess) (This)->lpVtbl->GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess)
|
||||
#define IDtcNetworkAccessConfig_SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess) (This)->lpVtbl->SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess)
|
||||
#define IDtcNetworkAccessConfig_GetNetworkTransactionAccess(This,pbNetworkTransactionAccess) (This)->lpVtbl->GetNetworkTransactionAccess(This,pbNetworkTransactionAccess)
|
||||
#define IDtcNetworkAccessConfig_SetNetworkTransactionAccess(This,bNetworkTransactionAccess) (This)->lpVtbl->SetNetworkTransactionAccess(This,bNetworkTransactionAccess)
|
||||
#define IDtcNetworkAccessConfig_GetNetworkClientAccess(This,pbNetworkClientAccess) (This)->lpVtbl->GetNetworkClientAccess(This,pbNetworkClientAccess)
|
||||
#define IDtcNetworkAccessConfig_SetNetworkClientAccess(This,bNetworkClientAccess) (This)->lpVtbl->SetNetworkClientAccess(This,bNetworkClientAccess)
|
||||
#define IDtcNetworkAccessConfig_GetNetworkTIPAccess(This,pbNetworkTIPAccess) (This)->lpVtbl->GetNetworkTIPAccess(This,pbNetworkTIPAccess)
|
||||
#define IDtcNetworkAccessConfig_SetNetworkTIPAccess(This,bNetworkTIPAccess) (This)->lpVtbl->SetNetworkTIPAccess(This,bNetworkTIPAccess)
|
||||
#define IDtcNetworkAccessConfig_GetXAAccess(This,pbXAAccess) (This)->lpVtbl->GetXAAccess(This,pbXAAccess)
|
||||
#define IDtcNetworkAccessConfig_SetXAAccess(This,bXAAccess) (This)->lpVtbl->SetXAAccess(This,bXAAccess)
|
||||
#define IDtcNetworkAccessConfig_RestartDtcService(This) (This)->lpVtbl->RestartDtcService(This)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_GetAnyNetworkAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL *pbAnyNetworkAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_GetAnyNetworkAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_SetAnyNetworkAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL bAnyNetworkAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_SetAnyNetworkAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_GetNetworkAdministrationAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL *pbNetworkAdministrationAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_GetNetworkAdministrationAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_SetNetworkAdministrationAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL bNetworkAdministrationAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_SetNetworkAdministrationAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_GetNetworkTransactionAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL *pbNetworkTransactionAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_GetNetworkTransactionAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_SetNetworkTransactionAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL bNetworkTransactionAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_SetNetworkTransactionAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_GetNetworkClientAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL *pbNetworkClientAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_GetNetworkClientAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_SetNetworkClientAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL bNetworkClientAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_SetNetworkClientAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_GetNetworkTIPAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL *pbNetworkTIPAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_GetNetworkTIPAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_SetNetworkTIPAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL bNetworkTIPAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_SetNetworkTIPAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_GetXAAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL *pbXAAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_GetXAAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_SetXAAccess_Proxy(IDtcNetworkAccessConfig *This,WINBOOL bXAAccess);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_SetXAAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig_RestartDtcService_Proxy(IDtcNetworkAccessConfig *This);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig_RestartDtcService_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
typedef enum AUTHENTICATION_LEVEL {
|
||||
NO_AUTHENTICATION_REQUIRED = 0,INCOMING_AUTHENTICATION_REQUIRED = 1,MUTUAL_AUTHENTICATION_REQUIRED = 2
|
||||
} AUTHENTICATION_LEVEL;
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_txcoord_0115_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_txcoord_0115_v0_0_s_ifspec;
|
||||
|
||||
#ifndef __IDtcNetworkAccessConfig2_INTERFACE_DEFINED__
|
||||
#define __IDtcNetworkAccessConfig2_INTERFACE_DEFINED__
|
||||
EXTERN_C const IID IID_IDtcNetworkAccessConfig2;
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IDtcNetworkAccessConfig2 : public IDtcNetworkAccessConfig {
|
||||
public:
|
||||
virtual HRESULT WINAPI GetNetworkInboundAccess(WINBOOL *pbInbound) = 0;
|
||||
virtual HRESULT WINAPI GetNetworkOutboundAccess(WINBOOL *pbOutbound) = 0;
|
||||
virtual HRESULT WINAPI SetNetworkInboundAccess(WINBOOL bInbound) = 0;
|
||||
virtual HRESULT WINAPI SetNetworkOutboundAccess(WINBOOL bOutbound) = 0;
|
||||
virtual HRESULT WINAPI GetAuthenticationLevel(AUTHENTICATION_LEVEL *pAuthLevel) = 0;
|
||||
virtual HRESULT WINAPI SetAuthenticationLevel(AUTHENTICATION_LEVEL AuthLevel) = 0;
|
||||
};
|
||||
#else
|
||||
typedef struct IDtcNetworkAccessConfig2Vtbl {
|
||||
BEGIN_INTERFACE
|
||||
HRESULT (WINAPI *QueryInterface)(IDtcNetworkAccessConfig2 *This,REFIID riid,void **ppvObject);
|
||||
ULONG (WINAPI *AddRef)(IDtcNetworkAccessConfig2 *This);
|
||||
ULONG (WINAPI *Release)(IDtcNetworkAccessConfig2 *This);
|
||||
HRESULT (WINAPI *GetAnyNetworkAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL *pbAnyNetworkAccess);
|
||||
HRESULT (WINAPI *SetAnyNetworkAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL bAnyNetworkAccess);
|
||||
HRESULT (WINAPI *GetNetworkAdministrationAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL *pbNetworkAdministrationAccess);
|
||||
HRESULT (WINAPI *SetNetworkAdministrationAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL bNetworkAdministrationAccess);
|
||||
HRESULT (WINAPI *GetNetworkTransactionAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL *pbNetworkTransactionAccess);
|
||||
HRESULT (WINAPI *SetNetworkTransactionAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL bNetworkTransactionAccess);
|
||||
HRESULT (WINAPI *GetNetworkClientAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL *pbNetworkClientAccess);
|
||||
HRESULT (WINAPI *SetNetworkClientAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL bNetworkClientAccess);
|
||||
HRESULT (WINAPI *GetNetworkTIPAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL *pbNetworkTIPAccess);
|
||||
HRESULT (WINAPI *SetNetworkTIPAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL bNetworkTIPAccess);
|
||||
HRESULT (WINAPI *GetXAAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL *pbXAAccess);
|
||||
HRESULT (WINAPI *SetXAAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL bXAAccess);
|
||||
HRESULT (WINAPI *RestartDtcService)(IDtcNetworkAccessConfig2 *This);
|
||||
HRESULT (WINAPI *GetNetworkInboundAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL *pbInbound);
|
||||
HRESULT (WINAPI *GetNetworkOutboundAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL *pbOutbound);
|
||||
HRESULT (WINAPI *SetNetworkInboundAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL bInbound);
|
||||
HRESULT (WINAPI *SetNetworkOutboundAccess)(IDtcNetworkAccessConfig2 *This,WINBOOL bOutbound);
|
||||
HRESULT (WINAPI *GetAuthenticationLevel)(IDtcNetworkAccessConfig2 *This,AUTHENTICATION_LEVEL *pAuthLevel);
|
||||
HRESULT (WINAPI *SetAuthenticationLevel)(IDtcNetworkAccessConfig2 *This,AUTHENTICATION_LEVEL AuthLevel);
|
||||
END_INTERFACE
|
||||
} IDtcNetworkAccessConfig2Vtbl;
|
||||
struct IDtcNetworkAccessConfig2 {
|
||||
CONST_VTBL struct IDtcNetworkAccessConfig2Vtbl *lpVtbl;
|
||||
};
|
||||
#ifdef COBJMACROS
|
||||
#define IDtcNetworkAccessConfig2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IDtcNetworkAccessConfig2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IDtcNetworkAccessConfig2_Release(This) (This)->lpVtbl->Release(This)
|
||||
#define IDtcNetworkAccessConfig2_GetAnyNetworkAccess(This,pbAnyNetworkAccess) (This)->lpVtbl->GetAnyNetworkAccess(This,pbAnyNetworkAccess)
|
||||
#define IDtcNetworkAccessConfig2_SetAnyNetworkAccess(This,bAnyNetworkAccess) (This)->lpVtbl->SetAnyNetworkAccess(This,bAnyNetworkAccess)
|
||||
#define IDtcNetworkAccessConfig2_GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess) (This)->lpVtbl->GetNetworkAdministrationAccess(This,pbNetworkAdministrationAccess)
|
||||
#define IDtcNetworkAccessConfig2_SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess) (This)->lpVtbl->SetNetworkAdministrationAccess(This,bNetworkAdministrationAccess)
|
||||
#define IDtcNetworkAccessConfig2_GetNetworkTransactionAccess(This,pbNetworkTransactionAccess) (This)->lpVtbl->GetNetworkTransactionAccess(This,pbNetworkTransactionAccess)
|
||||
#define IDtcNetworkAccessConfig2_SetNetworkTransactionAccess(This,bNetworkTransactionAccess) (This)->lpVtbl->SetNetworkTransactionAccess(This,bNetworkTransactionAccess)
|
||||
#define IDtcNetworkAccessConfig2_GetNetworkClientAccess(This,pbNetworkClientAccess) (This)->lpVtbl->GetNetworkClientAccess(This,pbNetworkClientAccess)
|
||||
#define IDtcNetworkAccessConfig2_SetNetworkClientAccess(This,bNetworkClientAccess) (This)->lpVtbl->SetNetworkClientAccess(This,bNetworkClientAccess)
|
||||
#define IDtcNetworkAccessConfig2_GetNetworkTIPAccess(This,pbNetworkTIPAccess) (This)->lpVtbl->GetNetworkTIPAccess(This,pbNetworkTIPAccess)
|
||||
#define IDtcNetworkAccessConfig2_SetNetworkTIPAccess(This,bNetworkTIPAccess) (This)->lpVtbl->SetNetworkTIPAccess(This,bNetworkTIPAccess)
|
||||
#define IDtcNetworkAccessConfig2_GetXAAccess(This,pbXAAccess) (This)->lpVtbl->GetXAAccess(This,pbXAAccess)
|
||||
#define IDtcNetworkAccessConfig2_SetXAAccess(This,bXAAccess) (This)->lpVtbl->SetXAAccess(This,bXAAccess)
|
||||
#define IDtcNetworkAccessConfig2_RestartDtcService(This) (This)->lpVtbl->RestartDtcService(This)
|
||||
#define IDtcNetworkAccessConfig2_GetNetworkInboundAccess(This,pbInbound) (This)->lpVtbl->GetNetworkInboundAccess(This,pbInbound)
|
||||
#define IDtcNetworkAccessConfig2_GetNetworkOutboundAccess(This,pbOutbound) (This)->lpVtbl->GetNetworkOutboundAccess(This,pbOutbound)
|
||||
#define IDtcNetworkAccessConfig2_SetNetworkInboundAccess(This,bInbound) (This)->lpVtbl->SetNetworkInboundAccess(This,bInbound)
|
||||
#define IDtcNetworkAccessConfig2_SetNetworkOutboundAccess(This,bOutbound) (This)->lpVtbl->SetNetworkOutboundAccess(This,bOutbound)
|
||||
#define IDtcNetworkAccessConfig2_GetAuthenticationLevel(This,pAuthLevel) (This)->lpVtbl->GetAuthenticationLevel(This,pAuthLevel)
|
||||
#define IDtcNetworkAccessConfig2_SetAuthenticationLevel(This,AuthLevel) (This)->lpVtbl->SetAuthenticationLevel(This,AuthLevel)
|
||||
#endif
|
||||
#endif
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig2_GetNetworkInboundAccess_Proxy(IDtcNetworkAccessConfig2 *This,WINBOOL *pbInbound);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig2_GetNetworkInboundAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig2_GetNetworkOutboundAccess_Proxy(IDtcNetworkAccessConfig2 *This,WINBOOL *pbOutbound);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig2_GetNetworkOutboundAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig2_SetNetworkInboundAccess_Proxy(IDtcNetworkAccessConfig2 *This,WINBOOL bInbound);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig2_SetNetworkInboundAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig2_SetNetworkOutboundAccess_Proxy(IDtcNetworkAccessConfig2 *This,WINBOOL bOutbound);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig2_SetNetworkOutboundAccess_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig2_GetAuthenticationLevel_Proxy(IDtcNetworkAccessConfig2 *This,AUTHENTICATION_LEVEL *pAuthLevel);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig2_GetAuthenticationLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
HRESULT WINAPI IDtcNetworkAccessConfig2_SetAuthenticationLevel_Proxy(IDtcNetworkAccessConfig2 *This,AUTHENTICATION_LEVEL AuthLevel);
|
||||
void __RPC_STUB IDtcNetworkAccessConfig2_SetAuthenticationLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(IID_ITransactionResourceAsync,0x69E971F0,0x23CE,0x11cf,0xAD,0x60,0x00,0xAA,0x00,0xA7,0x4C,0xCD);
|
||||
DEFINE_GUID(IID_ITransactionLastResourceAsync,0xC82BD532,0x5B30,0x11D3,0x8A,0x91,0x00,0xC0,0x4F,0x79,0xEB,0x6D);
|
||||
DEFINE_GUID(IID_ITransactionResource,0xEE5FF7B3,0x4572,0x11d0,0x94,0x52,0x00,0xA0,0xC9,0x05,0x41,0x6E);
|
||||
DEFINE_GUID(IID_ITransactionEnlistmentAsync,0x0fb15081,0xaf41,0x11ce,0xbd,0x2b,0x20,0x4c,0x4f,0x4f,0x50,0x20);
|
||||
DEFINE_GUID(IID_ITransactionLastEnlistmentAsync,0xC82BD533,0x5B30,0x11D3,0x8A,0x91,0x00,0xC0,0x4F,0x79,0xEB,0x6D);
|
||||
DEFINE_GUID(IID_ITransactionExportFactory,0xE1CF9B53,0x8745,0x11ce,0xA9,0xBA,0x00,0xAA,0x00,0x6C,0x37,0x06);
|
||||
DEFINE_GUID(IID_ITransactionImportWhereabouts,0x0141fda4,0x8fc0,0x11ce,0xbd,0x18,0x20,0x4c,0x4f,0x4f,0x50,0x20);
|
||||
DEFINE_GUID(IID_ITransactionExport,0x0141fda5,0x8fc0,0x11ce,0xbd,0x18,0x20,0x4c,0x4f,0x4f,0x50,0x20);
|
||||
DEFINE_GUID(IID_ITransactionImport,0xE1CF9B5A,0x8745,0x11ce,0xA9,0xBA,0x00,0xAA,0x00,0x6C,0x37,0x06);
|
||||
DEFINE_GUID(IID_ITipTransaction,0x17cf72d0,0xbac5,0x11d1,0xb1,0xbf,0x0,0xc0,0x4f,0xc2,0xf3,0xef);
|
||||
DEFINE_GUID(IID_ITipHelper,0x17cf72d1,0xbac5,0x11d1,0xb1,0xbf,0x0,0xc0,0x4f,0xc2,0xf3,0xef);
|
||||
DEFINE_GUID(IID_ITipPullSink,0x17cf72d2,0xbac5,0x11d1,0xb1,0xbf,0x0,0xc0,0x4f,0xc2,0xf3,0xef);
|
||||
DEFINE_GUID(IID_IDtcNetworkAccessConfig,0x9797c15d,0xa428,0x4291,0x87,0xb6,0x9,0x95,0x3,0x1a,0x67,0x8d);
|
||||
DEFINE_GUID(IID_IDtcNetworkAccessConfig2,0xa7aa013b,0xeb7d,0x4f42,0xb4,0x1c,0xb2,0xde,0xc0,0x9a,0xe0,0x34);
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_txcoord_0116_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_txcoord_0116_v0_0_s_ifspec;
|
||||
|
||||
HRESULT WINAPI ITransactionImportWhereabouts_GetWhereabouts_Proxy(ITransactionImportWhereabouts *This,ULONG cbWhereabouts,byte *rgbWhereabouts,ULONG *pcbUsed);
|
||||
HRESULT WINAPI ITransactionImportWhereabouts_GetWhereabouts_Stub(ITransactionImportWhereabouts *This,ULONG *pcbUsed,ULONG cbWhereabouts,byte *rgbWhereabouts);
|
||||
HRESULT WINAPI ITransactionExport_GetTransactionCookie_Proxy(ITransactionExport *This,IUnknown *punkTransaction,ULONG cbTransactionCookie,byte *rgbTransactionCookie,ULONG *pcbUsed);
|
||||
HRESULT WINAPI ITransactionExport_GetTransactionCookie_Stub(ITransactionExport *This,IUnknown *punkTransaction,ULONG *pcbUsed,ULONG cbTransactionCookie,byte *rgbTransactionCookie);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* 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 "comsvcs.h"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* 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_TXFW32
|
||||
#define _INC_TXFW32
|
||||
#include <clfs.h>
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _TXF_ID {
|
||||
__C89_NAMELESS struct {
|
||||
LONGLONG LowPart;
|
||||
LONGLONG HighPart;
|
||||
} DUMMYSTRUCTNAME;
|
||||
} TXF_ID, *PTXF_ID;
|
||||
|
||||
typedef struct _TXF_LOG_RECORD_AFFECTED_FILE {
|
||||
USHORT Version;
|
||||
ULONG RecordLength;
|
||||
ULONG Flags;
|
||||
TXF_ID TxfFileId;
|
||||
UUID KtmGuid;
|
||||
ULONG FileNameLength;
|
||||
ULONG FileNameByteOffsetInStructure;
|
||||
} TXF_LOG_RECORD_AFFECTED_FILE, *PTXF_LOG_RECORD_AFFECTED_FILE;
|
||||
|
||||
typedef struct _TXF_LOG_RECORD_TRUNCATE {
|
||||
USHORT Version;
|
||||
USHORT RecordType;
|
||||
ULONG RecordLength;
|
||||
ULONG Flags;
|
||||
TXF_ID TxfFileId;
|
||||
UUID KtmGuid;
|
||||
LONGLONG NewFileSize;
|
||||
ULONG FileNameLength;
|
||||
ULONG FileNameByteOffsetInStructure;
|
||||
} TXF_LOG_RECORD_TRUNCATE, *PTXF_LOG_RECORD_TRUNCATE;
|
||||
|
||||
typedef struct _TXF_LOG_RECORD_WRITE {
|
||||
USHORT Version;
|
||||
USHORT RecordType;
|
||||
ULONG RecordLength;
|
||||
ULONG Flags;
|
||||
TXF_ID TxfFileId;
|
||||
UUID KtmGuid;
|
||||
LONGLONG ByteOffsetInFile;
|
||||
ULONG NumBytesWritten;
|
||||
ULONG ByteOffsetInStructure;
|
||||
ULONG FileNameLength;
|
||||
ULONG FileNameByteOffsetInStructure;
|
||||
} TXF_LOG_RECORD_WRITE, *PTXF_LOG_RECORD_WRITE;
|
||||
|
||||
#define TXF_LOG_RECORD_TYPE_WRITE 1
|
||||
#define TXF_LOG_RECORD_TYPE_TRUNCATE 2
|
||||
#define TXF_LOG_RECORD_TYPE_AFFECTED_FILE 4
|
||||
|
||||
typedef struct _TXF_LOG_RECORD_BASE {
|
||||
USHORT Version;
|
||||
USHORT RecordType;
|
||||
ULONG RecordLength;
|
||||
} TXF_LOG_RECORD_BASE, *PTXF_LOG_RECORD_BASE;
|
||||
|
||||
WINBOOL WINAPI TxfLogCreateFileReadContext(
|
||||
LPCWSTR LogPath,
|
||||
CLFS_LSN BeginningLsn,
|
||||
CLFS_LSN EndingLSN,
|
||||
PTXF_ID TxfFileId,
|
||||
PVOID *TxfLogContext
|
||||
);
|
||||
|
||||
WINBOOL WINAPI TxfLogDestroyReadContext(
|
||||
PVOID TxfLogContext
|
||||
);
|
||||
|
||||
WINBOOL WINAPI TxfLogReadRecords(
|
||||
PVOID TxfLogContext,
|
||||
ULONG BufferLength,
|
||||
PVOID Buffer,
|
||||
PULONG BytesUsed,
|
||||
PULONG RecordCount
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* (_WIN32_WINNT >= 0x0600) */
|
||||
#endif /*_INC_TXFW32*/
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* 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 <crtdefs.h>
|
||||
|
||||
#ifndef _INC_TYPEINFO
|
||||
#define _INC_TYPEINFO
|
||||
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
|
||||
#ifndef RC_INVOKED
|
||||
|
||||
#ifndef __cplusplus
|
||||
#error This header requires a C++ compiler ...
|
||||
#endif
|
||||
|
||||
#include <typeinfo>
|
||||
|
||||
#ifdef __RTTI_OLDNAMES
|
||||
using std::bad_cast;
|
||||
using std::bad_typeid;
|
||||
|
||||
typedef type_info Type_info;
|
||||
typedef bad_cast Bad_cast;
|
||||
typedef bad_typeid Bad_typeid;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* 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 _UASTRFNC_H_
|
||||
#define _UASTRFNC_H_
|
||||
|
||||
#include <_mingw_unicode.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _X86_
|
||||
#define ALIGNMENT_MACHINE
|
||||
#endif
|
||||
|
||||
#ifdef ALIGNMENT_MACHINE
|
||||
#define IS_ALIGNED(p) (((ULONG_PTR)(p) & (sizeof(*(p))-1))==0)
|
||||
|
||||
UNALIGNED WCHAR *ualstrcpynW(UNALIGNED WCHAR *lpString1,UNALIGNED const WCHAR *lpString2,int iMaxLength);
|
||||
int ualstrcmpiW(UNALIGNED const WCHAR *dst,UNALIGNED const WCHAR *src);
|
||||
int ualstrcmpW(UNALIGNED const WCHAR *src,UNALIGNED const WCHAR *dst);
|
||||
size_t ualstrlenW(UNALIGNED const WCHAR *wcs);
|
||||
UNALIGNED WCHAR *ualstrcpyW(UNALIGNED WCHAR *dst,UNALIGNED const WCHAR *src);
|
||||
#else
|
||||
#define ualstrcpynW StrCpyNW
|
||||
#define ualstrcmpiW StrCmpIW
|
||||
#define ualstrcmpW StrCmpW
|
||||
#define ualstrlenW lstrlenW
|
||||
#define ualstrcpyW StrCpyW
|
||||
#endif
|
||||
|
||||
#define ualstrcpynA lstrcpynA
|
||||
#define ualstrcmpiA lstrcmpiA
|
||||
#define ualstrcmpA lstrcmpA
|
||||
#define ualstrlenA lstrlenA
|
||||
#define ualstrcpyA lstrcpyA
|
||||
|
||||
#define ualstrcpyn __MINGW_NAME_AW(ualstrcpyn)
|
||||
#define ualstrcmpi __MINGW_NAME_AW(ualstrcmpi)
|
||||
#define ualstrcmp __MINGW_NAME_AW(ualstrcmp)
|
||||
#define ualstrlen __MINGW_NAME_AW(ualstrlen)
|
||||
#define ualstrcpy __MINGW_NAME_AW(ualstrcpy)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,77 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/* ISO C1x Unicode utilities
|
||||
* Based on ISO/IEC SC22/WG14 9899 TR 19769 (SC22 N1326)
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* Date: 2011-09-27
|
||||
*/
|
||||
|
||||
#ifndef __UCHAR_H
|
||||
#define __UCHAR_H
|
||||
|
||||
#include <stddef.h> /* size_t */
|
||||
#include <stdint.h> /* uint_leastXX_t */
|
||||
#include <wchar.h> /* mbstate_t */
|
||||
|
||||
/* Remember that g++ >= 4.4 defines these types only in c++0x mode */
|
||||
#if !(defined(__cplusplus) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || \
|
||||
!defined(__GNUC__) || \
|
||||
(!defined(__clang__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)))
|
||||
typedef uint_least16_t char16_t;
|
||||
typedef uint_least32_t char32_t;
|
||||
#endif
|
||||
|
||||
#ifndef __STDC_UTF_16__
|
||||
#define __STDC_UTF_16__ 1
|
||||
#endif
|
||||
|
||||
#ifndef __STDC_UTF_32__
|
||||
#define __STDC_UTF_32__ 1
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef _UCRT
|
||||
|
||||
size_t mbrtoc16 (char16_t *__restrict__ pc16,
|
||||
const char *__restrict__ s,
|
||||
size_t n,
|
||||
mbstate_t *__restrict__ ps);
|
||||
|
||||
size_t c16rtomb (char *__restrict__ s,
|
||||
char16_t c16,
|
||||
mbstate_t *__restrict__ ps);
|
||||
|
||||
size_t mbrtoc32 (char32_t *__restrict__ pc32,
|
||||
const char *__restrict__ s,
|
||||
size_t n,
|
||||
mbstate_t *__restrict__ ps);
|
||||
|
||||
size_t c32rtomb (char *__restrict__ s,
|
||||
char32_t c32,
|
||||
mbstate_t *__restrict__ ps);
|
||||
|
||||
#endif /* _UCRT */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __UCHAR_H */
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* 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_UDPMIB
|
||||
#define _INC_UDPMIB
|
||||
|
||||
#ifndef ANY_SIZE
|
||||
#define ANY_SIZE 1
|
||||
#endif
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _MIB_UDP6ROW {
|
||||
IN6_ADDR dwLocalAddr;
|
||||
DWORD dwLocalScopeId;
|
||||
DWORD dwLocalPort;
|
||||
} MIB_UDP6ROW, *PMIB_UDP6ROW;
|
||||
|
||||
typedef struct _MIB_UDP6TABLE {
|
||||
DWORD dwNumEntries;
|
||||
MIB_UDP6ROW table[ANY_SIZE];
|
||||
} MIB_UDP6TABLE, *PMIB_UDP6TABLE;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*(_WIN32_WINNT >= 0x0600)*/
|
||||
|
||||
#endif /*_INC_UDPMIB*/
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright 2012 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
|
||||
*/
|
||||
|
||||
#include <uiautomationcore.h>
|
||||
#include <uiautomationclient.h>
|
||||
#include <uiautomationcoreapi.h>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,568 @@
|
||||
/*
|
||||
* Copyright 2012 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
|
||||
*/
|
||||
|
||||
#ifndef _INC_UIAUTOMATIONCOREAPI
|
||||
#define _INC_UIAUTOMATIONCOREAPI
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define UIA_E_ELEMENTNOTENABLED 0x80040200
|
||||
#define UIA_E_ELEMENTNOTAVAILABLE 0x80040201
|
||||
#define UIA_E_NOCLICKABLEPOINT 0x80040202
|
||||
#define UIA_E_PROXYASSEMBLYNOTLOADED 0x80040203
|
||||
#define UIA_E_NOTSUPPORTED 0x80040204
|
||||
#define UIA_E_INVALIDOPERATION 0x80131509
|
||||
#define UIA_E_TIMEOUT 0x80131505
|
||||
|
||||
#define UiaAppendRuntimeId 3
|
||||
#define UiaRootObjectId -25
|
||||
|
||||
#define UIA_PFIA_DEFAULT 0x00
|
||||
#define UIA_PFIA_UNWRAP_BRIDGE 0x01
|
||||
|
||||
DECLARE_HANDLE(HUIANODE);
|
||||
DECLARE_HANDLE(HUIAPATTERNOBJECT);
|
||||
DECLARE_HANDLE(HUIATEXTRANGE);
|
||||
DECLARE_HANDLE(HUIAEVENT);
|
||||
|
||||
/*
|
||||
* AutomationIdentifierType_Property GUIDs.
|
||||
*/
|
||||
DEFINE_GUID(RuntimeId_Property_GUID, 0xa39eebfa,0x7fba,0x4c89,0xb4,0xd4,0xb9,0x9e,0x2d,0xe7,0xd1,0x60);
|
||||
DEFINE_GUID(BoundingRectangle_Property_GUID, 0x7bbfe8b2,0x3bfc,0x48dd,0xb7,0x29,0xc7,0x94,0xb8,0x46,0xe9,0xa1);
|
||||
DEFINE_GUID(ProcessId_Property_GUID, 0x40499998,0x9c31,0x4245,0xa4,0x03,0x87,0x32,0x0e,0x59,0xea,0xf6);
|
||||
DEFINE_GUID(ControlType_Property_GUID, 0xca774fea,0x28ac,0x4bc2,0x94,0xca,0xac,0xec,0x6d,0x6c,0x10,0xa3);
|
||||
DEFINE_GUID(LocalizedControlType_Property_GUID, 0x8763404f,0xa1bd,0x452a,0x89,0xc4,0x3f,0x01,0xd3,0x83,0x38,0x06);
|
||||
DEFINE_GUID(Name_Property_GUID, 0xc3a6921b,0x4a99,0x44f1,0xbc,0xa6,0x61,0x18,0x70,0x52,0xc4,0x31);
|
||||
DEFINE_GUID(AcceleratorKey_Property_GUID, 0x514865df,0x2557,0x4cb9,0xae,0xed,0x6c,0xed,0x08,0x4c,0xe5,0x2c);
|
||||
DEFINE_GUID(AccessKey_Property_GUID, 0x06827b12,0xa7f9,0x4a15,0x91,0x7c,0xff,0xa5,0xad,0x3e,0xb0,0xa7);
|
||||
DEFINE_GUID(HasKeyboardFocus_Property_GUID, 0xcf8afd39,0x3f46,0x4800,0x96,0x56,0xb2,0xbf,0x12,0x52,0x99,0x05);
|
||||
DEFINE_GUID(IsKeyboardFocusable_Property_GUID, 0xf7b8552a,0x0859,0x4b37,0xb9,0xcb,0x51,0xe7,0x20,0x92,0xf2,0x9f);
|
||||
DEFINE_GUID(IsEnabled_Property_GUID, 0x2109427f,0xda60,0x4fed,0xbf,0x1b,0x26,0x4b,0xdc,0xe6,0xeb,0x3a);
|
||||
DEFINE_GUID(AutomationId_Property_GUID, 0xc82c0500,0xb60e,0x4310,0xa2,0x67,0x30,0x3c,0x53,0x1f,0x8e,0xe5);
|
||||
DEFINE_GUID(ClassName_Property_GUID, 0x157b7215,0x894f,0x4b65,0x84,0xe2,0xaa,0xc0,0xda,0x08,0xb1,0x6b);
|
||||
DEFINE_GUID(HelpText_Property_GUID, 0x08555685,0x0977,0x45c7,0xa7,0xa6,0xab,0xaf,0x56,0x84,0x12,0x1a);
|
||||
DEFINE_GUID(ClickablePoint_Property_GUID, 0x0196903b,0xb203,0x4818,0xa9,0xf3,0xf0,0x8e,0x67,0x5f,0x23,0x41);
|
||||
DEFINE_GUID(Culture_Property_GUID, 0xe2d74f27,0x3d79,0x4dc2,0xb8,0x8b,0x30,0x44,0x96,0x3a,0x8a,0xfb);
|
||||
DEFINE_GUID(IsControlElement_Property_GUID, 0x95f35085,0xabcc,0x4afd,0xa5,0xf4,0xdb,0xb4,0x6c,0x23,0x0f,0xdb);
|
||||
DEFINE_GUID(IsContentElement_Property_GUID, 0x4bda64a8,0xf5d8,0x480b,0x81,0x55,0xef,0x2e,0x89,0xad,0xb6,0x72);
|
||||
DEFINE_GUID(LabeledBy_Property_GUID, 0xe5b8924b,0xfc8a,0x4a35,0x80,0x31,0xcf,0x78,0xac,0x43,0xe5,0x5e);
|
||||
DEFINE_GUID(IsPassword_Property_GUID, 0xe8482eb1,0x687c,0x497b,0xbe,0xbc,0x03,0xbe,0x53,0xec,0x14,0x54);
|
||||
DEFINE_GUID(NewNativeWindowHandle_Property_GUID, 0x5196b33b,0x380a,0x4982,0x95,0xe1,0x91,0xf3,0xef,0x60,0xe0,0x24);
|
||||
DEFINE_GUID(ItemType_Property_GUID, 0xcdda434d,0x6222,0x413b,0xa6,0x8a,0x32,0x5d,0xd1,0xd4,0x0f,0x39);
|
||||
DEFINE_GUID(IsOffscreen_Property_GUID, 0x03c3d160,0xdb79,0x42db,0xa2,0xef,0x1c,0x23,0x1e,0xed,0xe5,0x07);
|
||||
DEFINE_GUID(Orientation_Property_GUID, 0xa01eee62,0x3884,0x4415,0x88,0x7e,0x67,0x8e,0xc2,0x1e,0x39,0xba);
|
||||
DEFINE_GUID(FrameworkId_Property_GUID, 0xdbfd9900,0x7e1a,0x4f58,0xb6,0x1b,0x70,0x63,0x12,0x0f,0x77,0x3b);
|
||||
DEFINE_GUID(IsRequiredForForm_Property_GUID, 0x4f5f43cf,0x59fb,0x4bde,0xa2,0x70,0x60,0x2e,0x5e,0x11,0x41,0xe9);
|
||||
DEFINE_GUID(ItemStatus_Property_GUID, 0x51de0321,0x3973,0x43e7,0x89,0x13,0x0b,0x08,0xe8,0x13,0xc3,0x7f);
|
||||
DEFINE_GUID(IsDockPatternAvailable_Property_GUID, 0x2600a4c4,0x2ff8,0x4c96,0xae,0x31,0x8f,0xe6,0x19,0xa1,0x3c,0x6c);
|
||||
DEFINE_GUID(IsExpandCollapsePatternAvailable_Property_GUID, 0x929d3806,0x5287,0x4725,0xaa,0x16,0x22,0x2a,0xfc,0x63,0xd5,0x95);
|
||||
DEFINE_GUID(IsGridItemPatternAvailable_Property_GUID, 0x5a43e524,0xf9a2,0x4b12,0x84,0xc8,0xb4,0x8a,0x3e,0xfe,0xdd,0x34);
|
||||
DEFINE_GUID(IsGridPatternAvailable_Property_GUID, 0x5622c26c,0xf0ef,0x4f3b,0x97,0xcb,0x71,0x4c,0x08,0x68,0x58,0x8b);
|
||||
DEFINE_GUID(IsInvokePatternAvailable_Property_GUID, 0x4e725738,0x8364,0x4679,0xaa,0x6c,0xf3,0xf4,0x19,0x31,0xf7,0x50);
|
||||
DEFINE_GUID(IsMultipleViewPatternAvailable_Property_GUID, 0xff0a31eb,0x8e25,0x469d,0x8d,0x6e,0xe7,0x71,0xa2,0x7c,0x1b,0x90);
|
||||
DEFINE_GUID(IsRangeValuePatternAvailable_Property_GUID, 0xfda4244a,0xeb4d,0x43ff,0xb5,0xad,0xed,0x36,0xd3,0x73,0xec,0x4c);
|
||||
DEFINE_GUID(IsScrollPatternAvailable_Property_GUID, 0x3ebb7b4a,0x828a,0x4b57,0x9d,0x22,0x2f,0xea,0x16,0x32,0xed,0x0d);
|
||||
DEFINE_GUID(IsScrollItemPatternAvailable_Property_GUID, 0x1cad1a05,0x0927,0x4b76,0x97,0xe1,0x0f,0xcd,0xb2,0x09,0xb9,0x8a);
|
||||
DEFINE_GUID(IsSelectionItemPatternAvailable_Property_GUID, 0x8becd62d,0x0bc3,0x4109,0xbe,0xe2,0x8e,0x67,0x15,0x29,0x0e,0x68);
|
||||
DEFINE_GUID(IsSelectionPatternAvailable_Property_GUID, 0xf588acbe,0xc769,0x4838,0x9a,0x60,0x26,0x86,0xdc,0x11,0x88,0xc4);
|
||||
DEFINE_GUID(IsTablePatternAvailable_Property_GUID, 0xcb83575f,0x45c2,0x4048,0x9c,0x76,0x15,0x97,0x15,0xa1,0x39,0xdf);
|
||||
DEFINE_GUID(IsTableItemPatternAvailable_Property_GUID, 0xeb36b40d,0x8ea4,0x489b,0xa0,0x13,0xe6,0x0d,0x59,0x51,0xfe,0x34);
|
||||
DEFINE_GUID(IsTextPatternAvailable_Property_GUID, 0xfbe2d69d,0xaff6,0x4a45,0x82,0xe2,0xfc,0x92,0xa8,0x2f,0x59,0x17);
|
||||
DEFINE_GUID(IsTogglePatternAvailable_Property_GUID, 0x78686d53,0xfcd0,0x4b83,0x9b,0x78,0x58,0x32,0xce,0x63,0xbb,0x5b);
|
||||
DEFINE_GUID(IsTransformPatternAvailable_Property_GUID, 0xa7f78804,0xd68b,0x4077,0xa5,0xc6,0x7a,0x5e,0xa1,0xac,0x31,0xc5);
|
||||
DEFINE_GUID(IsValuePatternAvailable_Property_GUID, 0x0b5020a7,0x2119,0x473b,0xbe,0x37,0x5c,0xeb,0x98,0xbb,0xfb,0x22);
|
||||
DEFINE_GUID(IsWindowPatternAvailable_Property_GUID, 0xe7a57bb1,0x5888,0x4155,0x98,0xdc,0xb4,0x22,0xfd,0x57,0xf2,0xbc);
|
||||
DEFINE_GUID(Value_Value_Property_GUID, 0xe95f5e64,0x269f,0x4a85,0xba,0x99,0x40,0x92,0xc3,0xea,0x29,0x86);
|
||||
DEFINE_GUID(Value_IsReadOnly_Property_GUID, 0xeb090f30,0xe24c,0x4799,0xa7,0x05,0x0d,0x24,0x7b,0xc0,0x37,0xf8);
|
||||
DEFINE_GUID(RangeValue_Value_Property_GUID, 0x131f5d98,0xc50c,0x489d,0xab,0xe5,0xae,0x22,0x08,0x98,0xc5,0xf7);
|
||||
DEFINE_GUID(RangeValue_IsReadOnly_Property_GUID, 0x25fa1055,0xdebf,0x4373,0xa7,0x9e,0x1f,0x1a,0x19,0x08,0xd3,0xc4);
|
||||
DEFINE_GUID(RangeValue_Minimum_Property_GUID, 0x78cbd3b2,0x684d,0x4860,0xaf,0x93,0xd1,0xf9,0x5c,0xb0,0x22,0xfd);
|
||||
DEFINE_GUID(RangeValue_Maximum_Property_GUID, 0x19319914,0xf979,0x4b35,0xa1,0xa6,0xd3,0x7e,0x05,0x43,0x34,0x73);
|
||||
DEFINE_GUID(RangeValue_LargeChange_Property_GUID, 0xa1f96325,0x3a3d,0x4b44,0x8e,0x1f,0x4a,0x46,0xd9,0x84,0x40,0x19);
|
||||
DEFINE_GUID(RangeValue_SmallChange_Property_GUID, 0x81c2c457,0x3941,0x4107,0x99,0x75,0x13,0x97,0x60,0xf7,0xc0,0x72);
|
||||
DEFINE_GUID(Scroll_HorizontalScrollPercent_Property_GUID, 0xc7c13c0e,0xeb21,0x47ff,0xac,0xc4,0xb5,0xa3,0x35,0x0f,0x51,0x91);
|
||||
DEFINE_GUID(Scroll_HorizontalViewSize_Property_GUID, 0x70c2e5d4,0xfcb0,0x4713,0xa9,0xaa,0xaf,0x92,0xff,0x79,0xe4,0xcd);
|
||||
DEFINE_GUID(Scroll_VerticalScrollPercent_Property_GUID, 0x6c8d7099,0xb2a8,0x4948,0xbf,0xf7,0x3c,0xf9,0x05,0x8b,0xfe,0xfb);
|
||||
DEFINE_GUID(Scroll_VerticalViewSize_Property_GUID, 0xde6a2e22,0xd8c7,0x40c5,0x83,0xba,0xe5,0xf6,0x81,0xd5,0x31,0x08);
|
||||
DEFINE_GUID(Scroll_HorizontallyScrollable_Property_GUID, 0x8b925147,0x28cd,0x49ae,0xbd,0x63,0xf4,0x41,0x18,0xd2,0xe7,0x19);
|
||||
DEFINE_GUID(Scroll_VerticallyScrollable_Property_GUID, 0x89164798,0x0068,0x4315,0xb8,0x9a,0x1e,0x7c,0xfb,0xbc,0x3d,0xfc);
|
||||
DEFINE_GUID(Selection_Selection_Property_GUID, 0xaa6dc2a2,0x0e2b,0x4d38,0x96,0xd5,0x34,0xe4,0x70,0xb8,0x18,0x53);
|
||||
DEFINE_GUID(Selection_CanSelectMultiple_Property_GUID, 0x49d73da5,0xc883,0x4500,0x88,0x3d,0x8f,0xcf,0x8d,0xaf,0x6c,0xbe);
|
||||
DEFINE_GUID(Selection_IsSelectionRequired_Property_GUID, 0xb1ae4422,0x63fe,0x44e7,0xa5,0xa5,0xa7,0x38,0xc8,0x29,0xb1,0x9a);
|
||||
DEFINE_GUID(Grid_RowCount_Property_GUID, 0x2a9505bf,0xc2eb,0x4fb6,0xb3,0x56,0x82,0x45,0xae,0x53,0x70,0x3e);
|
||||
DEFINE_GUID(Grid_ColumnCount_Property_GUID, 0xfe96f375,0x44aa,0x4536,0xac,0x7a,0x2a,0x75,0xd7,0x1a,0x3e,0xfc);
|
||||
DEFINE_GUID(GridItem_Row_Property_GUID, 0x6223972a,0xc945,0x4563,0x93,0x29,0xfd,0xc9,0x74,0xaf,0x25,0x53);
|
||||
DEFINE_GUID(GridItem_Column_Property_GUID, 0xc774c15c,0x62c0,0x4519,0x8b,0xdc,0x47,0xbe,0x57,0x3c,0x8a,0xd5);
|
||||
DEFINE_GUID(GridItem_RowSpan_Property_GUID, 0x4582291c,0x466b,0x4e93,0x8e,0x83,0x3d,0x17,0x15,0xec,0x0c,0x5e);
|
||||
DEFINE_GUID(GridItem_ColumnSpan_Property_GUID, 0x583ea3f5,0x86d0,0x4b08,0xa6,0xec,0x2c,0x54,0x63,0xff,0xc1,0x09);
|
||||
DEFINE_GUID(GridItem_Parent_Property_GUID, 0x9d912252,0xb97f,0x4ecc,0x85,0x10,0xea,0x0e,0x33,0x42,0x7c,0x72);
|
||||
DEFINE_GUID(Dock_DockPosition_Property_GUID, 0x6d67f02e,0xc0b0,0x4b10,0xb5,0xb9,0x18,0xd6,0xec,0xf9,0x87,0x60);
|
||||
DEFINE_GUID(ExpandCollapse_ExpandCollapseState_Property_GUID, 0x275a4c48,0x85a7,0x4f69,0xab,0xa0,0xaf,0x15,0x76,0x10,0x00,0x2b);
|
||||
DEFINE_GUID(MultipleView_CurrentView_Property_GUID, 0x7a81a67a,0xb94f,0x4875,0x91,0x8b,0x65,0xc8,0xd2,0xf9,0x98,0xe5);
|
||||
DEFINE_GUID(MultipleView_SupportedViews_Property_GUID, 0x8d5db9fd,0xce3c,0x4ae7,0xb7,0x88,0x40,0x0a,0x3c,0x64,0x55,0x47);
|
||||
DEFINE_GUID(Window_CanMaximize_Property_GUID, 0x64fff53f,0x635d,0x41c1,0x95,0x0c,0xcb,0x5a,0xdf,0xbe,0x28,0xe3);
|
||||
DEFINE_GUID(Window_CanMinimize_Property_GUID, 0xb73b4625,0x5988,0x4b97,0xb4,0xc2,0xa6,0xfe,0x6e,0x78,0xc8,0xc6);
|
||||
DEFINE_GUID(Window_WindowVisualState_Property_GUID, 0x4ab7905f,0xe860,0x453e,0xa3,0x0a,0xf6,0x43,0x1e,0x5d,0xaa,0xd5);
|
||||
DEFINE_GUID(Window_WindowInteractionState_Property_GUID, 0x4fed26a4,0x0455,0x4fa2,0xb2,0x1c,0xc4,0xda,0x2d,0xb1,0xff,0x9c);
|
||||
DEFINE_GUID(Window_IsModal_Property_GUID, 0xff4e6892,0x37b9,0x4fca,0x85,0x32,0xff,0xe6,0x74,0xec,0xfe,0xed);
|
||||
DEFINE_GUID(Window_IsTopmost_Property_GUID, 0xef7d85d3,0x0937,0x4962,0x92,0x41,0xb6,0x23,0x45,0xf2,0x40,0x41);
|
||||
DEFINE_GUID(SelectionItem_IsSelected_Property_GUID, 0xf122835f,0xcd5f,0x43df,0xb7,0x9d,0x4b,0x84,0x9e,0x9e,0x60,0x20);
|
||||
DEFINE_GUID(SelectionItem_SelectionContainer_Property_GUID, 0xa4365b6e,0x9c1e,0x4b63,0x8b,0x53,0xc2,0x42,0x1d,0xd1,0xe8,0xfb);
|
||||
DEFINE_GUID(Table_RowHeaders_Property_GUID, 0xd9e35b87,0x6eb8,0x4562,0xaa,0xc6,0xa8,0xa9,0x07,0x52,0x36,0xa8);
|
||||
DEFINE_GUID(Table_ColumnHeaders_Property_GUID, 0xaff1d72b,0x968d,0x42b1,0xb4,0x59,0x15,0x0b,0x29,0x9d,0xa6,0x64);
|
||||
DEFINE_GUID(Table_RowOrColumnMajor_Property_GUID, 0x83be75c3,0x29fe,0x4a30,0x85,0xe1,0x2a,0x62,0x77,0xfd,0x10,0x6e);
|
||||
DEFINE_GUID(TableItem_RowHeaderItems_Property_GUID, 0xb3f853a0,0x0574,0x4cd8,0xbc,0xd7,0xed,0x59,0x23,0x57,0x2d,0x97);
|
||||
DEFINE_GUID(TableItem_ColumnHeaderItems_Property_GUID, 0x967a56a3,0x74b6,0x431e,0x8d,0xe6,0x99,0xc4,0x11,0x03,0x1c,0x58);
|
||||
DEFINE_GUID(Toggle_ToggleState_Property_GUID, 0xb23cdc52,0x22c2,0x4c6c,0x9d,0xed,0xf5,0xc4,0x22,0x47,0x9e,0xde);
|
||||
DEFINE_GUID(Transform_CanMove_Property_GUID, 0x1b75824d,0x208b,0x4fdf,0xbc,0xcd,0xf1,0xf4,0xe5,0x74,0x1f,0x4f);
|
||||
DEFINE_GUID(Transform_CanResize_Property_GUID, 0xbb98dca5,0x4c1a,0x41d4,0xa4,0xf6,0xeb,0xc1,0x28,0x64,0x41,0x80);
|
||||
DEFINE_GUID(Transform_CanRotate_Property_GUID, 0x10079b48,0x3849,0x476f,0xac,0x96,0x44,0xa9,0x5c,0x84,0x40,0xd9);
|
||||
DEFINE_GUID(IsLegacyIAccessiblePatternAvailable_Property_GUID, 0xd8ebd0c7,0x929a,0x4ee7,0x8d,0x3a,0xd3,0xd9,0x44,0x13,0x02,0x7b);
|
||||
DEFINE_GUID(LegacyIAccessible_ChildId_Property_GUID, 0x9a191b5d,0x9ef2,0x4787,0xa4,0x59,0xdc,0xde,0x88,0x5d,0xd4,0xe8);
|
||||
DEFINE_GUID(LegacyIAccessible_Name_Property_GUID, 0xcaeb063d,0x40ae,0x4869,0xaa,0x5a,0x1b,0x8e,0x5d,0x66,0x67,0x39);
|
||||
DEFINE_GUID(LegacyIAccessible_Value_Property_GUID, 0xb5c5b0b6,0x8217,0x4a77,0x97,0xa5,0x19,0x0a,0x85,0xed,0x01,0x56);
|
||||
DEFINE_GUID(LegacyIAccessible_Description_Property_GUID, 0x46448418,0x7d70,0x4ea9,0x9d,0x27,0xb7,0xe7,0x75,0xcf,0x2a,0xd7);
|
||||
DEFINE_GUID(LegacyIAccessible_Role_Property_GUID, 0x6856e59f,0xcbaf,0x4e31,0x93,0xe8,0xbc,0xbf,0x6f,0x7e,0x49,0x1c);
|
||||
DEFINE_GUID(LegacyIAccessible_State_Property_GUID, 0xdf985854,0x2281,0x4340,0xab,0x9c,0xc6,0x0e,0x2c,0x58,0x03,0xf6);
|
||||
DEFINE_GUID(LegacyIAccessible_Help_Property_GUID, 0x94402352,0x161c,0x4b77,0xa9,0x8d,0xa8,0x72,0xcc,0x33,0x94,0x7a);
|
||||
DEFINE_GUID(LegacyIAccessible_KeyboardShortcut_Property_GUID, 0x8f6909ac,0x00b8,0x4259,0xa4,0x1c,0x96,0x62,0x66,0xd4,0x3a,0x8a);
|
||||
DEFINE_GUID(LegacyIAccessible_Selection_Property_GUID, 0x8aa8b1e0,0x0891,0x40cc,0x8b,0x06,0x90,0xd7,0xd4,0x16,0x62,0x19);
|
||||
DEFINE_GUID(LegacyIAccessible_DefaultAction_Property_GUID, 0x3b331729,0xeaad,0x4502,0xb8,0x5f,0x92,0x61,0x56,0x22,0x91,0x3c);
|
||||
DEFINE_GUID(AriaRole_Property_GUID, 0xdd207b95,0xbe4a,0x4e0d,0xb7,0x27,0x63,0xac,0xe9,0x4b,0x69,0x16);
|
||||
DEFINE_GUID(AriaProperties_Property_GUID, 0x4213678c,0xe025,0x4922,0xbe,0xb5,0xe4,0x3b,0xa0,0x8e,0x62,0x21);
|
||||
DEFINE_GUID(IsDataValidForForm_Property_GUID, 0x445ac684,0xc3fc,0x4dd9,0xac,0xf8,0x84,0x5a,0x57,0x92,0x96,0xba);
|
||||
DEFINE_GUID(ControllerFor_Property_GUID, 0x51124c8a,0xa5d2,0x4f13,0x9b,0xe6,0x7f,0xa8,0xba,0x9d,0x3a,0x90);
|
||||
DEFINE_GUID(DescribedBy_Property_GUID, 0x7c5865b8,0x9992,0x40fd,0x8d,0xb0,0x6b,0xf1,0xd3,0x17,0xf9,0x98);
|
||||
DEFINE_GUID(FlowsTo_Property_GUID, 0xe4f33d20,0x559a,0x47fb,0xa8,0x30,0xf9,0xcb,0x4f,0xf1,0xa7,0x0a);
|
||||
DEFINE_GUID(ProviderDescription_Property_GUID, 0xdca5708a,0xc16b,0x4cd9,0xb8,0x89,0xbe,0xb1,0x6a,0x80,0x49,0x04);
|
||||
DEFINE_GUID(IsItemContainerPatternAvailable_Property_GUID, 0x624b5ca7,0xfe40,0x4957,0xa0,0x19,0x20,0xc4,0xcf,0x11,0x92,0x0f);
|
||||
DEFINE_GUID(IsVirtualizedItemPatternAvailable_Property_GUID, 0x302cb151,0x2ac8,0x45d6,0x97,0x7b,0xd2,0xb3,0xa5,0xa5,0x3f,0x20);
|
||||
DEFINE_GUID(IsSynchronizedInputPatternAvailable_Property_GUID, 0x75d69cc5,0xd2bf,0x4943,0x87,0x6e,0xb4,0x5b,0x62,0xa6,0xcc,0x66);
|
||||
DEFINE_GUID(OptimizeForVisualContent_Property_GUID, 0x6a852250,0xc75a,0x4e5d,0xb8,0x58,0xe3,0x81,0xb0,0xf7,0x88,0x61);
|
||||
DEFINE_GUID(IsObjectModelPatternAvailable_Property_GUID, 0x6b21d89b,0x2841,0x412f,0x8e,0xf2,0x15,0xca,0x95,0x23,0x18,0xba);
|
||||
DEFINE_GUID(Annotation_AnnotationTypeId_Property_GUID, 0x20ae484f,0x69ef,0x4c48,0x8f,0x5b,0xc4,0x93,0x8b,0x20,0x6a,0xc7);
|
||||
DEFINE_GUID(Annotation_AnnotationTypeName_Property_GUID, 0x9b818892,0x5ac9,0x4af9,0xaa,0x96,0xf5,0x8a,0x77,0xb0,0x58,0xe3);
|
||||
DEFINE_GUID(Annotation_Author_Property_GUID, 0x7a528462,0x9c5c,0x4a03,0xa9,0x74,0x8b,0x30,0x7a,0x99,0x37,0xf2);
|
||||
DEFINE_GUID(Annotation_DateTime_Property_GUID, 0x99b5ca5d,0x1acf,0x414b,0xa4,0xd0,0x6b,0x35,0x0b,0x04,0x75,0x78);
|
||||
DEFINE_GUID(Annotation_Target_Property_GUID, 0xb71b302d,0x2104,0x44ad,0x9c,0x5c,0x09,0x2b,0x49,0x07,0xd7,0x0f);
|
||||
DEFINE_GUID(IsAnnotationPatternAvailable_Property_GUID, 0x0b5b3238,0x6d5c,0x41b6,0xbc,0xc4,0x5e,0x80,0x7f,0x65,0x51,0xc4);
|
||||
DEFINE_GUID(IsTextPattern2Available_Property_GUID, 0x41cf921d,0xe3f1,0x4b22,0x9c,0x81,0xe1,0xc3,0xed,0x33,0x1c,0x22);
|
||||
DEFINE_GUID(Styles_StyleId_Property_GUID, 0xda82852f,0x3817,0x4233,0x82,0xaf,0x02,0x27,0x9e,0x72,0xcc,0x77);
|
||||
DEFINE_GUID(Styles_StyleName_Property_GUID, 0x1c12b035,0x05d1,0x4f55,0x9e,0x8e,0x14,0x89,0xf3,0xff,0x55,0x0d);
|
||||
DEFINE_GUID(Styles_FillColor_Property_GUID, 0x63eff97a,0xa1c5,0x4b1d,0x84,0xeb,0xb7,0x65,0xf2,0xed,0xd6,0x32);
|
||||
DEFINE_GUID(Styles_FillPatternStyle_Property_GUID, 0x81cf651f,0x482b,0x4451,0xa3,0x0a,0xe1,0x54,0x5e,0x55,0x4f,0xb8);
|
||||
DEFINE_GUID(Styles_Shape_Property_GUID, 0xc71a23f8,0x778c,0x400d,0x84,0x58,0x3b,0x54,0x3e,0x52,0x69,0x84);
|
||||
DEFINE_GUID(Styles_FillPatternColor_Property_GUID, 0x939a59fe,0x8fbd,0x4e75,0xa2,0x71,0xac,0x45,0x95,0x19,0x51,0x63);
|
||||
DEFINE_GUID(Styles_ExtendedProperties_Property_GUID, 0xf451cda0,0xba0a,0x4681,0xb0,0xb0,0x0d,0xbd,0xb5,0x3e,0x58,0xf3);
|
||||
DEFINE_GUID(IsStylesPatternAvailable_Property_GUID, 0x27f353d3,0x459c,0x4b59,0xa4,0x90,0x50,0x61,0x1d,0xac,0xaf,0xb5);
|
||||
DEFINE_GUID(IsSpreadsheetPatternAvailable_Property_GUID, 0x6ff43732,0xe4b4,0x4555,0x97,0xbc,0xec,0xdb,0xbc,0x4d,0x18,0x88);
|
||||
DEFINE_GUID(SpreadsheetItem_Formula_Property_GUID, 0xe602e47d,0x1b47,0x4bea,0x87,0xcf,0x3b,0x0b,0x0b,0x5c,0x15,0xb6);
|
||||
DEFINE_GUID(SpreadsheetItem_AnnotationObjects_Property_GUID, 0xa3194c38,0xc9bc,0x4604,0x93,0x96,0xae,0x3f,0x9f,0x45,0x7f,0x7b);
|
||||
DEFINE_GUID(SpreadsheetItem_AnnotationTypes_Property_GUID, 0xc70c51d0,0xd602,0x4b45,0xaf,0xbc,0xb4,0x71,0x2b,0x96,0xd7,0x2b);
|
||||
DEFINE_GUID(IsSpreadsheetItemPatternAvailable_Property_GUID, 0x9fe79b2a,0x2f94,0x43fd,0x99,0x6b,0x54,0x9e,0x31,0x6f,0x4a,0xcd);
|
||||
DEFINE_GUID(Transform2_CanZoom_Property_GUID, 0xf357e890,0xa756,0x4359,0x9c,0xa6,0x86,0x70,0x2b,0xf8,0xf3,0x81);
|
||||
DEFINE_GUID(IsTransformPattern2Available_Property_GUID, 0x25980b4b,0xbe04,0x4710,0xab,0x4a,0xfd,0xa3,0x1d,0xbd,0x28,0x95);
|
||||
DEFINE_GUID(LiveSetting_Property_GUID, 0xc12bcd8e,0x2a8e,0x4950,0x8a,0xe7,0x36,0x25,0x11,0x1d,0x58,0xeb);
|
||||
DEFINE_GUID(IsTextChildPatternAvailable_Property_GUID, 0x559e65df,0x30ff,0x43b5,0xb5,0xed,0x5b,0x28,0x3b,0x80,0xc7,0xe9);
|
||||
DEFINE_GUID(IsDragPatternAvailable_Property_GUID, 0xe997a7b7,0x1d39,0x4ca7,0xbe,0x0f,0x27,0x7f,0xcf,0x56,0x05,0xcc);
|
||||
DEFINE_GUID(Drag_IsGrabbed_Property_GUID, 0x45f206f3,0x75cc,0x4cca,0xa9,0xb9,0xfc,0xdf,0xb9,0x82,0xd8,0xa2);
|
||||
DEFINE_GUID(Drag_DropEffect_Property_GUID, 0x646f2779,0x48d3,0x4b23,0x89,0x02,0x4b,0xf1,0x00,0x00,0x5d,0xf3);
|
||||
DEFINE_GUID(Drag_DropEffects_Property_GUID, 0xf5d61156,0x7ce6,0x49be,0xa8,0x36,0x92,0x69,0xdc,0xec,0x92,0x0f);
|
||||
DEFINE_GUID(IsDropTargetPatternAvailable_Property_GUID, 0x0686b62e,0x8e19,0x4aaf,0x87,0x3d,0x38,0x4f,0x6d,0x3b,0x92,0xbe);
|
||||
DEFINE_GUID(DropTarget_DropTargetEffect_Property_GUID, 0x8bb75975,0xa0ca,0x4981,0xb8,0x18,0x87,0xfc,0x66,0xe9,0x50,0x9d);
|
||||
DEFINE_GUID(DropTarget_DropTargetEffects_Property_GUID, 0xbc1dd4ed,0xcb89,0x45f1,0xa5,0x92,0xe0,0x3b,0x08,0xae,0x79,0x0f);
|
||||
DEFINE_GUID(Drag_GrabbedItems_Property_GUID, 0x77c1562c,0x7b86,0x4b21,0x9e,0xd7,0x3c,0xef,0xda,0x6f,0x4c,0x43);
|
||||
DEFINE_GUID(Transform2_ZoomLevel_Property_GUID, 0xeee29f1a,0xf4a2,0x4b5b,0xac,0x65,0x95,0xcf,0x93,0x28,0x33,0x87);
|
||||
DEFINE_GUID(Transform2_ZoomMinimum_Property_GUID, 0x742ccc16,0x4ad1,0x4e07,0x96,0xfe,0xb1,0x22,0xc6,0xe6,0xb2,0x2b);
|
||||
DEFINE_GUID(Transform2_ZoomMaximum_Property_GUID, 0x42ab6b77,0xceb0,0x4eca,0xb8,0x2a,0x6c,0xfa,0x5f,0xa1,0xfc,0x08);
|
||||
DEFINE_GUID(FlowsFrom_Property_GUID, 0x05c6844f,0x19de,0x48f8,0x95,0xfa,0x88,0x0d,0x5b,0x0f,0xd6,0x15);
|
||||
DEFINE_GUID(IsTextEditPatternAvailable_Property_GUID, 0x7843425c,0x8b32,0x484c,0x9a,0xb5,0xe3,0x20,0x05,0x71,0xff,0xda);
|
||||
DEFINE_GUID(IsPeripheral_Property_GUID, 0xda758276,0x7ed5,0x49d4,0x8e,0x68,0xec,0xc9,0xa2,0xd3,0x00,0xdd);
|
||||
DEFINE_GUID(IsCustomNavigationPatternAvailable_Property_GUID, 0x8f8e80d4,0x2351,0x48e0,0x87,0x4a,0x54,0xaa,0x73,0x13,0x88,0x9a);
|
||||
DEFINE_GUID(PositionInSet_Property_GUID, 0x33d1dc54,0x641e,0x4d76,0xa6,0xb1,0x13,0xf3,0x41,0xc1,0xf8,0x96);
|
||||
DEFINE_GUID(SizeOfSet_Property_GUID, 0x1600d33c,0x3b9f,0x4369,0x94,0x31,0xaa,0x29,0x3f,0x34,0x4c,0xf1);
|
||||
DEFINE_GUID(Level_Property_GUID, 0x242ac529,0xcd36,0x400f,0xaa,0xd9,0x78,0x76,0xef,0x3a,0xf6,0x27);
|
||||
DEFINE_GUID(AnnotationTypes_Property_GUID, 0x64b71f76,0x53c4,0x4696,0xa2,0x19,0x20,0xe9,0x40,0xc9,0xa1,0x76);
|
||||
DEFINE_GUID(AnnotationObjects_Property_GUID, 0x310910c8,0x7c6e,0x4f20,0xbe,0xcd,0x4a,0xaf,0x6d,0x19,0x11,0x56);
|
||||
DEFINE_GUID(LandmarkType_Property_GUID, 0x454045f2,0x6f61,0x49f7,0xa4,0xf8,0xb5,0xf0,0xcf,0x82,0xda,0x1e);
|
||||
DEFINE_GUID(LocalizedLandmarkType_Property_GUID, 0x7ac81980,0xeafb,0x4fb2,0xbf,0x91,0xf4,0x85,0xbe,0xf5,0xe8,0xe1);
|
||||
DEFINE_GUID(FullDescription_Property_GUID, 0x0d4450ff,0x6aef,0x4f33,0x95,0xdd,0x7b,0xef,0xa7,0x2a,0x43,0x91);
|
||||
DEFINE_GUID(FillColor_Property_GUID , 0x6e0ec4d0,0xe2a8,0x4a56,0x9d,0xe7,0x95,0x33,0x89,0x93,0x3b,0x39);
|
||||
DEFINE_GUID(OutlineColor_Property_GUID, 0xc395d6c0,0x4b55,0x4762,0xa0,0x73,0xfd,0x30,0x3a,0x63,0x4f,0x52);
|
||||
DEFINE_GUID(FillType_Property_GUID, 0xc6fc74e4,0x8cb9,0x429c,0xa9,0xe1,0x9b,0xc4,0xac,0x37,0x2b,0x62);
|
||||
DEFINE_GUID(VisualEffects_Property_GUID, 0xe61a8565,0xaad9,0x46d7,0x9e,0x70,0x4e,0x8a,0x84,0x20,0xd4,0x20);
|
||||
DEFINE_GUID(OutlineThickness_Property_GUID, 0x13e67cc7,0xdac2,0x4888,0xbd,0xd3,0x37,0x5c,0x62,0xfa,0x96,0x18);
|
||||
DEFINE_GUID(CenterPoint_Property_GUID, 0x0cb00c08,0x540c,0x4edb,0x94,0x45,0x26,0x35,0x9e,0xa6,0x97,0x85);
|
||||
DEFINE_GUID(Rotation_Property_GUID, 0x767cdc7d,0xaec0,0x4110,0xad,0x32,0x30,0xed,0xd4,0x03,0x49,0x2e);
|
||||
DEFINE_GUID(Size_Property_GUID, 0x2b5f761d,0xf885,0x4404,0x97,0x3f,0x9b,0x1d,0x98,0xe3,0x6d,0x8f);
|
||||
DEFINE_GUID(IsSelectionPattern2Available_Property_GUID, 0x490806fb,0x6e89,0x4a47,0x83,0x19,0xd2,0x66,0xe5,0x11,0xf0,0x21);
|
||||
DEFINE_GUID(Selection2_FirstSelectedItem_Property_GUID, 0xcc24ea67,0x369c,0x4e55,0x9f,0xf7,0x38,0xda,0x69,0x54,0x0c,0x29);
|
||||
DEFINE_GUID(Selection2_LastSelectedItem_Property_GUID, 0xcf7bda90,0x2d83,0x49f8,0x86,0x0c,0x9c,0xe3,0x94,0xcf,0x89,0xb4);
|
||||
DEFINE_GUID(Selection2_CurrentSelectedItem_Property_GUID, 0x34257c26,0x83b5,0x41a6,0x93,0x9c,0xae,0x84,0x1c,0x13,0x62,0x36);
|
||||
DEFINE_GUID(Selection2_ItemCount_Property_GUID, 0xbb49eb9f,0x456d,0x4048,0xb5,0x91,0x9c,0x20,0x26,0xb8,0x46,0x36);
|
||||
DEFINE_GUID(HeadingLevel_Property_GUID, 0x29084272,0xaaaf,0x4a30,0x87,0x96,0x3c,0x12,0xf6,0x2b,0x6b,0xbb);
|
||||
DEFINE_GUID(IsDialog_Property_GUID, 0x9d0dfb9b,0x8436,0x4501,0xbb,0xbb,0xe5,0x34,0xa4,0xfb,0x3b,0x3f);
|
||||
|
||||
/*
|
||||
* AutomationIdentifierType_Event GUIDs.
|
||||
*/
|
||||
DEFINE_GUID(ToolTipOpened_Event_GUID, 0x3f4b97ff,0x2edc,0x451d,0xbc,0xa4,0x95,0xa3,0x18,0x8d,0x5b,0x03);
|
||||
DEFINE_GUID(ToolTipClosed_Event_GUID, 0x276d71ef,0x24a9,0x49b6,0x8e,0x97,0xda,0x98,0xb4,0x01,0xbb,0xcd);
|
||||
DEFINE_GUID(StructureChanged_Event_GUID, 0x59977961,0x3edd,0x4b11,0xb1,0x3b,0x67,0x6b,0x2a,0x2a,0x6c,0xa9);
|
||||
DEFINE_GUID(MenuOpened_Event_GUID, 0xebe2e945,0x66ca,0x4ed1,0x9f,0xf8,0x2a,0xd7,0xdf,0x0a,0x1b,0x08);
|
||||
DEFINE_GUID(AutomationPropertyChanged_Event_GUID, 0x2527fba1,0x8d7a,0x4630,0xa4,0xcc,0xe6,0x63,0x15,0x94,0x2f,0x52);
|
||||
DEFINE_GUID(AutomationFocusChanged_Event_GUID, 0xb68a1f17,0xf60d,0x41a7,0xa3,0xcc,0xb0,0x52,0x92,0x15,0x5f,0xe0);
|
||||
DEFINE_GUID(AsyncContentLoaded_Event_GUID, 0x5fdee11c,0xd2fa,0x4fb9,0x90,0x4e,0x5c,0xbe,0xe8,0x94,0xd5,0xef);
|
||||
DEFINE_GUID(MenuClosed_Event_GUID, 0x3cf1266e,0x1582,0x4041,0xac,0xd7,0x88,0xa3,0x5a,0x96,0x52,0x97);
|
||||
DEFINE_GUID(LayoutInvalidated_Event_GUID, 0xed7d6544,0xa6bd,0x4595,0x9b,0xae,0x3d,0x28,0x94,0x6c,0xc7,0x15);
|
||||
DEFINE_GUID(Invoke_Invoked_Event_GUID, 0xdfd699f0,0xc915,0x49dd,0xb4,0x22,0xdd,0xe7,0x85,0xc3,0xd2,0x4b);
|
||||
DEFINE_GUID(SelectionItem_ElementAddedToSelectionEvent_Event_GUID, 0x3c822dd1,0xc407,0x4dba,0x91,0xdd,0x79,0xd4,0xae,0xd0,0xae,0xc6);
|
||||
DEFINE_GUID(SelectionItem_ElementRemovedFromSelectionEvent_Event_GUID, 0x097fa8a9,0x7079,0x41af,0x8b,0x9c,0x09,0x34,0xd8,0x30,0x5e,0x5c);
|
||||
DEFINE_GUID(SelectionItem_ElementSelectedEvent_Event_GUID, 0xb9c7dbfb,0x4ebe,0x4532,0xaa,0xf4,0x00,0x8c,0xf6,0x47,0x23,0x3c);
|
||||
DEFINE_GUID(Selection_InvalidatedEvent_Event_GUID, 0xcac14904,0x16b4,0x4b53,0x8e,0x47,0x4c,0xb1,0xdf,0x26,0x7b,0xb7);
|
||||
DEFINE_GUID(Text_TextSelectionChangedEvent_Event_GUID, 0x918edaa1,0x71b3,0x49ae,0x97,0x41,0x79,0xbe,0xb8,0xd3,0x58,0xf3);
|
||||
DEFINE_GUID(Text_TextChangedEvent_Event_GUID, 0x4a342082,0xf483,0x48c4,0xac,0x11,0xa8,0x4b,0x43,0x5e,0x2a,0x84);
|
||||
DEFINE_GUID(Window_WindowOpened_Event_GUID, 0xd3e81d06,0xde45,0x4f2f,0x96,0x33,0xde,0x9e,0x02,0xfb,0x65,0xaf);
|
||||
DEFINE_GUID(Window_WindowClosed_Event_GUID, 0xedf141f8,0xfa67,0x4e22,0xbb,0xf7,0x94,0x4e,0x05,0x73,0x5e,0xe2);
|
||||
DEFINE_GUID(MenuModeStart_Event_GUID, 0x18d7c631,0x166a,0x4ac9,0xae,0x3b,0xef,0x4b,0x54,0x20,0xe6,0x81);
|
||||
DEFINE_GUID(MenuModeEnd_Event_GUID, 0x9ecd4c9f,0x80dd,0x47b8,0x82,0x67,0x5a,0xec,0x06,0xbb,0x2c,0xff);
|
||||
DEFINE_GUID(InputReachedTarget_Event_GUID, 0x93ed549a,0x0549,0x40f0,0xbe,0xdb,0x28,0xe4,0x4f,0x7d,0xe2,0xa3);
|
||||
DEFINE_GUID(InputReachedOtherElement_Event_GUID, 0xed201d8a,0x4e6c,0x415e,0xa8,0x74,0x24,0x60,0xc9,0xb6,0x6b,0xa8);
|
||||
DEFINE_GUID(InputDiscarded_Event_GUID, 0x7f36c367,0x7b18,0x417c,0x97,0xe3,0x9d,0x58,0xdd,0xc9,0x44,0xab);
|
||||
DEFINE_GUID(SystemAlert_Event_GUID, 0xd271545d,0x7a3a,0x47a7,0x84,0x74,0x81,0xd2,0x9a,0x24,0x51,0xc9);
|
||||
DEFINE_GUID(LiveRegionChanged_Event_GUID, 0x102d5e90,0xe6a9,0x41b6,0xb1,0xc5,0xa9,0xb1,0x92,0x9d,0x95,0x10);
|
||||
DEFINE_GUID(HostedFragmentRootsInvalidated_Event_GUID, 0xe6bdb03e,0x0921,0x4ec5,0x8d,0xcf,0xea,0xe8,0x77,0xb0,0x42,0x6b);
|
||||
DEFINE_GUID(Drag_DragStart_Event_GUID, 0x883a480b,0x3aa9,0x429d,0x95,0xe4,0xd9,0xc8,0xd0,0x11,0xf0,0xdd);
|
||||
DEFINE_GUID(Drag_DragCancel_Event_GUID, 0xc3ede6fa,0x3451,0x4e0f,0x9e,0x71,0xdf,0x9c,0x28,0x0a,0x46,0x57);
|
||||
DEFINE_GUID(Drag_DragComplete_Event_GUID, 0x38e96188,0xef1f,0x463e,0x91,0xca,0x3a,0x77,0x92,0xc2,0x9c,0xaf);
|
||||
DEFINE_GUID(DropTarget_DragEnter_Event_GUID, 0xaad9319b,0x032c,0x4a88,0x96,0x1d,0x1c,0xf5,0x79,0x58,0x1e,0x34);
|
||||
DEFINE_GUID(DropTarget_DragLeave_Event_GUID, 0x0f82eb15,0x24a2,0x4988,0x92,0x17,0xde,0x16,0x2a,0xee,0x27,0x2b);
|
||||
DEFINE_GUID(DropTarget_Dropped_Event_GUID, 0x622cead8,0x1edb,0x4a3d,0xab,0xbc,0xbe,0x22,0x11,0xff,0x68,0xb5);
|
||||
DEFINE_GUID(TextEdit_TextChanged_Event_GUID, 0x120b0308,0xec22,0x4eb8,0x9c,0x98,0x98,0x67,0xcd,0xa1,0xb1,0x65);
|
||||
DEFINE_GUID(TextEdit_ConversionTargetChanged_Event_GUID, 0x3388c183,0xed4f,0x4c8b,0x9b,0xaa,0x36,0x4d,0x51,0xd8,0x84,0x7f);
|
||||
DEFINE_GUID(Changes_Event_GUID, 0x7df26714,0x614f,0x4e05,0x94,0x88,0x71,0x6c,0x5b,0xa1,0x94,0x36);
|
||||
DEFINE_GUID(Notification_Event_GUID, 0x72c5a2f7,0x9788,0x480f,0xb8,0xeb,0x4d,0xee,0x00,0xf6,0x18,0x6f);
|
||||
|
||||
/*
|
||||
* AutomationIdentifierType_Pattern GUIDs.
|
||||
*/
|
||||
DEFINE_GUID(Invoke_Pattern_GUID, 0xd976c2fc,0x66ea,0x4a6e,0xb2,0x8f,0xc2,0x4c,0x75,0x46,0xad,0x37);
|
||||
DEFINE_GUID(Selection_Pattern_GUID, 0x66e3b7e8,0xd821,0x4d25,0x87,0x61,0x43,0x5d,0x2c,0x8b,0x25,0x3f);
|
||||
DEFINE_GUID(Value_Pattern_GUID, 0x17faad9e,0xc877,0x475b,0xb9,0x33,0x77,0x33,0x27,0x79,0xb6,0x37);
|
||||
DEFINE_GUID(RangeValue_Pattern_GUID, 0x18b00d87,0xb1c9,0x476a,0xbf,0xbd,0x5f,0x0b,0xdb,0x92,0x6f,0x63);
|
||||
DEFINE_GUID(Scroll_Pattern_GUID, 0x895fa4b4,0x759d,0x4c50,0x8e,0x15,0x03,0x46,0x06,0x72,0x00,0x3c);
|
||||
DEFINE_GUID(ExpandCollapse_Pattern_GUID, 0xae05efa2,0xf9d1,0x428a,0x83,0x4c,0x53,0xa5,0xc5,0x2f,0x9b,0x8b);
|
||||
DEFINE_GUID(Grid_Pattern_GUID, 0x260a2ccb,0x93a8,0x4e44,0xa4,0xc1,0x3d,0xf3,0x97,0xf2,0xb0,0x2b);
|
||||
DEFINE_GUID(GridItem_Pattern_GUID, 0xf2d5c877,0xa462,0x4957,0xa2,0xa5,0x2c,0x96,0xb3,0x03,0xbc,0x63);
|
||||
DEFINE_GUID(MultipleView_Pattern_GUID, 0x547a6ae4,0x113f,0x47c4,0x85,0x0f,0xdb,0x4d,0xfa,0x46,0x6b,0x1d);
|
||||
DEFINE_GUID(Window_Pattern_GUID, 0x27901735,0xc760,0x4994,0xad,0x11,0x59,0x19,0xe6,0x06,0xb1,0x10);
|
||||
DEFINE_GUID(SelectionItem_Pattern_GUID, 0x9bc64eeb,0x87c7,0x4b28,0x94,0xbb,0x4d,0x9f,0xa4,0x37,0xb6,0xef);
|
||||
DEFINE_GUID(Dock_Pattern_GUID, 0x9cbaa846,0x83c8,0x428d,0x82,0x7f,0x7e,0x60,0x63,0xfe,0x06,0x20);
|
||||
DEFINE_GUID(Table_Pattern_GUID, 0xc415218e,0xa028,0x461e,0xaa,0x92,0x8f,0x92,0x5c,0xf7,0x93,0x51);
|
||||
DEFINE_GUID(TableItem_Pattern_GUID, 0xdf1343bd,0x1888,0x4a29,0xa5,0x0c,0xb9,0x2e,0x6d,0xe3,0x7f,0x6f);
|
||||
DEFINE_GUID(Text_Pattern_GUID, 0x8615f05d,0x7de5,0x44fd,0xa6,0x79,0x2c,0xa4,0xb4,0x60,0x33,0xa8);
|
||||
DEFINE_GUID(Toggle_Pattern_GUID, 0x0b419760,0xe2f4,0x43ff,0x8c,0x5f,0x94,0x57,0xc8,0x2b,0x56,0xe9);
|
||||
DEFINE_GUID(Transform_Pattern_GUID, 0x24b46fdb,0x587e,0x49f1,0x9c,0x4a,0xd8,0xe9,0x8b,0x66,0x4b,0x7b);
|
||||
DEFINE_GUID(ScrollItem_Pattern_GUID, 0x4591d005,0xa803,0x4d5c,0xb4,0xd5,0x8d,0x28,0x00,0xf9,0x06,0xa7);
|
||||
DEFINE_GUID(LegacyIAccessible_Pattern_GUID, 0x54cc0a9f,0x3395,0x48af,0xba,0x8d,0x73,0xf8,0x56,0x90,0xf3,0xe0);
|
||||
DEFINE_GUID(ItemContainer_Pattern_GUID, 0x3d13da0f,0x8b9a,0x4a99,0x85,0xfa,0xc5,0xc9,0xa6,0x9f,0x1e,0xd4);
|
||||
DEFINE_GUID(VirtualizedItem_Pattern_GUID, 0xf510173e,0x2e71,0x45e9,0xa6,0xe5,0x62,0xf6,0xed,0x82,0x89,0xd5);
|
||||
DEFINE_GUID(SynchronizedInput_Pattern_GUID, 0x05c288a6,0xc47b,0x488b,0xb6,0x53,0x33,0x97,0x7a,0x55,0x1b,0x8b);
|
||||
DEFINE_GUID(ObjectModel_Pattern_GUID, 0x3e04acfe,0x08fc,0x47ec,0x96,0xbc,0x35,0x3f,0xa3,0xb3,0x4a,0xa7);
|
||||
DEFINE_GUID(Annotation_Pattern_GUID, 0xf6c72ad7,0x356c,0x4850,0x92,0x91,0x31,0x6f,0x60,0x8a,0x8c,0x84);
|
||||
DEFINE_GUID(Text_Pattern2_GUID, 0x498479a2,0x5b22,0x448d,0xb6,0xe4,0x64,0x74,0x90,0x86,0x06,0x98);
|
||||
DEFINE_GUID(Styles_Pattern_GUID, 0x1ae62655,0xda72,0x4d60,0xa1,0x53,0xe5,0xaa,0x69,0x88,0xe3,0xbf);
|
||||
DEFINE_GUID(Spreadsheet_Pattern_GUID, 0x6a5b24c9,0x9d1e,0x4b85,0x9e,0x44,0xc0,0x2e,0x31,0x69,0xb1,0x0b);
|
||||
DEFINE_GUID(SpreadsheetItem_Pattern_GUID, 0x32cf83ff,0xf1a8,0x4a8c,0x86,0x58,0xd4,0x7b,0xa7,0x4e,0x20,0xba);
|
||||
DEFINE_GUID(Tranform_Pattern2_GUID, 0x8afcfd07,0xa369,0x44de,0x98,0x8b,0x2f,0x7f,0xf4,0x9f,0xb8,0xa8);
|
||||
DEFINE_GUID(TextChild_Pattern_GUID, 0x7533cab7,0x3bfe,0x41ef,0x9e,0x85,0xe2,0x63,0x8c,0xbe,0x16,0x9e);
|
||||
DEFINE_GUID(Drag_Pattern_GUID, 0xc0bee21f,0xccb3,0x4fed,0x99,0x5b,0x11,0x4f,0x6e,0x3d,0x27,0x28);
|
||||
DEFINE_GUID(DropTarget_Pattern_GUID, 0x0bcbec56,0xbd34,0x4b7b,0x9f,0xd5,0x26,0x59,0x90,0x5e,0xa3,0xdc);
|
||||
DEFINE_GUID(TextEdit_Pattern_GUID, 0x69f3ff89,0x5af9,0x4c75,0x93,0x40,0xf2,0xde,0x29,0x2e,0x45,0x91);
|
||||
DEFINE_GUID(CustomNavigation_Pattern_GUID, 0xafea938a,0x621e,0x4054,0xbb,0x2c,0x2f,0x46,0x11,0x4d,0xac,0x3f);
|
||||
|
||||
/*
|
||||
* AutomationIdentifierType_ControlType GUIDs.
|
||||
*/
|
||||
DEFINE_GUID(Button_Control_GUID, 0x5a78e369,0xc6a1,0x4f33,0xa9,0xd7,0x79,0xf2,0x0d,0x0c,0x78,0x8e);
|
||||
DEFINE_GUID(Calendar_Control_GUID, 0x8913eb88,0x00e5,0x46bc,0x8e,0x4e,0x14,0xa7,0x86,0xe1,0x65,0xa1);
|
||||
DEFINE_GUID(CheckBox_Control_GUID, 0xfb50f922,0xa3db,0x49c0,0x8b,0xc3,0x06,0xda,0xd5,0x57,0x78,0xe2);
|
||||
DEFINE_GUID(ComboBox_Control_GUID, 0x54cb426c,0x2f33,0x4fff,0xaa,0xa1,0xae,0xf6,0x0d,0xac,0x5d,0xeb);
|
||||
DEFINE_GUID(Edit_Control_GUID, 0x6504a5c8,0x2c86,0x4f87,0xae,0x7b,0x1a,0xbd,0xdc,0x81,0x0c,0xf9);
|
||||
DEFINE_GUID(Hyperlink_Control_GUID, 0x8a56022c,0xb00d,0x4d15,0x8f,0xf0,0x5b,0x6b,0x26,0x6e,0x5e,0x02);
|
||||
DEFINE_GUID(Image_Control_GUID, 0x2d3736e4,0x6b16,0x4c57,0xa9,0x62,0xf9,0x32,0x60,0xa7,0x52,0x43);
|
||||
DEFINE_GUID(ListItem_Control_GUID, 0x7b3717f2,0x44d1,0x4a58,0x98,0xa8,0xf1,0x2a,0x9b,0x8f,0x78,0xe2);
|
||||
DEFINE_GUID(List_Control_GUID, 0x9b149ee1,0x7cca,0x4cfc,0x9a,0xf1,0xca,0xc7,0xbd,0xdd,0x30,0x31);
|
||||
DEFINE_GUID(Menu_Control_GUID, 0x2e9b1440,0x0ea8,0x41fd,0xb3,0x74,0xc1,0xea,0x6f,0x50,0x3c,0xd1);
|
||||
DEFINE_GUID(MenuBar_Control_GUID, 0xcc384250,0x0e7b,0x4ae8,0x95,0xae,0xa0,0x8f,0x26,0x1b,0x52,0xee);
|
||||
DEFINE_GUID(MenuItem_Control_GUID, 0xf45225d3,0xd0a0,0x49d8,0x98,0x34,0x9a,0x00,0x0d,0x2a,0xed,0xdc);
|
||||
DEFINE_GUID(ProgressBar_Control_GUID, 0x228c9f86,0xc36c,0x47bb,0x9f,0xb6,0xa5,0x83,0x4b,0xfc,0x53,0xa4);
|
||||
DEFINE_GUID(RadioButton_Control_GUID, 0x3bdb49db,0xfe2c,0x4483,0xb3,0xe1,0xe5,0x7f,0x21,0x94,0x40,0xc6);
|
||||
DEFINE_GUID(ScrollBar_Control_GUID, 0xdaf34b36,0x5065,0x4946,0xb2,0x2f,0x92,0x59,0x5f,0xc0,0x75,0x1a);
|
||||
DEFINE_GUID(Slider_Control_GUID, 0xb033c24b,0x3b35,0x4cea,0xb6,0x09,0x76,0x36,0x82,0xfa,0x66,0x0b);
|
||||
DEFINE_GUID(Spinner_Control_GUID, 0x60cc4b38,0x3cb1,0x4161,0xb4,0x42,0xc6,0xb7,0x26,0xc1,0x78,0x25);
|
||||
DEFINE_GUID(StatusBar_Control_GUID, 0xd45e7d1b,0x5873,0x475f,0x95,0xa4,0x04,0x33,0xe1,0xf1,0xb0,0x0a);
|
||||
DEFINE_GUID(Tab_Control_GUID, 0x38cd1f2d,0x337a,0x4bd2,0xa5,0xe3,0xad,0xb4,0x69,0xe3,0x0b,0xd3);
|
||||
DEFINE_GUID(TabItem_Control_GUID, 0x2c6a634f,0x921b,0x4e6e,0xb2,0x6e,0x08,0xfc,0xb0,0x79,0x8f,0x4c);
|
||||
DEFINE_GUID(Text_Control_GUID, 0xae9772dc,0xd331,0x4f09,0xbe,0x20,0x7e,0x6d,0xfa,0xf0,0x7b,0x0a);
|
||||
DEFINE_GUID(ToolBar_Control_GUID, 0x8f06b751,0xe182,0x4e98,0x88,0x93,0x22,0x84,0x54,0x3a,0x7d,0xce);
|
||||
DEFINE_GUID(ToolTip_Control_GUID, 0x05ddc6d1,0x2137,0x4768,0x98,0xea,0x73,0xf5,0x2f,0x71,0x34,0xf3);
|
||||
DEFINE_GUID(Tree_Control_GUID, 0x7561349c,0xd241,0x43f4,0x99,0x08,0xb5,0xf0,0x91,0xbe,0xe6,0x11);
|
||||
DEFINE_GUID(TreeItem_Control_GUID, 0x62c9feb9,0x8ffc,0x4878,0xa3,0xa4,0x96,0xb0,0x30,0x31,0x5c,0x18);
|
||||
DEFINE_GUID(Custom_Control_GUID, 0xf29ea0c3,0xadb7,0x430a,0xba,0x90,0xe5,0x2c,0x73,0x13,0xe6,0xed);
|
||||
DEFINE_GUID(Group_Control_GUID, 0xad50aa1c,0xe8c8,0x4774,0xae,0x1b,0xdd,0x86,0xdf,0x0b,0x3b,0xdc);
|
||||
DEFINE_GUID(Thumb_Control_GUID, 0x701ca877,0xe310,0x4dd6,0xb6,0x44,0x79,0x7e,0x4f,0xae,0xa2,0x13);
|
||||
DEFINE_GUID(DataGrid_Control_GUID, 0x84b783af,0xd103,0x4b0a,0x84,0x15,0xe7,0x39,0x42,0x41,0x0f,0x4b);
|
||||
DEFINE_GUID(DataItem_Control_GUID, 0xa0177842,0xd94f,0x42a5,0x81,0x4b,0x60,0x68,0xad,0xdc,0x8d,0xa5);
|
||||
DEFINE_GUID(Document_Control_GUID, 0x3cd6bb6f,0x6f08,0x4562,0xb2,0x29,0xe4,0xe2,0xfc,0x7a,0x9e,0xb4);
|
||||
DEFINE_GUID(SplitButton_Control_GUID, 0x7011f01f,0x4ace,0x4901,0xb4,0x61,0x92,0x0a,0x6f,0x1c,0xa6,0x50);
|
||||
DEFINE_GUID(Window_Control_GUID, 0xe13a7242,0xf462,0x4f4d,0xae,0xc1,0x53,0xb2,0x8d,0x6c,0x32,0x90);
|
||||
DEFINE_GUID(Pane_Control_GUID, 0x5c2b3f5b,0x9182,0x42a3,0x8d,0xec,0x8c,0x04,0xc1,0xee,0x63,0x4d);
|
||||
DEFINE_GUID(Header_Control_GUID, 0x5b90cbce,0x78fb,0x4614,0x82,0xb6,0x55,0x4d,0x74,0x71,0x8e,0x67);
|
||||
DEFINE_GUID(HeaderItem_Control_GUID, 0xe6bc12cb,0x7c8e,0x49cf,0xb1,0x68,0x4a,0x93,0xa3,0x2b,0xeb,0xb0);
|
||||
DEFINE_GUID(Table_Control_GUID, 0x773bfa0e,0x5bc4,0x4deb,0x92,0x1b,0xde,0x7b,0x32,0x06,0x22,0x9e);
|
||||
DEFINE_GUID(TitleBar_Control_GUID, 0x98aa55bf,0x3bb0,0x4b65,0x83,0x6e,0x2e,0xa3,0x0d,0xbc,0x17,0x1f);
|
||||
DEFINE_GUID(Separator_Control_GUID, 0x8767eba3,0x2a63,0x4ab0,0xac,0x8d,0xaa,0x50,0xe2,0x3d,0xe9,0x78);
|
||||
DEFINE_GUID(SemanticZoom_Control_GUID, 0x5fd34a43,0x061e,0x42c8,0xb5,0x89,0x9d,0xcc,0xf7,0x4b,0xc4,0x3a);
|
||||
DEFINE_GUID(AppBar_Control_GUID, 0x6114908d,0xcc02,0x4d37,0x87,0x5b,0xb5,0x30,0xc7,0x13,0x95,0x54);
|
||||
|
||||
enum AutomationIdentifierType
|
||||
{
|
||||
AutomationIdentifierType_Property,
|
||||
AutomationIdentifierType_Pattern,
|
||||
AutomationIdentifierType_Event,
|
||||
AutomationIdentifierType_ControlType,
|
||||
AutomationIdentifierType_TextAttribute,
|
||||
AutomationIdentifierType_LandmarkType,
|
||||
AutomationIdentifierType_Annotation,
|
||||
AutomationIdentifierType_Changes,
|
||||
AutomationIdentifierType_Style
|
||||
};
|
||||
|
||||
enum ProviderType
|
||||
{
|
||||
ProviderType_BaseHwnd,
|
||||
ProviderType_Proxy,
|
||||
ProviderType_NonClientArea,
|
||||
};
|
||||
|
||||
#ifndef __uiautomationclient_h__
|
||||
enum TreeScope {
|
||||
TreeScope_Element = 0x01,
|
||||
TreeScope_Children = 0x02,
|
||||
TreeScope_Descendants = 0x04,
|
||||
TreeScope_Parent = 0x08,
|
||||
TreeScope_Ancestors = 0x10,
|
||||
TreeScope_Subtree = TreeScope_Element | TreeScope_Children | TreeScope_Descendants,
|
||||
};
|
||||
|
||||
enum PropertyConditionFlags {
|
||||
PropertyConditionFlags_None = 0x00,
|
||||
PropertyConditionFlags_IgnoreCase = 0x01,
|
||||
PropertyConditionFlags_MatchSubstring = 0x02,
|
||||
};
|
||||
|
||||
enum AutomationElementMode {
|
||||
AutomationElementMode_None = 0x00,
|
||||
AutomationElementMode_Full = 0x01,
|
||||
};
|
||||
#endif
|
||||
|
||||
enum ConditionType {
|
||||
ConditionType_True = 0x00,
|
||||
ConditionType_False = 0x01,
|
||||
ConditionType_Property = 0x02,
|
||||
ConditionType_And = 0x03,
|
||||
ConditionType_Or = 0x04,
|
||||
ConditionType_Not = 0x05,
|
||||
};
|
||||
|
||||
struct UiaCondition {
|
||||
enum ConditionType ConditionType;
|
||||
};
|
||||
|
||||
struct UiaPropertyCondition {
|
||||
enum ConditionType ConditionType;
|
||||
PROPERTYID PropertyId;
|
||||
VARIANT Value;
|
||||
enum PropertyConditionFlags Flags;
|
||||
};
|
||||
|
||||
struct UiaAndOrCondition {
|
||||
enum ConditionType ConditionType;
|
||||
struct UiaCondition **ppConditions;
|
||||
int cConditions;
|
||||
};
|
||||
|
||||
struct UiaNotCondition {
|
||||
enum ConditionType ConditionType;
|
||||
struct UiaCondition *pConditions;
|
||||
};
|
||||
|
||||
struct UiaCacheRequest {
|
||||
struct UiaCondition *pViewCondition;
|
||||
enum TreeScope Scope;
|
||||
|
||||
PROPERTYID *pProperties;
|
||||
int cProperties;
|
||||
PATTERNID *pPatterns;
|
||||
int cPatterns;
|
||||
|
||||
enum AutomationElementMode automationElementMode;
|
||||
};
|
||||
|
||||
enum EventArgsType {
|
||||
EventArgsType_Simple = 0x00,
|
||||
EventArgsType_PropertyChanged = 0x01,
|
||||
EventArgsType_StructureChanged = 0x02,
|
||||
EventArgsType_AsyncContentLoaded = 0x03,
|
||||
EventArgsType_WindowClosed = 0x04,
|
||||
EventArgsType_TextEditTextChanged = 0x05,
|
||||
EventArgsType_Changes = 0x06,
|
||||
EventArgsType_Notification = 0x07,
|
||||
};
|
||||
|
||||
enum AsyncContentLoadedState {
|
||||
AsyncContentLoadedState_Beginning = 0x00,
|
||||
AsyncContentLoadedState_Progress = 0x01,
|
||||
AsyncContentLoadedState_Completed = 0x02,
|
||||
};
|
||||
|
||||
enum NormalizeState {
|
||||
NormalizeState_None = 0x00,
|
||||
NormalizeState_View = 0x01,
|
||||
NormalizeState_Custom = 0x02,
|
||||
};
|
||||
|
||||
struct UiaEventArgs {
|
||||
enum EventArgsType Type;
|
||||
int EventId;
|
||||
};
|
||||
|
||||
struct UiaPropertyChangedEventArgs {
|
||||
enum EventArgsType Type;
|
||||
int EventId;
|
||||
|
||||
PROPERTYID PropertyId;
|
||||
VARIANT OldValue;
|
||||
VARIANT NewValue;
|
||||
};
|
||||
|
||||
struct UiaStructureChangedEventArgs {
|
||||
enum EventArgsType Type;
|
||||
int EventId;
|
||||
|
||||
enum StructureChangeType StructureChangeType;
|
||||
int *pRuntimeId;
|
||||
int cRuntimeIdLen;
|
||||
};
|
||||
|
||||
struct UiaTextEditTextChangedEventArgs {
|
||||
enum EventArgsType Type;
|
||||
int EventId;
|
||||
|
||||
enum TextEditChangeType TextEditChangeType;
|
||||
SAFEARRAY *pTextChange;
|
||||
};
|
||||
|
||||
struct UiaChangesEventArgs {
|
||||
enum EventArgsType Type;
|
||||
int EventId;
|
||||
|
||||
int EventIdCount;
|
||||
struct UiaChangeInfo *pUiaChanges;
|
||||
};
|
||||
|
||||
struct UiaAsyncContentLoadedEventArgs {
|
||||
enum EventArgsType Type;
|
||||
int EventId;
|
||||
|
||||
enum AsyncContentLoadedState AsyncContentLoadedState;
|
||||
double percentComplete;
|
||||
};
|
||||
|
||||
struct UiaWindowClosedEventArgs {
|
||||
enum EventArgsType Type;
|
||||
int EventId;
|
||||
|
||||
int *pRuntimeId;
|
||||
int cRuntimeIdLen;
|
||||
};
|
||||
|
||||
struct UiaFindParams {
|
||||
int MaxDepth;
|
||||
WINBOOL FindFirst;
|
||||
WINBOOL ExcludeRoot;
|
||||
struct UiaCondition *pFindCondition;
|
||||
};
|
||||
|
||||
typedef SAFEARRAY * WINAPI UiaProviderCallback(HWND hwnd,enum ProviderType providerType);
|
||||
typedef void WINAPI UiaEventCallback(struct UiaEventArgs *pArgs,SAFEARRAY *pRequestedData,BSTR pTreeStructure);
|
||||
|
||||
HRESULT WINAPI UiaGetReservedMixedAttributeValue(IUnknown **value);
|
||||
HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value);
|
||||
int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid);
|
||||
WINBOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj);
|
||||
HRESULT WINAPI UiaRaiseAsyncContentLoadedEvent(IRawElementProviderSimple *provider,
|
||||
enum AsyncContentLoadedState async_content_loaded_state, double percent_complete);
|
||||
HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id);
|
||||
HRESULT WINAPI UiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple *, PROPERTYID, VARIANT, VARIANT);
|
||||
HRESULT WINAPI UiaRaiseChangesEvent(IRawElementProviderSimple *provider, int event_id_count,
|
||||
struct UiaChangeInfo *uia_changes);
|
||||
HRESULT WINAPI UiaRaiseNotificationEvent(IRawElementProviderSimple *provider, enum NotificationKind notification_kind,
|
||||
enum NotificationProcessing notification_processing, BSTR display_str, BSTR activity_id);
|
||||
HRESULT WINAPI UiaRaiseStructureChangedEvent(IRawElementProviderSimple *provider, enum StructureChangeType struct_change_type,
|
||||
int *runtime_id, int runtime_id_len);
|
||||
HRESULT WINAPI UiaRaiseTextEditTextChangedEvent(IRawElementProviderSimple *provider, enum TextEditChangeType text_edit_change_type,
|
||||
SAFEARRAY *changed_data);
|
||||
void WINAPI UiaRegisterProviderCallback(UiaProviderCallback *pCallback);
|
||||
LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam, LPARAM lParam, IRawElementProviderSimple *elprov);
|
||||
WINBOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);
|
||||
HRESULT WINAPI UiaHostProviderFromHwnd(HWND hwnd, IRawElementProviderSimple **elprov);
|
||||
HRESULT WINAPI UiaProviderFromIAccessible(IAccessible *acc, LONG child_id, DWORD flags, IRawElementProviderSimple **elprov);
|
||||
HRESULT WINAPI UiaGetPropertyValue(HUIANODE huianode, PROPERTYID prop_id, VARIANT *out_val);
|
||||
HRESULT WINAPI UiaNodeFromProvider(IRawElementProviderSimple *elprov, HUIANODE *huianode);
|
||||
WINBOOL WINAPI UiaNodeRelease(HUIANODE huianode);
|
||||
HRESULT WINAPI UiaGetRuntimeId(HUIANODE huianode, SAFEARRAY **runtime_id);
|
||||
HRESULT WINAPI UiaHUiaNodeFromVariant(VARIANT *in_val, HUIANODE *huianode);
|
||||
HRESULT WINAPI UiaNodeFromHandle(HWND hwnd, HUIANODE *huianode);
|
||||
HRESULT WINAPI UiaGetRootNode(HUIANODE *huianode);
|
||||
HRESULT WINAPI UiaNodeFromFocus(struct UiaCacheRequest *cache_req, SAFEARRAY **out_req, BSTR *tree_struct);
|
||||
HRESULT WINAPI UiaDisconnectProvider(IRawElementProviderSimple *elprov);
|
||||
HRESULT WINAPI UiaGetUpdatedCache(HUIANODE huianode, struct UiaCacheRequest *cache_req, enum NormalizeState normalize_state,
|
||||
struct UiaCondition *normalize_cond, SAFEARRAY **out_req, BSTR *tree_struct);
|
||||
HRESULT WINAPI UiaNavigate(HUIANODE huianode, enum NavigateDirection dir, struct UiaCondition *nav_condition,
|
||||
struct UiaCacheRequest *cache_req, SAFEARRAY **out_req, BSTR *tree_struct);
|
||||
HRESULT WINAPI UiaFind(HUIANODE huianode, struct UiaFindParams *find_params, struct UiaCacheRequest *cache_req, SAFEARRAY **out_req,
|
||||
SAFEARRAY **out_offsets, SAFEARRAY **out_tree_structs);
|
||||
HRESULT WINAPI UiaAddEvent(HUIANODE huianode, EVENTID event_id, UiaEventCallback *callback, enum TreeScope scope,
|
||||
PROPERTYID *prop_ids, int prop_ids_count, struct UiaCacheRequest *cache_req, HUIAEVENT *huiaevent);
|
||||
HRESULT WINAPI UiaRemoveEvent(HUIAEVENT huiaevent);
|
||||
HRESULT WINAPI UiaEventAddWindow(HUIAEVENT huiaevent, HWND hwnd);
|
||||
HRESULT WINAPI UiaEventRemoveWindow(HUIAEVENT huiaevent, HWND hwnd);
|
||||
WINBOOL WINAPI UiaHasServerSideProvider(HWND hwnd);
|
||||
WINBOOL WINAPI UiaClientsAreListening(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _INC_UIAUTOMATIONCOREAPI */
|
||||
@@ -0,0 +1,159 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/uiviewsettingsinterop.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __uiviewsettingsinterop_h__
|
||||
#define __uiviewsettingsinterop_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __IUIViewSettingsInterop_FWD_DEFINED__
|
||||
#define __IUIViewSettingsInterop_FWD_DEFINED__
|
||||
typedef interface IUIViewSettingsInterop IUIViewSettingsInterop;
|
||||
#ifdef __cplusplus
|
||||
interface IUIViewSettingsInterop;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <inspectable.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IUIViewSettingsInterop interface
|
||||
*/
|
||||
#ifndef __IUIViewSettingsInterop_INTERFACE_DEFINED__
|
||||
#define __IUIViewSettingsInterop_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IUIViewSettingsInterop, 0x3694dbf9, 0x8f68, 0x44be, 0x8f,0xf5, 0x19,0x5c,0x98,0xed,0xe8,0xa6);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("3694dbf9-8f68-44be-8ff5-195c98ede8a6")
|
||||
IUIViewSettingsInterop : public IInspectable
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetForWindow(
|
||||
HWND hwnd,
|
||||
REFIID riid,
|
||||
void **ppv) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IUIViewSettingsInterop, 0x3694dbf9, 0x8f68, 0x44be, 0x8f,0xf5, 0x19,0x5c,0x98,0xed,0xe8,0xa6)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IUIViewSettingsInteropVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IUIViewSettingsInterop *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IUIViewSettingsInterop *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IUIViewSettingsInterop *This);
|
||||
|
||||
/*** IInspectable methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetIids)(
|
||||
IUIViewSettingsInterop *This,
|
||||
ULONG *iidCount,
|
||||
IID **iids);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
|
||||
IUIViewSettingsInterop *This,
|
||||
HSTRING *className);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
|
||||
IUIViewSettingsInterop *This,
|
||||
TrustLevel *trustLevel);
|
||||
|
||||
/*** IUIViewSettingsInterop methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetForWindow)(
|
||||
IUIViewSettingsInterop *This,
|
||||
HWND hwnd,
|
||||
REFIID riid,
|
||||
void **ppv);
|
||||
|
||||
END_INTERFACE
|
||||
} IUIViewSettingsInteropVtbl;
|
||||
|
||||
interface IUIViewSettingsInterop {
|
||||
CONST_VTBL IUIViewSettingsInteropVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IUIViewSettingsInterop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IUIViewSettingsInterop_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IUIViewSettingsInterop_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IInspectable methods ***/
|
||||
#define IUIViewSettingsInterop_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
|
||||
#define IUIViewSettingsInterop_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
|
||||
#define IUIViewSettingsInterop_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
|
||||
/*** IUIViewSettingsInterop methods ***/
|
||||
#define IUIViewSettingsInterop_GetForWindow(This,hwnd,riid,ppv) (This)->lpVtbl->GetForWindow(This,hwnd,riid,ppv)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IUIViewSettingsInterop_QueryInterface(IUIViewSettingsInterop* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IUIViewSettingsInterop_AddRef(IUIViewSettingsInterop* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IUIViewSettingsInterop_Release(IUIViewSettingsInterop* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IInspectable methods ***/
|
||||
static inline HRESULT IUIViewSettingsInterop_GetIids(IUIViewSettingsInterop* This,ULONG *iidCount,IID **iids) {
|
||||
return This->lpVtbl->GetIids(This,iidCount,iids);
|
||||
}
|
||||
static inline HRESULT IUIViewSettingsInterop_GetRuntimeClassName(IUIViewSettingsInterop* This,HSTRING *className) {
|
||||
return This->lpVtbl->GetRuntimeClassName(This,className);
|
||||
}
|
||||
static inline HRESULT IUIViewSettingsInterop_GetTrustLevel(IUIViewSettingsInterop* This,TrustLevel *trustLevel) {
|
||||
return This->lpVtbl->GetTrustLevel(This,trustLevel);
|
||||
}
|
||||
/*** IUIViewSettingsInterop methods ***/
|
||||
static inline HRESULT IUIViewSettingsInterop_GetForWindow(IUIViewSettingsInterop* This,HWND hwnd,REFIID riid,void **ppv) {
|
||||
return This->lpVtbl->GetForWindow(This,hwnd,riid,ppv);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IUIViewSettingsInterop_INTERFACE_DEFINED__ */
|
||||
|
||||
/* 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 /* __uiviewsettingsinterop_h__ */
|
||||
@@ -0,0 +1,175 @@
|
||||
/**
|
||||
* 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 _UMX_H_
|
||||
#define _UMX_H_
|
||||
|
||||
#include <_mingw_unicode.h>
|
||||
|
||||
#define UME_MENU_TEXT_LEN 50
|
||||
#define UME_VERSION 0
|
||||
|
||||
#define UMS_LISTBOX_USERS 0
|
||||
#define UMS_LISTBOX_GROUPS 1
|
||||
|
||||
#define UM_GETSELCOUNT (WM_USER + 1000)
|
||||
#define UM_GETUSERSELA (WM_USER + 1001)
|
||||
#define UM_GETUSERSELW (WM_USER + 1002)
|
||||
#define UM_GETGROUPSELA (WM_USER + 1003)
|
||||
#define UM_GETGROUPSELW (WM_USER + 1004)
|
||||
#define UM_GETCURFOCUSA (WM_USER + 1005)
|
||||
#define UM_GETCURFOCUSW (WM_USER + 1006)
|
||||
#define UM_GETOPTIONS (WM_USER + 1007)
|
||||
#define UM_GETOPTIONS2 (WM_USER + 1008)
|
||||
|
||||
#define UM_GETUSERSEL __MINGW_NAME_AW(UM_GETUSERSEL)
|
||||
#define UM_GETGROUPSEL __MINGW_NAME_AW(UM_GETGROUPSEL)
|
||||
#define UM_GETCURFOCUS __MINGW_NAME_AW(UM_GETCURFOCUS)
|
||||
|
||||
typedef struct _UMS_LOADMENUA {
|
||||
DWORD dwVersion;
|
||||
CHAR szMenuName[UME_MENU_TEXT_LEN + 1];
|
||||
HMENU hMenu;
|
||||
CHAR szHelpFileName[MAX_PATH];
|
||||
DWORD dwMenuDelta;
|
||||
} UMS_LOADMENUA,*PUMS_LOADMENUA;
|
||||
|
||||
typedef struct _UMS_LOADMENUW {
|
||||
DWORD dwVersion;
|
||||
WCHAR szMenuName[UME_MENU_TEXT_LEN + 1];
|
||||
HMENU hMenu;
|
||||
WCHAR szHelpFileName[MAX_PATH];
|
||||
DWORD dwMenuDelta;
|
||||
} UMS_LOADMENUW,*PUMS_LOADMENUW;
|
||||
|
||||
#define UMS_LOADMENU __MINGW_NAME_AW(UMS_LOADMENU)
|
||||
#define PUMS_LOADMENU __MINGW_NAME_AW(PUMS_LOADMENU)
|
||||
|
||||
#define UM_SELTYPE_USER 0x10
|
||||
#define UM_SELTYPE_NORMALUSER 0x1 | UM_SELTYPE_USER
|
||||
#define UM_SELTYPE_REMOTEUSER 0x2 | UM_SELTYPE_USER
|
||||
#define UM_SELTYPE_GROUP 0x20
|
||||
#define UM_SELTYPE_LOCALGROUP 0x4 | UM_SELTYPE_GROUP
|
||||
#define UM_SELTYPE_GLOBALGROUP 0x8 | UM_SELTYPE_GROUP
|
||||
|
||||
typedef struct _UMS_GETSELA {
|
||||
DWORD dwRID;
|
||||
LPSTR pchName;
|
||||
DWORD dwSelType;
|
||||
LPSTR pchFullName;
|
||||
LPSTR pchComment;
|
||||
} UMS_GETSELA,*PUMS_GETSELA;
|
||||
|
||||
typedef struct _UMS_GETSELW {
|
||||
DWORD dwRID;
|
||||
LPWSTR pchName;
|
||||
DWORD dwSelType;
|
||||
LPWSTR pchFullName;
|
||||
LPWSTR pchComment;
|
||||
} UMS_GETSELW,*PUMS_GETSELW;
|
||||
|
||||
#define UMS_GETSEL __MINGW_NAME_AW(UMS_GETSEL)
|
||||
#define PUMS_GETSEL __MINGW_NAME_AW(PUMS_GETSEL)
|
||||
|
||||
typedef struct _UMS_GETSELCOUNT {
|
||||
DWORD dwItems;
|
||||
} UMS_GETSELCOUNT,*PUMS_GETSELCOUNT;
|
||||
|
||||
#define UM_FOCUS_TYPE_DOMAIN 1
|
||||
#define UM_FOCUS_TYPE_WINNT 2
|
||||
#define UM_FOCUS_TYPE_LM 3
|
||||
#define UM_FOCUS_TYPE_UNKNOWN 4
|
||||
|
||||
typedef struct _UMS_GETCURFOCUSA {
|
||||
CHAR szFocus[MAX_PATH];
|
||||
DWORD dwFocusType;
|
||||
CHAR szFocusPDC[MAX_PATH];
|
||||
PVOID psidFocus;
|
||||
} UMS_GETCURFOCUSA,*PUMS_GETCURFOCUSA;
|
||||
|
||||
typedef struct _UMS_GETCURFOCUSW {
|
||||
WCHAR szFocus[MAX_PATH];
|
||||
DWORD dwFocusType;
|
||||
WCHAR szFocusPDC[MAX_PATH];
|
||||
PVOID psidFocus;
|
||||
} UMS_GETCURFOCUSW,*PUMS_GETCURFOCUSW;
|
||||
|
||||
#define UMS_GETCURFOCUS __MINGW_NAME_AW(UMS_GETCURFOCUS)
|
||||
#define PUMS_GETCURFOCUS __MINGW_NAME_AW(PUMS_GETCURFOCUS)
|
||||
|
||||
typedef struct _UMS_GETOPTIONS {
|
||||
WINBOOL fSaveSettingsOnExit;
|
||||
WINBOOL fConfirmation;
|
||||
WINBOOL fSortByFullName;
|
||||
} UMS_GETOPTIONS,*PUMS_GETOPTIONS;
|
||||
|
||||
typedef struct _UMS_GETOPTIONS2 {
|
||||
WINBOOL fSaveSettingsOnExit;
|
||||
WINBOOL fConfirmation;
|
||||
WINBOOL fSortByFullName;
|
||||
WINBOOL fMiniUserManager;
|
||||
WINBOOL fLowSpeedConnection;
|
||||
} UMS_GETOPTIONS2,*PUMS_GETOPTIONS2;
|
||||
|
||||
#define SZ_UME_UNLOADMENU "UMEUnloadMenu"
|
||||
#define SZ_UME_INITIALIZEMENU "UMEInitializeMenu"
|
||||
#define SZ_UME_REFRESH "UMERefresh"
|
||||
#define SZ_UME_MENUACTION "UMEMenuAction"
|
||||
|
||||
#define SZ_UME_LOADMENUW "UMELoadMenuW"
|
||||
#define SZ_UME_GETEXTENDEDERRORSTRINGW "UMEGetExtendedErrorStringW"
|
||||
#define SZ_UME_CREATEW "UMECreateW"
|
||||
#define SZ_UME_DELETEW "UMEDeleteW"
|
||||
#define SZ_UME_RENAMEW "UMERenameW"
|
||||
|
||||
#define SZ_UME_LOADMENUA "UMELoadMenuA"
|
||||
#define SZ_UME_GETEXTENDEDERRORSTRINGA "UMEGetExtendedErrorStringA"
|
||||
#define SZ_UME_CREATEA "UMECreateA"
|
||||
#define SZ_UME_DELETEA "UMEDeleteA"
|
||||
#define SZ_UME_RENAMEA "UMERenameA"
|
||||
|
||||
#define SZ_UME_LOADMENU __MINGW_NAME_AW(SZ_UME_LOADMENU)
|
||||
#define SZ_UME_GETEXTENDEDERRORSTRING __MINGW_NAME_AW(SZ_UME_GETEXTENDEDERRORSTRING)
|
||||
#define SZ_UME_CREATE __MINGW_NAME_AW(SZ_UME_CREATE)
|
||||
#define SZ_UME_DELETE __MINGW_NAME_AW(SZ_UME_DELETE)
|
||||
#define SZ_UME_RENAME __MINGW_NAME_AW(SZ_UME_RENAME)
|
||||
|
||||
typedef DWORD (WINAPI *PUMX_LOADMENUW)(HWND hWnd,PUMS_LOADMENUW pumsload);
|
||||
typedef DWORD (WINAPI *PUMX_LOADMENUA)(HWND hWnd,PUMS_LOADMENUA pumsload);
|
||||
|
||||
typedef LPWSTR (WINAPI *PUMX_GETEXTENDEDERRORSTRINGW)(VOID);
|
||||
typedef LPSTR (WINAPI *PUMX_GETEXTENDEDERRORSTRINGA)(VOID);
|
||||
typedef VOID (WINAPI *PUMX_UNLOADMENU)(VOID);
|
||||
typedef VOID (WINAPI *PUMX_INITIALIZEMENU)(VOID);
|
||||
typedef VOID (WINAPI *PUMX_REFRESH)(HWND hwndParent);
|
||||
typedef VOID (WINAPI *PUMX_MENUACTION)(HWND hwndParent,DWORD dwEventId);
|
||||
typedef VOID (WINAPI *PUMX_CREATEW)(HWND hwndParent,PUMS_GETSELW pumsSelection);
|
||||
typedef VOID (WINAPI *PUMX_CREATEA)(HWND hwndParent,PUMS_GETSELA pumsSelection);
|
||||
typedef VOID (WINAPI *PUMX_DELETEW)(HWND hwndParent,PUMS_GETSELW pumsSelection);
|
||||
typedef VOID (WINAPI *PUMX_DELETEA)(HWND hwndParent,PUMS_GETSELA pumsSelection);
|
||||
typedef VOID (WINAPI *PUMX_RENAMEW)(HWND hwndParent,PUMS_GETSELW pumsSelection,LPWSTR pchNewName);
|
||||
typedef VOID (WINAPI *PUMX_RENAMEA)(HWND hwndParent,PUMS_GETSELA pumsSelection,LPSTR pchNewName);
|
||||
|
||||
#define PUMX_LOADMENU __MINGW_NAME_AW(PUMX_LOADMENU)
|
||||
#define PUMX_GETEXTENDEDERRORSTRING __MINGW_NAME_AW(PUMX_GETEXTENDEDERRORSTRING)
|
||||
#define PUMX_CREATE __MINGW_NAME_AW(PUMX_CREATE)
|
||||
#define PUMX_DELETE __MINGW_NAME_AW(PUMX_DELETE)
|
||||
#define PUMX_RENAME __MINGW_NAME_AW(PUMX_RENAME)
|
||||
|
||||
DWORD WINAPI UMELoadMenuA(HWND hwndMessage,PUMS_LOADMENUA pumsload);
|
||||
DWORD WINAPI UMELoadMenuW(HWND hwndMessage,PUMS_LOADMENUW pumsload);
|
||||
LPSTR WINAPI UMEGetExtendedErrorStringA(VOID);
|
||||
LPWSTR WINAPI UMEGetExtendedErrorStringW(VOID);
|
||||
VOID WINAPI UMEUnloadMenu(VOID);
|
||||
VOID WINAPI UMEInitializeMenu(VOID);
|
||||
VOID WINAPI UMERefresh(HWND hwndParent);
|
||||
VOID WINAPI UMEMenuAction(HWND hwndParent,DWORD dwEventId);
|
||||
VOID WINAPI UMECreateA(HWND hwndParent,PUMS_GETSELA pumsSelection);
|
||||
VOID WINAPI UMECreateW(HWND hwndParent,PUMS_GETSELW pumsSelection);
|
||||
VOID WINAPI UMEDeleteA(HWND hwndParent,PUMS_GETSELA pumsSelection);
|
||||
VOID WINAPI UMEDeleteW(HWND hwndParent,PUMS_GETSELW pumsSelection);
|
||||
VOID WINAPI UMERenameA(HWND hwndParent,PUMS_GETSELA pumsSelection,LPSTR pchNewName);
|
||||
VOID WINAPI UMERenameW(HWND hwndParent,PUMS_GETSELW pumsSelection,LPWSTR pchNewName);
|
||||
#endif
|
||||
@@ -0,0 +1,111 @@
|
||||
/**
|
||||
* 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 _UNISTD_H
|
||||
#define _UNISTD_H
|
||||
#define __UNISTD_H_SOURCED__ 1
|
||||
|
||||
#include <io.h>
|
||||
#include <process.h>
|
||||
#include <getopt.h>
|
||||
|
||||
/* These are also defined in stdio.h. */
|
||||
#ifndef SEEK_SET
|
||||
#define SEEK_SET 0
|
||||
#define SEEK_CUR 1
|
||||
#define SEEK_END 2
|
||||
#endif
|
||||
|
||||
/* These are also defined in stdio.h. */
|
||||
#ifndef STDIN_FILENO
|
||||
#define STDIN_FILENO 0
|
||||
#define STDOUT_FILENO 1
|
||||
#define STDERR_FILENO 2
|
||||
#endif
|
||||
|
||||
/* Used by shutdown(2). */
|
||||
#ifdef _POSIX_SOURCE
|
||||
|
||||
/* MySql connector already defined SHUT_RDWR. */
|
||||
#ifndef SHUT_RDWR
|
||||
#define SHUT_RD 0x00
|
||||
#define SHUT_WR 0x01
|
||||
#define SHUT_RDWR 0x02
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#pragma push_macro("sleep")
|
||||
#undef sleep
|
||||
unsigned int __cdecl sleep (unsigned int);
|
||||
#pragma pop_macro("sleep")
|
||||
|
||||
#if !defined __NO_ISOCEXT
|
||||
#include <sys/types.h> /* For useconds_t. */
|
||||
|
||||
int __cdecl __MINGW_NOTHROW usleep(useconds_t);
|
||||
#endif /* Not __NO_ISOCEXT */
|
||||
|
||||
#ifndef FTRUNCATE_DEFINED
|
||||
#define FTRUNCATE_DEFINED
|
||||
/* This is defined as a real library function to allow autoconf
|
||||
to verify its existence. */
|
||||
#if !defined(NO_OLDNAMES) || defined(_POSIX)
|
||||
int ftruncate(int, off32_t);
|
||||
int ftruncate64(int, off64_t);
|
||||
int truncate(const char *, off32_t);
|
||||
int truncate64(const char *, off64_t);
|
||||
#ifndef __CRT__NO_INLINE
|
||||
__CRT_INLINE int ftruncate(int __fd, off32_t __length)
|
||||
{
|
||||
return _chsize (__fd, __length);
|
||||
}
|
||||
#endif /* !__CRT__NO_INLINE */
|
||||
#else
|
||||
int ftruncate(int, _off_t);
|
||||
int ftruncate64(int, _off64_t);
|
||||
int truncate(const char *, _off_t);
|
||||
int truncate64(const char *, _off64_t);
|
||||
#ifndef __CRT__NO_INLINE
|
||||
__CRT_INLINE int ftruncate(int __fd, _off_t __length)
|
||||
{
|
||||
return _chsize (__fd, __length);
|
||||
}
|
||||
#endif /* !__CRT__NO_INLINE */
|
||||
#endif
|
||||
#endif /* FTRUNCATE_DEFINED */
|
||||
|
||||
#ifndef _FILE_OFFSET_BITS_SET_FTRUNCATE
|
||||
#define _FILE_OFFSET_BITS_SET_FTRUNCATE
|
||||
#if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64))
|
||||
#define ftruncate ftruncate64
|
||||
#endif /* _FILE_OFFSET_BITS_SET_FTRUNCATE */
|
||||
#endif /* _FILE_OFFSET_BITS_SET_FTRUNCATE */
|
||||
|
||||
#ifndef _CRT_SWAB_DEFINED
|
||||
#define _CRT_SWAB_DEFINED /* Also in stdlib.h */
|
||||
void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
|
||||
#endif
|
||||
|
||||
#if defined(_CRT_USE_WINAPI_FAMILY_DESKTOP_APP) || defined(WINSTORECOMPAT)
|
||||
#ifndef _CRT_GETPID_DEFINED
|
||||
#define _CRT_GETPID_DEFINED /* Also in process.h */
|
||||
int __cdecl getpid(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
|
||||
#endif
|
||||
#endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP || WINSTORECOMPAT */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#include <pthread_unistd.h>
|
||||
|
||||
#undef __UNISTD_H_SOURCED__
|
||||
#endif /* _UNISTD_H */
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* unknown.h
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Magnus Olsen
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _UNKNOWN_H_
|
||||
#define _UNKNOWN_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#include <wdm.h>
|
||||
}
|
||||
#else
|
||||
#include <wdm.h>
|
||||
#endif
|
||||
|
||||
#include <windef.h>
|
||||
#define COM_NO_WINDOWS_H
|
||||
#include <basetyps.h>
|
||||
#ifdef PUT_GUIDS_HERE
|
||||
#include <initguid.h>
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
|
||||
#if defined(__cplusplus) && _MSC_VER >= 1100
|
||||
struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown;
|
||||
#endif
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IUnknown
|
||||
DECLARE_INTERFACE(IUnknown)
|
||||
{
|
||||
STDMETHOD(QueryInterface)
|
||||
( THIS_
|
||||
REFIID,
|
||||
PVOID*
|
||||
) PURE;
|
||||
|
||||
STDMETHOD_(ULONG,AddRef)
|
||||
( THIS
|
||||
) PURE;
|
||||
|
||||
STDMETHOD_(ULONG,Release)
|
||||
( THIS
|
||||
) PURE;
|
||||
};
|
||||
#undef INTERFACE
|
||||
|
||||
typedef IUnknown *PUNKNOWN;
|
||||
typedef
|
||||
HRESULT
|
||||
(NTAPI *PFNCREATEINSTANCE)
|
||||
(
|
||||
PUNKNOWN * Unknown,
|
||||
REFCLSID ClassId,
|
||||
PUNKNOWN OuterUnknown,
|
||||
POOL_TYPE PoolType
|
||||
);
|
||||
|
||||
#endif /* _UNKNOWN_H_ */
|
||||
|
||||
@@ -0,0 +1,444 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/unknwn.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __unknwn_h__
|
||||
#define __unknwn_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __IUnknown_FWD_DEFINED__
|
||||
#define __IUnknown_FWD_DEFINED__
|
||||
typedef interface IUnknown IUnknown;
|
||||
#ifdef __cplusplus
|
||||
interface IUnknown;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __AsyncIUnknown_FWD_DEFINED__
|
||||
#define __AsyncIUnknown_FWD_DEFINED__
|
||||
typedef interface AsyncIUnknown AsyncIUnknown;
|
||||
#ifdef __cplusplus
|
||||
interface AsyncIUnknown;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IClassFactory_FWD_DEFINED__
|
||||
#define __IClassFactory_FWD_DEFINED__
|
||||
typedef interface IClassFactory IClassFactory;
|
||||
#ifdef __cplusplus
|
||||
interface IClassFactory;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <wtypes.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
/*****************************************************************************
|
||||
* IUnknown interface
|
||||
*/
|
||||
#ifndef __IUnknown_INTERFACE_DEFINED__
|
||||
#define __IUnknown_INTERFACE_DEFINED__
|
||||
|
||||
typedef IUnknown *LPUNKNOWN;
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
EXTERN_C const IID IID_IUnknown;
|
||||
|
||||
extern "C++" {
|
||||
MIDL_INTERFACE("00000000-0000-0000-C000-000000000046")
|
||||
IUnknown {
|
||||
public:
|
||||
BEGIN_INTERFACE
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) = 0;
|
||||
virtual ULONG STDMETHODCALLTYPE AddRef(void) = 0;
|
||||
virtual ULONG STDMETHODCALLTYPE Release(void) = 0;
|
||||
|
||||
template<class Q>
|
||||
HRESULT STDMETHODCALLTYPE QueryInterface(Q **pp) {
|
||||
return QueryInterface(__uuidof(Q), (void **)pp);
|
||||
}
|
||||
END_INTERFACE
|
||||
};
|
||||
}
|
||||
__CRT_UUID_DECL(IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#else
|
||||
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("00000000-0000-0000-c000-000000000046")
|
||||
IUnknown
|
||||
{
|
||||
|
||||
BEGIN_INTERFACE
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface(
|
||||
REFIID riid,
|
||||
void **ppvObject) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE AddRef(
|
||||
) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Release(
|
||||
) = 0;
|
||||
|
||||
END_INTERFACE
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IUnknownVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IUnknown *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IUnknown *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IUnknown *This);
|
||||
|
||||
END_INTERFACE
|
||||
} IUnknownVtbl;
|
||||
|
||||
interface IUnknown {
|
||||
CONST_VTBL IUnknownVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IUnknown_Release(This) (This)->lpVtbl->Release(This)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IUnknown_QueryInterface(IUnknown* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IUnknown_AddRef(IUnknown* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IUnknown_Release(IUnknown* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IUnknown_INTERFACE_DEFINED__ */
|
||||
|
||||
#endif
|
||||
HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(IUnknown *This, REFIID riid, void **ppvObject);
|
||||
void __RPC_STUB IUnknown_QueryInterface_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
|
||||
ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(IUnknown *This);
|
||||
void __RPC_STUB IUnknown_AddRef_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
|
||||
ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(IUnknown *This);
|
||||
void __RPC_STUB IUnknown_Release_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
/*****************************************************************************
|
||||
* AsyncIUnknown interface
|
||||
*/
|
||||
#ifndef __AsyncIUnknown_INTERFACE_DEFINED__
|
||||
#define __AsyncIUnknown_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_AsyncIUnknown, 0x000e0000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("000e0000-0000-0000-c000-000000000046")
|
||||
AsyncIUnknown : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Begin_QueryInterface(
|
||||
REFIID riid) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Finish_QueryInterface(
|
||||
void **ppvObject) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Begin_AddRef(
|
||||
) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Finish_AddRef(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Begin_Release(
|
||||
) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Finish_Release(
|
||||
) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(AsyncIUnknown, 0x000e0000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct AsyncIUnknownVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
AsyncIUnknown *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
/*** AsyncIUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Begin_QueryInterface)(
|
||||
AsyncIUnknown *This,
|
||||
REFIID riid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Finish_QueryInterface)(
|
||||
AsyncIUnknown *This,
|
||||
void **ppvObject);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Begin_AddRef)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Finish_AddRef)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Begin_Release)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Finish_Release)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
END_INTERFACE
|
||||
} AsyncIUnknownVtbl;
|
||||
|
||||
interface AsyncIUnknown {
|
||||
CONST_VTBL AsyncIUnknownVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define AsyncIUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define AsyncIUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define AsyncIUnknown_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** AsyncIUnknown methods ***/
|
||||
#define AsyncIUnknown_Begin_QueryInterface(This,riid) (This)->lpVtbl->Begin_QueryInterface(This,riid)
|
||||
#define AsyncIUnknown_Finish_QueryInterface(This,ppvObject) (This)->lpVtbl->Finish_QueryInterface(This,ppvObject)
|
||||
#define AsyncIUnknown_Begin_AddRef(This) (This)->lpVtbl->Begin_AddRef(This)
|
||||
#define AsyncIUnknown_Finish_AddRef(This) (This)->lpVtbl->Finish_AddRef(This)
|
||||
#define AsyncIUnknown_Begin_Release(This) (This)->lpVtbl->Begin_Release(This)
|
||||
#define AsyncIUnknown_Finish_Release(This) (This)->lpVtbl->Finish_Release(This)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT AsyncIUnknown_QueryInterface(AsyncIUnknown* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG AsyncIUnknown_AddRef(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG AsyncIUnknown_Release(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** AsyncIUnknown methods ***/
|
||||
static inline HRESULT AsyncIUnknown_Begin_QueryInterface(AsyncIUnknown* This,REFIID riid) {
|
||||
return This->lpVtbl->Begin_QueryInterface(This,riid);
|
||||
}
|
||||
static inline HRESULT AsyncIUnknown_Finish_QueryInterface(AsyncIUnknown* This,void **ppvObject) {
|
||||
return This->lpVtbl->Finish_QueryInterface(This,ppvObject);
|
||||
}
|
||||
static inline HRESULT AsyncIUnknown_Begin_AddRef(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Begin_AddRef(This);
|
||||
}
|
||||
static inline ULONG AsyncIUnknown_Finish_AddRef(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Finish_AddRef(This);
|
||||
}
|
||||
static inline HRESULT AsyncIUnknown_Begin_Release(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Begin_Release(This);
|
||||
}
|
||||
static inline ULONG AsyncIUnknown_Finish_Release(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Finish_Release(This);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __AsyncIUnknown_INTERFACE_DEFINED__ */
|
||||
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
/*****************************************************************************
|
||||
* IClassFactory interface
|
||||
*/
|
||||
#ifndef __IClassFactory_INTERFACE_DEFINED__
|
||||
#define __IClassFactory_INTERFACE_DEFINED__
|
||||
|
||||
typedef IClassFactory *LPCLASSFACTORY;
|
||||
|
||||
DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("00000001-0000-0000-c000-000000000046")
|
||||
IClassFactory : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateInstance(
|
||||
IUnknown *pUnkOuter,
|
||||
REFIID riid,
|
||||
void **ppvObject) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE LockServer(
|
||||
WINBOOL fLock) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IClassFactoryVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IClassFactory *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IClassFactory *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IClassFactory *This);
|
||||
|
||||
/*** IClassFactory methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *CreateInstance)(
|
||||
IClassFactory *This,
|
||||
IUnknown *pUnkOuter,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *LockServer)(
|
||||
IClassFactory *This,
|
||||
WINBOOL fLock);
|
||||
|
||||
END_INTERFACE
|
||||
} IClassFactoryVtbl;
|
||||
|
||||
interface IClassFactory {
|
||||
CONST_VTBL IClassFactoryVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IClassFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IClassFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IClassFactory_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IClassFactory methods ***/
|
||||
#define IClassFactory_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject)
|
||||
#define IClassFactory_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IClassFactory_QueryInterface(IClassFactory* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IClassFactory_AddRef(IClassFactory* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IClassFactory_Release(IClassFactory* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IClassFactory methods ***/
|
||||
static inline HRESULT IClassFactory_CreateInstance(IClassFactory* This,IUnknown *pUnkOuter,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject);
|
||||
}
|
||||
static inline HRESULT IClassFactory_LockServer(IClassFactory* This,WINBOOL fLock) {
|
||||
return This->lpVtbl->LockServer(This,fLock);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
HRESULT STDMETHODCALLTYPE IClassFactory_RemoteCreateInstance_Proxy(
|
||||
IClassFactory* This,
|
||||
REFIID riid,
|
||||
IUnknown **ppvObject);
|
||||
void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub(
|
||||
IRpcStubBuffer* This,
|
||||
IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT __stdcall IClassFactory_RemoteLockServer_Proxy(
|
||||
IClassFactory* This,
|
||||
WINBOOL fLock);
|
||||
void __RPC_STUB IClassFactory_RemoteLockServer_Stub(
|
||||
IRpcStubBuffer* This,
|
||||
IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IClassFactory_CreateInstance_Proxy(
|
||||
IClassFactory* This,
|
||||
IUnknown *pUnkOuter,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
HRESULT __RPC_STUB IClassFactory_CreateInstance_Stub(
|
||||
IClassFactory* This,
|
||||
REFIID riid,
|
||||
IUnknown **ppvObject);
|
||||
HRESULT CALLBACK IClassFactory_LockServer_Proxy(
|
||||
IClassFactory* This,
|
||||
WINBOOL fLock);
|
||||
HRESULT __RPC_STUB IClassFactory_LockServer_Stub(
|
||||
IClassFactory* This,
|
||||
WINBOOL fLock);
|
||||
|
||||
#endif /* __IClassFactory_INTERFACE_DEFINED__ */
|
||||
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __unknwn_h__ */
|
||||
@@ -0,0 +1,440 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/unknwnbase.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __unknwnbase_h__
|
||||
#define __unknwnbase_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __IUnknown_FWD_DEFINED__
|
||||
#define __IUnknown_FWD_DEFINED__
|
||||
typedef interface IUnknown IUnknown;
|
||||
#ifdef __cplusplus
|
||||
interface IUnknown;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __AsyncIUnknown_FWD_DEFINED__
|
||||
#define __AsyncIUnknown_FWD_DEFINED__
|
||||
typedef interface AsyncIUnknown AsyncIUnknown;
|
||||
#ifdef __cplusplus
|
||||
interface AsyncIUnknown;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IClassFactory_FWD_DEFINED__
|
||||
#define __IClassFactory_FWD_DEFINED__
|
||||
typedef interface IClassFactory IClassFactory;
|
||||
#ifdef __cplusplus
|
||||
interface IClassFactory;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <wtypesbase.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
/*****************************************************************************
|
||||
* IUnknown interface
|
||||
*/
|
||||
#ifndef __IUnknown_INTERFACE_DEFINED__
|
||||
#define __IUnknown_INTERFACE_DEFINED__
|
||||
|
||||
typedef IUnknown *LPUNKNOWN;
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
EXTERN_C const IID IID_IUnknown;
|
||||
|
||||
extern "C++" {
|
||||
MIDL_INTERFACE("00000000-0000-0000-C000-000000000046")
|
||||
IUnknown {
|
||||
public:
|
||||
BEGIN_INTERFACE
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) = 0;
|
||||
virtual ULONG STDMETHODCALLTYPE AddRef(void) = 0;
|
||||
virtual ULONG STDMETHODCALLTYPE Release(void) = 0;
|
||||
|
||||
template<class Q>
|
||||
HRESULT STDMETHODCALLTYPE QueryInterface(Q **pp) {
|
||||
return QueryInterface(__uuidof(Q), (void **)pp);
|
||||
}
|
||||
END_INTERFACE
|
||||
};
|
||||
}
|
||||
__CRT_UUID_DECL(IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#else
|
||||
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("00000000-0000-0000-c000-000000000046")
|
||||
IUnknown
|
||||
{
|
||||
|
||||
BEGIN_INTERFACE
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface(
|
||||
REFIID riid,
|
||||
void **ppvObject) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE AddRef(
|
||||
) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Release(
|
||||
) = 0;
|
||||
|
||||
END_INTERFACE
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IUnknownVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IUnknown *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IUnknown *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IUnknown *This);
|
||||
|
||||
END_INTERFACE
|
||||
} IUnknownVtbl;
|
||||
|
||||
interface IUnknown {
|
||||
CONST_VTBL IUnknownVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IUnknown_Release(This) (This)->lpVtbl->Release(This)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IUnknown_QueryInterface(IUnknown* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IUnknown_AddRef(IUnknown* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IUnknown_Release(IUnknown* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IUnknown_INTERFACE_DEFINED__ */
|
||||
|
||||
#endif
|
||||
HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(IUnknown *This, REFIID riid, void **ppvObject);
|
||||
void __RPC_STUB IUnknown_QueryInterface_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
|
||||
ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(IUnknown *This);
|
||||
void __RPC_STUB IUnknown_AddRef_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
|
||||
ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(IUnknown *This);
|
||||
void __RPC_STUB IUnknown_Release_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
/*****************************************************************************
|
||||
* AsyncIUnknown interface
|
||||
*/
|
||||
#ifndef __AsyncIUnknown_INTERFACE_DEFINED__
|
||||
#define __AsyncIUnknown_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_AsyncIUnknown, 0x000e0000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("000e0000-0000-0000-c000-000000000046")
|
||||
AsyncIUnknown : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Begin_QueryInterface(
|
||||
REFIID riid) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Finish_QueryInterface(
|
||||
void **ppvObject) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Begin_AddRef(
|
||||
) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Finish_AddRef(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Begin_Release(
|
||||
) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Finish_Release(
|
||||
) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(AsyncIUnknown, 0x000e0000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct AsyncIUnknownVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
AsyncIUnknown *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
/*** AsyncIUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Begin_QueryInterface)(
|
||||
AsyncIUnknown *This,
|
||||
REFIID riid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Finish_QueryInterface)(
|
||||
AsyncIUnknown *This,
|
||||
void **ppvObject);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Begin_AddRef)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Finish_AddRef)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Begin_Release)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Finish_Release)(
|
||||
AsyncIUnknown *This);
|
||||
|
||||
END_INTERFACE
|
||||
} AsyncIUnknownVtbl;
|
||||
|
||||
interface AsyncIUnknown {
|
||||
CONST_VTBL AsyncIUnknownVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define AsyncIUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define AsyncIUnknown_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define AsyncIUnknown_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** AsyncIUnknown methods ***/
|
||||
#define AsyncIUnknown_Begin_QueryInterface(This,riid) (This)->lpVtbl->Begin_QueryInterface(This,riid)
|
||||
#define AsyncIUnknown_Finish_QueryInterface(This,ppvObject) (This)->lpVtbl->Finish_QueryInterface(This,ppvObject)
|
||||
#define AsyncIUnknown_Begin_AddRef(This) (This)->lpVtbl->Begin_AddRef(This)
|
||||
#define AsyncIUnknown_Finish_AddRef(This) (This)->lpVtbl->Finish_AddRef(This)
|
||||
#define AsyncIUnknown_Begin_Release(This) (This)->lpVtbl->Begin_Release(This)
|
||||
#define AsyncIUnknown_Finish_Release(This) (This)->lpVtbl->Finish_Release(This)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT AsyncIUnknown_QueryInterface(AsyncIUnknown* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG AsyncIUnknown_AddRef(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG AsyncIUnknown_Release(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** AsyncIUnknown methods ***/
|
||||
static inline HRESULT AsyncIUnknown_Begin_QueryInterface(AsyncIUnknown* This,REFIID riid) {
|
||||
return This->lpVtbl->Begin_QueryInterface(This,riid);
|
||||
}
|
||||
static inline HRESULT AsyncIUnknown_Finish_QueryInterface(AsyncIUnknown* This,void **ppvObject) {
|
||||
return This->lpVtbl->Finish_QueryInterface(This,ppvObject);
|
||||
}
|
||||
static inline HRESULT AsyncIUnknown_Begin_AddRef(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Begin_AddRef(This);
|
||||
}
|
||||
static inline ULONG AsyncIUnknown_Finish_AddRef(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Finish_AddRef(This);
|
||||
}
|
||||
static inline HRESULT AsyncIUnknown_Begin_Release(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Begin_Release(This);
|
||||
}
|
||||
static inline ULONG AsyncIUnknown_Finish_Release(AsyncIUnknown* This) {
|
||||
return This->lpVtbl->Finish_Release(This);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __AsyncIUnknown_INTERFACE_DEFINED__ */
|
||||
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
/*****************************************************************************
|
||||
* IClassFactory interface
|
||||
*/
|
||||
#ifndef __IClassFactory_INTERFACE_DEFINED__
|
||||
#define __IClassFactory_INTERFACE_DEFINED__
|
||||
|
||||
typedef IClassFactory *LPCLASSFACTORY;
|
||||
|
||||
DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("00000001-0000-0000-c000-000000000046")
|
||||
IClassFactory : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateInstance(
|
||||
IUnknown *pUnkOuter,
|
||||
REFIID riid,
|
||||
void **ppvObject) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE LockServer(
|
||||
WINBOOL fLock) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IClassFactoryVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IClassFactory *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IClassFactory *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IClassFactory *This);
|
||||
|
||||
/*** IClassFactory methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *CreateInstance)(
|
||||
IClassFactory *This,
|
||||
IUnknown *pUnkOuter,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *LockServer)(
|
||||
IClassFactory *This,
|
||||
WINBOOL fLock);
|
||||
|
||||
END_INTERFACE
|
||||
} IClassFactoryVtbl;
|
||||
|
||||
interface IClassFactory {
|
||||
CONST_VTBL IClassFactoryVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IClassFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IClassFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IClassFactory_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IClassFactory methods ***/
|
||||
#define IClassFactory_CreateInstance(This,pUnkOuter,riid,ppvObject) (This)->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject)
|
||||
#define IClassFactory_LockServer(This,fLock) (This)->lpVtbl->LockServer(This,fLock)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IClassFactory_QueryInterface(IClassFactory* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IClassFactory_AddRef(IClassFactory* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IClassFactory_Release(IClassFactory* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IClassFactory methods ***/
|
||||
static inline HRESULT IClassFactory_CreateInstance(IClassFactory* This,IUnknown *pUnkOuter,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->CreateInstance(This,pUnkOuter,riid,ppvObject);
|
||||
}
|
||||
static inline HRESULT IClassFactory_LockServer(IClassFactory* This,WINBOOL fLock) {
|
||||
return This->lpVtbl->LockServer(This,fLock);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
HRESULT STDMETHODCALLTYPE IClassFactory_RemoteCreateInstance_Proxy(
|
||||
IClassFactory* This,
|
||||
REFIID riid,
|
||||
IUnknown **ppvObject);
|
||||
void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub(
|
||||
IRpcStubBuffer* This,
|
||||
IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT __stdcall IClassFactory_RemoteLockServer_Proxy(
|
||||
IClassFactory* This,
|
||||
WINBOOL fLock);
|
||||
void __RPC_STUB IClassFactory_RemoteLockServer_Stub(
|
||||
IRpcStubBuffer* This,
|
||||
IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IClassFactory_CreateInstance_Proxy(
|
||||
IClassFactory* This,
|
||||
IUnknown *pUnkOuter,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
HRESULT __RPC_STUB IClassFactory_CreateInstance_Stub(
|
||||
IClassFactory* This,
|
||||
REFIID riid,
|
||||
IUnknown **ppvObject);
|
||||
HRESULT CALLBACK IClassFactory_LockServer_Proxy(
|
||||
IClassFactory* This,
|
||||
WINBOOL fLock);
|
||||
HRESULT __RPC_STUB IClassFactory_LockServer_Stub(
|
||||
IClassFactory* This,
|
||||
WINBOOL fLock);
|
||||
|
||||
#endif /* __IClassFactory_INTERFACE_DEFINED__ */
|
||||
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __unknwnbase_h__ */
|
||||
@@ -0,0 +1,596 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/urlhist.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __urlhist_h__
|
||||
#define __urlhist_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __IEnumSTATURL_FWD_DEFINED__
|
||||
#define __IEnumSTATURL_FWD_DEFINED__
|
||||
typedef interface IEnumSTATURL IEnumSTATURL;
|
||||
#ifdef __cplusplus
|
||||
interface IEnumSTATURL;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IUrlHistoryStg_FWD_DEFINED__
|
||||
#define __IUrlHistoryStg_FWD_DEFINED__
|
||||
typedef interface IUrlHistoryStg IUrlHistoryStg;
|
||||
#ifdef __cplusplus
|
||||
interface IUrlHistoryStg;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IUrlHistoryStg2_FWD_DEFINED__
|
||||
#define __IUrlHistoryStg2_FWD_DEFINED__
|
||||
typedef interface IUrlHistoryStg2 IUrlHistoryStg2;
|
||||
#ifdef __cplusplus
|
||||
interface IUrlHistoryStg2;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IUrlHistoryNotify_FWD_DEFINED__
|
||||
#define __IUrlHistoryNotify_FWD_DEFINED__
|
||||
typedef interface IUrlHistoryNotify IUrlHistoryNotify;
|
||||
#ifdef __cplusplus
|
||||
interface IUrlHistoryNotify;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <objidl.h>
|
||||
#include <oleidl.h>
|
||||
#include <oaidl.h>
|
||||
#include <docobj.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define STATURL_QUERYFLAG_ISCACHED 0x010000
|
||||
#define STATURL_QUERYFLAG_NOURL 0x020000
|
||||
#define STATURL_QUERYFLAG_NOTITLE 0x040000
|
||||
#define STATURL_QUERYFLAG_TOPLEVEL 0x080000
|
||||
#define STATURLFLAG_ISCACHED 0x0001
|
||||
#define STATURLFLAG_ISTOPLEVEL 0x0002
|
||||
typedef enum _ADDURL_FLAG {
|
||||
ADDURL_FIRST = 0,
|
||||
ADDURL_ADDTOHISTORYANDCACHE = 0,
|
||||
ADDURL_ADDTOCACHE = 1,
|
||||
ADDURL_Max = 0x7fffffff
|
||||
} ADDURL_FLAG;
|
||||
/*****************************************************************************
|
||||
* IEnumSTATURL interface
|
||||
*/
|
||||
#ifndef __IEnumSTATURL_INTERFACE_DEFINED__
|
||||
#define __IEnumSTATURL_INTERFACE_DEFINED__
|
||||
|
||||
typedef IEnumSTATURL *LPENUMSTATURL;
|
||||
typedef struct _STATURL {
|
||||
DWORD cbSize;
|
||||
LPWSTR pwcsUrl;
|
||||
LPWSTR pwcsTitle;
|
||||
FILETIME ftLastVisited;
|
||||
FILETIME ftLastUpdated;
|
||||
FILETIME ftExpires;
|
||||
DWORD dwFlags;
|
||||
} STATURL;
|
||||
typedef struct _STATURL *LPSTATURL;
|
||||
DEFINE_GUID(IID_IEnumSTATURL, 0x3c374a42, 0xbae4, 0x11cf, 0xbf,0x7d, 0x00,0xaa,0x00,0x69,0x46,0xee);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("3c374a42-bae4-11cf-bf7d-00aa006946ee")
|
||||
IEnumSTATURL : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
ULONG celt,
|
||||
LPSTATURL rgelt,
|
||||
ULONG *pceltFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
ULONG celt) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
IEnumSTATURL **ppenum) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetFilter(
|
||||
LPCOLESTR poszFilter,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IEnumSTATURL, 0x3c374a42, 0xbae4, 0x11cf, 0xbf,0x7d, 0x00,0xaa,0x00,0x69,0x46,0xee)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IEnumSTATURLVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IEnumSTATURL *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IEnumSTATURL *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IEnumSTATURL *This);
|
||||
|
||||
/*** IEnumSTATURL methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Next)(
|
||||
IEnumSTATURL *This,
|
||||
ULONG celt,
|
||||
LPSTATURL rgelt,
|
||||
ULONG *pceltFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Skip)(
|
||||
IEnumSTATURL *This,
|
||||
ULONG celt);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IEnumSTATURL *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Clone)(
|
||||
IEnumSTATURL *This,
|
||||
IEnumSTATURL **ppenum);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetFilter)(
|
||||
IEnumSTATURL *This,
|
||||
LPCOLESTR poszFilter,
|
||||
DWORD dwFlags);
|
||||
|
||||
END_INTERFACE
|
||||
} IEnumSTATURLVtbl;
|
||||
|
||||
interface IEnumSTATURL {
|
||||
CONST_VTBL IEnumSTATURLVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumSTATURL_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IEnumSTATURL_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IEnumSTATURL_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IEnumSTATURL methods ***/
|
||||
#define IEnumSTATURL_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
|
||||
#define IEnumSTATURL_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
|
||||
#define IEnumSTATURL_Reset(This) (This)->lpVtbl->Reset(This)
|
||||
#define IEnumSTATURL_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
|
||||
#define IEnumSTATURL_SetFilter(This,poszFilter,dwFlags) (This)->lpVtbl->SetFilter(This,poszFilter,dwFlags)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IEnumSTATURL_QueryInterface(IEnumSTATURL* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IEnumSTATURL_AddRef(IEnumSTATURL* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IEnumSTATURL_Release(IEnumSTATURL* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IEnumSTATURL methods ***/
|
||||
static inline HRESULT IEnumSTATURL_Next(IEnumSTATURL* This,ULONG celt,LPSTATURL rgelt,ULONG *pceltFetched) {
|
||||
return This->lpVtbl->Next(This,celt,rgelt,pceltFetched);
|
||||
}
|
||||
static inline HRESULT IEnumSTATURL_Skip(IEnumSTATURL* This,ULONG celt) {
|
||||
return This->lpVtbl->Skip(This,celt);
|
||||
}
|
||||
static inline HRESULT IEnumSTATURL_Reset(IEnumSTATURL* This) {
|
||||
return This->lpVtbl->Reset(This);
|
||||
}
|
||||
static inline HRESULT IEnumSTATURL_Clone(IEnumSTATURL* This,IEnumSTATURL **ppenum) {
|
||||
return This->lpVtbl->Clone(This,ppenum);
|
||||
}
|
||||
static inline HRESULT IEnumSTATURL_SetFilter(IEnumSTATURL* This,LPCOLESTR poszFilter,DWORD dwFlags) {
|
||||
return This->lpVtbl->SetFilter(This,poszFilter,dwFlags);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IEnumSTATURL_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IUrlHistoryStg interface
|
||||
*/
|
||||
#ifndef __IUrlHistoryStg_INTERFACE_DEFINED__
|
||||
#define __IUrlHistoryStg_INTERFACE_DEFINED__
|
||||
|
||||
typedef IUrlHistoryStg *LPURLHISTORYSTG;
|
||||
DEFINE_GUID(IID_IUrlHistoryStg, 0x3c374a41, 0xbae4, 0x11cf, 0xbf,0x7d, 0x00,0xaa,0x00,0x69,0x46,0xee);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("3c374a41-bae4-11cf-bf7d-00aa006946ee")
|
||||
IUrlHistoryStg : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE AddUrl(
|
||||
LPCOLESTR pocsUrl,
|
||||
LPCOLESTR pocsTitle,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DeleteUrl(
|
||||
LPCOLESTR pocsUrl,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryUrl(
|
||||
LPCOLESTR pocsUrl,
|
||||
DWORD dwFlags,
|
||||
LPSTATURL lpSTATURL) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE BindToObject(
|
||||
LPCOLESTR pocsUrl,
|
||||
REFIID riid,
|
||||
void **ppvOut) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumUrls(
|
||||
IEnumSTATURL **ppEnum) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IUrlHistoryStg, 0x3c374a41, 0xbae4, 0x11cf, 0xbf,0x7d, 0x00,0xaa,0x00,0x69,0x46,0xee)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IUrlHistoryStgVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IUrlHistoryStg *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IUrlHistoryStg *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IUrlHistoryStg *This);
|
||||
|
||||
/*** IUrlHistoryStg methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *AddUrl)(
|
||||
IUrlHistoryStg *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
LPCOLESTR pocsTitle,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeleteUrl)(
|
||||
IUrlHistoryStg *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *QueryUrl)(
|
||||
IUrlHistoryStg *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
DWORD dwFlags,
|
||||
LPSTATURL lpSTATURL);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *BindToObject)(
|
||||
IUrlHistoryStg *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
REFIID riid,
|
||||
void **ppvOut);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumUrls)(
|
||||
IUrlHistoryStg *This,
|
||||
IEnumSTATURL **ppEnum);
|
||||
|
||||
END_INTERFACE
|
||||
} IUrlHistoryStgVtbl;
|
||||
|
||||
interface IUrlHistoryStg {
|
||||
CONST_VTBL IUrlHistoryStgVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IUrlHistoryStg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IUrlHistoryStg_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IUrlHistoryStg_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IUrlHistoryStg methods ***/
|
||||
#define IUrlHistoryStg_AddUrl(This,pocsUrl,pocsTitle,dwFlags) (This)->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags)
|
||||
#define IUrlHistoryStg_DeleteUrl(This,pocsUrl,dwFlags) (This)->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags)
|
||||
#define IUrlHistoryStg_QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) (This)->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL)
|
||||
#define IUrlHistoryStg_BindToObject(This,pocsUrl,riid,ppvOut) (This)->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut)
|
||||
#define IUrlHistoryStg_EnumUrls(This,ppEnum) (This)->lpVtbl->EnumUrls(This,ppEnum)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IUrlHistoryStg_QueryInterface(IUrlHistoryStg* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IUrlHistoryStg_AddRef(IUrlHistoryStg* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IUrlHistoryStg_Release(IUrlHistoryStg* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IUrlHistoryStg methods ***/
|
||||
static inline HRESULT IUrlHistoryStg_AddUrl(IUrlHistoryStg* This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags) {
|
||||
return This->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg_DeleteUrl(IUrlHistoryStg* This,LPCOLESTR pocsUrl,DWORD dwFlags) {
|
||||
return This->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg_QueryUrl(IUrlHistoryStg* This,LPCOLESTR pocsUrl,DWORD dwFlags,LPSTATURL lpSTATURL) {
|
||||
return This->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg_BindToObject(IUrlHistoryStg* This,LPCOLESTR pocsUrl,REFIID riid,void **ppvOut) {
|
||||
return This->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg_EnumUrls(IUrlHistoryStg* This,IEnumSTATURL **ppEnum) {
|
||||
return This->lpVtbl->EnumUrls(This,ppEnum);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IUrlHistoryStg_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IUrlHistoryStg2 interface
|
||||
*/
|
||||
#ifndef __IUrlHistoryStg2_INTERFACE_DEFINED__
|
||||
#define __IUrlHistoryStg2_INTERFACE_DEFINED__
|
||||
|
||||
typedef IUrlHistoryStg2 *LPURLHISTORYSTG2;
|
||||
DEFINE_GUID(IID_IUrlHistoryStg2, 0xafa0dc11, 0xc313, 0x11d0, 0x83,0x1a, 0x00,0xc0,0x4f,0xd5,0xae,0x38);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("afa0dc11-c313-11d0-831a-00c04fd5ae38")
|
||||
IUrlHistoryStg2 : public IUrlHistoryStg
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE AddUrlAndNotify(
|
||||
LPCOLESTR pocsUrl,
|
||||
LPCOLESTR pocsTitle,
|
||||
DWORD dwFlags,
|
||||
WINBOOL fWriteHistory,
|
||||
IOleCommandTarget *poctNotify,
|
||||
IUnknown *punkISFolder) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE ClearHistory(
|
||||
) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IUrlHistoryStg2, 0xafa0dc11, 0xc313, 0x11d0, 0x83,0x1a, 0x00,0xc0,0x4f,0xd5,0xae,0x38)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IUrlHistoryStg2Vtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IUrlHistoryStg2 *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IUrlHistoryStg2 *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IUrlHistoryStg2 *This);
|
||||
|
||||
/*** IUrlHistoryStg methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *AddUrl)(
|
||||
IUrlHistoryStg2 *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
LPCOLESTR pocsTitle,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeleteUrl)(
|
||||
IUrlHistoryStg2 *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *QueryUrl)(
|
||||
IUrlHistoryStg2 *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
DWORD dwFlags,
|
||||
LPSTATURL lpSTATURL);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *BindToObject)(
|
||||
IUrlHistoryStg2 *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
REFIID riid,
|
||||
void **ppvOut);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumUrls)(
|
||||
IUrlHistoryStg2 *This,
|
||||
IEnumSTATURL **ppEnum);
|
||||
|
||||
/*** IUrlHistoryStg2 methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *AddUrlAndNotify)(
|
||||
IUrlHistoryStg2 *This,
|
||||
LPCOLESTR pocsUrl,
|
||||
LPCOLESTR pocsTitle,
|
||||
DWORD dwFlags,
|
||||
WINBOOL fWriteHistory,
|
||||
IOleCommandTarget *poctNotify,
|
||||
IUnknown *punkISFolder);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *ClearHistory)(
|
||||
IUrlHistoryStg2 *This);
|
||||
|
||||
END_INTERFACE
|
||||
} IUrlHistoryStg2Vtbl;
|
||||
|
||||
interface IUrlHistoryStg2 {
|
||||
CONST_VTBL IUrlHistoryStg2Vtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IUrlHistoryStg2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IUrlHistoryStg2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IUrlHistoryStg2_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IUrlHistoryStg methods ***/
|
||||
#define IUrlHistoryStg2_AddUrl(This,pocsUrl,pocsTitle,dwFlags) (This)->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags)
|
||||
#define IUrlHistoryStg2_DeleteUrl(This,pocsUrl,dwFlags) (This)->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags)
|
||||
#define IUrlHistoryStg2_QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) (This)->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL)
|
||||
#define IUrlHistoryStg2_BindToObject(This,pocsUrl,riid,ppvOut) (This)->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut)
|
||||
#define IUrlHistoryStg2_EnumUrls(This,ppEnum) (This)->lpVtbl->EnumUrls(This,ppEnum)
|
||||
/*** IUrlHistoryStg2 methods ***/
|
||||
#define IUrlHistoryStg2_AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder) (This)->lpVtbl->AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder)
|
||||
#define IUrlHistoryStg2_ClearHistory(This) (This)->lpVtbl->ClearHistory(This)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IUrlHistoryStg2_QueryInterface(IUrlHistoryStg2* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IUrlHistoryStg2_AddRef(IUrlHistoryStg2* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IUrlHistoryStg2_Release(IUrlHistoryStg2* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IUrlHistoryStg methods ***/
|
||||
static inline HRESULT IUrlHistoryStg2_AddUrl(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags) {
|
||||
return This->lpVtbl->AddUrl(This,pocsUrl,pocsTitle,dwFlags);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg2_DeleteUrl(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,DWORD dwFlags) {
|
||||
return This->lpVtbl->DeleteUrl(This,pocsUrl,dwFlags);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg2_QueryUrl(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,DWORD dwFlags,LPSTATURL lpSTATURL) {
|
||||
return This->lpVtbl->QueryUrl(This,pocsUrl,dwFlags,lpSTATURL);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg2_BindToObject(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,REFIID riid,void **ppvOut) {
|
||||
return This->lpVtbl->BindToObject(This,pocsUrl,riid,ppvOut);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg2_EnumUrls(IUrlHistoryStg2* This,IEnumSTATURL **ppEnum) {
|
||||
return This->lpVtbl->EnumUrls(This,ppEnum);
|
||||
}
|
||||
/*** IUrlHistoryStg2 methods ***/
|
||||
static inline HRESULT IUrlHistoryStg2_AddUrlAndNotify(IUrlHistoryStg2* This,LPCOLESTR pocsUrl,LPCOLESTR pocsTitle,DWORD dwFlags,WINBOOL fWriteHistory,IOleCommandTarget *poctNotify,IUnknown *punkISFolder) {
|
||||
return This->lpVtbl->AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryStg2_ClearHistory(IUrlHistoryStg2* This) {
|
||||
return This->lpVtbl->ClearHistory(This);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IUrlHistoryStg2_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IUrlHistoryNotify interface
|
||||
*/
|
||||
#ifndef __IUrlHistoryNotify_INTERFACE_DEFINED__
|
||||
#define __IUrlHistoryNotify_INTERFACE_DEFINED__
|
||||
|
||||
typedef IUrlHistoryNotify *LPURLHISTORYNOTIFY;
|
||||
DEFINE_GUID(IID_IUrlHistoryNotify, 0xbc40bec1, 0xc493, 0x11d0, 0x83,0x1b, 0x00,0xc0,0x4f,0xd5,0xae,0x38);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("bc40bec1-c493-11d0-831b-00c04fd5ae38")
|
||||
IUrlHistoryNotify : public IOleCommandTarget
|
||||
{
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IUrlHistoryNotify, 0xbc40bec1, 0xc493, 0x11d0, 0x83,0x1b, 0x00,0xc0,0x4f,0xd5,0xae,0x38)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IUrlHistoryNotifyVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IUrlHistoryNotify *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IUrlHistoryNotify *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IUrlHistoryNotify *This);
|
||||
|
||||
/*** IOleCommandTarget methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryStatus)(
|
||||
IUrlHistoryNotify *This,
|
||||
const GUID *pguidCmdGroup,
|
||||
ULONG cCmds,
|
||||
OLECMD prgCmds[],
|
||||
OLECMDTEXT *pCmdText);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Exec)(
|
||||
IUrlHistoryNotify *This,
|
||||
const GUID *pguidCmdGroup,
|
||||
DWORD nCmdID,
|
||||
DWORD nCmdexecopt,
|
||||
VARIANT *pvaIn,
|
||||
VARIANT *pvaOut);
|
||||
|
||||
END_INTERFACE
|
||||
} IUrlHistoryNotifyVtbl;
|
||||
|
||||
interface IUrlHistoryNotify {
|
||||
CONST_VTBL IUrlHistoryNotifyVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IUrlHistoryNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IUrlHistoryNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IUrlHistoryNotify_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IOleCommandTarget methods ***/
|
||||
#define IUrlHistoryNotify_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) (This)->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText)
|
||||
#define IUrlHistoryNotify_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) (This)->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static inline HRESULT IUrlHistoryNotify_QueryInterface(IUrlHistoryNotify* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static inline ULONG IUrlHistoryNotify_AddRef(IUrlHistoryNotify* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static inline ULONG IUrlHistoryNotify_Release(IUrlHistoryNotify* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IOleCommandTarget methods ***/
|
||||
static inline HRESULT IUrlHistoryNotify_QueryStatus(IUrlHistoryNotify* This,const GUID *pguidCmdGroup,ULONG cCmds,OLECMD prgCmds[],OLECMDTEXT *pCmdText) {
|
||||
return This->lpVtbl->QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText);
|
||||
}
|
||||
static inline HRESULT IUrlHistoryNotify_Exec(IUrlHistoryNotify* This,const GUID *pguidCmdGroup,DWORD nCmdID,DWORD nCmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut) {
|
||||
return This->lpVtbl->Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IUrlHistoryNotify_INTERFACE_DEFINED__ */
|
||||
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __urlhist_h__ */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,563 @@
|
||||
/*
|
||||
* usb.h
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*
|
||||
* This file is based on the ReactOS PSDK package file usb.h header.
|
||||
* It was contributors by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* Additions for Windows 8 and winapi-family by Kai Tietz.
|
||||
* Replace dependecy of usb200.h header by usbspec.h header.
|
||||
*/
|
||||
|
||||
#ifdef OSR21_COMPAT
|
||||
#pragma message("WARNING: OSR21_COMPAT SWITCH NOT SUPPORTED")
|
||||
#endif
|
||||
|
||||
#ifndef __USB_H__
|
||||
#define __USB_H__
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#ifndef _NTDDK_
|
||||
#ifndef _WDMDDK_
|
||||
typedef PVOID PIRP;
|
||||
typedef PVOID PMDL;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define USBDI_VERSION 0x00000600
|
||||
|
||||
#include "usbspec.h"
|
||||
#include "usb200.h"
|
||||
|
||||
#define USB_PORTATTR_NO_CONNECTOR 0x00000001
|
||||
#define USB_PORTATTR_SHARED_USB2 0x00000002
|
||||
#define USB_PORTATTR_MINI_CONNECTOR 0x00000004
|
||||
#define USB_PORTATTR_OEM_CONNECTOR 0x00000008
|
||||
#define USB_PORTATTR_OWNED_BY_CC 0x01000000
|
||||
#define USB_PORTATTR_NO_OVERCURRENT_UI 0x02000000
|
||||
|
||||
typedef enum _USB_CONTROLLER_FLAVOR {
|
||||
USB_HcGeneric = 0,
|
||||
OHCI_Generic = 100,
|
||||
OHCI_Hydra,
|
||||
OHCI_NEC,
|
||||
UHCI_Generic = 200,
|
||||
UHCI_Piix4 = 201,
|
||||
UHCI_Piix3 = 202,
|
||||
UHCI_Ich2 = 203,
|
||||
UHCI_Reserved204 = 204,
|
||||
UHCI_Ich1 = 205,
|
||||
UHCI_Ich3m = 206,
|
||||
UHCI_Ich4 = 207,
|
||||
UHCI_Ich5 = 208,
|
||||
UHCI_Ich6 = 209,
|
||||
UHCI_Intel = 249,
|
||||
UHCI_VIA = 250,
|
||||
UHCI_VIA_x01 = 251,
|
||||
UHCI_VIA_x02 = 252,
|
||||
UHCI_VIA_x03 = 253,
|
||||
UHCI_VIA_x04 = 254,
|
||||
UHCI_VIA_x0E_FIFO = 264,
|
||||
EHCI_Generic = 1000,
|
||||
EHCI_NEC = 2000,
|
||||
EHCI_Lucent = 3000,
|
||||
EHCI_NVIDIA_Tegra2 = 4000,
|
||||
EHCI_NVIDIA_Tegra3 = 4001,
|
||||
EHCI_Intel_Medfield = 5001
|
||||
} USB_CONTROLLER_FLAVOR;
|
||||
|
||||
#define USB_DEFAULT_DEVICE_ADDRESS 0
|
||||
#define USB_DEFAULT_ENDPOINT_ADDRESS 0
|
||||
|
||||
#define USB_DEFAULT_MAX_PACKET 64
|
||||
|
||||
#define URB_FROM_IRP(Irp) ((IoGetCurrentIrpStackLocation (Irp))->Parameters.Others.Argument1)
|
||||
|
||||
#define URB_FUNCTION_SELECT_CONFIGURATION 0x0000
|
||||
#define URB_FUNCTION_SELECT_INTERFACE 0x0001
|
||||
#define URB_FUNCTION_ABORT_PIPE 0x0002
|
||||
#define URB_FUNCTION_TAKE_FRAME_LENGTH_CONTROL 0x0003
|
||||
#define URB_FUNCTION_RELEASE_FRAME_LENGTH_CONTROL 0x0004
|
||||
#define URB_FUNCTION_GET_FRAME_LENGTH 0x0005
|
||||
#define URB_FUNCTION_SET_FRAME_LENGTH 0x0006
|
||||
#define URB_FUNCTION_GET_CURRENT_FRAME_NUMBER 0x0007
|
||||
#define URB_FUNCTION_CONTROL_TRANSFER 0x0008
|
||||
#define URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER 0x0009
|
||||
#define URB_FUNCTION_ISOCH_TRANSFER 0x000a
|
||||
#define URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE 0x000b
|
||||
#define URB_FUNCTION_SET_DESCRIPTOR_TO_DEVICE 0x000c
|
||||
#define URB_FUNCTION_SET_FEATURE_TO_DEVICE 0x000d
|
||||
#define URB_FUNCTION_SET_FEATURE_TO_INTERFACE 0x000e
|
||||
#define URB_FUNCTION_SET_FEATURE_TO_ENDPOINT 0x000f
|
||||
#define URB_FUNCTION_CLEAR_FEATURE_TO_DEVICE 0x0010
|
||||
#define URB_FUNCTION_CLEAR_FEATURE_TO_INTERFACE 0x0011
|
||||
#define URB_FUNCTION_CLEAR_FEATURE_TO_ENDPOINT 0x0012
|
||||
#define URB_FUNCTION_GET_STATUS_FROM_DEVICE 0x0013
|
||||
#define URB_FUNCTION_GET_STATUS_FROM_INTERFACE 0x0014
|
||||
#define URB_FUNCTION_GET_STATUS_FROM_ENDPOINT 0x0015
|
||||
#define URB_FUNCTION_RESERVED_0X0016 0x0016
|
||||
#define URB_FUNCTION_VENDOR_DEVICE 0x0017
|
||||
#define URB_FUNCTION_VENDOR_INTERFACE 0x0018
|
||||
#define URB_FUNCTION_VENDOR_ENDPOINT 0x0019
|
||||
#define URB_FUNCTION_CLASS_DEVICE 0x001a
|
||||
#define URB_FUNCTION_CLASS_INTERFACE 0x001b
|
||||
#define URB_FUNCTION_CLASS_ENDPOINT 0x001c
|
||||
#define URB_FUNCTION_RESERVE_0X001D 0x001d
|
||||
#define URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL 0x001e
|
||||
#define URB_FUNCTION_CLASS_OTHER 0x001f
|
||||
#define URB_FUNCTION_VENDOR_OTHER 0x0020
|
||||
#define URB_FUNCTION_GET_STATUS_FROM_OTHER 0x0021
|
||||
#define URB_FUNCTION_CLEAR_FEATURE_TO_OTHER 0x0022
|
||||
#define URB_FUNCTION_SET_FEATURE_TO_OTHER 0x0023
|
||||
#define URB_FUNCTION_GET_DESCRIPTOR_FROM_ENDPOINT 0x0024
|
||||
#define URB_FUNCTION_SET_DESCRIPTOR_TO_ENDPOINT 0x0025
|
||||
#define URB_FUNCTION_GET_CONFIGURATION 0x0026
|
||||
#define URB_FUNCTION_GET_INTERFACE 0x0027
|
||||
#define URB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE 0x0028
|
||||
#define URB_FUNCTION_SET_DESCRIPTOR_TO_INTERFACE 0x0029
|
||||
#define URB_FUNCTION_GET_MS_FEATURE_DESCRIPTOR 0x002a
|
||||
#define URB_FUNCTION_RESERVE_0X002B 0x002b
|
||||
#define URB_FUNCTION_RESERVE_0X002C 0x002c
|
||||
#define URB_FUNCTION_RESERVE_0X002D 0x002d
|
||||
#define URB_FUNCTION_RESERVE_0X002E 0x002e
|
||||
#define URB_FUNCTION_RESERVE_0X002F 0x002f
|
||||
#define URB_FUNCTION_SYNC_RESET_PIPE 0x0030
|
||||
#define URB_FUNCTION_SYNC_CLEAR_STALL 0x0031
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
#define URB_FUNCTION_CONTROL_TRANSFER_EX 0x0032
|
||||
#define URB_FUNCTION_RESERVE_0X0033 0x0033
|
||||
#define URB_FUNCTION_RESERVE_0X0034 0x0034
|
||||
#endif
|
||||
#if NTDDI_VERSION >= 0x06020000
|
||||
#define URB_FUNCTION_OPEN_STATIC_STREAMS 0x0035
|
||||
#define URB_FUNCTION_CLOSE_STATIC_STREAMS 0x0036
|
||||
#define URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER_USING_CHAINED_MDL 0x0037
|
||||
#define URB_FUNCTION_ISOCH_TRANSFER_USING_CHAINED_MDL 0x0038
|
||||
#endif
|
||||
|
||||
#define URB_FUNCTION_RESET_PIPE URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL
|
||||
|
||||
#define USBD_TRANSFER_DIRECTION 0x00000001
|
||||
#define USBD_SHORT_TRANSFER_OK 0x00000002
|
||||
#define USBD_START_ISO_TRANSFER_ASAP 0x00000004
|
||||
#define USBD_DEFAULT_PIPE_TRANSFER 0x00000008
|
||||
#define USBD_TRANSFER_DIRECTION_FLAG(flags) ((flags) &USBD_TRANSFER_DIRECTION)
|
||||
|
||||
#define USBD_TRANSFER_DIRECTION_OUT 0
|
||||
#define USBD_TRANSFER_DIRECTION_IN 1
|
||||
#define VALID_TRANSFER_FLAGS_MASK (USBD_SHORT_TRANSFER_OK | USBD_TRANSFER_DIRECTION | USBD_START_ISO_TRANSFER_ASAP | USBD_DEFAULT_PIPE_TRANSFER)
|
||||
#define USBD_ISO_START_FRAME_RANGE 1024
|
||||
|
||||
typedef LONG USBD_STATUS;
|
||||
|
||||
#define USBD_SUCCESS(Status) ((USBD_STATUS) (Status) >= 0)
|
||||
#define USBD_PENDING(Status) ((ULONG) (Status) >> 30 == 1)
|
||||
#define USBD_ERROR(Status) ((USBD_STATUS) (Status) < 0)
|
||||
#define USBD_STATUS_SUCCESS ((USBD_STATUS) 0x00000000)
|
||||
#define USBD_STATUS_PENDING ((USBD_STATUS) 0x40000000)
|
||||
#define USBD_STATUS_CRC ((USBD_STATUS) 0xc0000001)
|
||||
#define USBD_STATUS_BTSTUFF ((USBD_STATUS) 0xc0000002)
|
||||
#define USBD_STATUS_DATA_TOGGLE_MISMATCH ((USBD_STATUS) 0xc0000003)
|
||||
#define USBD_STATUS_STALL_PID ((USBD_STATUS) 0xc0000004)
|
||||
#define USBD_STATUS_DEV_NOT_RESPONDING ((USBD_STATUS) 0xc0000005)
|
||||
#define USBD_STATUS_PID_CHECK_FAILURE ((USBD_STATUS) 0xc0000006)
|
||||
#define USBD_STATUS_UNEXPECTED_PID ((USBD_STATUS) 0xc0000007)
|
||||
#define USBD_STATUS_DATA_OVERRUN ((USBD_STATUS) 0xc0000008)
|
||||
#define USBD_STATUS_DATA_UNDERRUN ((USBD_STATUS) 0xc0000009)
|
||||
#define USBD_STATUS_RESERVED1 ((USBD_STATUS) 0xc000000a)
|
||||
#define USBD_STATUS_RESERVED2 ((USBD_STATUS) 0xc000000b)
|
||||
#define USBD_STATUS_BUFFER_OVERRUN ((USBD_STATUS) 0xc000000c)
|
||||
#define USBD_STATUS_BUFFER_UNDERRUN ((USBD_STATUS) 0xc000000d)
|
||||
#define USBD_STATUS_NOT_ACCESSED ((USBD_STATUS) 0xc000000f)
|
||||
#define USBD_STATUS_FIFO ((USBD_STATUS) 0xc0000010)
|
||||
#define USBD_STATUS_XACT_ERROR ((USBD_STATUS) 0xc0000011)
|
||||
#define USBD_STATUS_BABBLE_DETECTED ((USBD_STATUS) 0xc0000012)
|
||||
#define USBD_STATUS_DATA_BUFFER_ERROR ((USBD_STATUS) 0xc0000013)
|
||||
#define USBD_STATUS_NO_PING_RESPONSE ((USBD_STATUS) 0xc0000014)
|
||||
#define USBD_STATUS_INVALID_STREAM_TYPE ((USBD_STATUS) 0xc0000015)
|
||||
#define USBD_STATUS_INVALID_STREAM_ID ((USBD_STATUS) 0xc0000016)
|
||||
#define USBD_STATUS_ENDPOINT_HALTED ((USBD_STATUS) 0xc0000030)
|
||||
#define USBD_STATUS_INVALID_URB_FUNCTION ((USBD_STATUS) 0x80000200)
|
||||
#define USBD_STATUS_INVALID_PARAMETER ((USBD_STATUS) 0x80000300)
|
||||
#define USBD_STATUS_ERROR_BUSY ((USBD_STATUS) 0x80000400)
|
||||
#define USBD_STATUS_INVALID_PIPE_HANDLE ((USBD_STATUS) 0x80000600)
|
||||
#define USBD_STATUS_NO_BANDWIDTH ((USBD_STATUS) 0x80000700)
|
||||
#define USBD_STATUS_INTERNAL_HC_ERROR ((USBD_STATUS) 0x80000800)
|
||||
#define USBD_STATUS_ERROR_SHORT_TRANSFER ((USBD_STATUS) 0x80000900)
|
||||
#define USBD_STATUS_BAD_START_FRAME ((USBD_STATUS) 0xc0000a00)
|
||||
#define USBD_STATUS_ISOCH_REQUEST_FAILED ((USBD_STATUS) 0xc0000b00)
|
||||
#define USBD_STATUS_FRAME_CONTROL_OWNED ((USBD_STATUS) 0xc0000c00)
|
||||
#define USBD_STATUS_FRAME_CONTROL_NOT_OWNED ((USBD_STATUS) 0xc0000d00)
|
||||
#define USBD_STATUS_NOT_SUPPORTED ((USBD_STATUS) 0xc0000e00)
|
||||
#define USBD_STATUS_INAVLID_CONFIGURATION_DESCRIPTOR ((USBD_STATUS) 0xc0000f00)
|
||||
#define USBD_STATUS_INSUFFICIENT_RESOURCES ((USBD_STATUS) 0xc0001000)
|
||||
#define USBD_STATUS_SET_CONFIG_FAILED ((USBD_STATUS) 0xc0002000)
|
||||
#define USBD_STATUS_BUFFER_TOO_SMALL ((USBD_STATUS) 0xc0003000)
|
||||
#define USBD_STATUS_INTERFACE_NOT_FOUND ((USBD_STATUS) 0xc0004000)
|
||||
#define USBD_STATUS_INAVLID_PIPE_FLAGS ((USBD_STATUS) 0xc0005000)
|
||||
#define USBD_STATUS_TIMEOUT ((USBD_STATUS) 0xc0006000)
|
||||
#define USBD_STATUS_DEVICE_GONE ((USBD_STATUS) 0xc0007000)
|
||||
#define USBD_STATUS_STATUS_NOT_MAPPED ((USBD_STATUS) 0xc0008000)
|
||||
#define USBD_STATUS_HUB_INTERNAL_ERROR ((USBD_STATUS) 0xc0009000)
|
||||
#define USBD_STATUS_CANCELED ((USBD_STATUS) 0xc0010000)
|
||||
#define USBD_STATUS_ISO_NOT_ACCESSED_BY_HW ((USBD_STATUS) 0xc0020000)
|
||||
#define USBD_STATUS_ISO_TD_ERROR ((USBD_STATUS) 0xc0030000)
|
||||
#define USBD_STATUS_ISO_NA_LATE_USBPORT ((USBD_STATUS) 0xc0040000)
|
||||
#define USBD_STATUS_ISO_NOT_ACCESSED_LATE ((USBD_STATUS) 0xc0050000)
|
||||
#define USBD_STATUS_BAD_DESCRIPTOR ((USBD_STATUS) 0xc0100000)
|
||||
#define USBD_STATUS_BAD_DESCRIPTOR_BLEN ((USBD_STATUS) 0xc0100001)
|
||||
#define USBD_STATUS_BAD_DESCRIPTOR_TYPE ((USBD_STATUS) 0xc0100002)
|
||||
#define USBD_STATUS_BAD_INTERFACE_DESCRIPTOR ((USBD_STATUS) 0xc0100003)
|
||||
#define USBD_STATUS_BAD_ENDPOINT_DESCRIPTOR ((USBD_STATUS) 0xc0100004)
|
||||
#define USBD_STATUS_BAD_INTERFACE_ASSOC_DESCRIPTOR ((USBD_STATUS) 0xc0100005)
|
||||
#define USBD_STATUS_BAD_CONFIG_DESC_LENGTH ((USBD_STATUS) 0xc0100006)
|
||||
#define USBD_STATUS_BAD_NUMBER_OF_INTERFACES ((USBD_STATUS) 0xc0100007)
|
||||
#define USBD_STATUS_BAD_NUMBER_OF_ENDPOINTS ((USBD_STATUS) 0xc0100008)
|
||||
#define USBD_STATUS_BAD_ENDPOINT_ADDRESS ((USBD_STATUS) 0xc0100009)
|
||||
|
||||
typedef PVOID USBD_PIPE_HANDLE;
|
||||
typedef PVOID USBD_CONFIGURATION_HANDLE;
|
||||
typedef PVOID USBD_INTERFACE_HANDLE;
|
||||
|
||||
#define USBD_DEFAULT_MAXIMUM_TRANSFER_SIZE 0xffffffff
|
||||
|
||||
typedef struct _USBD_VERSION_INFORMATION {
|
||||
ULONG USBDI_Version;
|
||||
ULONG Supported_USB_Version;
|
||||
} USBD_VERSION_INFORMATION,*PUSBD_VERSION_INFORMATION;
|
||||
|
||||
typedef enum _USBD_PIPE_TYPE {
|
||||
UsbdPipeTypeControl,
|
||||
UsbdPipeTypeIsochronous,
|
||||
UsbdPipeTypeBulk,
|
||||
UsbdPipeTypeInterrupt
|
||||
} USBD_PIPE_TYPE;
|
||||
|
||||
#define USBD_PIPE_DIRECTION_IN(pipeInformation) ((pipeInformation)->EndpointAddress &USB_ENDPOINT_DIRECTION_MASK)
|
||||
|
||||
typedef struct _USBD_DEVICE_INFORMATION {
|
||||
ULONG OffsetNext;
|
||||
PVOID UsbdDeviceHandle;
|
||||
USB_DEVICE_DESCRIPTOR DeviceDescriptor;
|
||||
} USBD_DEVICE_INFORMATION,*PUSBD_DEVICE_INFORMATION;
|
||||
|
||||
typedef struct _USBD_PIPE_INFORMATION {
|
||||
USHORT MaximumPacketSize;
|
||||
UCHAR EndpointAddress;
|
||||
UCHAR Interval;
|
||||
USBD_PIPE_TYPE PipeType;
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
ULONG MaximumTransferSize;
|
||||
ULONG PipeFlags;
|
||||
} USBD_PIPE_INFORMATION,*PUSBD_PIPE_INFORMATION;
|
||||
|
||||
#define USBD_PF_CHANGE_MAX_PACKET 0x00000001
|
||||
#define USBD_PF_SHORT_PACKET_OPT 0x00000002
|
||||
#define USBD_PF_ENABLE_RT_THREAD_ACCESS 0x00000004
|
||||
#define USBD_PF_MAP_ADD_TRANSFERS 0x00000008
|
||||
#define USBD_PF_VALID_MASK (USBD_PF_CHANGE_MAX_PACKET | USBD_PF_SHORT_PACKET_OPT | USBD_PF_ENABLE_RT_THREAD_ACCESS | USBD_PF_MAP_ADD_TRANSFERS)
|
||||
|
||||
typedef struct _USBD_INTERFACE_INFORMATION {
|
||||
USHORT Length;
|
||||
UCHAR InterfaceNumber;
|
||||
UCHAR AlternateSetting;
|
||||
UCHAR Class;
|
||||
UCHAR SubClass;
|
||||
UCHAR Protocol;
|
||||
UCHAR Reserved;
|
||||
USBD_INTERFACE_HANDLE InterfaceHandle;
|
||||
ULONG NumberOfPipes;
|
||||
USBD_PIPE_INFORMATION Pipes[1];
|
||||
} USBD_INTERFACE_INFORMATION,*PUSBD_INTERFACE_INFORMATION;
|
||||
|
||||
struct _URB_HCD_AREA {
|
||||
PVOID Reserved8[8];
|
||||
};
|
||||
|
||||
struct _URB_HEADER {
|
||||
USHORT Length;
|
||||
USHORT Function;
|
||||
USBD_STATUS Status;
|
||||
PVOID UsbdDeviceHandle;
|
||||
ULONG UsbdFlags;
|
||||
};
|
||||
|
||||
struct _URB_SELECT_INTERFACE {
|
||||
struct _URB_HEADER Hdr;
|
||||
USBD_CONFIGURATION_HANDLE ConfigurationHandle;
|
||||
USBD_INTERFACE_INFORMATION Interface;
|
||||
};
|
||||
|
||||
struct _URB_SELECT_CONFIGURATION {
|
||||
struct _URB_HEADER Hdr;
|
||||
PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor;
|
||||
USBD_CONFIGURATION_HANDLE ConfigurationHandle;
|
||||
USBD_INTERFACE_INFORMATION Interface;
|
||||
};
|
||||
|
||||
struct _URB_PIPE_REQUEST {
|
||||
struct _URB_HEADER Hdr;
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
ULONG Reserved;
|
||||
};
|
||||
|
||||
struct _URB_FRAME_LENGTH_CONTROL {
|
||||
struct _URB_HEADER Hdr;
|
||||
};
|
||||
|
||||
struct _URB_GET_FRAME_LENGTH {
|
||||
struct _URB_HEADER Hdr;
|
||||
ULONG FrameLength;
|
||||
ULONG FrameNumber;
|
||||
};
|
||||
|
||||
struct _URB_SET_FRAME_LENGTH {
|
||||
struct _URB_HEADER Hdr;
|
||||
LONG FrameLengthDelta;
|
||||
};
|
||||
|
||||
struct _URB_GET_CURRENT_FRAME_NUMBER {
|
||||
struct _URB_HEADER Hdr;
|
||||
ULONG FrameNumber;
|
||||
};
|
||||
|
||||
struct _URB_CONTROL_DESCRIPTOR_REQUEST {
|
||||
struct _URB_HEADER Hdr;
|
||||
PVOID Reserved;
|
||||
ULONG Reserved0;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
USHORT Reserved1;
|
||||
UCHAR Index;
|
||||
UCHAR DescriptorType;
|
||||
USHORT LanguageId;
|
||||
USHORT Reserved2;
|
||||
};
|
||||
|
||||
struct _URB_CONTROL_GET_STATUS_REQUEST {
|
||||
struct _URB_HEADER Hdr;
|
||||
PVOID Reserved;
|
||||
ULONG Reserved0;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
UCHAR Reserved1[4];
|
||||
USHORT Index;
|
||||
USHORT Reserved2;
|
||||
};
|
||||
|
||||
struct _URB_CONTROL_FEATURE_REQUEST {
|
||||
struct _URB_HEADER Hdr;
|
||||
PVOID Reserved;
|
||||
ULONG Reserved2;
|
||||
ULONG Reserved3;
|
||||
PVOID Reserved4;
|
||||
PMDL Reserved5;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
USHORT Reserved0;
|
||||
USHORT FeatureSelector;
|
||||
USHORT Index;
|
||||
USHORT Reserved1;
|
||||
};
|
||||
|
||||
struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST {
|
||||
struct _URB_HEADER Hdr;
|
||||
PVOID Reserved;
|
||||
ULONG TransferFlags;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
UCHAR RequestTypeReservedBits;
|
||||
UCHAR Request;
|
||||
USHORT Value;
|
||||
USHORT Index;
|
||||
USHORT Reserved1;
|
||||
};
|
||||
|
||||
struct _URB_CONTROL_GET_INTERFACE_REQUEST {
|
||||
struct _URB_HEADER Hdr;
|
||||
PVOID Reserved;
|
||||
ULONG Reserved0;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
UCHAR Reserved1[4];
|
||||
USHORT Interface;
|
||||
USHORT Reserved2;
|
||||
};
|
||||
|
||||
struct _URB_CONTROL_GET_CONFIGURATION_REQUEST {
|
||||
struct _URB_HEADER Hdr;
|
||||
PVOID Reserved;
|
||||
ULONG Reserved0;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
UCHAR Reserved1[8];
|
||||
};
|
||||
|
||||
#define OS_STRING_DESCRIPTOR_INDEX 0xee
|
||||
|
||||
#define MS_GENRE_DESCRIPTOR_INDEX 0x0001
|
||||
#define MS_POWER_DESCRIPTOR_INDEX 0x0002
|
||||
|
||||
#define MS_OS_STRING_SIGNATURE L"MSFT100"
|
||||
|
||||
#define MS_OS_FLAGS_CONTAINERID 0x02
|
||||
|
||||
typedef struct _OS_STRING {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
WCHAR MicrosoftString[7];
|
||||
UCHAR bVendorCode;
|
||||
__C89_NAMELESS union {
|
||||
UCHAR bPad;
|
||||
UCHAR bFlags;
|
||||
};
|
||||
} OS_STRING,*POS_STRING;
|
||||
|
||||
struct _URB_OS_FEATURE_DESCRIPTOR_REQUEST {
|
||||
struct _URB_HEADER Hdr;
|
||||
PVOID Reserved;
|
||||
ULONG Reserved0;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
UCHAR Recipient:5;
|
||||
UCHAR Reserved1:3;
|
||||
UCHAR Reserved2;
|
||||
UCHAR InterfaceNumber;
|
||||
UCHAR MS_PageIndex;
|
||||
USHORT MS_FeatureDescriptorIndex;
|
||||
USHORT Reserved3;
|
||||
};
|
||||
|
||||
struct _URB_CONTROL_TRANSFER {
|
||||
struct _URB_HEADER Hdr;
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
ULONG TransferFlags;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
UCHAR SetupPacket[8];
|
||||
};
|
||||
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
struct _URB_CONTROL_TRANSFER_EX {
|
||||
struct _URB_HEADER Hdr;
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
ULONG TransferFlags;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
ULONG Timeout;
|
||||
#ifdef _WIN64
|
||||
ULONG Pad;
|
||||
#endif
|
||||
struct _URB_HCD_AREA hca;
|
||||
UCHAR SetupPacket[8];
|
||||
};
|
||||
#endif
|
||||
|
||||
struct _URB_BULK_OR_INTERRUPT_TRANSFER {
|
||||
struct _URB_HEADER Hdr;
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
ULONG TransferFlags;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
};
|
||||
|
||||
typedef struct _USBD_ISO_PACKET_DESCRIPTOR {
|
||||
ULONG Offset;
|
||||
ULONG Length;
|
||||
USBD_STATUS Status;
|
||||
} USBD_ISO_PACKET_DESCRIPTOR,*PUSBD_ISO_PACKET_DESCRIPTOR;
|
||||
|
||||
struct _URB_ISOCH_TRANSFER {
|
||||
struct _URB_HEADER Hdr;
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
ULONG TransferFlags;
|
||||
ULONG TransferBufferLength;
|
||||
PVOID TransferBuffer;
|
||||
PMDL TransferBufferMDL;
|
||||
struct _URB *UrbLink;
|
||||
struct _URB_HCD_AREA hca;
|
||||
ULONG StartFrame;
|
||||
ULONG NumberOfPackets;
|
||||
ULONG ErrorCount;
|
||||
USBD_ISO_PACKET_DESCRIPTOR IsoPacket[1];
|
||||
};
|
||||
|
||||
#if NTDDI_VERSION >= 0x06020000
|
||||
#define URB_OPEN_STATIC_STREAMS_VERSION_100 0x100
|
||||
|
||||
typedef struct _USBD_STREAM_INFORMATION {
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
ULONG StreamID;
|
||||
ULONG MaximumTransferSize;
|
||||
ULONG PipeFlags;
|
||||
} USBD_STREAM_INFORMATION,*PUSBD_STREAM_INFORMATION;
|
||||
struct _URB_OPEN_STATIC_STREAMS {
|
||||
struct _URB_HEADER Hdr;
|
||||
USBD_PIPE_HANDLE PipeHandle;
|
||||
ULONG NumberOfStreams;
|
||||
USHORT StreamInfoVersion;
|
||||
USHORT StreamInfoSize;
|
||||
PUSBD_STREAM_INFORMATION Streams;
|
||||
};
|
||||
#endif
|
||||
|
||||
typedef struct _URB {
|
||||
__C89_NAMELESS union {
|
||||
struct _URB_HEADER UrbHeader;
|
||||
struct _URB_SELECT_INTERFACE UrbSelectInterface;
|
||||
struct _URB_SELECT_CONFIGURATION UrbSelectConfiguration;
|
||||
struct _URB_PIPE_REQUEST UrbPipeRequest;
|
||||
struct _URB_FRAME_LENGTH_CONTROL UrbFrameLengthControl;
|
||||
struct _URB_GET_FRAME_LENGTH UrbGetFrameLength;
|
||||
struct _URB_SET_FRAME_LENGTH UrbSetFrameLength;
|
||||
struct _URB_GET_CURRENT_FRAME_NUMBER UrbGetCurrentFrameNumber;
|
||||
struct _URB_CONTROL_TRANSFER UrbControlTransfer;
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
struct _URB_CONTROL_TRANSFER_EX UrbControlTransferEx;
|
||||
#endif
|
||||
struct _URB_BULK_OR_INTERRUPT_TRANSFER UrbBulkOrInterruptTransfer;
|
||||
struct _URB_ISOCH_TRANSFER UrbIsochronousTransfer;
|
||||
struct _URB_CONTROL_DESCRIPTOR_REQUEST UrbControlDescriptorRequest;
|
||||
struct _URB_CONTROL_GET_STATUS_REQUEST UrbControlGetStatusRequest;
|
||||
struct _URB_CONTROL_FEATURE_REQUEST UrbControlFeatureRequest;
|
||||
struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST UrbControlVendorClassRequest;
|
||||
struct _URB_CONTROL_GET_INTERFACE_REQUEST UrbControlGetInterfaceRequest;
|
||||
struct _URB_CONTROL_GET_CONFIGURATION_REQUEST UrbControlGetConfigurationRequest;
|
||||
struct _URB_OS_FEATURE_DESCRIPTOR_REQUEST UrbOSFeatureDescriptorRequest;
|
||||
#if NTDDI_VERSION >= 0x06020000
|
||||
struct _URB_OPEN_STATIC_STREAMS UrbOpenStaticStreams;
|
||||
#endif
|
||||
};
|
||||
} URB,*PURB;
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* usb100.h
|
||||
*
|
||||
* USB 1.0 support
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*
|
||||
* This file is based on the ReactOS PSDK package file usb100.h header.
|
||||
* Original contributors by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* Add winap-family check and move content into usbspec.h header by Kai Tietz.
|
||||
*/
|
||||
|
||||
#ifndef __USB100_H__
|
||||
#define __USB100_H__
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
#include "usbspec.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* usb100.h
|
||||
*
|
||||
* USB 2.0 support
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*
|
||||
* This file is based on the ReactOS PSDK package file usb100.h header.
|
||||
* Original contributors by Magnus Olsen.
|
||||
*
|
||||
* Winapi-family check and replace header by usbspec.h header by Kai Tietz.
|
||||
*/
|
||||
|
||||
#ifndef __USB200_H__
|
||||
#define __USB200_H__
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
#include "usbspec.h"
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,384 @@
|
||||
/*
|
||||
* usbcamdi.h
|
||||
*
|
||||
* USB Camera driver interface.
|
||||
*
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__USB_H) && !defined(__USBDI_H)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(_BATTERYCLASS_)
|
||||
# define USBCAMAPI
|
||||
#else
|
||||
# define USBCAMAPI DECLSPEC_IMPORT
|
||||
#endif
|
||||
|
||||
typedef struct _pipe_config_descriptor {
|
||||
CHAR StreamAssociation;
|
||||
UCHAR PipeConfigFlags;
|
||||
} USBCAMD_Pipe_Config_Descriptor, *PUSBCAMD_Pipe_Config_Descriptor;
|
||||
|
||||
#define USBCAMD_DATA_PIPE 0x0001
|
||||
#define USBCAMD_MULTIPLEX_PIPE 0x0002
|
||||
#define USBCAMD_SYNC_PIPE 0x0004
|
||||
#define USBCAMD_DONT_CARE_PIPE 0x0008
|
||||
|
||||
#define USBCAMD_VIDEO_STREAM 0x1
|
||||
#define USBCAMD_STILL_STREAM 0x2
|
||||
#define USBCAMD_VIDEO_STILL_STREAM (USBCAMD_VIDEO_STREAM | USBCAMD_STILL_STREAM)
|
||||
|
||||
#define USBCAMD_PROCESSPACKETEX_DropFrame 0x0002
|
||||
#define USBCAMD_PROCESSPACKETEX_NextFrameIsStill 0x0004
|
||||
#define USBCAMD_PROCESSPACKETEX_CurrentFrameIsStill 0x0008
|
||||
|
||||
#define USBCAMD_STOP_STREAM 0x00000001
|
||||
#define USBCAMD_START_STREAM 0x00000000
|
||||
|
||||
typedef enum {
|
||||
USBCAMD_CamControlFlag_NoVideoRawProcessing = 1,
|
||||
USBCAMD_CamControlFlag_NoStillRawProcessing = 2,
|
||||
USBCAMD_CamControlFlag_AssociatedFormat = 4,
|
||||
USBCAMD_CamControlFlag_EnableDeviceEvents = 8
|
||||
} USBCAMD_CamControlFlags;
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCOMMAND_COMPLETE_FUNCTION)(
|
||||
PVOID DeviceContext,
|
||||
PVOID CommandContext,
|
||||
NTSTATUS NtStatus);
|
||||
|
||||
typedef VOID
|
||||
(NTAPI *PSTREAM_RECEIVE_PACKET)(
|
||||
PVOID Srb,
|
||||
PVOID DeviceContext,
|
||||
PBOOLEAN Completed);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_INITIALIZE_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_CONFIGURE_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
PUSBD_INTERFACE_INFORMATION Interface,
|
||||
PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
||||
PLONG DataPipeIndex,
|
||||
PLONG SyncPipeIndex);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_CONFIGURE_ROUTINE_EX)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
PUSBD_INTERFACE_INFORMATION Interface,
|
||||
PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
||||
ULONG PipeConfigListSize,
|
||||
PUSBCAMD_Pipe_Config_Descriptor PipeConfig,
|
||||
PUSB_DEVICE_DESCRIPTOR DeviceDescriptor);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_START_CAPTURE_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_START_CAPTURE_ROUTINE_EX)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
ULONG StreamNumber);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_ALLOCATE_BW_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
PULONG RawFrameLength,
|
||||
PVOID Format);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_ALLOCATE_BW_ROUTINE_EX)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
PULONG RawFrameLength,
|
||||
PVOID Format,
|
||||
ULONG StreamNumber);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_FREE_BW_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_FREE_BW_ROUTINE_EX)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
ULONG StreamNumber);
|
||||
|
||||
typedef VOID
|
||||
(NTAPI *PADAPTER_RECEIVE_PACKET_ROUTINE)(
|
||||
PHW_STREAM_REQUEST_BLOCK Srb);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_STOP_CAPTURE_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_STOP_CAPTURE_ROUTINE_EX)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
ULONG StreamNumber);
|
||||
|
||||
typedef ULONG
|
||||
(NTAPI *PCAM_PROCESS_PACKET_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
PVOID CurrentFrameContext,
|
||||
PUSBD_ISO_PACKET_DESCRIPTOR SyncPacket,
|
||||
PVOID SyncBuffer,
|
||||
PUSBD_ISO_PACKET_DESCRIPTOR DataPacket,
|
||||
PVOID DataBuffer,
|
||||
PBOOLEAN FrameComplete,
|
||||
PBOOLEAN NextFrameIsStill);
|
||||
|
||||
typedef ULONG
|
||||
(NTAPI *PCAM_PROCESS_PACKET_ROUTINE_EX)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
PVOID CurrentFrameContext,
|
||||
PUSBD_ISO_PACKET_DESCRIPTOR SyncPacket,
|
||||
PVOID SyncBuffer,
|
||||
PUSBD_ISO_PACKET_DESCRIPTOR DataPacket,
|
||||
PVOID DataBuffer,
|
||||
PBOOLEAN FrameComplete,
|
||||
PULONG PacketFlag,
|
||||
PULONG ValidDataOffset);
|
||||
|
||||
typedef VOID
|
||||
(NTAPI *PCAM_NEW_FRAME_ROUTINE)(
|
||||
PVOID DeviceContext,
|
||||
PVOID FrameContext);
|
||||
|
||||
typedef VOID
|
||||
(NTAPI *PCAM_NEW_FRAME_ROUTINE_EX)(
|
||||
PVOID DeviceContext,
|
||||
PVOID FrameContext,
|
||||
ULONG StreamNumber,
|
||||
PULONG FrameLength);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_PROCESS_RAW_FRAME_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
PVOID FrameContext,
|
||||
PVOID FrameBuffer,
|
||||
ULONG FrameLength,
|
||||
PVOID RawFrameBuffer,
|
||||
ULONG RawFrameLength,
|
||||
ULONG NumberOfPackets,
|
||||
PULONG BytesReturned);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_PROCESS_RAW_FRAME_ROUTINE_EX)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext,
|
||||
PVOID FrameContext,
|
||||
PVOID FrameBuffer,
|
||||
ULONG FrameLength,
|
||||
PVOID RawFrameBuffer,
|
||||
ULONG RawFrameLength,
|
||||
ULONG NumberOfPackets,
|
||||
PULONG BytesReturned,
|
||||
ULONG ActualRawFrameLength,
|
||||
ULONG StreamNumber);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PCAM_STATE_ROUTINE)(
|
||||
PDEVICE_OBJECT BusDeviceObject,
|
||||
PVOID DeviceContext);
|
||||
|
||||
#if defined(DEBUG_LOG)
|
||||
|
||||
USBCAMAPI
|
||||
VOID
|
||||
NTAPI
|
||||
USBCAMD_Debug_LogEntry(
|
||||
CHAR *Name,
|
||||
ULONG Info1,
|
||||
ULONG Info2,
|
||||
ULONG Info3);
|
||||
|
||||
#define ILOGENTRY(sig, info1, info2, info3) \
|
||||
USBCAMD_Debug_LogEntry(sig, (ULONG)info1, (ULONG)info2, (ULONG)info3)
|
||||
|
||||
#else
|
||||
|
||||
#define ILOGENTRY(sig, info1, info2, info3)
|
||||
|
||||
#endif /* DEBUG_LOG */
|
||||
|
||||
typedef struct _USBCAMD_DEVICE_DATA {
|
||||
ULONG Sig;
|
||||
PCAM_INITIALIZE_ROUTINE CamInitialize;
|
||||
PCAM_INITIALIZE_ROUTINE CamUnInitialize;
|
||||
PCAM_PROCESS_PACKET_ROUTINE CamProcessUSBPacket;
|
||||
PCAM_NEW_FRAME_ROUTINE CamNewVideoFrame;
|
||||
PCAM_PROCESS_RAW_FRAME_ROUTINE CamProcessRawVideoFrame;
|
||||
PCAM_START_CAPTURE_ROUTINE CamStartCapture;
|
||||
PCAM_STOP_CAPTURE_ROUTINE CamStopCapture;
|
||||
PCAM_CONFIGURE_ROUTINE CamConfigure;
|
||||
PCAM_STATE_ROUTINE CamSaveState;
|
||||
PCAM_STATE_ROUTINE CamRestoreState;
|
||||
PCAM_ALLOCATE_BW_ROUTINE CamAllocateBandwidth;
|
||||
PCAM_FREE_BW_ROUTINE CamFreeBandwidth;
|
||||
} USBCAMD_DEVICE_DATA, *PUSBCAMD_DEVICE_DATA;
|
||||
|
||||
typedef struct _USBCAMD_DEVICE_DATA2 {
|
||||
ULONG Sig;
|
||||
PCAM_INITIALIZE_ROUTINE CamInitialize;
|
||||
PCAM_INITIALIZE_ROUTINE CamUnInitialize;
|
||||
PCAM_PROCESS_PACKET_ROUTINE_EX CamProcessUSBPacketEx;
|
||||
PCAM_NEW_FRAME_ROUTINE_EX CamNewVideoFrameEx;
|
||||
PCAM_PROCESS_RAW_FRAME_ROUTINE_EX CamProcessRawVideoFrameEx;
|
||||
PCAM_START_CAPTURE_ROUTINE_EX CamStartCaptureEx;
|
||||
PCAM_STOP_CAPTURE_ROUTINE_EX CamStopCaptureEx;
|
||||
PCAM_CONFIGURE_ROUTINE_EX CamConfigureEx;
|
||||
PCAM_STATE_ROUTINE CamSaveState;
|
||||
PCAM_STATE_ROUTINE CamRestoreState;
|
||||
PCAM_ALLOCATE_BW_ROUTINE_EX CamAllocateBandwidthEx;
|
||||
PCAM_FREE_BW_ROUTINE_EX CamFreeBandwidthEx;
|
||||
} USBCAMD_DEVICE_DATA2, *PUSBCAMD_DEVICE_DATA2;
|
||||
|
||||
DEFINE_GUID(GUID_USBCAMD_INTERFACE,
|
||||
0x2bcb75c0, 0xb27f, 0x11d1, 0xba, 0x41, 0x0, 0xa0, 0xc9, 0xd, 0x2b, 0x5);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PFNUSBCAMD_SetVideoFormat)(
|
||||
PVOID DeviceContext,
|
||||
PHW_STREAM_REQUEST_BLOCK pSrb);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PFNUSBCAMD_WaitOnDeviceEvent)(
|
||||
PVOID DeviceContext,
|
||||
ULONG PipeIndex,
|
||||
PVOID Buffer,
|
||||
ULONG BufferLength,
|
||||
PCOMMAND_COMPLETE_FUNCTION EventComplete,
|
||||
PVOID EventContext,
|
||||
BOOLEAN LoopBack);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PFNUSBCAMD_CancelBulkReadWrite)(
|
||||
PVOID DeviceContext,
|
||||
ULONG PipeIndex);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PFNUSBCAMD_SetIsoPipeState)(
|
||||
PVOID DeviceContext,
|
||||
ULONG PipeStateFlags);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PFNUSBCAMD_BulkReadWrite)(
|
||||
PVOID DeviceContext,
|
||||
USHORT PipeIndex,
|
||||
PVOID Buffer,
|
||||
ULONG BufferLength,
|
||||
PCOMMAND_COMPLETE_FUNCTION CommandComplete,
|
||||
PVOID CommandContext);
|
||||
|
||||
#define USBCAMD_VERSION_200 0x200
|
||||
|
||||
typedef struct _USBCAMD_INTERFACE {
|
||||
INTERFACE Interface;
|
||||
PFNUSBCAMD_WaitOnDeviceEvent USBCAMD_WaitOnDeviceEvent;
|
||||
PFNUSBCAMD_BulkReadWrite USBCAMD_BulkReadWrite;
|
||||
PFNUSBCAMD_SetVideoFormat USBCAMD_SetVideoFormat;
|
||||
PFNUSBCAMD_SetIsoPipeState USBCAMD_SetIsoPipeState;
|
||||
PFNUSBCAMD_CancelBulkReadWrite USBCAMD_CancelBulkReadWrite;
|
||||
} USBCAMD_INTERFACE, *PUSBCAMD_INTERFACE;
|
||||
|
||||
/* FIXME : Do we need USBCAMAPI here ? */
|
||||
|
||||
USBCAMAPI
|
||||
ULONG
|
||||
NTAPI
|
||||
USBCAMD_DriverEntry(
|
||||
PVOID Context1,
|
||||
PVOID Context2,
|
||||
ULONG DeviceContextSize,
|
||||
ULONG FrameContextSize,
|
||||
PADAPTER_RECEIVE_PACKET_ROUTINE ReceivePacket);
|
||||
|
||||
USBCAMAPI
|
||||
PVOID
|
||||
NTAPI
|
||||
USBCAMD_AdapterReceivePacket(
|
||||
PHW_STREAM_REQUEST_BLOCK Srb,
|
||||
PUSBCAMD_DEVICE_DATA DeviceData,
|
||||
PDEVICE_OBJECT *DeviceObject,
|
||||
BOOLEAN NeedsCompletion);
|
||||
|
||||
USBCAMAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
USBCAMD_ControlVendorCommand(
|
||||
PVOID DeviceContext,
|
||||
UCHAR Request,
|
||||
USHORT Value,
|
||||
USHORT Index,
|
||||
PVOID Buffer,
|
||||
PULONG BufferLength,
|
||||
BOOLEAN GetData,
|
||||
PCOMMAND_COMPLETE_FUNCTION CommandComplete,
|
||||
PVOID CommandContext);
|
||||
|
||||
USBCAMAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
USBCAMD_SelectAlternateInterface(
|
||||
PVOID DeviceContext,
|
||||
PUSBD_INTERFACE_INFORMATION RequestInterface);
|
||||
|
||||
USBCAMAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
USBCAMD_GetRegistryKeyValue(
|
||||
HANDLE Handle,
|
||||
PWCHAR KeyNameString,
|
||||
ULONG KeyNameStringLength,
|
||||
PVOID Data,
|
||||
ULONG DataLength);
|
||||
|
||||
USBCAMAPI
|
||||
ULONG
|
||||
NTAPI
|
||||
USBCAMD_InitializeNewInterface(
|
||||
PVOID DeviceContext,
|
||||
PVOID DeviceData,
|
||||
ULONG Version,
|
||||
ULONG CamControlFlag);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !defined(__USB_H) && !defined(__USBDI_H) */
|
||||
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* usbdi.h
|
||||
*
|
||||
* USBD and USB device driver definitions
|
||||
*
|
||||
* FIXME : Obsolete header.. Use usb.h instead.
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*
|
||||
* This file is based on the ReactOS PSDK file usbdi.h header.
|
||||
* Original contributed by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* Added winapi-family check by Kai Tietz.
|
||||
*/
|
||||
|
||||
#ifndef __USBDI_H__
|
||||
#define __USBDI_H__
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#include <usb.h>
|
||||
#include <usbioctl.h>
|
||||
|
||||
#define USBD_STATUS_CANCELLING ((USBD_STATUS) 0x00020000)
|
||||
#define USBD_STATUS_CANCELING ((USBD_STATUS) 0x00020000)
|
||||
#define USBD_STATUS_NO_MEMORY ((USBD_STATUS) 0x80000100)
|
||||
#define USBD_STATUS_ERROR ((USBD_STATUS) 0x80000000)
|
||||
#define USBD_STATUS_REQUEST_FAILED ((USBD_STATUS) 0x80000500)
|
||||
#define USBD_STATUS_HALTED ((USBD_STATUS) 0xc0000000)
|
||||
|
||||
#define USBD_HALTED(Status) ((ULONG) (Status) >> 30 == 3)
|
||||
#define USBD_STATUS(Status) ((ULONG) (Status) & __MSABI_LONG (0x0fffffff))
|
||||
|
||||
#define URB_FUNCTION_RESERVED0 0x0016
|
||||
#define URB_FUNCTION_RESERVED 0x001d
|
||||
#define URB_FUNCTION_LAST 0x0029
|
||||
|
||||
#define USBD_PF_DOUBLE_BUFFER 0x00000002
|
||||
|
||||
#ifdef USBD_PF_VALID_MASK
|
||||
#undef USBD_PF_VALID_MASK
|
||||
#endif
|
||||
|
||||
#define USBD_PF_VALID_MASK (USBD_PF_CHANGE_MAX_PACKET | USBD_PF_DOUBLE_BUFFER | USBD_PF_ENABLE_RT_THREAD_ACCESS | USBD_PF_MAP_ADD_TRANSFERS)
|
||||
|
||||
#define USBD_TRANSFER_DIRECTION_BIT 0
|
||||
#define USBD_SHORT_TRANSFER_OK_BIT 1
|
||||
#define USBD_START_ISO_TRANSFER_ASAP_BIT 2
|
||||
|
||||
#ifdef USBD_TRANSFER_DIRECTION
|
||||
#undef USBD_TRANSFER_DIRECTION
|
||||
#endif
|
||||
|
||||
#define USBD_TRANSFER_DIRECTION(x) ((x) & USBD_TRANSFER_DIRECTION_IN)
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,597 @@
|
||||
/**
|
||||
* usbioctl.h
|
||||
*
|
||||
* USB IOCTL interface.#ifndef __USBIOCTL_H__
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*
|
||||
* This file is based on the ReactOS PSDK file usbdi.h header.
|
||||
* Original contributed by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* Added winapi-family check, Windows 8 additions by Kai Tietz.
|
||||
*/
|
||||
|
||||
#ifndef __USBIOCTL_H__
|
||||
#define __USBIOCTL_H__
|
||||
|
||||
#include <minwindef.h>
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#ifndef FAR
|
||||
#define FAR
|
||||
#endif
|
||||
|
||||
#include "usb200.h"
|
||||
#include "usbiodef.h"
|
||||
|
||||
#define IOCTL_INTERNAL_USB_SUBMIT_URB CTL_CODE (FILE_DEVICE_USB, USB_SUBMIT_URB, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_RESET_PORT CTL_CODE (FILE_DEVICE_USB, USB_RESET_PORT, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO CTL_CODE (FILE_DEVICE_USB, USB_GET_ROOTHUB_PDO, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
|
||||
#define USBD_PORT_ENABLED 0x00000001
|
||||
#define USBD_PORT_CONNECTED 0x00000002
|
||||
|
||||
#define IOCTL_INTERNAL_USB_GET_PORT_STATUS CTL_CODE (FILE_DEVICE_USB, USB_GET_PORT_STATUS, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_ENABLE_PORT CTL_CODE (FILE_DEVICE_USB, USB_ENABLE_PORT, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_HUB_COUNT CTL_CODE (FILE_DEVICE_USB, USB_GET_HUB_COUNT, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_CYCLE_PORT CTL_CODE (FILE_DEVICE_USB, USB_CYCLE_PORT, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_HUB_NAME CTL_CODE (FILE_DEVICE_USB, USB_GET_HUB_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_BUS_INFO CTL_CODE (FILE_DEVICE_USB, USB_GET_BUS_INFO, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_CONTROLLER_NAME CTL_CODE (FILE_DEVICE_USB, USB_GET_CONTROLLER_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_BUSGUID_INFO CTL_CODE (FILE_DEVICE_USB, USB_GET_BUSGUID_INFO, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_PARENT_HUB_INFO CTL_CODE (FILE_DEVICE_USB, USB_GET_PARENT_HUB_INFO, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_SUBMIT_IDLE_NOTIFICATION CTL_CODE (FILE_DEVICE_USB, USB_IDLE_NOTIFICATION, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE CTL_CODE (FILE_DEVICE_USB, USB_GET_DEVICE_HANDLE, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
#define IOCTL_INTERNAL_USB_NOTIFY_IDLE_READY CTL_CODE (FILE_DEVICE_USB, USB_IDLE_NOTIFICATION_EX, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_REQ_GLOBAL_SUSPEND CTL_CODE (FILE_DEVICE_USB, USB_REQ_GLOBAL_SUSPEND, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_REQ_GLOBAL_RESUME CTL_CODE (FILE_DEVICE_USB, USB_REQ_GLOBAL_RESUME, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
|
||||
#ifdef USB20_API
|
||||
typedef struct _USB_START_FAILDATA {
|
||||
ULONG LengthInBytes;
|
||||
NTSTATUS NtStatus;
|
||||
USBD_STATUS UsbdStatus;
|
||||
ULONG ConnectStatus;
|
||||
UCHAR DriverData[4];
|
||||
} USB_START_FAILDATA,*PUSB_START_FAILDATA;
|
||||
#endif
|
||||
|
||||
#define IOCTL_INTERNAL_USB_RECORD_FAILURE CTL_CODE (FILE_DEVICE_USB, USB_RECORD_FAILURE, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE_EX CTL_CODE (FILE_DEVICE_USB, USB_GET_DEVICE_HANDLE_EX, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_TT_DEVICE_HANDLE CTL_CODE (FILE_DEVICE_USB, USB_GET_TT_DEVICE_HANDLE, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
|
||||
typedef struct _USB_TOPOLOGY_ADDRESS {
|
||||
ULONG PciBusNumber;
|
||||
ULONG PciDeviceNumber;
|
||||
ULONG PciFunctionNumber;
|
||||
ULONG Reserved;
|
||||
USHORT RootHubPortNumber;
|
||||
USHORT HubPortNumber[5];
|
||||
USHORT Reserved2;
|
||||
} USB_TOPOLOGY_ADDRESS,*PUSB_TOPOLOGY_ADDRESS;
|
||||
|
||||
#define IOCTL_INTERNAL_USB_GET_TOPOLOGY_ADDRESS CTL_CODE (FILE_DEVICE_USB, USB_GET_TOPOLOGY_ADDRESS, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO CTL_CODE (FILE_DEVICE_USB, USB_GET_HUB_CONFIG_INFO, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#endif
|
||||
#if NTDDI_VERSION >= 0x06020000
|
||||
#define IOCTL_INTERNAL_USB_REGISTER_COMPOSITE_DEVICE CTL_CODE (FILE_DEVICE_USBEX, USB_REGISTER_COMPOSITE_DEVICE, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_UNREGISTER_COMPOSITE_DEVICE CTL_CODE (FILE_DEVICE_USBEX, USB_UNREGISTER_COMPOSITE_DEVICE, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define IOCTL_INTERNAL_USB_REQUEST_REMOTE_WAKE_NOTIFICATION CTL_CODE (FILE_DEVICE_USBEX, USB_REQUEST_REMOTE_WAKE_NOTIFICATION, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#endif
|
||||
|
||||
#ifndef USB_KERNEL_IOCTL
|
||||
#define IOCTL_USB_HCD_GET_STATS_1 CTL_CODE (FILE_DEVICE_USB, HCD_GET_STATS_1, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_HCD_GET_STATS_2 CTL_CODE (FILE_DEVICE_USB, HCD_GET_STATS_2, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_HCD_DISABLE_PORT CTL_CODE (FILE_DEVICE_USB, HCD_DISABLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_HCD_ENABLE_PORT CTL_CODE (FILE_DEVICE_USB, HCD_ENABLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#ifndef IOCTL_USB_DIAGNOSTIC_MODE_ON
|
||||
#define IOCTL_USB_DIAGNOSTIC_MODE_ON CTL_CODE (FILE_DEVICE_USB, HCD_DIAGNOSTIC_MODE_ON, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#endif
|
||||
#ifndef IOCTL_USB_DIAGNOSTIC_MODE_OFF
|
||||
#define IOCTL_USB_DIAGNOSTIC_MODE_OFF CTL_CODE (FILE_DEVICE_USB, HCD_DIAGNOSTIC_MODE_OFF, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#endif
|
||||
#ifndef IOCTL_USB_GET_ROOT_HUB_NAME
|
||||
#define IOCTL_USB_GET_ROOT_HUB_NAME CTL_CODE (FILE_DEVICE_USB, HCD_GET_ROOT_HUB_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#endif
|
||||
#ifndef IOCTL_GET_HCD_DRIVERKEY_NAME
|
||||
#define IOCTL_GET_HCD_DRIVERKEY_NAME CTL_CODE (FILE_DEVICE_USB, HCD_GET_DRIVERKEY_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#endif
|
||||
#define IOCTL_USB_GET_NODE_INFORMATION CTL_CODE (FILE_DEVICE_USB, USB_GET_NODE_INFORMATION, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_NODE_CONNECTION_INFORMATION CTL_CODE (FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_INFORMATION, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION CTL_CODE (FILE_DEVICE_USB, USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_NODE_CONNECTION_NAME CTL_CODE (FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_DIAG_IGNORE_HUBS_ON CTL_CODE (FILE_DEVICE_USB, USB_DIAG_IGNORE_HUBS_ON, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_DIAG_IGNORE_HUBS_OFF CTL_CODE (FILE_DEVICE_USB, USB_DIAG_IGNORE_HUBS_OFF, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME CTL_CODE (FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_DRIVERKEY_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_HUB_CAPABILITIES CTL_CODE (FILE_DEVICE_USB, USB_GET_HUB_CAPABILITIES, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_HUB_CYCLE_PORT CTL_CODE (FILE_DEVICE_USB, USB_HUB_CYCLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES CTL_CODE (FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_ATTRIBUTES, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX CTL_CODE (FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_INFORMATION_EX, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
#define IOCTL_USB_RESET_HUB CTL_CODE (FILE_DEVICE_USB, USB_RESET_HUB, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_HUB_CAPABILITIES_EX CTL_CODE (FILE_DEVICE_USB, USB_GET_HUB_CAPABILITIES_EX, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#endif
|
||||
#if NTDDI_VERSION >= 0x06020000
|
||||
#define IOCTL_USB_GET_HUB_INFORMATION_EX CTL_CODE (FILE_DEVICE_USB, USB_GET_HUB_INFORMATION_EX, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES CTL_CODE (FILE_DEVICE_USB, USB_GET_PORT_CONNECTOR_PROPERTIES, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2 CTL_CODE (FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_INFORMATION_EX_V2, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#endif
|
||||
|
||||
#include <pshpack1.h>
|
||||
|
||||
typedef enum _USB_HUB_NODE {
|
||||
UsbHub,
|
||||
UsbMIParent
|
||||
} USB_HUB_NODE;
|
||||
|
||||
typedef struct _USB_HUB_INFORMATION {
|
||||
USB_HUB_DESCRIPTOR HubDescriptor;
|
||||
BOOLEAN HubIsBusPowered;
|
||||
} USB_HUB_INFORMATION,*PUSB_HUB_INFORMATION;
|
||||
|
||||
typedef struct _USB_MI_PARENT_INFORMATION {
|
||||
ULONG NumberOfInterfaces;
|
||||
} USB_MI_PARENT_INFORMATION,*PUSB_MI_PARENT_INFORMATION;
|
||||
|
||||
typedef struct _USB_NODE_INFORMATION {
|
||||
USB_HUB_NODE NodeType;
|
||||
union {
|
||||
USB_HUB_INFORMATION HubInformation;
|
||||
USB_MI_PARENT_INFORMATION MiParentInformation;
|
||||
} u;
|
||||
} USB_NODE_INFORMATION,*PUSB_NODE_INFORMATION;
|
||||
|
||||
typedef struct _USB_PIPE_INFO {
|
||||
USB_ENDPOINT_DESCRIPTOR EndpointDescriptor;
|
||||
ULONG ScheduleOffset;
|
||||
} USB_PIPE_INFO,*PUSB_PIPE_INFO;
|
||||
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
typedef enum _USB_CONNECTION_STATUS {
|
||||
NoDeviceConnected,
|
||||
DeviceConnected,
|
||||
DeviceFailedEnumeration,
|
||||
DeviceGeneralFailure,
|
||||
DeviceCausedOvercurrent,
|
||||
DeviceNotEnoughPower,
|
||||
DeviceNotEnoughBandwidth,
|
||||
DeviceHubNestedTooDeeply,
|
||||
DeviceInLegacyHub,
|
||||
DeviceEnumerating,
|
||||
DeviceReset
|
||||
} USB_CONNECTION_STATUS,*PUSB_CONNECTION_STATUS;
|
||||
#else
|
||||
typedef enum _USB_CONNECTION_STATUS {
|
||||
NoDeviceConnected,
|
||||
DeviceConnected,
|
||||
|
||||
DeviceFailedEnumeration,
|
||||
DeviceGeneralFailure,
|
||||
DeviceCausedOvercurrent,
|
||||
DeviceNotEnoughPower,
|
||||
DeviceNotEnoughBandwidth,
|
||||
DeviceHubNestedTooDeeply,
|
||||
DeviceInLegacyHub
|
||||
} USB_CONNECTION_STATUS,*PUSB_CONNECTION_STATUS;
|
||||
#endif
|
||||
|
||||
typedef struct _USB_NODE_CONNECTION_INFORMATION {
|
||||
ULONG ConnectionIndex;
|
||||
USB_DEVICE_DESCRIPTOR DeviceDescriptor;
|
||||
UCHAR CurrentConfigurationValue;
|
||||
BOOLEAN LowSpeed;
|
||||
BOOLEAN DeviceIsHub;
|
||||
USHORT DeviceAddress;
|
||||
ULONG NumberOfOpenPipes;
|
||||
USB_CONNECTION_STATUS ConnectionStatus;
|
||||
USB_PIPE_INFO PipeList[0];
|
||||
} USB_NODE_CONNECTION_INFORMATION,*PUSB_NODE_CONNECTION_INFORMATION;
|
||||
|
||||
typedef struct _USB_NODE_CONNECTION_DRIVERKEY_NAME {
|
||||
ULONG ConnectionIndex;
|
||||
ULONG ActualLength;
|
||||
WCHAR DriverKeyName[1];
|
||||
} USB_NODE_CONNECTION_DRIVERKEY_NAME,*PUSB_NODE_CONNECTION_DRIVERKEY_NAME;
|
||||
|
||||
typedef struct _USB_NODE_CONNECTION_NAME {
|
||||
ULONG ConnectionIndex;
|
||||
ULONG ActualLength;
|
||||
WCHAR NodeName[1];
|
||||
} USB_NODE_CONNECTION_NAME,*PUSB_NODE_CONNECTION_NAME;
|
||||
|
||||
typedef struct _USB_HUB_NAME {
|
||||
ULONG ActualLength;
|
||||
WCHAR HubName[1];
|
||||
} USB_HUB_NAME,*PUSB_HUB_NAME;
|
||||
|
||||
typedef struct _USB_ROOT_HUB_NAME {
|
||||
ULONG ActualLength;
|
||||
WCHAR RootHubName[1];
|
||||
} USB_ROOT_HUB_NAME,*PUSB_ROOT_HUB_NAME;
|
||||
|
||||
typedef struct _USB_HCD_DRIVERKEY_NAME {
|
||||
ULONG ActualLength;
|
||||
WCHAR DriverKeyName[1];
|
||||
} USB_HCD_DRIVERKEY_NAME,*PUSB_HCD_DRIVERKEY_NAME;
|
||||
|
||||
typedef struct _USB_DESCRIPTOR_REQUEST {
|
||||
ULONG ConnectionIndex;
|
||||
struct {
|
||||
UCHAR bmRequest;
|
||||
UCHAR bRequest;
|
||||
USHORT wValue;
|
||||
USHORT wIndex;
|
||||
USHORT wLength;
|
||||
} SetupPacket;
|
||||
UCHAR Data[0];
|
||||
} USB_DESCRIPTOR_REQUEST,*PUSB_DESCRIPTOR_REQUEST;
|
||||
|
||||
typedef struct _USB_HUB_CAPABILITIES {
|
||||
ULONG HubIs2xCapable:1;
|
||||
} USB_HUB_CAPABILITIES,*PUSB_HUB_CAPABILITIES;
|
||||
|
||||
typedef struct _USB_NODE_CONNECTION_ATTRIBUTES {
|
||||
ULONG ConnectionIndex;
|
||||
USB_CONNECTION_STATUS ConnectionStatus;
|
||||
ULONG PortAttributes;
|
||||
} USB_NODE_CONNECTION_ATTRIBUTES,*PUSB_NODE_CONNECTION_ATTRIBUTES;
|
||||
|
||||
typedef struct _USB_NODE_CONNECTION_INFORMATION_EX {
|
||||
ULONG ConnectionIndex;
|
||||
USB_DEVICE_DESCRIPTOR DeviceDescriptor;
|
||||
UCHAR CurrentConfigurationValue;
|
||||
UCHAR Speed;
|
||||
BOOLEAN DeviceIsHub;
|
||||
USHORT DeviceAddress;
|
||||
ULONG NumberOfOpenPipes;
|
||||
USB_CONNECTION_STATUS ConnectionStatus;
|
||||
USB_PIPE_INFO PipeList[0];
|
||||
} USB_NODE_CONNECTION_INFORMATION_EX,*PUSB_NODE_CONNECTION_INFORMATION_EX;
|
||||
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
typedef union _USB_HUB_CAP_FLAGS {
|
||||
ULONG ul;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG HubIsHighSpeedCapable:1;
|
||||
ULONG HubIsHighSpeed:1;
|
||||
ULONG HubIsMultiTtCapable:1;
|
||||
ULONG HubIsMultiTt:1;
|
||||
ULONG HubIsRoot:1;
|
||||
ULONG HubIsArmedWakeOnConnect:1;
|
||||
ULONG HubIsBusPowered:1;
|
||||
ULONG ReservedMBZ:25;
|
||||
};
|
||||
} USB_HUB_CAP_FLAGS,*PUSB_HUB_CAP_FLAGS;
|
||||
|
||||
typedef struct _USB_HUB_CAPABILITIES_EX {
|
||||
USB_HUB_CAP_FLAGS CapabilityFlags;
|
||||
} USB_HUB_CAPABILITIES_EX,*PUSB_HUB_CAPABILITIES_EX;
|
||||
|
||||
typedef struct _USB_CYCLE_PORT_PARAMS {
|
||||
ULONG ConnectionIndex;
|
||||
ULONG StatusReturned;
|
||||
} USB_CYCLE_PORT_PARAMS,*PUSB_CYCLE_PORT_PARAMS;
|
||||
|
||||
typedef struct _USB_ID_STRING {
|
||||
USHORT LanguageId;
|
||||
USHORT Pad;
|
||||
ULONG LengthInBytes;
|
||||
PWCHAR Buffer;
|
||||
} USB_ID_STRING,*PUSB_ID_STRING;
|
||||
|
||||
typedef struct _USB_HUB_DEVICE_UXD_SETTINGS {
|
||||
ULONG Version;
|
||||
GUID PnpGuid;
|
||||
GUID OwnerGuid;
|
||||
ULONG DeleteOnShutdown;
|
||||
ULONG DeleteOnReload;
|
||||
ULONG DeleteOnDisconnect;
|
||||
ULONG Reserved[5];
|
||||
} USB_HUB_DEVICE_UXD_SETTINGS,*PUSB_HUB_DEVICE_UXD_SETTINGS;
|
||||
|
||||
typedef struct _HUB_DEVICE_CONFIG_INFO_V1 {
|
||||
ULONG Version;
|
||||
ULONG Length;
|
||||
USB_HUB_CAP_FLAGS HubFlags;
|
||||
USB_ID_STRING HardwareIds;
|
||||
USB_ID_STRING CompatibleIds;
|
||||
USB_ID_STRING DeviceDescription;
|
||||
ULONG Reserved[19];
|
||||
USB_HUB_DEVICE_UXD_SETTINGS UxdSettings;
|
||||
} HUB_DEVICE_CONFIG_INFO,*PHUB_DEVICE_CONFIG_INFO;
|
||||
#endif
|
||||
|
||||
typedef struct _HCD_STAT_COUNTERS {
|
||||
ULONG BytesTransferred;
|
||||
USHORT IsoMissedCount;
|
||||
USHORT DataOverrunErrorCount;
|
||||
USHORT CrcErrorCount;
|
||||
USHORT ScheduleOverrunCount;
|
||||
USHORT TimeoutErrorCount;
|
||||
USHORT InternalHcErrorCount;
|
||||
USHORT BufferOverrunErrorCount;
|
||||
USHORT SWErrorCount;
|
||||
USHORT StallPidCount;
|
||||
USHORT PortDisableCount;
|
||||
} HCD_STAT_COUNTERS,*PHCD_STAT_COUNTERS;
|
||||
|
||||
typedef struct _HCD_ISO_STAT_COUNTERS {
|
||||
USHORT LateUrbs;
|
||||
USHORT DoubleBufferedPackets;
|
||||
USHORT TransfersCF_5ms;
|
||||
USHORT TransfersCF_2ms;
|
||||
USHORT TransfersCF_1ms;
|
||||
USHORT MaxInterruptLatency;
|
||||
USHORT BadStartFrame;
|
||||
USHORT StaleUrbs;
|
||||
USHORT IsoPacketNotAccesed;
|
||||
USHORT IsoPacketHWError;
|
||||
USHORT SmallestUrbPacketCount;
|
||||
USHORT LargestUrbPacketCount;
|
||||
USHORT IsoCRC_Error;
|
||||
USHORT IsoOVERRUN_Error;
|
||||
USHORT IsoINTERNAL_Error;
|
||||
USHORT IsoUNKNOWN_Error;
|
||||
ULONG IsoBytesTransferred;
|
||||
USHORT LateMissedCount;
|
||||
USHORT HWIsoMissedCount;
|
||||
ULONG Reserved7[8];
|
||||
} HCD_ISO_STAT_COUNTERS,*PHCD_ISO_STAT_COUNTERS;
|
||||
|
||||
typedef struct _HCD_STAT_INFORMATION_1 {
|
||||
ULONG Reserved1;
|
||||
ULONG Reserved2;
|
||||
ULONG ResetCounters;
|
||||
LARGE_INTEGER TimeRead;
|
||||
HCD_STAT_COUNTERS Counters;
|
||||
} HCD_STAT_INFORMATION_1,*PHCD_STAT_INFORMATION_1;
|
||||
|
||||
typedef struct _HCD_STAT_INFORMATION_2 {
|
||||
ULONG Reserved1;
|
||||
ULONG Reserved2;
|
||||
ULONG ResetCounters;
|
||||
LARGE_INTEGER TimeRead;
|
||||
LONG LockedMemoryUsed;
|
||||
HCD_STAT_COUNTERS Counters;
|
||||
HCD_ISO_STAT_COUNTERS IsoCounters;
|
||||
} HCD_STAT_INFORMATION_2,*PHCD_STAT_INFORMATION_2;
|
||||
|
||||
#define WMI_USB_DRIVER_INFORMATION 0
|
||||
#define WMI_USB_DRIVER_NOTIFICATION 1
|
||||
#define WMI_USB_POWER_DEVICE_ENABLE 2
|
||||
#define WMI_USB_HUB_NODE_INFORMATION 4
|
||||
|
||||
#define WMI_USB_PERFORMANCE_INFORMATION 1
|
||||
#define WMI_USB_DEVICE_NODE_INFORMATION 2
|
||||
|
||||
typedef enum _USB_NOTIFICATION_TYPE {
|
||||
EnumerationFailure = 0,
|
||||
InsufficentBandwidth,
|
||||
InsufficentPower,
|
||||
OverCurrent,
|
||||
ResetOvercurrent,
|
||||
AcquireBusInfo,
|
||||
AcquireHubName,
|
||||
AcquireControllerName,
|
||||
HubOvercurrent,
|
||||
HubPowerChange,
|
||||
HubNestedTooDeeply,
|
||||
ModernDeviceInLegacyHub
|
||||
} USB_NOTIFICATION_TYPE;
|
||||
|
||||
typedef struct _USB_NOTIFICATION {
|
||||
USB_NOTIFICATION_TYPE NotificationType;
|
||||
} USB_NOTIFICATION,*PUSB_NOTIFICATION;
|
||||
|
||||
typedef struct _USB_CONNECTION_NOTIFICATION {
|
||||
USB_NOTIFICATION_TYPE NotificationType;
|
||||
ULONG ConnectionNumber;
|
||||
ULONG RequestedBandwidth;
|
||||
ULONG EnumerationFailReason;
|
||||
ULONG PowerRequested;
|
||||
ULONG HubNameLength;
|
||||
} USB_CONNECTION_NOTIFICATION,*PUSB_CONNECTION_NOTIFICATION;
|
||||
|
||||
typedef struct _USB_BUS_NOTIFICATION {
|
||||
USB_NOTIFICATION_TYPE NotificationType;
|
||||
ULONG TotalBandwidth;
|
||||
ULONG ConsumedBandwidth;
|
||||
ULONG ControllerNameLength;
|
||||
} USB_BUS_NOTIFICATION,*PUSB_BUS_NOTIFICATION;
|
||||
|
||||
typedef struct _USB_ACQUIRE_INFO {
|
||||
USB_NOTIFICATION_TYPE NotificationType;
|
||||
ULONG TotalSize;
|
||||
WCHAR Buffer[1];
|
||||
} USB_ACQUIRE_INFO,*PUSB_ACQUIRE_INFO;
|
||||
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
#define USB_NODE_INFO_SIG 'USBN'
|
||||
|
||||
typedef enum _USB_WMI_DEVICE_NODE_TYPE {
|
||||
UsbDevice,
|
||||
HubDevice,
|
||||
CompositeDevice,
|
||||
UsbController
|
||||
} USB_WMI_DEVICE_NODE_TYPE,*PUSB_WMI_DEVICE_NODE_TYPE;
|
||||
|
||||
typedef struct _USB_DEVICE_STATE {
|
||||
ULONG DeviceConnected:1;
|
||||
ULONG DeviceStarted:1;
|
||||
} USB_DEVICE_STATE,*PUSB_DEVICE_STATE;
|
||||
|
||||
typedef struct _USB_HUB_PORT_INFORMATION {
|
||||
USB_DEVICE_STATE DeviceState;
|
||||
USHORT PortNumber;
|
||||
USHORT DeviceAddress;
|
||||
ULONG ConnectionIndex;
|
||||
USB_CONNECTION_STATUS ConnectionStatus;
|
||||
} USB_HUB_PORT_INFORMATION,*PUSB_HUB_PORT_INFORMATION;
|
||||
|
||||
typedef struct _USB_HUB_DEVICE_INFO {
|
||||
USB_HUB_DESCRIPTOR HubDescriptor;
|
||||
ULONG HubNumber;
|
||||
USHORT DeviceAddress;
|
||||
BOOLEAN HubIsSelfPowered;
|
||||
BOOLEAN HubIsRootHub;
|
||||
USB_HUB_CAPABILITIES HubCapabilities;
|
||||
ULONG NumberOfHubPorts;
|
||||
USB_HUB_PORT_INFORMATION PortInfo[1];
|
||||
} USB_HUB_DEVICE_INFO,*PUSB_HUB_DEVICE_INFO;
|
||||
|
||||
typedef struct _USB_COMPOSITE_FUNCTION_INFO {
|
||||
UCHAR FunctionNumber;
|
||||
UCHAR BaseInterfaceNumber;
|
||||
UCHAR NumberOfInterfaces;
|
||||
BOOLEAN FunctionIsIdle;
|
||||
} USB_COMPOSITE_FUNCTION_INFO,*PUSB_COMPOSITE_FUNCTION_INFO;
|
||||
|
||||
typedef struct _USB_COMPOSITE_DEVICE_INFO {
|
||||
USB_DEVICE_DESCRIPTOR DeviceDescriptor;
|
||||
USB_CONFIGURATION_DESCRIPTOR CurrentConfigDescriptor;
|
||||
UCHAR CurrentConfigurationValue;
|
||||
UCHAR NumberOfFunctions;
|
||||
USB_COMPOSITE_FUNCTION_INFO FunctionInfo[1];
|
||||
} USB_COMPOSITE_DEVICE_INFO,*PUSB_COMPOSITE_DEVICE_INFO;
|
||||
|
||||
typedef struct _USB_CONTROLLER_DEVICE_INFO {
|
||||
ULONG PciVendorId;
|
||||
ULONG PciDeviceId;
|
||||
ULONG PciRevision;
|
||||
ULONG NumberOfRootPorts;
|
||||
ULONG HcFeatureFlags;
|
||||
} USB_CONTROLLER_DEVICE_INFO,*PUSB_CONTROLLER_DEVICE_INFO;
|
||||
|
||||
typedef struct _USB_DEVICE_INFO {
|
||||
USB_DEVICE_STATE DeviceState;
|
||||
USHORT PortNumber;
|
||||
USB_DEVICE_DESCRIPTOR DeviceDescriptor;
|
||||
UCHAR CurrentConfigurationValue;
|
||||
USB_DEVICE_SPEED Speed;
|
||||
USHORT DeviceAddress;
|
||||
ULONG ConnectionIndex;
|
||||
USB_CONNECTION_STATUS ConnectionStatus;
|
||||
WCHAR PnpHardwareId[128];
|
||||
WCHAR PnpCompatibleId[128];
|
||||
WCHAR SerialNumberId[128];
|
||||
WCHAR PnpDeviceDescription[128];
|
||||
ULONG NumberOfOpenPipes;
|
||||
USB_PIPE_INFO PipeList[1];
|
||||
} USB_DEVICE_INFO,*PUSB_DEVICE_INFO;
|
||||
|
||||
typedef struct _USB_DEVICE_NODE_INFO {
|
||||
ULONG Sig;
|
||||
ULONG LengthInBytes;
|
||||
WCHAR DeviceDescription[40];
|
||||
USB_WMI_DEVICE_NODE_TYPE NodeType;
|
||||
USB_TOPOLOGY_ADDRESS BusAddress;
|
||||
__C89_NAMELESS union {
|
||||
USB_DEVICE_INFO UsbDeviceInfo;
|
||||
USB_HUB_DEVICE_INFO HubDeviceInfo;
|
||||
USB_COMPOSITE_DEVICE_INFO CompositeDeviceInfo;
|
||||
USB_CONTROLLER_DEVICE_INFO ControllerDeviceInfo;
|
||||
UCHAR DeviceInformation[4];
|
||||
};
|
||||
} USB_DEVICE_NODE_INFO,*PUSB_DEVICE_NODE_INFO;
|
||||
|
||||
typedef struct _USB_DEVICE_PERFORMANCE_INFO {
|
||||
ULONG BulkBytes;
|
||||
ULONG ControlDataBytes;
|
||||
ULONG IsoBytes;
|
||||
ULONG InterruptBytes;
|
||||
ULONG BulkUrbCount;
|
||||
ULONG ControlUrbCount;
|
||||
ULONG IsoUrbCount;
|
||||
ULONG InterruptUrbCount;
|
||||
ULONG AllocedInterrupt[6];
|
||||
ULONG AllocedIso;
|
||||
ULONG Total32secBandwidth;
|
||||
ULONG TotalTtBandwidth;
|
||||
WCHAR DeviceDescription[60];
|
||||
USB_DEVICE_SPEED DeviceSpeed;
|
||||
ULONG TotalIsoLatency;
|
||||
ULONG DroppedIsoPackets;
|
||||
ULONG TransferErrors;
|
||||
ULONG PciInterruptCount;
|
||||
ULONG HcIdleState;
|
||||
ULONG HcAsyncIdleState;
|
||||
ULONG HcAsyncCacheFlushCount;
|
||||
ULONG HcPeriodicIdleState;
|
||||
ULONG HcPeriodicCacheFlushCount;
|
||||
} USB_DEVICE_PERFORMANCE_INFO,*PUSB_DEVICE_PERFORMANCE_INFO;
|
||||
#endif
|
||||
|
||||
#if NTDDI_VERSION >= 0x06020000
|
||||
typedef enum _USB_HUB_TYPE {
|
||||
UsbRootHub = 1,
|
||||
Usb20Hub = 2,
|
||||
Usb30Hub = 3
|
||||
} USB_HUB_TYPE;
|
||||
|
||||
typedef struct _USB_HUB_INFORMATION_EX {
|
||||
USB_HUB_TYPE HubType;
|
||||
USHORT HighestPortNumber;
|
||||
union {
|
||||
USB_HUB_DESCRIPTOR UsbHubDescriptor;
|
||||
USB_30_HUB_DESCRIPTOR Usb30HubDescriptor;
|
||||
} u;
|
||||
} USB_HUB_INFORMATION_EX,*PUSB_HUB_INFORMATION_EX;
|
||||
|
||||
typedef union _USB_PORT_PROPERTIES {
|
||||
ULONG ul;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG PortIsUserConnectable :1;
|
||||
ULONG PortIsDebugCapable :1;
|
||||
ULONG ReservedMBZ :30;
|
||||
};
|
||||
} USB_PORT_PROPERTIES,*PUSB_PORT_PROPERTIES;
|
||||
|
||||
typedef struct _USB_PORT_CONNECTOR_PROPERTIES {
|
||||
ULONG ConnectionIndex;
|
||||
ULONG ActualLength;
|
||||
USB_PORT_PROPERTIES UsbPortProperties;
|
||||
USHORT CompanionIndex;
|
||||
USHORT CompanionPortNumber;
|
||||
WCHAR CompanionHubSymbolicLinkName[1];
|
||||
} USB_PORT_CONNECTOR_PROPERTIES,*PUSB_PORT_CONNECTOR_PROPERTIES;
|
||||
|
||||
typedef union _USB_PROTOCOLS {
|
||||
ULONG ul;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG Usb110 :1;
|
||||
ULONG Usb200 :1;
|
||||
ULONG Usb300 :1;
|
||||
ULONG ReservedMBZ :29;
|
||||
};
|
||||
} USB_PROTOCOLS,*PUSB_PROTOCOLS;
|
||||
|
||||
typedef union _USB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS {
|
||||
ULONG ul;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG DeviceIsOperatingAtSuperSpeedOrHigher :1;
|
||||
ULONG DeviceIsSuperSpeedCapableOrHigher :1;
|
||||
ULONG DeviceIsOperatingAtSuperSpeedPlusOrHigher :1;
|
||||
ULONG DeviceIsSuperSpeedPlusCapableOrHigher :1;
|
||||
ULONG ReservedMBZ :28;
|
||||
};
|
||||
} USB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS,*PUSB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS;
|
||||
|
||||
typedef struct _USB_NODE_CONNECTION_INFORMATION_EX_V2 {
|
||||
ULONG ConnectionIndex;
|
||||
ULONG Length;
|
||||
USB_PROTOCOLS SupportedUsbProtocols;
|
||||
USB_NODE_CONNECTION_INFORMATION_EX_V2_FLAGS Flags;
|
||||
} USB_NODE_CONNECTION_INFORMATION_EX_V2,*PUSB_NODE_CONNECTION_INFORMATION_EX_V2;
|
||||
#endif
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* usbiodef.h
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*
|
||||
* This file is based on the ReactOS PSDK file usbiodef.h header.
|
||||
* Original contributed by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* Added winapi-family check, Windows 8 additions by Kai Tietz.
|
||||
*/
|
||||
|
||||
#ifndef __USBIODEF_H__
|
||||
#define __USBIODEF_H__
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#define USB_SUBMIT_URB 0
|
||||
#define USB_RESET_PORT 1
|
||||
#define USB_GET_ROOTHUB_PDO 3
|
||||
#define USB_GET_PORT_STATUS 4
|
||||
#define USB_ENABLE_PORT 5
|
||||
#define USB_GET_HUB_COUNT 6
|
||||
#define USB_CYCLE_PORT 7
|
||||
#define USB_GET_HUB_NAME 8
|
||||
#define USB_IDLE_NOTIFICATION 9
|
||||
#define USB_RECORD_FAILURE 10
|
||||
|
||||
#define USB_GET_BUS_INFO 264
|
||||
#define USB_GET_CONTROLLER_NAME 265
|
||||
#define USB_GET_BUSGUID_INFO 266
|
||||
#define USB_GET_PARENT_HUB_INFO 267
|
||||
#define USB_GET_DEVICE_HANDLE 268
|
||||
#define USB_GET_DEVICE_HANDLE_EX 269
|
||||
#define USB_GET_TT_DEVICE_HANDLE 270
|
||||
#define USB_GET_TOPOLOGY_ADDRESS 271
|
||||
#define USB_IDLE_NOTIFICATION_EX 272
|
||||
#define USB_REQ_GLOBAL_SUSPEND 273
|
||||
#define USB_REQ_GLOBAL_RESUME 274
|
||||
#define USB_GET_HUB_CONFIG_INFO 275
|
||||
|
||||
#define USB_REGISTER_COMPOSITE_DEVICE 0
|
||||
#define USB_UNREGISTER_COMPOSITE_DEVICE 1
|
||||
#define USB_REQUEST_REMOTE_WAKE_NOTIFICATION 2
|
||||
|
||||
#define HCD_GET_STATS_1 255
|
||||
#define HCD_DIAGNOSTIC_MODE_ON 256
|
||||
#define HCD_DIAGNOSTIC_MODE_OFF 257
|
||||
#define HCD_GET_ROOT_HUB_NAME 258
|
||||
#define HCD_GET_DRIVERKEY_NAME 265
|
||||
#define HCD_GET_STATS_2 266
|
||||
#define HCD_DISABLE_PORT 268
|
||||
#define HCD_ENABLE_PORT 269
|
||||
#define HCD_USER_REQUEST 270
|
||||
#define HCD_TRACE_READ_REQUEST 275
|
||||
|
||||
#define USB_GET_NODE_INFORMATION 258
|
||||
#define USB_GET_NODE_CONNECTION_INFORMATION 259
|
||||
#define USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION 260
|
||||
#define USB_GET_NODE_CONNECTION_NAME 261
|
||||
#define USB_DIAG_IGNORE_HUBS_ON 262
|
||||
#define USB_DIAG_IGNORE_HUBS_OFF 263
|
||||
#define USB_GET_NODE_CONNECTION_DRIVERKEY_NAME 264
|
||||
#define USB_GET_HUB_CAPABILITIES 271
|
||||
#define USB_GET_NODE_CONNECTION_ATTRIBUTES 272
|
||||
#define USB_HUB_CYCLE_PORT 273
|
||||
#define USB_GET_NODE_CONNECTION_INFORMATION_EX 274
|
||||
#define USB_RESET_HUB 275
|
||||
#define USB_GET_HUB_CAPABILITIES_EX 276
|
||||
#define USB_GET_HUB_INFORMATION_EX 277
|
||||
#define USB_GET_PORT_CONNECTOR_PROPERTIES 278
|
||||
#define USB_GET_NODE_CONNECTION_INFORMATION_EX_V2 279
|
||||
|
||||
#define GUID_CLASS_USBHUB GUID_DEVINTERFACE_USB_HUB
|
||||
#define GUID_CLASS_USB_DEVICE GUID_DEVINTERFACE_USB_DEVICE
|
||||
#define GUID_CLASS_USB_HOST_CONTROLLER GUID_DEVINTERFACE_USB_HOST_CONTROLLER
|
||||
|
||||
#define FILE_DEVICE_USB FILE_DEVICE_UNKNOWN
|
||||
#define USB_CTL(id) CTL_CODE (FILE_DEVICE_USB,(id), METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define USB_KERNEL_CTL(id) CTL_CODE (FILE_DEVICE_USB,(id), METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define USB_KERNEL_CTL_BUFFERED(id) CTL_CODE (FILE_DEVICE_USB,(id), METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
||||
DEFINE_GUID (GUID_DEVINTERFACE_USB_HUB, 0xf18a0e88, 0xc30c, 0x11d0, 0x88, 0x15, 0x00, 0xa0, 0xc9, 0x06, 0xbe, 0xd8);
|
||||
DEFINE_GUID (GUID_DEVINTERFACE_USB_DEVICE, 0xa5dcbf10, 0x6530, 0x11d2, 0x90, 0x1f, 0x00, 0xc0, 0x4f, 0xb9, 0x51, 0xed);
|
||||
DEFINE_GUID (GUID_DEVINTERFACE_USB_HOST_CONTROLLER, 0x3abf6f2d, 0x71c4, 0x462a, 0x8a, 0x92, 0x1e, 0x68, 0x61, 0xe6, 0xaf, 0x27);
|
||||
DEFINE_GUID (GUID_USB_WMI_STD_DATA, 0x4e623b20, 0xcb14, 0x11d1, 0xb3, 0x31, 0x00, 0xa0, 0xc9, 0x59, 0xbb, 0xd2);
|
||||
DEFINE_GUID (GUID_USB_WMI_STD_NOTIFICATION, 0x4e623b20, 0xcb14, 0x11d1, 0xb3, 0x31, 0x00, 0xa0, 0xc9, 0x59, 0xbb, 0xd2);
|
||||
#if _WIN32_WINNT >= 0x0600
|
||||
DEFINE_GUID (GUID_USB_WMI_DEVICE_PERF_INFO, 0x66c1aa3c, 0x499f, 0x49a0, 0xa9, 0xa5, 0x61, 0xe2, 0x35, 0x9f, 0x64, 0x7);
|
||||
DEFINE_GUID (GUID_USB_WMI_NODE_INFO, 0x9c179357, 0xdc7a, 0x4f41, 0xb6, 0x6b, 0x32, 0x3b, 0x9d, 0xdc, 0xb5, 0xb1);
|
||||
DEFINE_GUID (GUID_USB_WMI_TRACING, 0x3a61881b, 0xb4e6, 0x4bf9, 0xae, 0xf, 0x3c, 0xd8, 0xf3, 0x94, 0xe5, 0x2f);
|
||||
DEFINE_GUID (GUID_USB_TRANSFER_TRACING, 0x681eb8aa, 0x403d, 0x452c, 0x9f, 0x8a, 0xf0, 0x61, 0x6f, 0xac, 0x95, 0x40);
|
||||
DEFINE_GUID (GUID_USB_PERFORMANCE_TRACING, 0xd5de77a6, 0x6ae9, 0x425c, 0xb1, 0xe2, 0xf5, 0x61, 0x5f, 0xd3, 0x48, 0xa9);
|
||||
DEFINE_GUID (GUID_USB_WMI_SURPRISE_REMOVAL_NOTIFICATION, 0x9bbbf831, 0xa2f2, 0x43b4, 0x96, 0xd1, 0x86, 0x94, 0x4b, 0x59, 0x14, 0xb3);
|
||||
#endif
|
||||
|
||||
typedef VOID (*USB_IDLE_CALLBACK) (PVOID Context);
|
||||
|
||||
typedef struct _USB_IDLE_CALLBACK_INFO {
|
||||
USB_IDLE_CALLBACK IdleCallback;
|
||||
PVOID IdleContext;
|
||||
} USB_IDLE_CALLBACK_INFO,*PUSB_IDLE_CALLBACK_INFO;
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* usbprint.h
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
#define USBPRINT_IOCTL_INDEX 0x0000
|
||||
#define IOCTL_USBPRINT_GET_LPT_STATUS CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+12, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USBPRINT_GET_1284_ID CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+13, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USBPRINT_VENDOR_SET_COMMAND CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+14, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USBPRINT_VENDOR_GET_COMMAND CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+15, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_USBPRINT_SOFT_RESET CTL_CODE (FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+16, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
||||
DEFINE_GUID (GUID_DEVINTERFACE_USBPRINT, 0x28d78fad, 0x5a12, 0x11d1, 0xae, 0x5b, 0x0, 0x0, 0xf8, 0x3, 0xa8, 0xc2);
|
||||
#endif
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* usbrpmif.h
|
||||
*
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Amine Khaldi <amine.khaldi@reactos.org>
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "windef.h"
|
||||
#include "usb100.h"
|
||||
|
||||
#if !defined(_USBRPM_DRIVER_)
|
||||
#define USBRPMAPI DECLSPEC_IMPORT
|
||||
#else
|
||||
#define USBRPMAPI
|
||||
#endif
|
||||
|
||||
typedef struct _USBRPM_DEVICE_INFORMATION {
|
||||
ULONG64 HubId;
|
||||
ULONG ConnectionIndex;
|
||||
UCHAR DeviceClass;
|
||||
USHORT VendorId;
|
||||
USHORT ProductId;
|
||||
WCHAR ManufacturerString[MAXIMUM_USB_STRING_LENGTH];
|
||||
WCHAR ProductString[MAXIMUM_USB_STRING_LENGTH];
|
||||
WCHAR HubSymbolicLinkName[MAX_PATH];
|
||||
} USBRPM_DEVICE_INFORMATION, *PUSBRPM_DEVICE_INFORMATION;
|
||||
|
||||
typedef struct _USBRPM_DEVICE_LIST {
|
||||
ULONG NumberOfDevices;
|
||||
USBRPM_DEVICE_INFORMATION Device[0];
|
||||
} USBRPM_DEVICE_LIST, *PUSBRPM_DEVICE_LIST;
|
||||
|
||||
USBRPMAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RPMRegisterAlternateDriver(
|
||||
PDRIVER_OBJECT DriverObject,
|
||||
LPCWSTR CompatibleId,
|
||||
PHANDLE RegisteredDriver);
|
||||
|
||||
USBRPMAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RPMUnregisterAlternateDriver(
|
||||
HANDLE RegisteredDriver);
|
||||
|
||||
USBRPMAPI
|
||||
NTSTATUS
|
||||
RPMGetAvailableDevices(
|
||||
HANDLE RegisteredDriver,
|
||||
USHORT Locale,
|
||||
PUSBRPM_DEVICE_LIST *DeviceList);
|
||||
|
||||
USBRPMAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RPMLoadAlternateDriverForDevice(
|
||||
HANDLE RegisteredDriver,
|
||||
ULONG64 HubID,
|
||||
ULONG ConnectionIndex,
|
||||
REFGUID OwnerGuid);
|
||||
|
||||
USBRPMAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RPMUnloadAlternateDriverForDevice(
|
||||
HANDLE RegisteredDriver,
|
||||
ULONG64 HubID,
|
||||
ULONG ConnectionIndex);
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* usbscan.h
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#ifndef _USBSCAN_H_
|
||||
#define _USBSCAN_H_
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#ifndef MAX_NUM_PIPES
|
||||
#define MAX_NUM_PIPES 8
|
||||
#endif
|
||||
|
||||
#define BULKIN_FLAG 0x80
|
||||
|
||||
#pragma pack(push, 8)
|
||||
typedef struct _DRV_VERSION {
|
||||
unsigned major;
|
||||
unsigned minor;
|
||||
unsigned internal;
|
||||
} DRV_VERSION,*PDRV_VERSION;
|
||||
|
||||
typedef struct _IO_BLOCK {
|
||||
unsigned uOffset;
|
||||
unsigned uLength;
|
||||
PUCHAR pbyData;
|
||||
unsigned uIndex;
|
||||
} IO_BLOCK,*PIO_BLOCK;
|
||||
|
||||
typedef struct _IO_BLOCK_EX {
|
||||
unsigned uOffset;
|
||||
unsigned uLength;
|
||||
PUCHAR pbyData;
|
||||
unsigned uIndex;
|
||||
UCHAR bRequest;
|
||||
UCHAR bmRequestType;
|
||||
UCHAR fTransferDirectionIn;
|
||||
} IO_BLOCK_EX,*PIO_BLOCK_EX;
|
||||
|
||||
typedef struct _CHANNEL_INFO {
|
||||
unsigned EventChannelSize;
|
||||
unsigned uReadDataAlignment;
|
||||
unsigned uWriteDataAlignment;
|
||||
} CHANNEL_INFO,*PCHANNEL_INFO;
|
||||
|
||||
typedef enum {
|
||||
EVENT_PIPE,
|
||||
READ_DATA_PIPE,
|
||||
WRITE_DATA_PIPE,
|
||||
ALL_PIPE
|
||||
} PIPE_TYPE;
|
||||
|
||||
typedef struct _USBSCAN_GET_DESCRIPTOR {
|
||||
UCHAR DescriptorType;
|
||||
UCHAR Index;
|
||||
USHORT LanguageId;
|
||||
} USBSCAN_GET_DESCRIPTOR,*PUSBSCAN_GET_DESCRIPTOR;
|
||||
|
||||
typedef struct _DEVICE_DESCRIPTOR {
|
||||
USHORT usVendorId;
|
||||
USHORT usProductId;
|
||||
USHORT usBcdDevice;
|
||||
USHORT usLanguageId;
|
||||
} DEVICE_DESCRIPTOR,*PDEVICE_DESCRIPTOR;
|
||||
|
||||
typedef enum _RAW_PIPE_TYPE {
|
||||
USBSCAN_PIPE_CONTROL,
|
||||
USBSCAN_PIPE_ISOCHRONOUS,
|
||||
USBSCAN_PIPE_BULK,
|
||||
USBSCAN_PIPE_INTERRUPT
|
||||
} RAW_PIPE_TYPE;
|
||||
|
||||
typedef struct _USBSCAN_PIPE_INFORMATION {
|
||||
USHORT MaximumPacketSize;
|
||||
UCHAR EndpointAddress;
|
||||
UCHAR Interval;
|
||||
RAW_PIPE_TYPE PipeType;
|
||||
} USBSCAN_PIPE_INFORMATION,*PUSBSCAN_PIPE_INFORMATION;
|
||||
|
||||
typedef struct _USBSCAN_PIPE_CONFIGURATION {
|
||||
ULONG NumberOfPipes;
|
||||
USBSCAN_PIPE_INFORMATION PipeInfo[MAX_NUM_PIPES];
|
||||
} USBSCAN_PIPE_CONFIGURATION,*PUSBSCAN_PIPE_CONFIGURATION;
|
||||
|
||||
typedef struct _USBSCAN_TIMEOUT {
|
||||
ULONG TimeoutRead;
|
||||
ULONG TimeoutWrite;
|
||||
ULONG TimeoutEvent;
|
||||
} USBSCAN_TIMEOUT,*PUSBSCAN_TIMEOUT;
|
||||
#pragma pack(pop)
|
||||
|
||||
#define FILE_DEVICE_USB_SCAN 0x8000
|
||||
#define IOCTL_INDEX 0x0800
|
||||
#define ALL ALL_PIPE
|
||||
#define IOCTL_ABORT_PIPE IOCTL_CANCEL_IO
|
||||
|
||||
#define IOCTL_GET_VERSION CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_CANCEL_IO CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+1, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_WAIT_ON_DEVICE_EVENT CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+2, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_READ_REGISTERS CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+3, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_WRITE_REGISTERS CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+4, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_GET_CHANNEL_ALIGN_RQST CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+5, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_GET_DEVICE_DESCRIPTOR CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+6, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_RESET_PIPE CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+7, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_GET_USB_DESCRIPTOR CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+8, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_SEND_USB_REQUEST CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+9, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_GET_PIPE_CONFIGURATION CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+10, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_SET_TIMEOUT CTL_CODE (FILE_DEVICE_USB_SCAN, IOCTL_INDEX+11, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,839 @@
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#ifndef __USBSPEC_H__
|
||||
#define __USBSPEC_H__
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
#include <pshpack1.h>
|
||||
|
||||
typedef enum _USB_DEVICE_SPEED {
|
||||
UsbLowSpeed = 0,
|
||||
UsbFullSpeed,
|
||||
UsbHighSpeed,
|
||||
UsbSuperSpeed
|
||||
} USB_DEVICE_SPEED;
|
||||
|
||||
typedef enum _USB_DEVICE_TYPE {
|
||||
Usb11Device = 0,
|
||||
Usb20Device
|
||||
} USB_DEVICE_TYPE;
|
||||
|
||||
typedef union _BM_REQUEST_TYPE {
|
||||
__C89_NAMELESS struct _BM {
|
||||
UCHAR Recipient:2;
|
||||
UCHAR Reserved:3;
|
||||
UCHAR Type:2;
|
||||
UCHAR Dir:1;
|
||||
};
|
||||
UCHAR B;
|
||||
} BM_REQUEST_TYPE,*PBM_REQUEST_TYPE;
|
||||
|
||||
typedef struct _USB_DEFAULT_PIPE_SETUP_PACKET {
|
||||
BM_REQUEST_TYPE bmRequestType;
|
||||
UCHAR bRequest;
|
||||
union _wValue {
|
||||
__C89_NAMELESS struct {
|
||||
UCHAR LowByte;
|
||||
UCHAR HiByte;
|
||||
};
|
||||
USHORT W;
|
||||
} wValue;
|
||||
union _wIndex {
|
||||
__C89_NAMELESS struct {
|
||||
UCHAR LowByte;
|
||||
UCHAR HiByte;
|
||||
};
|
||||
USHORT W;
|
||||
} wIndex;
|
||||
USHORT wLength;
|
||||
} USB_DEFAULT_PIPE_SETUP_PACKET,*PUSB_DEFAULT_PIPE_SETUP_PACKET;
|
||||
|
||||
#define BMREQUEST_HOST_TO_DEVICE 0
|
||||
#define BMREQUEST_DEVICE_TO_HOST 1
|
||||
|
||||
#define BMREQUEST_STANDARD 0
|
||||
#define BMREQUEST_CLASS 1
|
||||
#define BMREQUEST_VENDOR 2
|
||||
|
||||
#define BMREQUEST_TO_DEVICE 0
|
||||
#define BMREQUEST_TO_INTERFACE 1
|
||||
#define BMREQUEST_TO_ENDPOINT 2
|
||||
#define BMREQUEST_TO_OTHER 3
|
||||
|
||||
#define USB_DESCRIPTOR_MAKE_TYPE_AND_INDEX(d, i) ((USHORT) (((USHORT) d) << 8 | i))
|
||||
|
||||
#define USB_REQUEST_GET_STATUS 0x00
|
||||
#define USB_REQUEST_CLEAR_FEATURE 0x01
|
||||
#define USB_REQUEST_SET_FEATURE 0x03
|
||||
#define USB_REQUEST_SET_ADDRESS 0x05
|
||||
#define USB_REQUEST_GET_DESCRIPTOR 0x06
|
||||
#define USB_REQUEST_SET_DESCRIPTOR 0x07
|
||||
#define USB_REQUEST_GET_CONFIGURATION 0x08
|
||||
#define USB_REQUEST_SET_CONFIGURATION 0x09
|
||||
#define USB_REQUEST_GET_INTERFACE 0x0a
|
||||
#define USB_REQUEST_SET_INTERFACE 0x0b
|
||||
#define USB_REQUEST_SYNC_FRAME 0x0c
|
||||
|
||||
#define USB_REQUEST_SET_SEL 0x30
|
||||
#define USB_REQUEST_ISOCH_DELAY 0x31
|
||||
|
||||
#define USB_DEVICE_DESCRIPTOR_TYPE 0x01
|
||||
#define USB_CONFIGURATION_DESCRIPTOR_TYPE 0x02
|
||||
#define USB_STRING_DESCRIPTOR_TYPE 0x03
|
||||
#define USB_INTERFACE_DESCRIPTOR_TYPE 0x04
|
||||
#define USB_ENDPOINT_DESCRIPTOR_TYPE 0x05
|
||||
#define USB_DEVICE_QUALIFIER_DESCRIPTOR_TYPE 0x06
|
||||
#define USB_OTHER_SPEED_CONFIGURATION_DESCRIPTOR_TYPE 0x07
|
||||
#define USB_INTERFACE_POWER_DESCRIPTOR_TYPE 0x08
|
||||
#define USB_OTG_DESCRIPTOR_TYPE 0x09
|
||||
#define USB_DEBUG_DESCRIPTOR_TYPE 0x0a
|
||||
#define USB_INTERFACE_ASSOCIATION_DESCRIPTOR_TYPE 0x0b
|
||||
#define USB_BOS_DESCRIPTOR_TYPE 0x0f
|
||||
#define USB_DEVICE_CAPABILITY_DESCRIPTOR_TYPE 0x10
|
||||
#define USB_SUPERSPEED_ENDPOINT_COMPANION_DESCRIPTOR_TYPE 0x30
|
||||
#define USB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR_TYPE 0x31
|
||||
|
||||
#define USB_RESERVED_DESCRIPTOR_TYPE 0x06
|
||||
#define USB_CONFIG_POWER_DESCRIPTOR_TYPE 0x07
|
||||
|
||||
#define USB_FEATURE_ENDPOINT_STALL 0x00
|
||||
#define USB_FEATURE_REMOTE_WAKEUP 0x01
|
||||
#define USB_FEATURE_TEST_MODE 0x02
|
||||
|
||||
#define USB_FEATURE_FUNCTION_SUSPEND 0x00
|
||||
#define USB_FEATURE_U1_ENABLE 0x30
|
||||
#define USB_FEATURE_U2_ENABLE 0x31
|
||||
#define USB_FEATURE_LTM_ENABLE 0x32
|
||||
#define USB_FEATURE_LDM_ENABLE 0x35
|
||||
|
||||
#define USB_FEATURE_BATTERY_WAKE_MASK 0x28
|
||||
#define USB_FEATURE_OS_IS_PD_AWARE 0x29
|
||||
#define USB_FEATURE_POLICY_MODE 0x2A
|
||||
#define USB_FEATURE_CHARGING_POLICY 0x36
|
||||
|
||||
#define USB_CHARGING_POLICY_DEFAULT 0x00
|
||||
#define USB_CHARGING_POLICY_ICCHPF 0x01
|
||||
#define USB_CHARGING_POLICY_ICCLPF 0x02
|
||||
#define USB_CHARGING_POLICY_NO_POWER 0x03
|
||||
|
||||
#define USB_STATUS_PORT_STATUS 0x00
|
||||
#define USB_STATUS_PD_STATUS 0x01
|
||||
#define USB_STATUS_EXT_PORT_STATUS 0x02
|
||||
|
||||
#define USB_GETSTATUS_SELF_POWERED 0x01
|
||||
#define USB_GETSTATUS_REMOTE_WAKEUP_ENABLED 0x02
|
||||
|
||||
#define USB_GETSTATUS_U1_ENABLE 0x04
|
||||
#define USB_GETSTATUS_U2_ENABLE 0x08
|
||||
#define USB_GETSTATUS_LTM_ENABLE 0x10
|
||||
|
||||
typedef union _USB_DEVICE_STATUS {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT SelfPowered : 1;
|
||||
USHORT RemoteWakeup : 1;
|
||||
USHORT U1Enable : 1;
|
||||
USHORT U2Enable : 1;
|
||||
USHORT LtmEnable : 1;
|
||||
USHORT Reserved : 11;
|
||||
};
|
||||
} USB_DEVICE_STATUS,*PUSB_DEVICE_STATUS;
|
||||
|
||||
typedef union _USB_INTERFACE_STATUS {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT RemoteWakeupCapable : 1;
|
||||
USHORT RemoteWakeupEnabled : 1;
|
||||
USHORT Reserved : 14;
|
||||
};
|
||||
} USB_INTERFACE_STATUS,*PUSB_INTERFACE_STATUS;
|
||||
|
||||
typedef union _USB_ENDPOINT_STATUS {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT Halt : 1;
|
||||
USHORT Reserved : 15;
|
||||
};
|
||||
} USB_ENDPOINT_STATUS,*PUSB_ENDPOINT_STATUS;
|
||||
|
||||
typedef struct _USB_COMMON_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
} USB_COMMON_DESCRIPTOR,*PUSB_COMMON_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_DEVICE_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
USHORT bcdUSB;
|
||||
UCHAR bDeviceClass;
|
||||
UCHAR bDeviceSubClass;
|
||||
UCHAR bDeviceProtocol;
|
||||
UCHAR bMaxPacketSize0;
|
||||
USHORT idVendor;
|
||||
USHORT idProduct;
|
||||
USHORT bcdDevice;
|
||||
UCHAR iManufacturer;
|
||||
UCHAR iProduct;
|
||||
UCHAR iSerialNumber;
|
||||
UCHAR bNumConfigurations;
|
||||
} USB_DEVICE_DESCRIPTOR,*PUSB_DEVICE_DESCRIPTOR;
|
||||
|
||||
#define USB_DEVICE_CLASS_RESERVED 0x00
|
||||
#define USB_DEVICE_CLASS_AUDIO 0x01
|
||||
#define USB_DEVICE_CLASS_COMMUNICATIONS 0x02
|
||||
#define USB_DEVICE_CLASS_HUMAN_INTERFACE 0x03
|
||||
#define USB_DEVICE_CLASS_MONITOR 0x04
|
||||
#define USB_DEVICE_CLASS_PHYSICAL_INTERFACE 0x05
|
||||
#define USB_DEVICE_CLASS_POWER 0x06
|
||||
#define USB_DEVICE_CLASS_IMAGE 0x06
|
||||
#define USB_DEVICE_CLASS_PRINTER 0x07
|
||||
#define USB_DEVICE_CLASS_STORAGE 0x08
|
||||
#define USB_DEVICE_CLASS_HUB 0x09
|
||||
#define USB_DEVICE_CLASS_CDC_DATA 0x0a
|
||||
#define USB_DEVICE_CLASS_SMART_CARD 0x0b
|
||||
#define USB_DEVICE_CLASS_CONTENT_SECURITY 0x0d
|
||||
#define USB_DEVICE_CLASS_VIDEO 0x0e
|
||||
#define USB_DEVICE_CLASS_PERSONAL_HEALTHCARE 0x0f
|
||||
#define USB_DEVICE_CLASS_AUDIO_VIDEO 0x10
|
||||
#define USB_DEVICE_CLASS_BILLBOARD 0x11
|
||||
#define USB_DEVICE_CLASS_DIAGNOSTIC_DEVICE 0xdc
|
||||
#define USB_DEVICE_CLASS_WIRELESS_CONTROLLER 0xe0
|
||||
#define USB_DEVICE_CLASS_MISCELLANEOUS 0xef
|
||||
#define USB_DEVICE_CLASS_APPLICATION_SPECIFIC 0xfe
|
||||
#define USB_DEVICE_CLASS_VENDOR_SPECIFIC 0xff
|
||||
|
||||
typedef struct _USB_DEVICE_QUALIFIER_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
USHORT bcdUSB;
|
||||
UCHAR bDeviceClass;
|
||||
UCHAR bDeviceSubClass;
|
||||
UCHAR bDeviceProtocol;
|
||||
UCHAR bMaxPacketSize0;
|
||||
UCHAR bNumConfigurations;
|
||||
UCHAR bReserved;
|
||||
} USB_DEVICE_QUALIFIER_DESCRIPTOR,*PUSB_DEVICE_QUALIFIER_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_BOS_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
USHORT wTotalLength;
|
||||
UCHAR bNumDeviceCaps;
|
||||
} USB_BOS_DESCRIPTOR,*PUSB_BOS_DESCRIPTOR;
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_WIRELESS_USB 0x01
|
||||
#define USB_DEVICE_CAPABILITY_USB20_EXTENSION 0x02
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_USB 0x03
|
||||
#define USB_DEVICE_CAPABILITY_CONTAINER_ID 0x04
|
||||
#define USB_DEVICE_CAPABILITY_PLATFORM 0x05
|
||||
#define USB_DEVICE_CAPABILITY_POWER_DELIVERY 0x06
|
||||
#define USB_DEVICE_CAPABILITY_BATTERY_INFO 0x07
|
||||
#define USB_DEVICE_CAPABILITY_PD_CONSUMER_PORT 0x08
|
||||
#define USB_DEVICE_CAPABILITY_PD_PROVIDER_PORT 0x09
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_USB 0x0A
|
||||
#define USB_DEVICE_CAPABILITY_PRECISION_TIME_MEASUREMENT 0x0B
|
||||
#define USB_DEVICE_CAPABILITY_BILLBOARD 0x0D
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_USB20_EXTENSION_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
union {
|
||||
ULONG AsUlong;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG Reserved:1;
|
||||
ULONG LPMCapable:1;
|
||||
ULONG BESLAndAlternateHIRDSupported:1;
|
||||
ULONG BaselineBESLValid:1;
|
||||
ULONG DeepBESLValid:1;
|
||||
ULONG Reserved1:3;
|
||||
ULONG BaselineBESL:4;
|
||||
ULONG DeepBESL:4;
|
||||
ULONG Reserved2:16;
|
||||
};
|
||||
} bmAttributes;
|
||||
} USB_DEVICE_CAPABILITY_USB20_EXTENSION_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_USB20_EXTENSION_DESCRIPTOR;
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_USB20_EXTENSION_BMATTRIBUTES_RESERVED_MASK 0xffff00e1
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
UCHAR bReserved;
|
||||
union {
|
||||
ULONG AsUlong;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG Reserved1:1;
|
||||
ULONG BatteryCharging:1;
|
||||
ULONG USBPowerDelivery:1;
|
||||
ULONG Provider:1;
|
||||
ULONG Consumer:1;
|
||||
ULONG ChargingPolicy:1;
|
||||
ULONG TypeCCurrent:1;
|
||||
ULONG Reserved2:1;
|
||||
ULONG ACSupply:1;
|
||||
ULONG Battery:1;
|
||||
ULONG Other:1;
|
||||
ULONG NumBatteries:3;
|
||||
ULONG UsesVbus:1;
|
||||
ULONG Reserved3:17;
|
||||
};
|
||||
} bmAttributes;
|
||||
USHORT bmProviderPorts;
|
||||
USHORT bmConsumerPorts;
|
||||
USHORT bcdBCVersion;
|
||||
USHORT bcdPDVersion;
|
||||
USHORT bcdUSBTypeCVersion;
|
||||
} USB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_POWER_DELIVERY_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_PD_CONSUMER_PORT_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
UCHAR bReserved;
|
||||
union {
|
||||
USHORT AsUshort;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT BatteryCharging:1;
|
||||
USHORT USBPowerDelivery:1;
|
||||
USHORT USBTypeCCurrent:1;
|
||||
USHORT Reserved:13;
|
||||
};
|
||||
} bmCapabilities;
|
||||
USHORT wMinVoltage;
|
||||
USHORT wMaxVoltage;
|
||||
USHORT wReserved;
|
||||
ULONG dwMaxOperatingPower;
|
||||
ULONG dwMaxPeakPower;
|
||||
ULONG dwMaxPeakPowerTime;
|
||||
} USB_DEVICE_CAPABILITY_PD_CONSUMER_PORT_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_PD_CONSUMER_PORT_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_SUPERSPEED_USB_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
UCHAR bmAttributes;
|
||||
USHORT wSpeedsSupported;
|
||||
UCHAR bFunctionalitySupport;
|
||||
UCHAR bU1DevExitLat;
|
||||
USHORT wU2DevExitLat;
|
||||
} USB_DEVICE_CAPABILITY_SUPERSPEED_USB_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_SUPERSPEED_USB_DESCRIPTOR;
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_BMATTRIBUTES_RESERVED_MASK 0xfd
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_BMATTRIBUTES_LTM_CAPABLE 0x02
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_RESERVED_MASK 0xfff0
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_LOW 0x0001
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_FULL 0x0002
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_HIGH 0x0004
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_SUPER 0x0008
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_LOW 0x0001
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_FULL 0x0002
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_HIGH 0x0004
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_SPEEDS_SUPPORTED_SUPER 0x0008
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_U1_DEVICE_EXIT_MAX_VALUE 0x0a
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEED_U2_DEVICE_EXIT_MAX_VALUE 0x07ff
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_MAX_U1_LATENCY 0x0a
|
||||
#define USB_DEVICE_CAPABILITY_MAX_U2_LATENCY 0x07ff
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_LSE_BPS 0
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_LSE_KBPS 1
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_LSE_MBPS 2
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_LSE_GBPS 3
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_MODE_SYMMETRIC 0
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_MODE_ASYMMETRIC 1
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_DIR_RX 0
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_DIR_TX 1
|
||||
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_PROTOCOL_SS 0
|
||||
#define USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED_PROTOCOL_SSP 1
|
||||
|
||||
typedef union _USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED {
|
||||
ULONG AsUlong32;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG SublinkSpeedAttrID:4;
|
||||
ULONG LaneSpeedExponent:2;
|
||||
ULONG SublinkTypeMode:1;
|
||||
ULONG SublinkTypeDir:1;
|
||||
ULONG Reserved:6;
|
||||
ULONG LinkProtocol:2;
|
||||
ULONG LaneSpeedMantissa:16;
|
||||
};
|
||||
} USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED,*PUSB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED;
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_USB_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
UCHAR bReserved;
|
||||
union {
|
||||
ULONG AsUlong;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG SublinkSpeedAttrCount:5;
|
||||
ULONG SublinkSpeedIDCount:4;
|
||||
ULONG Reserved:23;
|
||||
};
|
||||
} bmAttributes;
|
||||
union {
|
||||
USHORT AsUshort;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT SublinkSpeedAttrID:4;
|
||||
USHORT Reserved:4;
|
||||
USHORT MinRxLaneCount:4;
|
||||
USHORT MinTxLaneCount:4;
|
||||
};
|
||||
} wFunctionalitySupport;
|
||||
USHORT wReserved;
|
||||
USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_SPEED bmSublinkSpeedAttr[1];
|
||||
} USB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_USB_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_SUPERSPEEDPLUS_USB_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_CONTAINER_ID_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
UCHAR bReserved;
|
||||
UCHAR ContainerID[16];
|
||||
} USB_DEVICE_CAPABILITY_CONTAINER_ID_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_CONTAINER_ID_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_PLATFORM_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
UCHAR bReserved;
|
||||
GUID PlatformCapabilityUuid;
|
||||
UCHAR CapabililityData[1];
|
||||
} USB_DEVICE_CAPABILITY_PLATFORM_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_PLATFORM_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_BILLBOARD_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
UCHAR iAddtionalInfoURL;
|
||||
UCHAR bNumberOfAlternateModes;
|
||||
UCHAR bPreferredAlternateMode;
|
||||
union {
|
||||
USHORT AsUshort;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT VConnPowerNeededForFullFunctionality:3;
|
||||
USHORT Reserved:12;
|
||||
USHORT NoVconnPowerRequired:1;
|
||||
};
|
||||
} VconnPower;
|
||||
UCHAR bmConfigured[32];
|
||||
ULONG bReserved;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT wSVID;
|
||||
UCHAR bAlternateMode;
|
||||
UCHAR iAlternateModeSetting;
|
||||
} AlternateMode[1];
|
||||
} USB_DEVICE_CAPABILITY_BILLBOARD_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_BILLBOARD_DESCRIPTOR;
|
||||
|
||||
DEFINE_GUID(GUID_USB_MSOS20_PLATFORM_CAPABILITY_ID, 0xD8DD60DF, 0x4589, 0x4CC7, 0x9C, 0xD2, 0x65, 0x9D, 0x9E, 0x64, 0x8A, 0x9F);
|
||||
|
||||
typedef struct _USB_DEVICE_CAPABILITY_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bDevCapabilityType;
|
||||
} USB_DEVICE_CAPABILITY_DESCRIPTOR,*PUSB_DEVICE_CAPABILITY_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_CONFIGURATION_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
USHORT wTotalLength;
|
||||
UCHAR bNumInterfaces;
|
||||
UCHAR bConfigurationValue;
|
||||
UCHAR iConfiguration;
|
||||
UCHAR bmAttributes;
|
||||
UCHAR MaxPower;
|
||||
} USB_CONFIGURATION_DESCRIPTOR,*PUSB_CONFIGURATION_DESCRIPTOR;
|
||||
|
||||
#define USB_CONFIG_POWERED_MASK 0xc0
|
||||
#define USB_CONFIG_BUS_POWERED 0x80
|
||||
#define USB_CONFIG_SELF_POWERED 0x40
|
||||
#define USB_CONFIG_REMOTE_WAKEUP 0x20
|
||||
#define USB_CONFIG_RESERVED 0x1f
|
||||
|
||||
typedef struct _USB_INTERFACE_ASSOCIATION_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bFirstInterface;
|
||||
UCHAR bInterfaceCount;
|
||||
UCHAR bFunctionClass;
|
||||
UCHAR bFunctionSubClass;
|
||||
UCHAR bFunctionProtocol;
|
||||
UCHAR iFunction;
|
||||
} USB_INTERFACE_ASSOCIATION_DESCRIPTOR,*PUSB_INTERFACE_ASSOCIATION_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_INTERFACE_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bInterfaceNumber;
|
||||
UCHAR bAlternateSetting;
|
||||
UCHAR bNumEndpoints;
|
||||
UCHAR bInterfaceClass;
|
||||
UCHAR bInterfaceSubClass;
|
||||
UCHAR bInterfaceProtocol;
|
||||
UCHAR iInterface;
|
||||
} USB_INTERFACE_DESCRIPTOR,*PUSB_INTERFACE_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_ENDPOINT_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bEndpointAddress;
|
||||
UCHAR bmAttributes;
|
||||
USHORT wMaxPacketSize;
|
||||
UCHAR bInterval;
|
||||
} USB_ENDPOINT_DESCRIPTOR,*PUSB_ENDPOINT_DESCRIPTOR;
|
||||
|
||||
#define USB_ENDPOINT_DIRECTION_MASK 0x80
|
||||
#define USB_ENDPOINT_DIRECTION_OUT(addr) (! ((addr) & USB_ENDPOINT_DIRECTION_MASK))
|
||||
#define USB_ENDPOINT_DIRECTION_IN(addr) ((addr) & USB_ENDPOINT_DIRECTION_MASK)
|
||||
|
||||
#define USB_ENDPOINT_ADDRESS_MASK 0x0f
|
||||
|
||||
#define USB_ENDPOINT_TYPE_MASK 0x03
|
||||
#define USB_ENDPOINT_TYPE_CONTROL 0x00
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS 0x01
|
||||
#define USB_ENDPOINT_TYPE_BULK 0x02
|
||||
#define USB_ENDPOINT_TYPE_INTERRUPT 0x03
|
||||
|
||||
#define USB_ENDPOINT_TYPE_BULK_RESERVED_MASK 0xfc
|
||||
#define USB_ENDPOINT_TYPE_CONTROL_RESERVED_MASK 0xfc
|
||||
#define USB_20_ENDPOINT_TYPE_INTERRUPT_RESERVED_MASK 0xfc
|
||||
#define USB_30_ENDPOINT_TYPE_INTERRUPT_RESERVED_MASK 0xcc
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_RESERVED_MASK 0xc0
|
||||
|
||||
#define USB_30_ENDPOINT_TYPE_INTERRUPT_USAGE_MASK 0x30
|
||||
#define USB_30_ENDPOINT_TYPE_INTERRUPT_USAGE_PERIODIC 0x00
|
||||
#define USB_30_ENDPOINT_TYPE_INTERRUPT_USAGE_NOTIFICATION 0x10
|
||||
#define USB_30_ENDPOINT_TYPE_INTERRUPT_USAGE_RESERVED10 0x20
|
||||
#define USB_30_ENDPOINT_TYPE_INTERRUPT_USAGE_RESERVED11 0x30
|
||||
#define USB_30_ENDPOINT_TYPE_INTERRUPT_USAGE(bmAttr) (bmAttr &USB_30_ENDPOINT_TYPE_INTERRUPT_USAGE_MASK)
|
||||
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_SYNCHRONIZATION_MASK 0x0c
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_SYNCHRONIZATION_NO_SYNCHRONIZATION 0x00
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_SYNCHRONIZATION_ASYNCHRONOUS 0x04
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_SYNCHRONIZATION_ADAPTIVE 0x08
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_SYNCHRONIZATION_SYNCHRONOUS 0x0c
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_SYNCHRONIZATION(bmAttr) (bmAttr &USB_ENDPOINT_TYPE_ISOCHRONOUS_SYNCHRONIZATION_MASK)
|
||||
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_USAGE_MASK 0x30
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_USAGE_DATA_ENDOINT 0x00
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_USAGE_FEEDBACK_ENDPOINT 0x10
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_USAGE_IMPLICIT_FEEDBACK_DATA_ENDPOINT 0x20
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_USAGE_RESERVED 0x30
|
||||
#define USB_ENDPOINT_TYPE_ISOCHRONOUS_USAGE(bmAttr) (bmAttr &USB_ENDPOINT_TYPE_ISOCHRONOUS_USAGE_MASK)
|
||||
|
||||
typedef union _USB_HIGH_SPEED_MAXPACKET {
|
||||
__C89_NAMELESS struct _MP {
|
||||
USHORT MaxPacket : 11;
|
||||
USHORT HSmux : 2;
|
||||
USHORT Reserved : 3;
|
||||
};
|
||||
USHORT us;
|
||||
} USB_HIGH_SPEED_MAXPACKET,*PUSB_HIGH_SPEED_MAXPACKET;
|
||||
|
||||
#define USB_ENDPOINT_SUPERSPEED_BULK_MAX_PACKET_SIZE 1024
|
||||
#define USB_ENDPOINT_SUPERSPEED_CONTROL_MAX_PACKET_SIZE 512
|
||||
#define USB_ENDPOINT_SUPERSPEED_ISO_MAX_PACKET_SIZE 1024
|
||||
#define USB_ENDPOINT_SUPERSPEED_INTERRUPT_MAX_PACKET_SIZE 1024
|
||||
|
||||
typedef struct _USB_STRING_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
WCHAR bString[1];
|
||||
} USB_STRING_DESCRIPTOR,*PUSB_STRING_DESCRIPTOR;
|
||||
|
||||
#define MAXIMUM_USB_STRING_LENGTH 255
|
||||
|
||||
typedef struct _USB_SUPERSPEED_ENDPOINT_COMPANION_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bMaxBurst;
|
||||
union {
|
||||
UCHAR AsUchar;
|
||||
struct {
|
||||
UCHAR MaxStreams:5;
|
||||
UCHAR Reserved1:3;
|
||||
} Bulk;
|
||||
struct {
|
||||
UCHAR Mult:2;
|
||||
UCHAR Reserved2:5;
|
||||
UCHAR SspCompanion:1;
|
||||
} Isochronous;
|
||||
} bmAttributes;
|
||||
USHORT wBytesPerInterval;
|
||||
} USB_SUPERSPEED_ENDPOINT_COMPANION_DESCRIPTOR,*PUSB_SUPERSPEED_ENDPOINT_COMPANION_DESCRIPTOR;
|
||||
|
||||
#define USB_SUPERSPEED_ISOCHRONOUS_MAX_MULTIPLIER 2
|
||||
|
||||
typedef struct _USB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
USHORT wReserved;
|
||||
ULONG dwBytesPerInterval;
|
||||
} USB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR,*PUSB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR;
|
||||
|
||||
#define USB_SUPERSPEEDPLUS_ISOCHRONOUS_MIN_BYTESPERINTERVAL 0xc001
|
||||
#define USB_SUPERSPEEDPLUS_ISOCHRONOUS_MAX_BYTESPERINTERVAL 0xffffff
|
||||
|
||||
typedef struct _USB_HUB_DESCRIPTOR {
|
||||
UCHAR bDescriptorLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bNumberOfPorts;
|
||||
USHORT wHubCharacteristics;
|
||||
UCHAR bPowerOnToPowerGood;
|
||||
UCHAR bHubControlCurrent;
|
||||
UCHAR bRemoveAndPowerMask[64];
|
||||
} USB_HUB_DESCRIPTOR,*PUSB_HUB_DESCRIPTOR;
|
||||
|
||||
#define USB_20_HUB_DESCRIPTOR_TYPE 0x29
|
||||
|
||||
typedef struct _USB_30_HUB_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bNumberOfPorts;
|
||||
USHORT wHubCharacteristics;
|
||||
UCHAR bPowerOnToPowerGood;
|
||||
UCHAR bHubControlCurrent;
|
||||
UCHAR bHubHdrDecLat;
|
||||
USHORT wHubDelay;
|
||||
USHORT DeviceRemovable;
|
||||
} USB_30_HUB_DESCRIPTOR,*PUSB_30_HUB_DESCRIPTOR;
|
||||
|
||||
#define USB_30_HUB_DESCRIPTOR_TYPE 0x2a
|
||||
|
||||
#define USB_REQUEST_GET_STATE 0x02
|
||||
|
||||
#define USB_REQUEST_CLEAR_TT_BUFFER 0x08
|
||||
#define USB_REQUEST_RESET_TT 0x09
|
||||
#define USB_REQUEST_GET_TT_STATE 0x0a
|
||||
#define USB_REQUEST_STOP_TT 0x0b
|
||||
|
||||
#define USB_REQUEST_SET_HUB_DEPTH 0x0c
|
||||
#define USB_REQUEST_GET_PORT_ERR_COUNT 0x0d
|
||||
|
||||
typedef union _USB_HUB_STATUS {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT LocalPowerLost:1;
|
||||
USHORT OverCurrent:1;
|
||||
USHORT Reserved:14;
|
||||
};
|
||||
} USB_HUB_STATUS,*PUSB_HUB_STATUS;
|
||||
|
||||
typedef union _USB_HUB_CHANGE {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT LocalPowerChange:1;
|
||||
USHORT OverCurrentChange:1;
|
||||
USHORT Reserved:14;
|
||||
};
|
||||
} USB_HUB_CHANGE,*PUSB_HUB_CHANGE;
|
||||
|
||||
typedef union _USB_HUB_STATUS_AND_CHANGE {
|
||||
ULONG AsUlong32;
|
||||
__C89_NAMELESS struct {
|
||||
USB_HUB_STATUS HubStatus;
|
||||
USB_HUB_CHANGE HubChange;
|
||||
};
|
||||
} USB_HUB_STATUS_AND_CHANGE,*PUSB_HUB_STATUS_AND_CHANGE;
|
||||
|
||||
typedef union _USB_20_PORT_STATUS {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT CurrentConnectStatus:1;
|
||||
USHORT PortEnabledDisabled:1;
|
||||
USHORT Suspend:1;
|
||||
USHORT OverCurrent:1;
|
||||
USHORT Reset:1;
|
||||
USHORT Reserved0:3;
|
||||
USHORT PortPower:1;
|
||||
USHORT LowSpeedDeviceAttached:1;
|
||||
USHORT HighSpeedDeviceAttached:1;
|
||||
USHORT PortTestMode:1;
|
||||
USHORT PortIndicatorControl:1;
|
||||
USHORT Reserved1:3;
|
||||
};
|
||||
} USB_20_PORT_STATUS,*PUSB_20_PORT_STATUS;
|
||||
|
||||
#define USB_PORT_STATUS_CONNECT 0x0001
|
||||
#define USB_PORT_STATUS_ENABLE 0x0002
|
||||
#define USB_PORT_STATUS_SUSPEND 0x0004
|
||||
#define USB_PORT_STATUS_OVER_CURRENT 0x0008
|
||||
#define USB_PORT_STATUS_RESET 0x0010
|
||||
#define USB_PORT_STATUS_POWER 0x0100
|
||||
#define USB_PORT_STATUS_LOW_SPEED 0x0200
|
||||
#define USB_PORT_STATUS_HIGH_SPEED 0x0400
|
||||
|
||||
typedef union _USB_20_PORT_CHANGE {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT ConnectStatusChange:1;
|
||||
USHORT PortEnableDisableChange:1;
|
||||
USHORT SuspendChange:1;
|
||||
USHORT OverCurrentIndicatorChange:1;
|
||||
USHORT ResetChange:1;
|
||||
USHORT Reserved2:11;
|
||||
};
|
||||
} USB_20_PORT_CHANGE,*PUSB_20_PORT_CHANGE;
|
||||
|
||||
typedef union _USB_30_PORT_STATUS {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT CurrentConnectStatus:1;
|
||||
USHORT PortEnabledDisabled:1;
|
||||
USHORT Reserved0:1;
|
||||
USHORT OverCurrent:1;
|
||||
USHORT Reset:1;
|
||||
USHORT PortLinkState:4;
|
||||
USHORT PortPower:1;
|
||||
USHORT NegotiatedDeviceSpeed:3;
|
||||
USHORT Reserved1:3;
|
||||
};
|
||||
} USB_30_PORT_STATUS,*PUSB_30_PORT_STATUS;
|
||||
|
||||
#define PORT_LINK_STATE_U0 0
|
||||
#define PORT_LINK_STATE_U1 1
|
||||
#define PORT_LINK_STATE_U2 2
|
||||
#define PORT_LINK_STATE_U3 3
|
||||
#define PORT_LINK_STATE_DISABLED 4
|
||||
#define PORT_LINK_STATE_RX_DETECT 5
|
||||
#define PORT_LINK_STATE_INACTIVE 6
|
||||
#define PORT_LINK_STATE_POLLING 7
|
||||
#define PORT_LINK_STATE_RECOVERY 8
|
||||
#define PORT_LINK_STATE_HOT_RESET 9
|
||||
#define PORT_LINK_STATE_COMPLIANCE_MODE 10
|
||||
#define PORT_LINK_STATE_LOOPBACK 11
|
||||
#define PORT_LINK_STATE_TEST_MODE 11
|
||||
|
||||
typedef union _USB_30_PORT_CHANGE {
|
||||
USHORT AsUshort16;
|
||||
__C89_NAMELESS struct {
|
||||
USHORT ConnectStatusChange:1;
|
||||
USHORT Reserved2:2;
|
||||
USHORT OverCurrentIndicatorChange:1;
|
||||
USHORT ResetChange:1;
|
||||
USHORT BHResetChange:1;
|
||||
USHORT PortLinkStateChange:1;
|
||||
USHORT PortConfigErrorChange:1;
|
||||
USHORT Reserved3:8;
|
||||
};
|
||||
} USB_30_PORT_CHANGE,*PUSB_30_PORT_CHANGE;
|
||||
|
||||
typedef union _USB_PORT_STATUS {
|
||||
USHORT AsUshort16;
|
||||
USB_20_PORT_STATUS Usb20PortStatus;
|
||||
USB_30_PORT_STATUS Usb30PortStatus;
|
||||
} USB_PORT_STATUS,*PUSB_PORT_STATUS;
|
||||
|
||||
typedef union _USB_PORT_CHANGE {
|
||||
USHORT AsUshort16;
|
||||
USB_20_PORT_CHANGE Usb20PortChange;
|
||||
USB_30_PORT_CHANGE Usb30PortChange;
|
||||
} USB_PORT_CHANGE,*PUSB_PORT_CHANGE;
|
||||
|
||||
typedef union _USB_PORT_EXT_STATUS {
|
||||
ULONG AsUlong32;
|
||||
__C89_NAMELESS struct {
|
||||
ULONG RxSublinkSpeedID:4;
|
||||
ULONG TxSublinkSpeedID:4;
|
||||
ULONG RxLaneCount:4;
|
||||
ULONG TxLaneCount:4;
|
||||
ULONG Reserved:16;
|
||||
};
|
||||
} USB_PORT_EXT_STATUS,*PUSB_PORT_EXT_STATUS;
|
||||
|
||||
typedef union _USB_PORT_STATUS_AND_CHANGE {
|
||||
ULONG AsUlong32;
|
||||
__C89_NAMELESS struct {
|
||||
USB_PORT_STATUS PortStatus;
|
||||
USB_PORT_CHANGE PortChange;
|
||||
};
|
||||
} USB_PORT_STATUS_AND_CHANGE,*PUSB_PORT_STATUS_AND_CHANGE;
|
||||
|
||||
typedef union _USB_PORT_EXT_STATUS_AND_CHANGE {
|
||||
ULONG64 AsUlong64;
|
||||
__C89_NAMELESS struct {
|
||||
USB_PORT_STATUS_AND_CHANGE PortStatusChange;
|
||||
USB_PORT_EXT_STATUS PortExtStatus;
|
||||
};
|
||||
} USB_PORT_EXT_STATUS_AND_CHANGE,*PUSB_PORT_EXT_STATUS_AND_CHANGE;
|
||||
|
||||
typedef union _USB_HUB_30_PORT_REMOTE_WAKE_MASK {
|
||||
UCHAR AsUchar8;
|
||||
__C89_NAMELESS struct {
|
||||
UCHAR ConnectRemoteWakeEnable:1;
|
||||
UCHAR DisconnectRemoteWakeEnable:1;
|
||||
UCHAR OverCurrentRemoteWakeEnable:1;
|
||||
UCHAR Reserved0:5;
|
||||
};
|
||||
} USB_HUB_30_PORT_REMOTE_WAKE_MASK,*PUSB_HUB_30_PORT_REMOTE_WAKE_MASK;
|
||||
|
||||
typedef union _USB_FUNCTION_SUSPEND_OPTIONS {
|
||||
UCHAR AsUchar;
|
||||
__C89_NAMELESS struct {
|
||||
UCHAR PowerState:1;
|
||||
UCHAR RemoteWakeEnabled:1;
|
||||
UCHAR Reserved:6;
|
||||
};
|
||||
} USB_FUNCTION_SUSPEND_OPTIONS,*PUSB_FUNCTION_SUSPEND_OPTIONS;
|
||||
|
||||
#define USB_FEATURE_INTERFACE_POWER_D0 0x0002
|
||||
#define USB_FEATURE_INTERFACE_POWER_D1 0x0003
|
||||
#define USB_FEATURE_INTERFACE_POWER_D2 0x0004
|
||||
#define USB_FEATURE_INTERFACE_POWER_D3 0x0005
|
||||
|
||||
#define USB_SUPPORT_D0_COMMAND 0x01
|
||||
#define USB_SUPPORT_D1_COMMAND 0x02
|
||||
#define USB_SUPPORT_D2_COMMAND 0x04
|
||||
#define USB_SUPPORT_D3_COMMAND 0x08
|
||||
#define USB_SUPPORT_D1_WAKEUP 0x10
|
||||
#define USB_SUPPORT_D2_WAKEUP 0x20
|
||||
|
||||
typedef struct _USB_CONFIGURATION_POWER_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR SelfPowerConsumedD0[3];
|
||||
UCHAR bPowerSummaryId;
|
||||
UCHAR bBusPowerSavingD1;
|
||||
UCHAR bSelfPowerSavingD1;
|
||||
UCHAR bBusPowerSavingD2;
|
||||
UCHAR bSelfPowerSavingD2;
|
||||
UCHAR bBusPowerSavingD3;
|
||||
UCHAR bSelfPowerSavingD3;
|
||||
USHORT TransitionTimeFromD1;
|
||||
USHORT TransitionTimeFromD2;
|
||||
USHORT TransitionTimeFromD3;
|
||||
} USB_CONFIGURATION_POWER_DESCRIPTOR,*PUSB_CONFIGURATION_POWER_DESCRIPTOR;
|
||||
|
||||
typedef struct _USB_INTERFACE_POWER_DESCRIPTOR {
|
||||
UCHAR bLength;
|
||||
UCHAR bDescriptorType;
|
||||
UCHAR bmCapabilitiesFlags;
|
||||
UCHAR bBusPowerSavingD1;
|
||||
UCHAR bSelfPowerSavingD1;
|
||||
UCHAR bBusPowerSavingD2;
|
||||
UCHAR bSelfPowerSavingD2;
|
||||
UCHAR bBusPowerSavingD3;
|
||||
UCHAR bSelfPowerSavingD3;
|
||||
USHORT TransitionTimeFromD1;
|
||||
USHORT TransitionTimeFromD2;
|
||||
USHORT TransitionTimeFromD3;
|
||||
} USB_INTERFACE_POWER_DESCRIPTOR,*PUSB_INTERFACE_POWER_DESCRIPTOR;
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,345 @@
|
||||
/**
|
||||
* usbuser.h
|
||||
*
|
||||
* USB user mode IOCTL interface
|
||||
*
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*
|
||||
* This file is based on the ReactOS PSDK file usbuser.h.
|
||||
* Original contributed by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#ifndef __USBUSER_H__
|
||||
#define __USBUSER_H__
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#include "usbiodef.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <pshpack1.h>
|
||||
|
||||
#define USBUSER_VERSION 0x00000004
|
||||
|
||||
#define IOCTL_USB_USER_REQUEST USB_CTL (HCD_USER_REQUEST)
|
||||
|
||||
#ifndef IOCTL_USB_DIAGNOSTIC_MODE_ON
|
||||
#define IOCTL_USB_DIAGNOSTIC_MODE_ON USB_CTL (HCD_DIAGNOSTIC_MODE_ON)
|
||||
#endif
|
||||
#ifndef IOCTL_USB_DIAGNOSTIC_MODE_OFF
|
||||
#define IOCTL_USB_DIAGNOSTIC_MODE_OFF USB_CTL (HCD_DIAGNOSTIC_MODE_OFF)
|
||||
#endif
|
||||
|
||||
#ifndef IOCTL_USB_GET_ROOT_HUB_NAME
|
||||
#define IOCTL_USB_GET_ROOT_HUB_NAME USB_CTL (HCD_GET_ROOT_HUB_NAME)
|
||||
#endif
|
||||
#ifndef IOCTL_GET_HCD_DRIVERKEY_NAME
|
||||
#define IOCTL_GET_HCD_DRIVERKEY_NAME USB_CTL (HCD_GET_DRIVERKEY_NAME)
|
||||
#endif
|
||||
|
||||
typedef enum _USB_USER_ERROR_CODE {
|
||||
UsbUserSuccess = 0,
|
||||
UsbUserNotSupported,
|
||||
UsbUserInvalidRequestCode,
|
||||
UsbUserFeatureDisabled,
|
||||
UsbUserInvalidHeaderParameter,
|
||||
UsbUserInvalidParameter,
|
||||
UsbUserMiniportError,
|
||||
UsbUserBufferTooSmall,
|
||||
UsbUserErrorNotMapped,
|
||||
UsbUserDeviceNotStarted,
|
||||
UsbUserNoDeviceConnected
|
||||
} USB_USER_ERROR_CODE;
|
||||
|
||||
#define USBUSER_GET_CONTROLLER_INFO_0 0x00000001
|
||||
#define USBUSER_GET_CONTROLLER_DRIVER_KEY 0x00000002
|
||||
#define USBUSER_PASS_THRU 0x00000003
|
||||
#define USBUSER_GET_POWER_STATE_MAP 0x00000004
|
||||
#define USBUSER_GET_BANDWIDTH_INFORMATION 0x00000005
|
||||
#define USBUSER_GET_BUS_STATISTICS_0 0x00000006
|
||||
#define USBUSER_GET_ROOTHUB_SYMBOLIC_NAME 0x00000007
|
||||
#define USBUSER_GET_USB_DRIVER_VERSION 0x00000008
|
||||
#define USBUSER_GET_USB2_HW_VERSION 0x00000009
|
||||
#define USBUSER_USB_REFRESH_HCT_REG 0x0000000a
|
||||
|
||||
#define USBUSER_OP_SEND_ONE_PACKET 0x10000001
|
||||
|
||||
#define USBUSER_OP_RAW_RESET_PORT 0x20000001
|
||||
#define USBUSER_OP_OPEN_RAW_DEVICE 0x20000002
|
||||
#define USBUSER_OP_CLOSE_RAW_DEVICE 0x20000003
|
||||
#define USBUSER_OP_SEND_RAW_COMMAND 0x20000004
|
||||
#define USBUSER_SET_ROOTPORT_FEATURE 0x20000005
|
||||
#define USBUSER_CLEAR_ROOTPORT_FEATURE 0x20000006
|
||||
#define USBUSER_GET_ROOTPORT_STATUS 0x20000007
|
||||
|
||||
#define USBUSER_INVALID_REQUEST 0xfffffff0
|
||||
|
||||
#define USBUSER_OP_MASK_DEVONLY_API 0x10000000
|
||||
#define USBUSER_OP_MASK_HCTEST_API 0x20000000
|
||||
|
||||
#define USB_PACKETFLAG_LOW_SPEED 0x00000001
|
||||
#define USB_PACKETFLAG_FULL_SPEED 0x00000002
|
||||
#define USB_PACKETFLAG_HIGH_SPEED 0x00000004
|
||||
#define USB_PACKETFLAG_ASYNC_IN 0x00000008
|
||||
#define USB_PACKETFLAG_ASYNC_OUT 0x00000010
|
||||
#define USB_PACKETFLAG_ISO_IN 0x00000020
|
||||
#define USB_PACKETFLAG_ISO_OUT 0x00000040
|
||||
#define USB_PACKETFLAG_SETUP 0x00000080
|
||||
#define USB_PACKETFLAG_TOGGLE0 0x00000100
|
||||
#define USB_PACKETFLAG_TOGGLE1 0x00000200
|
||||
|
||||
typedef struct _USBUSER_REQUEST_HEADER {
|
||||
ULONG UsbUserRequest;
|
||||
USB_USER_ERROR_CODE UsbUserStatusCode;
|
||||
ULONG RequestBufferLength;
|
||||
ULONG ActualBufferLength;
|
||||
} USBUSER_REQUEST_HEADER, *PUSBUSER_REQUEST_HEADER;
|
||||
|
||||
typedef struct _PACKET_PARAMETERS {
|
||||
UCHAR DeviceAddress;
|
||||
UCHAR EndpointAddress;
|
||||
USHORT MaximumPacketSize;
|
||||
ULONG Timeout;
|
||||
ULONG Flags;
|
||||
ULONG DataLength;
|
||||
USHORT HubDeviceAddress;
|
||||
USHORT PortTTNumber;
|
||||
UCHAR ErrorCount;
|
||||
UCHAR Pad[3];
|
||||
USBD_STATUS UsbdStatusCode;
|
||||
UCHAR Data[4];
|
||||
} PACKET_PARAMETERS, *PPACKET_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_SEND_ONE_PACKET {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
PACKET_PARAMETERS PacketParameters;
|
||||
} USBUSER_SEND_ONE_PACKET, *PUSBUSER_SEND_ONE_PACKET;
|
||||
|
||||
typedef struct _RAW_RESET_PORT_PARAMETERS {
|
||||
USHORT PortNumber;
|
||||
USHORT PortStatus;
|
||||
} RAW_RESET_PORT_PARAMETERS, *PRAW_RESET_PORT_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_RAW_RESET_ROOT_PORT {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
RAW_RESET_PORT_PARAMETERS Parameters;
|
||||
} USBUSER_RAW_RESET_ROOT_PORT, *PUSBUSER_RAW_RESET_ROOT_PORT;
|
||||
|
||||
typedef struct _RAW_ROOTPORT_FEATURE {
|
||||
USHORT PortNumber;
|
||||
USHORT PortFeature;
|
||||
USHORT PortStatus;
|
||||
} RAW_ROOTPORT_FEATURE, *PRAW_ROOTPORT_FEATURE;
|
||||
|
||||
typedef struct _USBUSER_ROOTPORT_FEATURE_REQUEST {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
RAW_ROOTPORT_FEATURE Parameters;
|
||||
} USBUSER_ROOTPORT_FEATURE_REQUEST, *PUSBUSER_ROOTPORT_FEATURE_REQUEST;
|
||||
|
||||
typedef struct _RAW_ROOTPORT_PARAMETERS {
|
||||
USHORT PortNumber;
|
||||
USHORT PortStatus;
|
||||
} RAW_ROOTPORT_PARAMETERS, *PRAW_ROOTPORT_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_ROOTPORT_PARAMETERS {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
RAW_ROOTPORT_PARAMETERS Parameters;
|
||||
} USBUSER_ROOTPORT_PARAMETERS, *PUSBUSER_ROOTPORT_PARAMETERS;
|
||||
|
||||
#define USB_HC_FEATURE_FLAG_PORT_POWER_SWITCHING 0x00000001
|
||||
#define USB_HC_FEATURE_FLAG_SEL_SUSPEND 0x00000002
|
||||
#define USB_HC_FEATURE_LEGACY_BIOS 0x00000004
|
||||
|
||||
typedef struct _USB_CONTROLLER_INFO_0 {
|
||||
ULONG PciVendorId;
|
||||
ULONG PciDeviceId;
|
||||
ULONG PciRevision;
|
||||
ULONG NumberOfRootPorts;
|
||||
USB_CONTROLLER_FLAVOR ControllerFlavor;
|
||||
ULONG HcFeatureFlags;
|
||||
} USB_CONTROLLER_INFO_0, *PUSB_CONTROLLER_INFO_0;
|
||||
|
||||
typedef struct _USBUSER_CONTROLLER_INFO_0 {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_CONTROLLER_INFO_0 Info0;
|
||||
} USBUSER_CONTROLLER_INFO_0, *PUSBUSER_CONTROLLER_INFO_0;
|
||||
|
||||
typedef struct _USB_UNICODE_NAME {
|
||||
ULONG Length;
|
||||
WCHAR String[1];
|
||||
} USB_UNICODE_NAME, *PUSB_UNICODE_NAME;
|
||||
|
||||
typedef struct _USBUSER_CONTROLLER_UNICODE_NAME {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_UNICODE_NAME UnicodeName;
|
||||
} USBUSER_CONTROLLER_UNICODE_NAME, *PUSBUSER_CONTROLLER_UNICODE_NAME;
|
||||
|
||||
typedef struct _USB_PASS_THRU_PARAMETERS {
|
||||
GUID FunctionGUID;
|
||||
ULONG ParameterLength;
|
||||
UCHAR Parameters[4];
|
||||
} USB_PASS_THRU_PARAMETERS, *PUSB_PASS_THRU_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_PASS_THRU_REQUEST {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_PASS_THRU_PARAMETERS PassThru;
|
||||
} USBUSER_PASS_THRU_REQUEST, *PUSBUSER_PASS_THRU_REQUEST;
|
||||
|
||||
typedef enum _WDMUSB_POWER_STATE {
|
||||
WdmUsbPowerNotMapped = 0,
|
||||
WdmUsbPowerSystemUnspecified = 100,
|
||||
WdmUsbPowerSystemWorking,
|
||||
WdmUsbPowerSystemSleeping1,
|
||||
WdmUsbPowerSystemSleeping2,
|
||||
WdmUsbPowerSystemSleeping3,
|
||||
WdmUsbPowerSystemHibernate,
|
||||
WdmUsbPowerSystemShutdown,
|
||||
WdmUsbPowerDeviceUnspecified = 200,
|
||||
WdmUsbPowerDeviceD0,
|
||||
WdmUsbPowerDeviceD1,
|
||||
WdmUsbPowerDeviceD2,
|
||||
WdmUsbPowerDeviceD3
|
||||
} WDMUSB_POWER_STATE;
|
||||
|
||||
typedef struct _USB_POWER_INFO {
|
||||
WDMUSB_POWER_STATE SystemState;
|
||||
WDMUSB_POWER_STATE HcDevicePowerState;
|
||||
WDMUSB_POWER_STATE HcDeviceWake;
|
||||
WDMUSB_POWER_STATE HcSystemWake;
|
||||
WDMUSB_POWER_STATE RhDevicePowerState;
|
||||
WDMUSB_POWER_STATE RhDeviceWake;
|
||||
WDMUSB_POWER_STATE RhSystemWake;
|
||||
WDMUSB_POWER_STATE LastSystemSleepState;
|
||||
BOOLEAN CanWakeup;
|
||||
BOOLEAN IsPowered;
|
||||
} USB_POWER_INFO, *PUSB_POWER_INFO;
|
||||
|
||||
typedef struct _USBUSER_POWER_INFO_REQUEST {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_POWER_INFO PowerInformation;
|
||||
} USBUSER_POWER_INFO_REQUEST, *PUSBUSER_POWER_INFO_REQUEST;
|
||||
|
||||
typedef struct _USB_OPEN_RAW_DEVICE_PARAMETERS {
|
||||
USHORT PortStatus;
|
||||
USHORT MaxPacketEp0;
|
||||
} USB_OPEN_RAW_DEVICE_PARAMETERS, *PUSB_OPEN_RAW_DEVICE_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_OPEN_RAW_DEVICE {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_OPEN_RAW_DEVICE_PARAMETERS Parameters;
|
||||
} USBUSER_OPEN_RAW_DEVICE, *PUSBUSER_OPEN_RAW_DEVICE;
|
||||
|
||||
typedef struct _USB_CLOSE_RAW_DEVICE_PARAMETERS {
|
||||
ULONG xxx;
|
||||
} USB_CLOSE_RAW_DEVICE_PARAMETERS, *PUSB_CLOSE_RAW_DEVICE_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_CLOSE_RAW_DEVICE {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_CLOSE_RAW_DEVICE_PARAMETERS Parameters;
|
||||
} USBUSER_CLOSE_RAW_DEVICE, *PUSBUSER_CLOSE_RAW_DEVICE;
|
||||
|
||||
typedef struct _USB_SEND_RAW_COMMAND_PARAMETERS {
|
||||
UCHAR Usb_bmRequest;
|
||||
UCHAR Usb_bRequest;
|
||||
USHORT Usb_wVlaue;
|
||||
USHORT Usb_wIndex;
|
||||
USHORT Usb_wLength;
|
||||
USHORT DeviceAddress;
|
||||
USHORT MaximumPacketSize;
|
||||
ULONG Timeout;
|
||||
ULONG DataLength;
|
||||
USBD_STATUS UsbdStatusCode;
|
||||
UCHAR Data[4];
|
||||
} USB_SEND_RAW_COMMAND_PARAMETERS, *PUSB_SEND_RAW_COMMAND_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_SEND_RAW_COMMAND {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_SEND_RAW_COMMAND_PARAMETERS Parameters;
|
||||
} USBUSER_SEND_RAW_COMMAND, *PUSBUSER_SEND_RAW_COMMAND;
|
||||
|
||||
typedef struct _USB_BANDWIDTH_INFO {
|
||||
ULONG DeviceCount;
|
||||
ULONG TotalBusBandwidth;
|
||||
ULONG Total32secBandwidth;
|
||||
ULONG AllocedBulkAndControl;
|
||||
ULONG AllocedIso;
|
||||
ULONG AllocedInterrupt_1ms;
|
||||
ULONG AllocedInterrupt_2ms;
|
||||
ULONG AllocedInterrupt_4ms;
|
||||
ULONG AllocedInterrupt_8ms;
|
||||
ULONG AllocedInterrupt_16ms;
|
||||
ULONG AllocedInterrupt_32ms;
|
||||
} USB_BANDWIDTH_INFO, *PUSB_BANDWIDTH_INFO;
|
||||
|
||||
typedef struct _USBUSER_BANDWIDTH_INFO_REQUEST {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_BANDWIDTH_INFO BandwidthInformation;
|
||||
} USBUSER_BANDWIDTH_INFO_REQUEST, *PUSBUSER_BANDWIDTH_INFO_REQUEST;
|
||||
|
||||
typedef struct _USB_BUS_STATISTICS_0 {
|
||||
ULONG DeviceCount;
|
||||
LARGE_INTEGER CurrentSystemTime;
|
||||
ULONG CurrentUsbFrame;
|
||||
ULONG BulkBytes;
|
||||
ULONG IsoBytes;
|
||||
ULONG InterruptBytes;
|
||||
ULONG ControlDataBytes;
|
||||
ULONG PciInterruptCount;
|
||||
ULONG HardResetCount;
|
||||
ULONG WorkerSignalCount;
|
||||
ULONG CommonBufferBytes;
|
||||
ULONG WorkerIdleTimeMs;
|
||||
BOOLEAN RootHubEnabled;
|
||||
UCHAR RootHubDevicePowerState;
|
||||
UCHAR Unused;
|
||||
UCHAR NameIndex;
|
||||
} USB_BUS_STATISTICS_0, *PUSB_BUS_STATISTICS_0;
|
||||
|
||||
typedef struct _USBUSER_BUS_STATISTICS_0_REQUEST {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_BUS_STATISTICS_0 BusStatistics0;
|
||||
} USBUSER_BUS_STATISTICS_0_REQUEST, *PUSBUSER_BUS_STATISTICS_0_REQUEST;
|
||||
|
||||
typedef struct _USB_DRIVER_VERSION_PARAMETERS {
|
||||
ULONG DriverTrackingCode;
|
||||
ULONG USBDI_Version;
|
||||
ULONG USBUSER_Version;
|
||||
BOOLEAN CheckedPortDriver;
|
||||
BOOLEAN CheckedMiniportDriver;
|
||||
USHORT USB_Version;
|
||||
} USB_DRIVER_VERSION_PARAMETERS, *PUSB_DRIVER_VERSION_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_GET_DRIVER_VERSION {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_DRIVER_VERSION_PARAMETERS Parameters;
|
||||
} USBUSER_GET_DRIVER_VERSION, *PUSBUSER_GET_DRIVER_VERSION;
|
||||
|
||||
typedef struct _USB_USB2HW_VERSION_PARAMETERS {
|
||||
UCHAR Usb2HwRevision;
|
||||
} USB_USB2HW_VERSION_PARAMETERS, *PUSB_USB2HW_VERSION_PARAMETERS;
|
||||
|
||||
typedef struct _USBUSER_GET_USB2HW_VERSION {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
USB_USB2HW_VERSION_PARAMETERS Parameters;
|
||||
} USBUSER_GET_USB2HW_VERSION, *PUSBUSER_GET_USB2HW_VERSION;
|
||||
|
||||
typedef struct _USBUSER_REFRESH_HCT_REG {
|
||||
USBUSER_REQUEST_HEADER Header;
|
||||
ULONG Flags;
|
||||
} USBUSER_REFRESH_HCT_REG, *PUSBUSER_REFRESH_HCT_REG;
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,247 @@
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#ifndef _INC_USERENV
|
||||
#define _INC_USERENV
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#include <_mingw_unicode.h>
|
||||
#include <wbemcli.h>
|
||||
|
||||
#if !defined (_USERENV_)
|
||||
#define USERENVAPI DECLSPEC_IMPORT
|
||||
#else
|
||||
#define USERENVAPI
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <profinfo.h>
|
||||
|
||||
#define PI_NOUI 0x00000001
|
||||
#define PI_APPLYPOLICY 0x00000002
|
||||
|
||||
#define PT_TEMPORARY 0x00000001
|
||||
#define PT_ROAMING 0x00000002
|
||||
#define PT_MANDATORY 0x00000004
|
||||
|
||||
#define RP_FORCE 1
|
||||
#define RP_SYNC 2
|
||||
|
||||
#define GPC_BLOCK_POLICY 0x00000001
|
||||
|
||||
#define GPO_FLAG_DISABLE 0x00000001
|
||||
#define GPO_FLAG_FORCE 0x00000002
|
||||
|
||||
#define LoadUserProfile __MINGW_NAME_AW(LoadUserProfile)
|
||||
#define GetProfilesDirectory __MINGW_NAME_AW(GetProfilesDirectory)
|
||||
#define DeleteProfile __MINGW_NAME_AW(DeleteProfile)
|
||||
#define GetDefaultUserProfileDirectory __MINGW_NAME_AW(GetDefaultUserProfileDirectory)
|
||||
#define GetAllUsersProfileDirectory __MINGW_NAME_AW(GetAllUsersProfileDirectory)
|
||||
#define GetUserProfileDirectory __MINGW_NAME_AW(GetUserProfileDirectory)
|
||||
#define ExpandEnvironmentStringsForUser __MINGW_NAME_AW(ExpandEnvironmentStringsForUser)
|
||||
|
||||
USERENVAPI WINBOOL WINAPI LoadUserProfileA (HANDLE hToken, LPPROFILEINFOA lpProfileInfo);
|
||||
USERENVAPI WINBOOL WINAPI LoadUserProfileW (HANDLE hToken, LPPROFILEINFOW lpProfileInfo);
|
||||
USERENVAPI WINBOOL WINAPI UnloadUserProfile (HANDLE hToken, HANDLE hProfile);
|
||||
USERENVAPI WINBOOL WINAPI GetProfilesDirectoryA (LPSTR lpProfileDir, LPDWORD lpcchSize);
|
||||
USERENVAPI WINBOOL WINAPI GetProfilesDirectoryW (LPWSTR lpProfileDir, LPDWORD lpcchSize);
|
||||
USERENVAPI WINBOOL WINAPI GetProfileType (DWORD *dwFlags);
|
||||
USERENVAPI WINBOOL WINAPI DeleteProfileA (LPCSTR lpSidString, LPCSTR lpProfilePath, LPCSTR lpComputerName);
|
||||
USERENVAPI WINBOOL WINAPI DeleteProfileW (LPCWSTR lpSidString, LPCWSTR lpProfilePath, LPCWSTR lpComputerName);
|
||||
USERENVAPI WINBOOL WINAPI GetDefaultUserProfileDirectoryA (LPSTR lpProfileDir, LPDWORD lpcchSize);
|
||||
USERENVAPI WINBOOL WINAPI GetDefaultUserProfileDirectoryW (LPWSTR lpProfileDir, LPDWORD lpcchSize);
|
||||
USERENVAPI WINBOOL WINAPI GetAllUsersProfileDirectoryA (LPSTR lpProfileDir, LPDWORD lpcchSize);
|
||||
USERENVAPI WINBOOL WINAPI GetAllUsersProfileDirectoryW (LPWSTR lpProfileDir, LPDWORD lpcchSize);
|
||||
USERENVAPI WINBOOL WINAPI GetUserProfileDirectoryA (HANDLE hToken, LPSTR lpProfileDir, LPDWORD lpcchSize);
|
||||
USERENVAPI WINBOOL WINAPI GetUserProfileDirectoryW (HANDLE hToken, LPWSTR lpProfileDir, LPDWORD lpcchSize);
|
||||
WINBOOL WINAPI CreateEnvironmentBlock (LPVOID *lpEnvironment, HANDLE hToken, WINBOOL bInherit);
|
||||
WINBOOL WINAPI DestroyEnvironmentBlock (LPVOID lpEnvironment);
|
||||
USERENVAPI WINBOOL WINAPI ExpandEnvironmentStringsForUserA (HANDLE hToken, LPCSTR lpSrc, LPSTR lpDest, DWORD dwSize);
|
||||
USERENVAPI WINBOOL WINAPI ExpandEnvironmentStringsForUserW (HANDLE hToken, LPCWSTR lpSrc, LPWSTR lpDest, DWORD dwSize);
|
||||
USERENVAPI WINBOOL WINAPI RefreshPolicy (WINBOOL bMachine);
|
||||
USERENVAPI WINBOOL WINAPI RefreshPolicyEx (WINBOOL bMachine, DWORD dwOptions);
|
||||
USERENVAPI HANDLE WINAPI EnterCriticalPolicySection (WINBOOL bMachine);
|
||||
USERENVAPI WINBOOL WINAPI LeaveCriticalPolicySection (HANDLE hSection);
|
||||
USERENVAPI WINBOOL WINAPI RegisterGPNotification (HANDLE hEvent, WINBOOL bMachine);
|
||||
USERENVAPI WINBOOL WINAPI UnregisterGPNotification (HANDLE hEvent);
|
||||
#if WINVER >= 0x0600
|
||||
USERENVAPI HRESULT WINAPI CreateProfile (LPCWSTR pszUserSid, LPCWSTR pszUserName, LPWSTR pszProfilePath, DWORD cchProfilePath);
|
||||
#endif
|
||||
|
||||
typedef enum _GPO_LINK {
|
||||
GPLinkUnknown = 0,
|
||||
GPLinkMachine,
|
||||
GPLinkSite,
|
||||
GPLinkDomain,
|
||||
GPLinkOrganizationalUnit
|
||||
} GPO_LINK, *PGPO_LINK;
|
||||
|
||||
typedef struct _GROUP_POLICY_OBJECTA {
|
||||
DWORD dwOptions;
|
||||
DWORD dwVersion;
|
||||
LPSTR lpDSPath;
|
||||
LPSTR lpFileSysPath;
|
||||
LPSTR lpDisplayName;
|
||||
CHAR szGPOName[50];
|
||||
GPO_LINK GPOLink;
|
||||
LPARAM lParam;
|
||||
struct _GROUP_POLICY_OBJECTA *pNext;
|
||||
struct _GROUP_POLICY_OBJECTA *pPrev;
|
||||
LPSTR lpExtensions;
|
||||
LPARAM lParam2;
|
||||
LPSTR lpLink;
|
||||
} GROUP_POLICY_OBJECTA, *PGROUP_POLICY_OBJECTA;
|
||||
|
||||
typedef struct _GROUP_POLICY_OBJECTW {
|
||||
DWORD dwOptions;
|
||||
DWORD dwVersion;
|
||||
LPWSTR lpDSPath;
|
||||
LPWSTR lpFileSysPath;
|
||||
LPWSTR lpDisplayName;
|
||||
WCHAR szGPOName[50];
|
||||
GPO_LINK GPOLink;
|
||||
LPARAM lParam;
|
||||
struct _GROUP_POLICY_OBJECTW *pNext;
|
||||
struct _GROUP_POLICY_OBJECTW *pPrev;
|
||||
LPWSTR lpExtensions;
|
||||
LPARAM lParam2;
|
||||
LPWSTR lpLink;
|
||||
} GROUP_POLICY_OBJECTW,*PGROUP_POLICY_OBJECTW;
|
||||
|
||||
__MINGW_TYPEDEF_AW(GROUP_POLICY_OBJECT)
|
||||
__MINGW_TYPEDEF_AW(PGROUP_POLICY_OBJECT)
|
||||
|
||||
#define GPO_LIST_FLAG_MACHINE 0x00000001
|
||||
#define GPO_LIST_FLAG_SITEONLY 0x00000002
|
||||
#define GPO_LIST_FLAG_NO_WMIFILTERS 0x00000004
|
||||
#define GPO_LIST_FLAG_NO_SECURITYFILTERS 0x00000008
|
||||
|
||||
#define GetGPOList __MINGW_NAME_AW(GetGPOList)
|
||||
#define FreeGPOList __MINGW_NAME_AW(FreeGPOList)
|
||||
#define GetAppliedGPOList __MINGW_NAME_AW(GetAppliedGPOList)
|
||||
|
||||
USERENVAPI WINBOOL WINAPI GetGPOListA (HANDLE hToken, LPCSTR lpName, LPCSTR lpHostName, LPCSTR lpComputerName, DWORD dwFlags, PGROUP_POLICY_OBJECTA *pGPOList);
|
||||
USERENVAPI WINBOOL WINAPI GetGPOListW (HANDLE hToken, LPCWSTR lpName, LPCWSTR lpHostName, LPCWSTR lpComputerName, DWORD dwFlags, PGROUP_POLICY_OBJECTW *pGPOList);
|
||||
USERENVAPI WINBOOL WINAPI FreeGPOListA (PGROUP_POLICY_OBJECTA pGPOList);
|
||||
USERENVAPI WINBOOL WINAPI FreeGPOListW (PGROUP_POLICY_OBJECTW pGPOList);
|
||||
USERENVAPI DWORD WINAPI GetAppliedGPOListA (DWORD dwFlags, LPCSTR pMachineName, PSID pSidUser, GUID *pGuidExtension, PGROUP_POLICY_OBJECTA *ppGPOList);
|
||||
USERENVAPI DWORD WINAPI GetAppliedGPOListW (DWORD dwFlags, LPCWSTR pMachineName, PSID pSidUser, GUID *pGuidExtension, PGROUP_POLICY_OBJECTW *ppGPOList);
|
||||
|
||||
#define GP_DLLNAME TEXT ("DllName")
|
||||
#define GP_ENABLEASYNCHRONOUSPROCESSING TEXT ("EnableAsynchronousProcessing")
|
||||
#define GP_MAXNOGPOLISTCHANGESINTERVAL TEXT ("MaxNoGPOListChangesInterval")
|
||||
#define GP_NOBACKGROUNDPOLICY TEXT ("NoBackgroundPolicy")
|
||||
#define GP_NOGPOLISTCHANGES TEXT ("NoGPOListChanges")
|
||||
#define GP_NOMACHINEPOLICY TEXT ("NoMachinePolicy")
|
||||
#define GP_NOSLOWLINK TEXT ("NoSlowLink")
|
||||
#define GP_NOTIFYLINKTRANSITION TEXT ("NotifyLinkTransition")
|
||||
#define GP_NOUSERPOLICY TEXT ("NoUserPolicy")
|
||||
#define GP_PERUSERLOCALSETTINGS TEXT ("PerUserLocalSettings")
|
||||
#define GP_PROCESSGROUPPOLICY TEXT ("ProcessGroupPolicy")
|
||||
#define GP_REQUIRESSUCCESSFULREGISTRY TEXT ("RequiresSuccessfulRegistry")
|
||||
|
||||
#define GPO_INFO_FLAG_MACHINE 0x00000001
|
||||
#define GPO_INFO_FLAG_BACKGROUND 0x00000010
|
||||
#define GPO_INFO_FLAG_SLOWLINK 0x00000020
|
||||
#define GPO_INFO_FLAG_VERBOSE 0x00000040
|
||||
#define GPO_INFO_FLAG_NOCHANGES 0x00000080
|
||||
#define GPO_INFO_FLAG_LINKTRANSITION 0x00000100
|
||||
#define GPO_INFO_FLAG_LOGRSOP_TRANSITION 0x00000200
|
||||
#define GPO_INFO_FLAG_FORCED_REFRESH 0x00000400
|
||||
#define GPO_INFO_FLAG_SAFEMODE_BOOT 0x00000800
|
||||
#define GPO_INFO_FLAG_ASYNC_FOREGROUND 0x00001000
|
||||
|
||||
typedef UINT_PTR ASYNCCOMPLETIONHANDLE;
|
||||
typedef DWORD (*PFNSTATUSMESSAGECALLBACK) (WINBOOL bVerbose, LPWSTR lpMessage);
|
||||
typedef DWORD (*PFNPROCESSGROUPPOLICY) (DWORD dwFlags, HANDLE hToken, HKEY hKeyRoot, PGROUP_POLICY_OBJECT pDeletedGPOList, PGROUP_POLICY_OBJECT pChangedGPOList, ASYNCCOMPLETIONHANDLE pHandle, WINBOOL *pbAbort, PFNSTATUSMESSAGECALLBACK pStatusCallback);
|
||||
typedef DWORD (*PFNPROCESSGROUPPOLICYEX) (DWORD dwFlags, HANDLE hToken, HKEY hKeyRoot, PGROUP_POLICY_OBJECT pDeletedGPOList, PGROUP_POLICY_OBJECT pChangedGPOList, ASYNCCOMPLETIONHANDLE pHandle, WINBOOL *pbAbort, PFNSTATUSMESSAGECALLBACK pStatusCallback, IWbemServices *pWbemServices, HRESULT *pRsopStatus);
|
||||
typedef PVOID PRSOPTOKEN;
|
||||
|
||||
typedef struct _RSOP_TARGET {
|
||||
WCHAR *pwszAccountName;
|
||||
WCHAR *pwszNewSOM;
|
||||
SAFEARRAY *psaSecurityGroups;
|
||||
PRSOPTOKEN pRsopToken;
|
||||
PGROUP_POLICY_OBJECT pGPOList;
|
||||
IWbemServices *pWbemServices;
|
||||
} RSOP_TARGET, *PRSOP_TARGET;
|
||||
|
||||
typedef DWORD (*PFNGENERATEGROUPPOLICY) (DWORD dwFlags, WINBOOL *pbAbort, WCHAR *pwszSite, PRSOP_TARGET pComputerTarget, PRSOP_TARGET pUserTarget);
|
||||
|
||||
#define REGISTRY_EXTENSION_GUID { 0x35378eac, 0x683f, 0x11d2, 0xa8, 0x9a, 0x00, 0xc0, 0x4f, 0xbb, 0xcf, 0xa2 }
|
||||
|
||||
#define GROUP_POLICY_TRIGGER_EVENT_PROVIDER_GUID { 0xbd2f4252, 0x5e1e, 0x49fc, 0x9a, 0x30, 0xf3, 0x97, 0x8a, 0xd8, 0x9e, 0xe2 }
|
||||
#define MACHINE_POLICY_PRESENT_TRIGGER_GUID { 0x659fcae6, 0x5bdb, 0x4da9, 0xb1, 0xff, 0xca, 0x2a, 0x17, 0x8d, 0x46, 0xe0 }
|
||||
#define USER_POLICY_PRESENT_TRIGGER_GUID { 0x54fb46c8, 0xf089, 0x464c, 0xb1, 0xfd, 0x59, 0xd1, 0xb6, 0x2c, 0x3b, 0x50 }
|
||||
|
||||
typedef GUID *REFGPEXTENSIONID;
|
||||
|
||||
USERENVAPI DWORD WINAPI ProcessGroupPolicyCompleted (REFGPEXTENSIONID extensionId, ASYNCCOMPLETIONHANDLE pAsyncHandle, DWORD dwStatus);
|
||||
USERENVAPI DWORD WINAPI ProcessGroupPolicyCompletedEx (REFGPEXTENSIONID extensionId, ASYNCCOMPLETIONHANDLE pAsyncHandle, DWORD dwStatus, HRESULT RsopStatus);
|
||||
USERENVAPI HRESULT WINAPI RsopAccessCheckByType (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID pPrincipalSelfSid, PRSOPTOKEN pRsopToken, DWORD dwDesiredAccessMask, POBJECT_TYPE_LIST pObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING pGenericMapping, PPRIVILEGE_SET pPrivilegeSet, LPDWORD pdwPrivilegeSetLength, LPDWORD pdwGrantedAccessMask, LPBOOL pbAccessStatus);
|
||||
USERENVAPI HRESULT WINAPI RsopFileAccessCheck (LPWSTR pszFileName, PRSOPTOKEN pRsopToken, DWORD dwDesiredAccessMask, LPDWORD pdwGrantedAccessMask, LPBOOL pbAccessStatus);
|
||||
|
||||
typedef enum _SETTINGSTATUS {
|
||||
RSOPUnspecified = 0,
|
||||
RSOPApplied,
|
||||
RSOPIgnored,
|
||||
RSOPFailed,
|
||||
RSOPSubsettingFailed
|
||||
} SETTINGSTATUS;
|
||||
|
||||
typedef struct _POLICYSETTINGSTATUSINFO {
|
||||
LPWSTR szKey;
|
||||
LPWSTR szEventSource;
|
||||
LPWSTR szEventLogName;
|
||||
DWORD dwEventID;
|
||||
DWORD dwErrorCode;
|
||||
SETTINGSTATUS status;
|
||||
SYSTEMTIME timeLogged;
|
||||
} POLICYSETTINGSTATUSINFO,*LPPOLICYSETTINGSTATUSINFO;
|
||||
|
||||
USERENVAPI HRESULT WINAPI RsopSetPolicySettingStatus (DWORD dwFlags, IWbemServices *pServices, IWbemClassObject *pSettingInstance, DWORD nInfo, POLICYSETTINGSTATUSINFO *pStatus);
|
||||
USERENVAPI HRESULT WINAPI RsopResetPolicySettingStatus (DWORD dwFlags, IWbemServices *pServices, IWbemClassObject *pSettingInstance);
|
||||
|
||||
#define FLAG_NO_GPO_FILTER 0x80000000
|
||||
#define FLAG_NO_CSE_INVOKE 0x40000000
|
||||
#define FLAG_ASSUME_SLOW_LINK 0x20000000
|
||||
#define FLAG_LOOPBACK_MERGE 0x10000000
|
||||
#define FLAG_LOOPBACK_REPLACE 0x08000000
|
||||
#define FLAG_ASSUME_USER_WQLFILTER_TRUE 0x04000000
|
||||
#define FLAG_ASSUME_COMP_WQLFILTER_TRUE 0x02000000
|
||||
#define FLAG_PLANNING_MODE 0x01000000
|
||||
|
||||
#define FLAG_NO_USER 0x00000001
|
||||
#define FLAG_NO_COMPUTER 0x00000002
|
||||
#define FLAG_FORCE_CREATENAMESPACE 0x00000004
|
||||
|
||||
#define RSOP_USER_ACCESS_DENIED 0x00000001
|
||||
#define RSOP_COMPUTER_ACCESS_DENIED 0x00000002
|
||||
#define RSOP_TEMPNAMESPACE_EXISTS 0x00000004
|
||||
|
||||
#if WINVER >= 0x0600
|
||||
USERENVAPI DWORD WINAPI GenerateGPNotification (WINBOOL bMachine, LPCWSTR lpwszMgmtProduct, DWORD dwMgmtProductOptions);
|
||||
#endif
|
||||
#if WINVER >= 0x0602
|
||||
USERENVAPI HRESULT WINAPI CreateAppContainerProfile (PCWSTR pszAppContainerName, PCWSTR pszDisplayName, PCWSTR pszDescription, PSID_AND_ATTRIBUTES pCapabilities, DWORD dwCapabilityCount, PSID *ppSidAppContainerSid);
|
||||
USERENVAPI HRESULT WINAPI DeleteAppContainerProfile (PCWSTR pszAppContainerName);
|
||||
USERENVAPI HRESULT WINAPI GetAppContainerRegistryLocation (REGSAM desiredAccess, PHKEY phAppContainerKey);
|
||||
USERENVAPI HRESULT WINAPI GetAppContainerFolderPath (PCWSTR pszAppContainerSid, PWSTR *ppszPath);
|
||||
USERENVAPI HRESULT WINAPI DeriveAppContainerSidFromAppContainerName (PCWSTR pszAppContainerName, PSID *ppsidAppContainerSid);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,272 @@
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#ifndef __usp10__
|
||||
#define __usp10__
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define USPBUILD 0400
|
||||
#define SCRIPT_UNDEFINED 0
|
||||
|
||||
#if !defined (UNISCRIBE_OPENTYPE) && (_WIN32_WINNT >= 0x0600)
|
||||
#define UNISCRIBE_OPENTYPE 0x0100
|
||||
#endif
|
||||
|
||||
#if UNISCRIBE_OPENTYPE >= 0x0100
|
||||
#define SCRIPT_TAG_UNKNOWN 0x00000000
|
||||
#endif
|
||||
|
||||
#define USP_E_SCRIPT_NOT_IN_FONT MAKE_HRESULT (SEVERITY_ERROR, FACILITY_ITF, 0x200)
|
||||
|
||||
#define SGCM_RTL 0x00000001
|
||||
|
||||
#define SSA_PASSWORD 0x00000001
|
||||
#define SSA_TAB 0x00000002
|
||||
#define SSA_CLIP 0x00000004
|
||||
#define SSA_FIT 0x00000008
|
||||
#define SSA_DZWG 0x00000010
|
||||
#define SSA_FALLBACK 0x00000020
|
||||
#define SSA_BREAK 0x00000040
|
||||
#define SSA_GLYPHS 0x00000080
|
||||
#define SSA_RTL 0x00000100
|
||||
#define SSA_GCP 0x00000200
|
||||
#define SSA_HOTKEY 0x00000400
|
||||
#define SSA_METAFILE 0x00000800
|
||||
#define SSA_LINK 0x00001000
|
||||
#define SSA_HIDEHOTKEY 0x00002000
|
||||
#define SSA_HOTKEYONLY 0x00002400
|
||||
#define SSA_FULLMEASURE 0x04000000
|
||||
#define SSA_LPKANSIFALLBACK 0x08000000
|
||||
#define SSA_PIDX 0x10000000
|
||||
#define SSA_LAYOUTRTL 0x20000000
|
||||
#define SSA_DONTGLYPH 0x40000000
|
||||
#define SSA_NOKASHIDA 0x80000000
|
||||
|
||||
#define SIC_COMPLEX 1
|
||||
#define SIC_ASCIIDIGIT 2
|
||||
#define SIC_NEUTRAL 4
|
||||
|
||||
#define SCRIPT_DIGITSUBSTITUTE_CONTEXT 0
|
||||
#define SCRIPT_DIGITSUBSTITUTE_NONE 1
|
||||
#define SCRIPT_DIGITSUBSTITUTE_NATIONAL 2
|
||||
#define SCRIPT_DIGITSUBSTITUTE_TRADITIONAL 3
|
||||
|
||||
typedef void *SCRIPT_CACHE;
|
||||
typedef void *SCRIPT_STRING_ANALYSIS;
|
||||
#if UNISCRIBE_OPENTYPE >= 0x0100
|
||||
typedef ULONG OPENTYPE_TAG;
|
||||
#endif
|
||||
|
||||
typedef struct tag_SCRIPT_CONTROL {
|
||||
DWORD uDefaultLanguage :16;
|
||||
DWORD fContextDigits :1;
|
||||
DWORD fInvertPreBoundDir :1;
|
||||
DWORD fInvertPostBoundDir :1;
|
||||
DWORD fLinkStringBefore :1;
|
||||
DWORD fLinkStringAfter :1;
|
||||
DWORD fNeutralOverride :1;
|
||||
DWORD fNumericOverride :1;
|
||||
DWORD fLegacyBidiClass :1;
|
||||
DWORD fMergeNeutralItems :1;
|
||||
DWORD fUseStandardBidi :1;
|
||||
DWORD fReserved :6;
|
||||
} SCRIPT_CONTROL;
|
||||
|
||||
typedef struct tag_SCRIPT_STATE {
|
||||
WORD uBidiLevel :5;
|
||||
WORD fOverrideDirection :1;
|
||||
WORD fInhibitSymSwap :1;
|
||||
WORD fCharShape :1;
|
||||
WORD fDigitSubstitute :1;
|
||||
WORD fInhibitLigate :1;
|
||||
WORD fDisplayZWG :1;
|
||||
WORD fArabicNumContext :1;
|
||||
WORD fGcpClusters :1;
|
||||
WORD fReserved :1;
|
||||
WORD fEngineReserved :2;
|
||||
} SCRIPT_STATE;
|
||||
|
||||
typedef struct tag_SCRIPT_ANALYSIS {
|
||||
WORD eScript :10;
|
||||
WORD fRTL :1;
|
||||
WORD fLayoutRTL :1;
|
||||
WORD fLinkBefore :1;
|
||||
WORD fLinkAfter :1;
|
||||
WORD fLogicalOrder :1;
|
||||
WORD fNoGlyphIndex :1;
|
||||
SCRIPT_STATE s;
|
||||
} SCRIPT_ANALYSIS;
|
||||
|
||||
typedef struct tag_SCRIPT_ITEM {
|
||||
int iCharPos;
|
||||
SCRIPT_ANALYSIS a;
|
||||
} SCRIPT_ITEM;
|
||||
|
||||
typedef enum tag_SCRIPT_JUSTIFY {
|
||||
SCRIPT_JUSTIFY_NONE = 0,
|
||||
SCRIPT_JUSTIFY_ARABIC_BLANK = 1,
|
||||
SCRIPT_JUSTIFY_CHARACTER = 2,
|
||||
SCRIPT_JUSTIFY_RESERVED1 = 3,
|
||||
SCRIPT_JUSTIFY_BLANK = 4,
|
||||
SCRIPT_JUSTIFY_RESERVED2 = 5,
|
||||
SCRIPT_JUSTIFY_RESERVED3 = 6,
|
||||
SCRIPT_JUSTIFY_ARABIC_NORMAL = 7,
|
||||
SCRIPT_JUSTIFY_ARABIC_KASHIDA = 8,
|
||||
SCRIPT_JUSTIFY_ARABIC_ALEF = 9,
|
||||
SCRIPT_JUSTIFY_ARABIC_HA = 10,
|
||||
SCRIPT_JUSTIFY_ARABIC_RA = 11,
|
||||
SCRIPT_JUSTIFY_ARABIC_BA = 12,
|
||||
SCRIPT_JUSTIFY_ARABIC_BARA = 13,
|
||||
SCRIPT_JUSTIFY_ARABIC_SEEN = 14,
|
||||
SCRIPT_JUSTIFY_ARABIC_SEEN_M = 15,
|
||||
} SCRIPT_JUSTIFY;
|
||||
|
||||
typedef struct tag_SCRIPT_VISATTR {
|
||||
WORD uJustification :4;
|
||||
WORD fClusterStart :1;
|
||||
WORD fDiacritic :1;
|
||||
WORD fZeroWidth :1;
|
||||
WORD fReserved :1;
|
||||
WORD fShapeReserved :8;
|
||||
} SCRIPT_VISATTR;
|
||||
|
||||
#ifndef LSDEFS_DEFINED
|
||||
typedef struct tagGOFFSET {
|
||||
LONG du;
|
||||
LONG dv;
|
||||
} GOFFSET;
|
||||
#endif
|
||||
|
||||
typedef struct tag_SCRIPT_LOGATTR {
|
||||
BYTE fSoftBreak :1;
|
||||
BYTE fWhiteSpace :1;
|
||||
BYTE fCharStop :1;
|
||||
BYTE fWordStop :1;
|
||||
BYTE fInvalid :1;
|
||||
BYTE fReserved :3;
|
||||
} SCRIPT_LOGATTR;
|
||||
|
||||
typedef struct {
|
||||
DWORD langid :16;
|
||||
DWORD fNumeric :1;
|
||||
DWORD fComplex :1;
|
||||
DWORD fNeedsWordBreaking :1;
|
||||
DWORD fNeedsCaretInfo :1;
|
||||
DWORD bCharSet :8;
|
||||
DWORD fControl :1;
|
||||
DWORD fPrivateUseArea :1;
|
||||
DWORD fNeedsCharacterJustify :1;
|
||||
DWORD fInvalidGlyph :1;
|
||||
DWORD fInvalidLogAttr :1;
|
||||
DWORD fCDM :1;
|
||||
DWORD fAmbiguousCharSet :1;
|
||||
DWORD fClusterSizeVaries :1;
|
||||
DWORD fRejectInvalid :1;
|
||||
} SCRIPT_PROPERTIES;
|
||||
|
||||
typedef struct {
|
||||
int cBytes;
|
||||
WORD wgBlank;
|
||||
WORD wgDefault;
|
||||
WORD wgInvalid;
|
||||
WORD wgKashida;
|
||||
int iKashidaWidth;
|
||||
} SCRIPT_FONTPROPERTIES;
|
||||
|
||||
typedef struct tag_SCRIPT_TABDEF {
|
||||
int cTabStops;
|
||||
int iScale;
|
||||
int *pTabStops;
|
||||
int iTabOrigin;
|
||||
} SCRIPT_TABDEF;
|
||||
|
||||
typedef struct tag_SCRIPT_DIGITSUBSTITUTE {
|
||||
DWORD NationalDigitLanguage :16;
|
||||
DWORD TraditionalDigitLanguage :16;
|
||||
DWORD DigitSubstitute :8;
|
||||
DWORD dwReserved;
|
||||
} SCRIPT_DIGITSUBSTITUTE;
|
||||
|
||||
#if UNISCRIBE_OPENTYPE >= 0x0100
|
||||
typedef struct opentype_feature_record {
|
||||
OPENTYPE_TAG tagFeature;
|
||||
LONG lParameter;
|
||||
} OPENTYPE_FEATURE_RECORD;
|
||||
|
||||
typedef struct textrange_properties {
|
||||
OPENTYPE_FEATURE_RECORD *potfRecords;
|
||||
int cotfRecords;
|
||||
} TEXTRANGE_PROPERTIES;
|
||||
|
||||
typedef struct script_charprop {
|
||||
WORD fCanGlyphAlone : 1;
|
||||
WORD reserved : 15;
|
||||
} SCRIPT_CHARPROP;
|
||||
|
||||
typedef struct script_glyphprop {
|
||||
SCRIPT_VISATTR sva;
|
||||
WORD reserved;
|
||||
} SCRIPT_GLYPHPROP;
|
||||
#endif
|
||||
|
||||
HRESULT WINAPI ScriptFreeCache (SCRIPT_CACHE *psc);
|
||||
HRESULT WINAPI ScriptItemize (const WCHAR *pwcInChars, int cInChars, int cMaxItems, const SCRIPT_CONTROL *psControl, const SCRIPT_STATE *psState, SCRIPT_ITEM *pItems, int *pcItems);
|
||||
HRESULT WINAPI ScriptLayout (int cRuns, const BYTE *pbLevel, int *piVisualToLogical, int *piLogicalToVisual);
|
||||
HRESULT WINAPI ScriptShape (HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcChars, int cChars, int cMaxGlyphs, SCRIPT_ANALYSIS *psa, WORD *pwOutGlyphs, WORD *pwLogClust, SCRIPT_VISATTR *psva, int *pcGlyphs);
|
||||
HRESULT WINAPI ScriptPlace (HDC hdc, SCRIPT_CACHE *psc, const WORD *pwGlyphs, int cGlyphs, const SCRIPT_VISATTR *psva, SCRIPT_ANALYSIS *psa, int *piAdvance, GOFFSET *pGoffset, ABC *pABC);
|
||||
HRESULT WINAPI ScriptTextOut (const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UINT fuOptions, const RECT *lprc, const SCRIPT_ANALYSIS *psa, const WCHAR *pwcReserved, int iReserved, const WORD *pwGlyphs, int cGlyphs, const int *piAdvance, const int *piJustify, const GOFFSET *pGoffset);
|
||||
HRESULT WINAPI ScriptJustify (const SCRIPT_VISATTR *psva, const int *piAdvance, int cGlyphs, int iDx, int iMinKashida, int *piJustify);
|
||||
HRESULT WINAPI ScriptBreak (const WCHAR *pwcChars, int cChars, const SCRIPT_ANALYSIS *psa, SCRIPT_LOGATTR *psla);
|
||||
HRESULT WINAPI ScriptCPtoX (int iCP, WINBOOL fTrailing, int cChars, int cGlyphs, const WORD *pwLogClust, const SCRIPT_VISATTR *psva, const int *piAdvance, const SCRIPT_ANALYSIS *psa, int *piX);
|
||||
HRESULT WINAPI ScriptXtoCP (int iX, int cChars, int cGlyphs, const WORD *pwLogClust, const SCRIPT_VISATTR *psva, const int *piAdvance, const SCRIPT_ANALYSIS *psa, int *piCP, int *piTrailing);
|
||||
HRESULT WINAPI ScriptGetLogicalWidths (const SCRIPT_ANALYSIS *psa, int cChars, int cGlyphs, const int *piGlyphWidth, const WORD *pwLogClust, const SCRIPT_VISATTR *psva, int *piDx);
|
||||
HRESULT WINAPI ScriptApplyLogicalWidth (const int *piDx, int cChars, int cGlyphs, const WORD *pwLogClust, const SCRIPT_VISATTR *psva, const int *piAdvance, const SCRIPT_ANALYSIS *psa, ABC *pABC, int *piJustify);
|
||||
HRESULT WINAPI ScriptGetCMap (HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcInChars, int cChars, DWORD dwFlags, WORD *pwOutGlyphs);
|
||||
HRESULT WINAPI ScriptGetGlyphABCWidth (HDC hdc, SCRIPT_CACHE *psc, WORD wGlyph, ABC *pABC);
|
||||
HRESULT WINAPI ScriptGetProperties (const SCRIPT_PROPERTIES ***ppSp, int *piNumScripts);
|
||||
HRESULT WINAPI ScriptGetFontProperties (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPROPERTIES *sfp);
|
||||
HRESULT WINAPI ScriptCacheGetHeight (HDC hdc, SCRIPT_CACHE *psc, long *tmHeight);
|
||||
HRESULT WINAPI ScriptStringAnalyse (HDC hdc, const void *pString, int cString, int cGlyphs, int iCharset, DWORD dwFlags, int iReqWidth, SCRIPT_CONTROL *psControl, SCRIPT_STATE *psState, const int *piDx, SCRIPT_TABDEF *pTabdef, const BYTE *pbInClass, SCRIPT_STRING_ANALYSIS *pssa);
|
||||
HRESULT WINAPI ScriptStringFree (SCRIPT_STRING_ANALYSIS *pssa);
|
||||
const SIZE *WINAPI ScriptString_pSize (SCRIPT_STRING_ANALYSIS ssa);
|
||||
const int *WINAPI ScriptString_pcOutChars (SCRIPT_STRING_ANALYSIS ssa);
|
||||
const SCRIPT_LOGATTR *WINAPI ScriptString_pLogAttr (SCRIPT_STRING_ANALYSIS ssa);
|
||||
HRESULT WINAPI ScriptStringGetOrder (SCRIPT_STRING_ANALYSIS ssa, UINT *puOrder);
|
||||
HRESULT WINAPI ScriptStringCPtoX (SCRIPT_STRING_ANALYSIS ssa, int icp, WINBOOL fTrailing, int *pX);
|
||||
HRESULT WINAPI ScriptStringXtoCP (SCRIPT_STRING_ANALYSIS ssa, int iX, int *piCh, int *piTrailing);
|
||||
HRESULT WINAPI ScriptStringGetLogicalWidths (SCRIPT_STRING_ANALYSIS ssa, int *piDx);
|
||||
HRESULT WINAPI ScriptStringValidate (SCRIPT_STRING_ANALYSIS ssa);
|
||||
HRESULT WINAPI ScriptStringOut (SCRIPT_STRING_ANALYSIS ssa, int iX, int iY, UINT uOptions, const RECT *prc, int iMinSel, int iMaxSel, WINBOOL fDisabled);
|
||||
HRESULT WINAPI ScriptIsComplex (const WCHAR *pwcInChars, int cInChars, DWORD dwFlags);
|
||||
HRESULT WINAPI ScriptRecordDigitSubstitution (LCID Locale, SCRIPT_DIGITSUBSTITUTE *psds);
|
||||
HRESULT WINAPI ScriptApplyDigitSubstitution (const SCRIPT_DIGITSUBSTITUTE *psds, SCRIPT_CONTROL *psc, SCRIPT_STATE *pss);
|
||||
#if UNISCRIBE_OPENTYPE >= 0x0100
|
||||
HRESULT WINAPI ScriptShapeOpenType (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS *psa, OPENTYPE_TAG tagScript, OPENTYPE_TAG tagLangSys, int *rcRangeChars, TEXTRANGE_PROPERTIES **rpRangeProperties, int cRanges, const WCHAR *pwcChars, int cChars, int cMaxGlyphs, WORD *pwLogClust, SCRIPT_CHARPROP *pCharProps, WORD *pwOutGlyphs, SCRIPT_GLYPHPROP *pOutGlyphProps, int *pcGlyphs);
|
||||
HRESULT WINAPI ScriptPlaceOpenType (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS *psa, OPENTYPE_TAG tagScript, OPENTYPE_TAG tagLangSys, int *rcRangeChars, TEXTRANGE_PROPERTIES **rpRangeProperties, int cRanges, const WCHAR *pwcChars, WORD *pwLogClust, SCRIPT_CHARPROP *pCharProps, int cChars, const WORD *pwGlyphs, const SCRIPT_GLYPHPROP *pGlyphProps, int cGlyphs, int *piAdvance, GOFFSET *pGoffset, ABC *pABC);
|
||||
HRESULT WINAPI ScriptItemizeOpenType (const WCHAR *pwcInChars, int cInChars, int cMaxItems, const SCRIPT_CONTROL *psControl, const SCRIPT_STATE *psState, SCRIPT_ITEM *pItems, OPENTYPE_TAG *pScriptTags, int *pcItems);
|
||||
HRESULT WINAPI ScriptGetFontScriptTags (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS *psa, int cMaxTags, OPENTYPE_TAG *pScriptTags, int *pcTags);
|
||||
HRESULT WINAPI ScriptGetFontLanguageTags (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS *psa, OPENTYPE_TAG tagScript, int cMaxTags, OPENTYPE_TAG *pLangsysTags, int *pcTags);
|
||||
HRESULT WINAPI ScriptGetFontFeatureTags (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS *psa, OPENTYPE_TAG tagScript, OPENTYPE_TAG tagLangSys, int cMaxTags, OPENTYPE_TAG *pFeatureTags, int *pcTags);
|
||||
HRESULT WINAPI ScriptGetFontAlternateGlyphs (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS *psa, OPENTYPE_TAG tagScript, OPENTYPE_TAG tagLangSys, OPENTYPE_TAG tagFeature, WORD wGlyphId, int cMaxAlternates, WORD *pAlternateGlyphs, int *pcAlternates);
|
||||
HRESULT WINAPI ScriptSubstituteSingleGlyph (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS *psa, OPENTYPE_TAG tagScript, OPENTYPE_TAG tagLangSys, OPENTYPE_TAG tagFeature, LONG lParameter, WORD wGlyphId, WORD *pwOutGlyphId);
|
||||
HRESULT WINAPI ScriptPositionSingleGlyph (HDC hdc, SCRIPT_CACHE *psc, SCRIPT_ANALYSIS *psa, OPENTYPE_TAG tagScript, OPENTYPE_TAG tagLangSys, OPENTYPE_TAG tagFeature, LONG lParameter, WORD wGlyphId, int iAdvance, GOFFSET GOffset, int *piOutAdvance, GOFFSET *pOutGoffset);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -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.
|
||||
*/
|
||||
#ifndef _APISETUTIL_
|
||||
#define _APISETUTIL_
|
||||
|
||||
#include <apiset.h>
|
||||
#include <apisetcconv.h>
|
||||
#include <minwindef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
|
||||
WINBASEAPI PVOID WINAPI EncodePointer (PVOID Ptr);
|
||||
WINBASEAPI PVOID WINAPI DecodePointer (PVOID Ptr);
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
WINBASEAPI PVOID WINAPI EncodeSystemPointer (PVOID Ptr);
|
||||
WINBASEAPI PVOID WINAPI DecodeSystemPointer (PVOID Ptr);
|
||||
#endif
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
|
||||
WINBASEAPI WINBOOL WINAPI Beep (DWORD dwFreq, DWORD dwDuration);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* 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 <sys/utime.h>
|
||||
@@ -0,0 +1,373 @@
|
||||
/**
|
||||
* 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 OUR_GUID_ENTRY
|
||||
#define OUR_GUID_ENTRY(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8);
|
||||
#endif
|
||||
|
||||
#define MEDIATYPE_NULL GUID_NULL
|
||||
#define MEDIASUBTYPE_NULL GUID_NULL
|
||||
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_None,0xe436eb8e,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_Video,0x73646976,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_Audio,0x73647561,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_Text,0x73747874,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_Midi,0x7364696D,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_Stream,0xe436eb83,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_Interleaved,0x73766169,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_File,0x656c6966,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_ScriptCommand,0x73636d64,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_AUXLine21Data,0x670aea80,0x3a82,0x11d0,0xb7,0x9b,0x0,0xaa,0x0,0x37,0x67,0xa7)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_VBI,0xf72a76e1,0xeb0a,0x11d0,0xac,0xe4,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_Timecode,0x482dee3,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_LMRT,0x74726c6d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_URL_STREAM,0x736c7275,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_CLPL,0x4C504C43,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_YUYV,0x56595559,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IYUV,0x56555949,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_YVU9,0x39555659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Y411,0x31313459,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Y41P,0x50313459,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_YUY2,0x32595559,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_YVYU,0x55595659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_UYVY,0x59565955,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Y211,0x31313259,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_CLJR,0x524a4c43,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IF09,0x39304649,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_CPLA,0x414c5043,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MJPG,0x47504A4D,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_TVMJ,0x4A4D5654,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_WAKE,0x454B4157,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_CFCC,0x43434643,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IJPG,0x47504A49,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Plum,0x6D756C50,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_DVCS,0x53435644,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_DVSD,0x44535644,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MDVF,0x4656444D,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB1,0xe436eb78,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB4,0xe436eb79,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB8,0xe436eb7a,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB565,0xe436eb7b,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB555,0xe436eb7c,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB24,0xe436eb7d,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB32,0xe436eb7e,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB1555,0x297c55af,0xe209,0x4cb3,0xb7,0x57,0xc7,0x6d,0x6b,0x9c,0x88,0xa8)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB4444,0x6e6415e6,0x5c24,0x425f,0x93,0xcd,0x80,0x10,0x2b,0x3d,0x1c,0xca)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB32,0x773c9ac0,0x3274,0x11d0,0xb7,0x24,0x0,0xaa,0x0,0x6c,0x1a,0x1)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_A2R10G10B10,0x2f8bb76d,0xb644,0x4550,0xac,0xf3,0xd3,0x0c,0xaa,0x65,0xd5,0xc5)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_A2B10G10R10,0x576f7893,0xbdf6,0x48c4,0x87,0x5f,0xae,0x7b,0x81,0x83,0x45,0x67)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AYUV,0x56555941,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AI44,0x34344941,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IA44,0x34344149,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB32_D3D_DX7_RT,0x32335237,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB16_D3D_DX7_RT,0x36315237,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB32_D3D_DX7_RT,0x38384137,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB4444_D3D_DX7_RT,0x34344137,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB1555_D3D_DX7_RT,0x35314137,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB32_D3D_DX9_RT,0x32335239,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RGB16_D3D_DX9_RT,0x36315239,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB32_D3D_DX9_RT,0x38384139,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB4444_D3D_DX9_RT,0x34344139,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_ARGB1555_D3D_DX9_RT,0x35314139,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
|
||||
#define MEDIASUBTYPE_HASALPHA(mt) (((mt).subtype==MEDIASUBTYPE_ARGB4444) || ((mt).subtype==MEDIASUBTYPE_ARGB32) || ((mt).subtype==MEDIASUBTYPE_AYUV) || ((mt).subtype==MEDIASUBTYPE_AI44) || ((mt).subtype==MEDIASUBTYPE_IA44) || ((mt).subtype==MEDIASUBTYPE_ARGB1555) || ((mt).subtype==MEDIASUBTYPE_ARGB32_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB4444_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB1555_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB32_D3D_DX9_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB4444_D3D_DX9_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB1555_D3D_DX9_RT))
|
||||
#define MEDIASUBTYPE_HASALPHA7(mt) (((mt).subtype==MEDIASUBTYPE_ARGB32_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB4444_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB1555_D3D_DX7_RT))
|
||||
#define MEDIASUBTYPE_D3D_DX7_RT(mt) (((mt).subtype==MEDIASUBTYPE_ARGB32_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB4444_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB1555_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_RGB32_D3D_DX7_RT) || ((mt).subtype==MEDIASUBTYPE_RGB16_D3D_DX7_RT))
|
||||
#define MEDIASUBTYPE_HASALPHA9(mt) (((mt).subtype==MEDIASUBTYPE_ARGB32_D3D_DX9_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB4444_D3D_DX9_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB1555_D3D_DX9_RT))
|
||||
#define MEDIASUBTYPE_D3D_DX9_RT(mt) (((mt).subtype==MEDIASUBTYPE_ARGB32_D3D_DX9_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB4444_D3D_DX9_RT) || ((mt).subtype==MEDIASUBTYPE_ARGB1555_D3D_DX9_RT) || ((mt).subtype==MEDIASUBTYPE_RGB32_D3D_DX9_RT) || ((mt).subtype==MEDIASUBTYPE_RGB16_D3D_DX9_RT))
|
||||
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_YV12,0x32315659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_NV12,0x3231564E,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IMC1,0x31434D49,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IMC2,0x32434D49,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IMC3,0x33434D49,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IMC4,0x34434D49,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_S340,0x30343353,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_S342,0x32343353,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Overlay,0xe436eb7f,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1Packet,0xe436eb80,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1Payload,0xe436eb81,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1AudioPayload,0x00000050,0x0000,0x0010,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_MPEG1SystemStream,0xe436eb82,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1System,0xe436eb84,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1VideoCD,0xe436eb85,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1Video,0xe436eb86,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG1Audio,0xe436eb87,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Avi,0xe436eb88,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Asf,0x3db80f90,0x9412,0x11d1,0xad,0xed,0x0,0x0,0xf8,0x75,0x4b,0x99)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_QTMovie,0xe436eb89,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_QTRpza,0x617a7072,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_QTSmc,0x20636d73,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_QTRle,0x20656c72,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_QTJpeg,0x6765706a,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_PCMAudio_Obsolete,0xe436eb8a,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_PCM,0x00000001,0x0000,0x0010,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_WAVE,0xe436eb8b,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AU,0xe436eb8c,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AIFF,0xe436eb8d,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_dvsd,0x64737664,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_dvhd,0x64687664,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_dvsl,0x6c737664,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_dv25,0x35327664,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_dv50,0x30357664,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_dvh1,0x31687664,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Line21_BytePair,0x6e8d4a22,0x310c,0x11d0,0xb7,0x9a,0x0,0xaa,0x0,0x37,0x67,0xa7)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Line21_GOPPacket,0x6e8d4a23,0x310c,0x11d0,0xb7,0x9a,0x0,0xaa,0x0,0x37,0x67,0xa7)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_Line21_VBIRawData,0x6e8d4a24,0x310c,0x11d0,0xb7,0x9a,0x0,0xaa,0x0,0x37,0x67,0xa7)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_TELETEXT,0xf72a76e3,0xeb0a,0x11d0,0xac,0xe4,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_WSS,0x2791D576,0x8E7A,0x466F,0x9E,0x90,0x5D,0x3F,0x30,0x83,0x73,0x8B)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_VPS,0xa1b3f620,0x9792,0x4d8d,0x81,0xa4,0x86,0xaf,0x25,0x77,0x20,0x90)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_DRM_Audio,0x00000009,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_IEEE_FLOAT,0x00000003,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_DOLBY_AC3_SPDIF,0x00000092,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_RAW_SPORT,0x00000240,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_SPDIF_TAG_241h,0x00000241,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_DssVideo,0xa0af4f81,0xe163,0x11d0,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_DssAudio,0xa0af4f82,0xe163,0x11d0,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_VPVideo,0x5a9b6a40,0x1a22,0x11d1,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_VPVBI,0x5a9b6a41,0x1a22,0x11d1,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(CLSID_CaptureGraphBuilder,0xBF87B6E0,0x8C27,0x11d0,0xB3,0xF0,0x0,0xAA,0x00,0x37,0x61,0xC5)
|
||||
OUR_GUID_ENTRY(CLSID_CaptureGraphBuilder2,0xBF87B6E1,0x8C27,0x11d0,0xB3,0xF0,0x0,0xAA,0x00,0x37,0x61,0xC5)
|
||||
OUR_GUID_ENTRY(CLSID_ProtoFilterGraph,0xe436ebb0,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_SystemClock,0xe436ebb1,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_FilterMapper,0xe436ebb2,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_FilterGraph,0xe436ebb3,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_FilterGraphNoThread,0xe436ebb8,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_MPEG1Doc,0xe4bbd160,0x4269,0x11ce,0x83,0x8d,0x0,0xaa,0x0,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_FileSource,0x701722e0,0x8ae3,0x11ce,0xa8,0x5c,0x00,0xaa,0x00,0x2f,0xea,0xb5)
|
||||
OUR_GUID_ENTRY(CLSID_MPEG1PacketPlayer,0x26c25940,0x4ca9,0x11ce,0xa8,0x28,0x0,0xaa,0x0,0x2f,0xea,0xb5)
|
||||
OUR_GUID_ENTRY(CLSID_MPEG1Splitter,0x336475d0,0x942a,0x11ce,0xa8,0x70,0x00,0xaa,0x00,0x2f,0xea,0xb5)
|
||||
OUR_GUID_ENTRY(CLSID_CMpegVideoCodec,0xfeb50740,0x7bef,0x11ce,0x9b,0xd9,0x0,0x0,0xe2,0x2,0x59,0x9c)
|
||||
OUR_GUID_ENTRY(CLSID_CMpegAudioCodec,0x4a2286e0,0x7bef,0x11ce,0x9b,0xd9,0x0,0x0,0xe2,0x2,0x59,0x9c)
|
||||
OUR_GUID_ENTRY(CLSID_TextRender,0xe30629d3,0x27e5,0x11ce,0x87,0x5d,0x0,0x60,0x8c,0xb7,0x80,0x66)
|
||||
OUR_GUID_ENTRY(CLSID_InfTee,0xf8388a40,0xd5bb,0x11d0,0xbe,0x5a,0x0,0x80,0xc7,0x6,0x56,0x8e)
|
||||
OUR_GUID_ENTRY(CLSID_AviSplitter,0x1b544c20,0xfd0b,0x11ce,0x8c,0x63,0x0,0xaa,0x00,0x44,0xb5,0x1e)
|
||||
OUR_GUID_ENTRY(CLSID_AviReader,0x1b544c21,0xfd0b,0x11ce,0x8c,0x63,0x0,0xaa,0x00,0x44,0xb5,0x1e)
|
||||
OUR_GUID_ENTRY(CLSID_VfwCapture,0x1b544c22,0xfd0b,0x11ce,0x8c,0x63,0x0,0xaa,0x00,0x44,0xb5,0x1e)
|
||||
OUR_GUID_ENTRY(CLSID_CaptureProperties,0x1B544c22,0xFD0B,0x11ce,0x8C,0x63,0x00,0xAA,0x00,0x44,0xB5,0x1F)
|
||||
OUR_GUID_ENTRY(CLSID_FGControl,0xe436ebb4,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_MOVReader,0x44584800,0xf8ee,0x11ce,0xb2,0xd4,0x00,0xdd,0x1,0x10,0x1b,0x85)
|
||||
OUR_GUID_ENTRY(CLSID_QuickTimeParser,0xd51bd5a0,0x7548,0x11cf,0xa5,0x20,0x0,0x80,0xc7,0x7e,0xf5,0x8a)
|
||||
OUR_GUID_ENTRY(CLSID_QTDec,0xfdfe9681,0x74a3,0x11d0,0xaf,0xa7,0x0,0xaa,0x0,0xb6,0x7a,0x42)
|
||||
OUR_GUID_ENTRY(CLSID_AVIDoc,0xd3588ab0,0x0781,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0xb,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_VideoRenderer,0x70e102b0,0x5556,0x11ce,0x97,0xc0,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_Colour,0x1643e180,0x90f5,0x11ce,0x97,0xd5,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_Dither,0x1da08500,0x9edc,0x11cf,0xbc,0x10,0x00,0xaa,0x00,0xac,0x74,0xf6)
|
||||
OUR_GUID_ENTRY(CLSID_ModexRenderer,0x7167665,0x5011,0x11cf,0xbf,0x33,0x0,0xaa,0x0,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_AudioRender,0xe30629d1,0x27e5,0x11ce,0x87,0x5d,0x0,0x60,0x8c,0xb7,0x80,0x66)
|
||||
OUR_GUID_ENTRY(CLSID_AudioProperties,0x05589faf,0xc356,0x11ce,0xbf,0x01,0x0,0xaa,0x0,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_DSoundRender,0x79376820,0x07D0,0x11CF,0xA2,0x4D,0x0,0x20,0xAF,0xD7,0x97,0x67)
|
||||
OUR_GUID_ENTRY(CLSID_AudioRecord,0xe30629d2,0x27e5,0x11ce,0x87,0x5d,0x0,0x60,0x8c,0xb7,0x80,0x66)
|
||||
OUR_GUID_ENTRY(CLSID_AudioInputMixerProperties,0x2ca8ca52,0x3c3f,0x11d2,0xb7,0x3d,0x0,0xc0,0x4f,0xb6,0xbd,0x3d)
|
||||
OUR_GUID_ENTRY(CLSID_AVIDec,0xcf49d4e0,0x1115,0x11ce,0xb0,0x3a,0x0,0x20,0xaf,0xb,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_AVIDraw,0xa888df60,0x1e90,0x11cf,0xac,0x98,0x0,0xaa,0x0,0x4c,0xf,0xa9)
|
||||
OUR_GUID_ENTRY(CLSID_ACMWrapper,0x6a08cf80,0x0e18,0x11cf,0xa2,0x4d,0x0,0x20,0xaf,0xd7,0x97,0x67)
|
||||
OUR_GUID_ENTRY(CLSID_AsyncReader,0xe436ebb5,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_URLReader,0xe436ebb6,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_PersistMonikerPID,0xe436ebb7,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70)
|
||||
OUR_GUID_ENTRY(CLSID_AVICo,0xd76e2820,0x1563,0x11cf,0xac,0x98,0x0,0xaa,0x0,0x4c,0xf,0xa9)
|
||||
OUR_GUID_ENTRY(CLSID_FileWriter,0x8596e5f0,0xda5,0x11d0,0xbd,0x21,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_AviDest,0xe2510970,0xf137,0x11ce,0x8b,0x67,0x0,0xaa,0x0,0xa3,0xf1,0xa6)
|
||||
OUR_GUID_ENTRY(CLSID_AviMuxProptyPage,0xc647b5c0,0x157c,0x11d0,0xbd,0x23,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_AviMuxProptyPage1,0xa9ae910,0x85c0,0x11d0,0xbd,0x42,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_AVIMIDIRender,0x07b65360,0xc445,0x11ce,0xaf,0xde,0x00,0xaa,0x00,0x6c,0x14,0xf4)
|
||||
OUR_GUID_ENTRY(CLSID_WMAsfReader,0x187463a0,0x5bb7,0x11d3,0xac,0xbe,0x0,0x80,0xc7,0x5e,0x24,0x6e)
|
||||
OUR_GUID_ENTRY(CLSID_WMAsfWriter,0x7c23220e,0x55bb,0x11d3,0x8b,0x16,0x0,0xc0,0x4f,0xb6,0xbd,0x3d)
|
||||
OUR_GUID_ENTRY(CLSID_MPEG2Demultiplexer,0xafb6c280,0x2c41,0x11d3,0x8a,0x60,0x00,0x00,0xf8,0x1e,0x0e,0x4a)
|
||||
OUR_GUID_ENTRY(CLSID_MMSPLITTER,0x3ae86b20,0x7be8,0x11d1,0xab,0xe6,0x00,0xa0,0xc9,0x05,0xf3,0x75)
|
||||
OUR_GUID_ENTRY(CLSID_StreamBufferSink,0x2db47ae5,0xcf39,0x43c2,0xb4,0xd6,0xc,0xd8,0xd9,0x9,0x46,0xf4)
|
||||
OUR_GUID_ENTRY(CLSID_StreamBufferSource,0xc9f5fe02,0xf851,0x4eb5,0x99,0xee,0xad,0x60,0x2a,0xf1,0xe6,0x19)
|
||||
OUR_GUID_ENTRY(CLSID_StreamBufferConfig,0xfa8a68b2,0xc864,0x4ba2,0xad,0x53,0xd3,0x87,0x6a,0x87,0x49,0x4b)
|
||||
OUR_GUID_ENTRY(CLSID_Mpeg2VideoStreamAnalyzer,0x6cfad761,0x735d,0x4aa5,0x8a,0xfc,0xaf,0x91,0xa7,0xd6,0x1e,0xba)
|
||||
OUR_GUID_ENTRY(CLSID_StreamBufferRecordingAttributes,0xccaa63ac,0x1057,0x4778,0xae,0x92,0x12,0x6,0xab,0x9a,0xce,0xe6)
|
||||
OUR_GUID_ENTRY(CLSID_StreamBufferComposeRecording,0xd682c4ba,0xa90a,0x42fe,0xb9,0xe1,0x3,0x10,0x98,0x49,0xc4,0x23)
|
||||
OUR_GUID_ENTRY(CLSID_DVVideoCodec,0xb1b77c00,0xc3e4,0x11cf,0xaf,0x79,0x0,0xaa,0x0,0xb6,0x7a,0x42)
|
||||
OUR_GUID_ENTRY(CLSID_DVVideoEnc,0x13aa3650,0xbb6f,0x11d0,0xaf,0xb9,0x0,0xaa,0x0,0xb6,0x7a,0x42)
|
||||
OUR_GUID_ENTRY(CLSID_DVSplitter,0x4eb31670,0x9fc6,0x11cf,0xaf,0x6e,0x0,0xaa,0x0,0xb6,0x7a,0x42)
|
||||
OUR_GUID_ENTRY(CLSID_DVMux,0x129d7e40,0xc10d,0x11d0,0xaf,0xb9,0x0,0xaa,0x0,0xb6,0x7a,0x42)
|
||||
OUR_GUID_ENTRY(CLSID_SeekingPassThru,0x60af76c,0x68dd,0x11d0,0x8f,0xc1,0x0,0xc0,0x4f,0xd9,0x18,0x9d)
|
||||
OUR_GUID_ENTRY(CLSID_Line21Decoder,0x6e8d4a20,0x310c,0x11d0,0xb7,0x9a,0x0,0xaa,0x0,0x37,0x67,0xa7)
|
||||
OUR_GUID_ENTRY(CLSID_Line21Decoder2,0xe4206432,0x01a1,0x4bee,0xb3,0xe1,0x37,0x02,0xc8,0xed,0xc5,0x74)
|
||||
OUR_GUID_ENTRY(CLSID_OverlayMixer,0xcd8743a1,0x3736,0x11d0,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
OUR_GUID_ENTRY(CLSID_VBISurfaces,0x814b9800,0x1c88,0x11d1,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(CLSID_WSTDecoder,0x70bc06e0,0x5666,0x11d3,0xa1,0x84,0x0,0x10,0x5a,0xef,0x9f,0x33)
|
||||
OUR_GUID_ENTRY(CLSID_MjpegDec,0x301056d0,0x6dff,0x11d2,0x9e,0xeb,0x0,0x60,0x8,0x3,0x9e,0x37)
|
||||
OUR_GUID_ENTRY(CLSID_MJPGEnc,0xb80ab0a0,0x7416,0x11d2,0x9e,0xeb,0x0,0x60,0x8,0x3,0x9e,0x37)
|
||||
OUR_GUID_ENTRY(CLSID_SystemDeviceEnum,0x62BE5D10,0x60EB,0x11d0,0xBD,0x3B,0x00,0xA0,0xC9,0x11,0xCE,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_CDeviceMoniker,0x4315D437,0x5B8C,0x11d0,0xBD,0x3B,0x00,0xA0,0xC9,0x11,0xCE,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_VideoInputDeviceCategory,0x860BB310,0x5D01,0x11d0,0xBD,0x3B,0x00,0xA0,0xC9,0x11,0xCE,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_CVidCapClassManager,0x860BB310,0x5D01,0x11d0,0xBD,0x3B,0x00,0xA0,0xC9,0x11,0xCE,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_LegacyAmFilterCategory,0x083863F1,0x70DE,0x11d0,0xBD,0x40,0x00,0xA0,0xC9,0x11,0xCE,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_CQzFilterClassManager,0x083863F1,0x70DE,0x11d0,0xBD,0x40,0x00,0xA0,0xC9,0x11,0xCE,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_VideoCompressorCategory,0x33d9a760,0x90c8,0x11d0,0xbd,0x43,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_CIcmCoClassManager,0x33d9a760,0x90c8,0x11d0,0xbd,0x43,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_AudioCompressorCategory,0x33d9a761,0x90c8,0x11d0,0xbd,0x43,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_CAcmCoClassManager,0x33d9a761,0x90c8,0x11d0,0xbd,0x43,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_AudioInputDeviceCategory,0x33d9a762,0x90c8,0x11d0,0xbd,0x43,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_CWaveinClassManager,0x33d9a762,0x90c8,0x11d0,0xbd,0x43,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_AudioRendererCategory,0xe0f158e1,0xcb04,0x11d0,0xbd,0x4e,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_CWaveOutClassManager,0xe0f158e1,0xcb04,0x11d0,0xbd,0x4e,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_MidiRendererCategory,0x4EfE2452,0x168A,0x11d1,0xBC,0x76,0x0,0xc0,0x4F,0xB9,0x45,0x3B)
|
||||
OUR_GUID_ENTRY(CLSID_CMidiOutClassManager,0x4EfE2452,0x168A,0x11d1,0xBC,0x76,0x0,0xc0,0x4F,0xB9,0x45,0x3B)
|
||||
OUR_GUID_ENTRY(CLSID_TransmitCategory,0xcc7bfb41,0xf175,0x11d1,0xa3,0x92,0x0,0xe0,0x29,0x1f,0x39,0x59)
|
||||
OUR_GUID_ENTRY(CLSID_DeviceControlCategory,0xcc7bfb46,0xf175,0x11d1,0xa3,0x92,0x0,0xe0,0x29,0x1f,0x39,0x59)
|
||||
OUR_GUID_ENTRY(CLSID_ActiveMovieCategories,0xda4e3da0,0xd07d,0x11d0,0xbd,0x50,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_DVDHWDecodersCategory,0x2721AE20,0x7E70,0x11D0,0xA5,0xD6,0x28,0xDB,0x04,0xC1,0x00,0x00)
|
||||
OUR_GUID_ENTRY(CLSID_MediaEncoderCategory,0x7D22E920,0x5CA9,0x4787,0x8C,0x2B,0xA6,0x77,0x9B,0xD1,0x17,0x81)
|
||||
OUR_GUID_ENTRY(CLSID_MediaMultiplexerCategory,0x236C9559,0xADCE,0x4736,0xBF,0x72,0xBA,0xB3,0x4E,0x39,0x21,0x96)
|
||||
OUR_GUID_ENTRY(CLSID_FilterMapper2,0xcda42200,0xbd88,0x11d0,0xbd,0x4e,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_MemoryAllocator,0x1e651cc0,0xb199,0x11d0,0x82,0x12,0x00,0xc0,0x4f,0xc3,0x2c,0x45)
|
||||
OUR_GUID_ENTRY(CLSID_MediaPropertyBag,0xcdbd8d00,0xc193,0x11d0,0xbd,0x4e,0x0,0xa0,0xc9,0x11,0xce,0x86)
|
||||
OUR_GUID_ENTRY(CLSID_DvdGraphBuilder,0xFCC152B7,0xF372,0x11d0,0x8E,0x00,0x00,0xC0,0x4F,0xD7,0xC0,0x8B)
|
||||
OUR_GUID_ENTRY(CLSID_DVDNavigator,0x9b8c4620,0x2c1a,0x11d0,0x84,0x93,0x0,0xa0,0x24,0x38,0xad,0x48)
|
||||
OUR_GUID_ENTRY(CLSID_DVDState,0xf963c5cf,0xa659,0x4a93,0x96,0x38,0xca,0xf3,0xcd,0x27,0x7d,0x13)
|
||||
OUR_GUID_ENTRY(CLSID_SmartTee,0xcc58e280,0x8aa1,0x11d1,0xb3,0xf1,0x0,0xaa,0x0,0x37,0x61,0xc5)
|
||||
OUR_GUID_ENTRY(FORMAT_None,0x0F6417D6,0xc318,0x11d0,0xa4,0x3f,0x00,0xa0,0xc9,0x22,0x31,0x96)
|
||||
OUR_GUID_ENTRY(FORMAT_VideoInfo,0x05589f80,0xc356,0x11ce,0xbf,0x01,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(FORMAT_VideoInfo2,0xf72a76A0,0xeb0a,0x11d0,0xac,0xe4,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(FORMAT_WaveFormatEx,0x05589f81,0xc356,0x11ce,0xbf,0x01,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(FORMAT_MPEGVideo,0x05589f82,0xc356,0x11ce,0xbf,0x01,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(FORMAT_MPEGStreams,0x05589f83,0xc356,0x11ce,0xbf,0x01,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(FORMAT_DvInfo,0x05589f84,0xc356,0x11ce,0xbf,0x01,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_DirectDrawProperties,0x944d4c00,0xdd52,0x11ce,0xbf,0x0e,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_PerformanceProperties,0x59ce6880,0xacf8,0x11cf,0xb5,0x6e,0x00,0x80,0xc7,0xc4,0xb6,0x8a)
|
||||
OUR_GUID_ENTRY(CLSID_QualityProperties,0x418afb70,0xf8b8,0x11ce,0xaa,0xc6,0x00,0x20,0xaf,0x0b,0x99,0xa3)
|
||||
OUR_GUID_ENTRY(IID_IBaseVideoMixer,0x61ded640,0xe912,0x11ce,0xa0,0x99,0x00,0xaa,0x00,0x47,0x9a,0x58)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawVideo,0x36d39eb0,0xdd75,0x11ce,0xbf,0x0e,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(IID_IQualProp,0x1bd0ecb0,0xf8e2,0x11ce,0xaa,0xc6,0x00,0x20,0xaf,0x0b,0x99,0xa3)
|
||||
OUR_GUID_ENTRY(CLSID_VPObject,0xce292861,0xfc88,0x11d0,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
OUR_GUID_ENTRY(IID_IVPObject,0xce292862,0xfc88,0x11d0,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
OUR_GUID_ENTRY(IID_IVPControl,0x25df12c1,0x3de0,0x11d1,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
OUR_GUID_ENTRY(CLSID_VPVBIObject,0x814b9801,0x1c88,0x11d1,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(IID_IVPVBIObject,0x814b9802,0x1c88,0x11d1,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(IID_IVPConfig,0xbc29a660,0x30e3,0x11d0,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
OUR_GUID_ENTRY(IID_IVPNotify,0xc76794a1,0xd6c5,0x11d0,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
OUR_GUID_ENTRY(IID_IVPNotify2,0xebf47183,0x8764,0x11d1,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
OUR_GUID_ENTRY(IID_IVPVBIConfig,0xec529b00,0x1a1f,0x11d1,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(IID_IVPVBINotify,0xec529b01,0x1a1f,0x11d1,0xba,0xd9,0x0,0x60,0x97,0x44,0x11,0x1a)
|
||||
OUR_GUID_ENTRY(IID_IMixerPinConfig,0x593cdde1,0x759,0x11d1,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
OUR_GUID_ENTRY(IID_IMixerPinConfig2,0xebf47182,0x8764,0x11d1,0x9e,0x69,0x0,0xc0,0x4f,0xd7,0xc1,0x5b)
|
||||
#ifndef __DDRAW_INCLUDED__
|
||||
OUR_GUID_ENTRY(CLSID_DirectDraw,0xD7B70EE0,0x4340,0x11CF,0xB0,0x63,0x00,0x20,0xAF,0xC2,0xCD,0x35)
|
||||
OUR_GUID_ENTRY(CLSID_DirectDrawClipper,0x593817A0,0x7DB3,0x11CF,0xA2,0xDE,0x00,0xAA,0x00,0xb9,0x33,0x56)
|
||||
OUR_GUID_ENTRY(IID_IDirectDraw,0x6C14DB80,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60)
|
||||
OUR_GUID_ENTRY(IID_IDirectDraw2,0xB3A6F3E0,0x2B43,0x11CF,0xA2,0xDE,0x00,0xAA,0x00,0xB9,0x33,0x56)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawSurface,0x6C14DB81,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawSurface2,0x57805885,0x6eec,0x11cf,0x94,0x41,0xa8,0x23,0x03,0xc1,0x0e,0x27)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawSurface3,0xDA044E00,0x69B2,0x11D0,0xA1,0xD5,0x00,0xAA,0x00,0xB8,0xDF,0xBB)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawSurface4,0x0B2B8630,0xAD35,0x11D0,0x8E,0xA6,0x00,0x60,0x97,0x97,0xEA,0x5B)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawSurface7,0x06675a80,0x3b9b,0x11d2,0xb9,0x2f,0x00,0x60,0x97,0x97,0xea,0x5b)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawPalette,0x6C14DB84,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawClipper,0x6C14DB85,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawColorControl,0x4B9F0EE0,0x0D7E,0x11D0,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8)
|
||||
#endif
|
||||
#ifndef __DVP_INCLUDED__
|
||||
OUR_GUID_ENTRY(IID_IDDVideoPortContainer,0x6C142760,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60)
|
||||
#endif
|
||||
#ifndef __DDKM_INCLUDED__
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawKernel,0x8D56C120,0x6A08,0x11D0,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8)
|
||||
OUR_GUID_ENTRY(IID_IDirectDrawSurfaceKernel,0x60755DA0,0x6A40,0x11D0,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8)
|
||||
#endif
|
||||
OUR_GUID_ENTRY(CLSID_ModexProperties,0x0618aa30,0x6bc4,0x11cf,0xbf,0x36,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(IID_IFullScreenVideo,0xdd1d7110,0x7836,0x11cf,0xbf,0x47,0x00,0xaa,0x00,0x55,0x59,0x5a)
|
||||
OUR_GUID_ENTRY(IID_IFullScreenVideoEx,0x53479470,0xf1dd,0x11cf,0xbc,0x42,0x00,0xaa,0x00,0xac,0x74,0xf6)
|
||||
OUR_GUID_ENTRY(CLSID_DVDecPropertiesPage,0x101193c0,0xbfe,0x11d0,0xaf,0x91,0x0,0xaa,0x0,0xb6,0x7a,0x42)
|
||||
OUR_GUID_ENTRY(CLSID_DVEncPropertiesPage,0x4150f050,0xbb6f,0x11d0,0xaf,0xb9,0x0,0xaa,0x0,0xb6,0x7a,0x42)
|
||||
OUR_GUID_ENTRY(CLSID_DVMuxPropertyPage,0x4db880e0,0xc10d,0x11d0,0xaf,0xb9,0x0,0xaa,0x0,0xb6,0x7a,0x42)
|
||||
OUR_GUID_ENTRY(IID_IAMDirectSound,0x546f4260,0xd53e,0x11cf,0xb3,0xf0,0x0,0xaa,0x0,0x37,0x61,0xc5)
|
||||
OUR_GUID_ENTRY(IID_IMpegAudioDecoder,0xb45dd570,0x3c77,0x11d1,0xab,0xe1,0x00,0xa0,0xc9,0x05,0xf3,0x75)
|
||||
OUR_GUID_ENTRY(IID_IAMLine21Decoder,0x6e8d4a21,0x310c,0x11d0,0xb7,0x9a,0x0,0xaa,0x0,0x37,0x67,0xa7)
|
||||
OUR_GUID_ENTRY(IID_IAMWstDecoder,0xc056de21,0x75c2,0x11d3,0xa1,0x84,0x0,0x10,0x5a,0xef,0x9f,0x33)
|
||||
OUR_GUID_ENTRY(CLSID_WstDecoderPropertyPage,0x4e27f80,0x91e4,0x11d3,0xa1,0x84,0x0,0x10,0x5a,0xef,0x9f,0x33)
|
||||
OUR_GUID_ENTRY(FORMAT_AnalogVideo,0x482dde0,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_AnalogVideo,0x482dde1,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_NTSC_M,0x482dde2,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_B,0x482dde5,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_D,0x482dde6,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_G,0x482dde7,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_H,0x482dde8,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_I,0x482dde9,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_M,0x482ddea,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_N,0x482ddeb,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_PAL_N_COMBO,0x482ddec,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_B,0x482ddf0,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_D,0x482ddf1,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_G,0x482ddf2,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_H,0x482ddf3,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_K,0x482ddf4,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_K1,0x482ddf5,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIASUBTYPE_AnalogVideo_SECAM_L,0x482ddf6,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(MEDIATYPE_AnalogAudio,0x482dee1,0x7817,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
|
||||
#include "ksuuids.h"
|
||||
|
||||
OUR_GUID_ENTRY(TIME_FORMAT_NONE,0,0,0,0,0,0,0,0,0,0,0)
|
||||
OUR_GUID_ENTRY(TIME_FORMAT_FRAME,0x7b785570,0x8c82,0x11cf,0xbc,0xc,0x0,0xaa,0x0,0xac,0x74,0xf6)
|
||||
OUR_GUID_ENTRY(TIME_FORMAT_BYTE,0x7b785571,0x8c82,0x11cf,0xbc,0xc,0x0,0xaa,0x0,0xac,0x74,0xf6)
|
||||
OUR_GUID_ENTRY(TIME_FORMAT_SAMPLE,0x7b785572,0x8c82,0x11cf,0xbc,0xc,0x0,0xaa,0x0,0xac,0x74,0xf6)
|
||||
OUR_GUID_ENTRY(TIME_FORMAT_FIELD,0x7b785573,0x8c82,0x11cf,0xbc,0xc,0x0,0xaa,0x0,0xac,0x74,0xf6)
|
||||
OUR_GUID_ENTRY(TIME_FORMAT_MEDIA_TIME,0x7b785574,0x8c82,0x11cf,0xbc,0xc,0x0,0xaa,0x0,0xac,0x74,0xf6)
|
||||
OUR_GUID_ENTRY(AMPROPSETID_Pin,0x9b00f101,0x1567,0x11d1,0xb3,0xf1,0x0,0xaa,0x0,0x37,0x61,0xc5)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_CAPTURE,0xfb6c4281,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_PREVIEW,0xfb6c4282,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_ANALOGVIDEOIN,0xfb6c4283,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_VBI,0xfb6c4284,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_VIDEOPORT,0xfb6c4285,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_NABTS,0xfb6c4286,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_EDS,0xfb6c4287,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_TELETEXT,0xfb6c4288,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_CC,0xfb6c4289,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_STILL,0xfb6c428a,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_TIMECODE,0xfb6c428b,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(PIN_CATEGORY_VIDEOPORT_VBI,0xfb6c428c,0x0353,0x11d1,0x90,0x5f,0x00,0x00,0xc0,0xcc,0x16,0xba)
|
||||
OUR_GUID_ENTRY(LOOK_UPSTREAM_ONLY,0xac798be0,0x98e3,0x11d1,0xb3,0xf1,0x0,0xaa,0x0,0x37,0x61,0xc5)
|
||||
OUR_GUID_ENTRY(LOOK_DOWNSTREAM_ONLY,0xac798be1,0x98e3,0x11d1,0xb3,0xf1,0x0,0xaa,0x0,0x37,0x61,0xc5)
|
||||
OUR_GUID_ENTRY(CLSID_TVTunerFilterPropertyPage,0x266eee41,0x6c63,0x11cf,0x8a,0x3,0x0,0xaa,0x0,0x6e,0xcb,0x65)
|
||||
OUR_GUID_ENTRY(CLSID_CrossbarFilterPropertyPage,0x71f96461,0x78f3,0x11d0,0xa1,0x8c,0x0,0xa0,0xc9,0x11,0x89,0x56)
|
||||
OUR_GUID_ENTRY(CLSID_TVAudioFilterPropertyPage,0x71f96463,0x78f3,0x11d0,0xa1,0x8c,0x0,0xa0,0xc9,0x11,0x89,0x56)
|
||||
OUR_GUID_ENTRY(CLSID_VideoProcAmpPropertyPage,0x71f96464,0x78f3,0x11d0,0xa1,0x8c,0x0,0xa0,0xc9,0x11,0x89,0x56)
|
||||
OUR_GUID_ENTRY(CLSID_CameraControlPropertyPage,0x71f96465,0x78f3,0x11d0,0xa1,0x8c,0x0,0xa0,0xc9,0x11,0x89,0x56)
|
||||
OUR_GUID_ENTRY(CLSID_AnalogVideoDecoderPropertyPage,0x71f96466,0x78f3,0x11d0,0xa1,0x8c,0x0,0xa0,0xc9,0x11,0x89,0x56)
|
||||
OUR_GUID_ENTRY(CLSID_VideoStreamConfigPropertyPage,0x71f96467,0x78f3,0x11d0,0xa1,0x8c,0x0,0xa0,0xc9,0x11,0x89,0x56)
|
||||
OUR_GUID_ENTRY(CLSID_AudioRendererAdvancedProperties,0x37e92a92,0xd9aa,0x11d2,0xbf,0x84,0x8e,0xf2,0xb1,0x55,0x5a,0xed)
|
||||
OUR_GUID_ENTRY(CLSID_VideoMixingRenderer,0xB87BEB7B,0x8D29,0x423f,0xAE,0x4D,0x65,0x82,0xC1,0x01,0x75,0xAC)
|
||||
OUR_GUID_ENTRY(CLSID_VideoRendererDefault,0x6BC1CFFA,0x8FC1,0x4261,0xAC,0x22,0xCF,0xB4,0xCC,0x38,0xDB,0x50)
|
||||
OUR_GUID_ENTRY(CLSID_AllocPresenter,0x99d54f63,0x1a69,0x41ae,0xaa,0x4d,0xc9,0x76,0xeb,0x3f,0x07,0x13)
|
||||
OUR_GUID_ENTRY(CLSID_AllocPresenterDDXclMode,0x4444ac9e,0x242e,0x471b,0xa3,0xc7,0x45,0xdc,0xd4,0x63,0x52,0xbc)
|
||||
OUR_GUID_ENTRY(CLSID_VideoPortManager,0x6f26a6cd,0x967b,0x47fd,0x87,0x4a,0x7a,0xed,0x2c,0x9d,0x25,0xa2)
|
||||
OUR_GUID_ENTRY(CLSID_VideoMixingRenderer9,0x51b4abf3,0x748f,0x4e3b,0xa2,0x76,0xc8,0x28,0x33,0x0e,0x92,0x6a)
|
||||
OUR_GUID_ENTRY(CLSID_ATSCNetworkProvider,0x0dad2fdd,0x5fd7,0x11d3,0x8f,0x50,0x00,0xc0,0x4f,0x79,0x71,0xe2)
|
||||
OUR_GUID_ENTRY(CLSID_ATSCNetworkPropertyPage,0xe3444d16,0x5ac4,0x4386,0x88,0xdf,0x13,0xfd,0x23,0x0e,0x1d,0xda)
|
||||
OUR_GUID_ENTRY(CLSID_DVBSNetworkProvider,0xfa4b375a,0x45b4,0x4d45,0x84,0x40,0x26,0x39,0x57,0xb1,0x16,0x23)
|
||||
OUR_GUID_ENTRY(CLSID_DVBTNetworkProvider,0x216c62df,0x6d7f,0x4e9a,0x85,0x71,0x5,0xf1,0x4e,0xdb,0x76,0x6a)
|
||||
OUR_GUID_ENTRY(CLSID_DVBCNetworkProvider,0xdc0c0fe7,0x485,0x4266,0xb9,0x3f,0x68,0xfb,0xf8,0xe,0xd8,0x34)
|
||||
OUR_GUID_ENTRY(CLSID_DShowTVEFilter,0x05500280,0xFAA5,0x4DF9,0x82,0x46,0xBF,0xC2,0x3A,0xC5,0xCE,0xA8)
|
||||
OUR_GUID_ENTRY(CLSID_TVEFilterTuneProperties,0x05500281,0xFAA5,0x4DF9,0x82,0x46,0xBF,0xC2,0x3A,0xC5,0xCE,0xA8)
|
||||
OUR_GUID_ENTRY(CLSID_TVEFilterCCProperties,0x05500282,0xFAA5,0x4DF9,0x82,0x46,0xBF,0xC2,0x3A,0xC5,0xCE,0xA8)
|
||||
OUR_GUID_ENTRY(CLSID_TVEFilterStatsProperties,0x05500283,0xFAA5,0x4DF9,0x82,0x46,0xBF,0xC2,0x3A,0xC5,0xCE,0xA8)
|
||||
OUR_GUID_ENTRY(CLSID_IVideoEncoderProxy,0xb43c4eec,0x8c32,0x4791,0x91,0x2,0x50,0x8a,0xda,0x5e,0xe8,0xe7)
|
||||
OUR_GUID_ENTRY(CLSID_ICodecAPIProxy,0x7ff0997a,0x1999,0x4286,0xa7,0x3c,0x62,0x2b,0x88,0x14,0xe7,0xeb)
|
||||
OUR_GUID_ENTRY(CLSID_IVideoEncoderCodecAPIProxy,0xb05dabd9,0x56e5,0x4fdc,0xaf,0xa4,0x8a,0x47,0xe9,0x1f,0x1c,0x9c)
|
||||
|
||||
#ifndef __ENCODER_API_GUIDS__
|
||||
#define __ENCODER_API_GUIDS__
|
||||
OUR_GUID_ENTRY(ENCAPIPARAM_BITRATE,0x49cc4c43,0xca83,0x4ad4,0xa9,0xaf,0xf3,0x69,0x6a,0xf6,0x66,0xdf)
|
||||
OUR_GUID_ENTRY(ENCAPIPARAM_PEAK_BITRATE,0x703f16a9,0x3d48,0x44a1,0xb0,0x77,0x1,0x8d,0xff,0x91,0x5d,0x19)
|
||||
OUR_GUID_ENTRY(ENCAPIPARAM_BITRATE_MODE,0xee5fb25c,0xc713,0x40d1,0x9d,0x58,0xc0,0xd7,0x24,0x1e,0x25,0xf)
|
||||
OUR_GUID_ENTRY(CODECAPI_CHANGELISTS,0x62b12acf,0xf6b0,0x47d9,0x94,0x56,0x96,0xf2,0x2c,0x4e,0x0b,0x9d)
|
||||
OUR_GUID_ENTRY(CODECAPI_VIDEO_ENCODER,0x7112e8e1,0x3d03,0x47ef,0x8e,0x60,0x03,0xf1,0xcf,0x53,0x73,0x01)
|
||||
OUR_GUID_ENTRY(CODECAPI_AUDIO_ENCODER,0xb9d19a3e,0xf897,0x429c,0xbc,0x46,0x81,0x38,0xb7,0x27,0x2b,0x2d)
|
||||
OUR_GUID_ENTRY(CODECAPI_SETALLDEFAULTS,0x6c5e6a7c,0xacf8,0x4f55,0xa9,0x99,0x1a,0x62,0x81,0x09,0x05,0x1b)
|
||||
OUR_GUID_ENTRY(CODECAPI_ALLSETTINGS,0x6a577e92,0x83e1,0x4113,0xad,0xc2,0x4f,0xce,0xc3,0x2f,0x83,0xa1)
|
||||
OUR_GUID_ENTRY(CODECAPI_SUPPORTSEVENTS,0x0581af97,0x7693,0x4dbd,0x9d,0xca,0x3f,0x9e,0xbd,0x65,0x85,0xa1)
|
||||
OUR_GUID_ENTRY(CODECAPI_CURRENTCHANGELIST,0x1cb14e83,0x7d72,0x4657,0x83,0xfd,0x47,0xa2,0xc5,0xb9,0xd1,0x3d)
|
||||
|
||||
#ifdef INITGUID
|
||||
#define UUID_GEN
|
||||
#include <codecapi.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef OUR_GUID_ENTRY
|
||||
@@ -0,0 +1,419 @@
|
||||
/**
|
||||
* 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 _UXTHEME_H_
|
||||
#define _UXTHEME_H_
|
||||
|
||||
#include <commctrl.h>
|
||||
|
||||
#ifndef THEMEAPI
|
||||
#if !defined(_UXTHEME_)
|
||||
#define THEMEAPI EXTERN_C DECLSPEC_IMPORT HRESULT WINAPI
|
||||
#define THEMEAPI_(type) EXTERN_C DECLSPEC_IMPORT type WINAPI
|
||||
#else
|
||||
#define THEMEAPI STDAPI
|
||||
#define THEMEAPI_(type) STDAPI_(type)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef HANDLE HTHEME;
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
#define MAX_THEMECOLOR 64
|
||||
#define MAX_THEMESIZE 64
|
||||
#endif
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN7)
|
||||
THEMEAPI_(WINBOOL) BeginPanningFeedback(HWND hwnd);
|
||||
THEMEAPI_(WINBOOL) UpdatePanningFeedback(HWND hwnd,LONG lTotalOverpanOffsetX,LONG lTotalOverpanOffsetY,WINBOOL fInInertia);
|
||||
THEMEAPI_(WINBOOL) EndPanningFeedback(HWND hwnd,WINBOOL fAnimateBack);
|
||||
#endif
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||
|
||||
typedef enum TA_PROPERTY {
|
||||
TAP_FLAGS,
|
||||
TAP_TRANSFORMCOUNT,
|
||||
TAP_STAGGERDELAY,
|
||||
TAP_STAGGERDELAYCAP,
|
||||
TAP_STAGGERDELAYFACTOR,
|
||||
TAP_ZORDER,
|
||||
} TA_PROPERTY;
|
||||
|
||||
typedef enum TA_PROPERTY_FLAG {
|
||||
TAPF_NONE = 0x0,
|
||||
TAPF_HASSTAGGER = 0x1,
|
||||
TAPF_ISRTLAWARE = 0x2,
|
||||
TAPF_ALLOWCOLLECTION = 0x4,
|
||||
TAPF_HASBACKGROUND = 0x8,
|
||||
TAPF_HASPERSPECTIVE = 0x10,
|
||||
} TA_PROPERTY_FLAG;
|
||||
|
||||
THEMEAPI GetThemeAnimationProperty(HTHEME hTheme, int iStoryboardId, int iTargetId, TA_PROPERTY eProperty, VOID *pvProperty, DWORD cbSize, DWORD *pcbSizeOut);
|
||||
|
||||
typedef enum TA_TRANSFORM_TYPE {
|
||||
TATT_TRANSLATE_2D,
|
||||
TATT_SCALE_2D,
|
||||
TATT_OPACITY,
|
||||
TATT_CLIP,
|
||||
} TA_TRANSFORM_TYPE;
|
||||
|
||||
typedef enum TA_TRANSFORM_FLAG {
|
||||
TATF_NONE = 0x0,
|
||||
TATF_TARGETVALUES_USER = 0x1,
|
||||
TATF_HASINITIALVALUES = 0x2,
|
||||
TATF_HASORIGINVALUES = 0x4,
|
||||
} TA_TRANSFORM_FLAG;
|
||||
|
||||
typedef struct TA_TRANSFORM {
|
||||
TA_TRANSFORM_TYPE eTransformType;
|
||||
DWORD dwTimingFunctionId;
|
||||
DWORD dwStartTime;
|
||||
DWORD dwDurationTime;
|
||||
TA_TRANSFORM_FLAG eFlags;
|
||||
} TA_TRANSFORM, *PTA_TRANSFORM;
|
||||
|
||||
typedef struct TA_TRANSFORM_2D {
|
||||
TA_TRANSFORM header;
|
||||
float rX;
|
||||
float rY;
|
||||
float rInitialX;
|
||||
float rInitialY;
|
||||
float rOriginX;
|
||||
float rOriginY;
|
||||
} TA_TRANSFORM_2D, *PTA_TRANSFORM_2D;
|
||||
|
||||
typedef struct TA_TRANSFORM_OPACITY {
|
||||
TA_TRANSFORM header;
|
||||
float rOpacity;
|
||||
float rInitialOpacity;
|
||||
} TA_TRANSFORM_OPACITY, *PTA_TRANSFORM_OPACITY;
|
||||
|
||||
typedef struct TA_TRANSFORM_CLIP {
|
||||
TA_TRANSFORM header;
|
||||
float rLeft;
|
||||
float rTop;
|
||||
float rRight;
|
||||
float rBottom;
|
||||
float rInitialLeft;
|
||||
float rInitialTop;
|
||||
float rInitialRight;
|
||||
float rInitialBottom;
|
||||
} TA_TRANSFORM_CLIP, *PTA_TRANSFORM_CLIP;
|
||||
|
||||
THEMEAPI GetThemeAnimationTransform(HTHEME hTheme, int iStoryboardId, int iTargetId, DWORD dwTransformIndex, TA_TRANSFORM *pTransform, DWORD cbSize, DWORD *pcbSizeOut);
|
||||
|
||||
typedef enum TA_TIMINGFUNCTION_TYPE {
|
||||
TTFT_UNDEFINED,
|
||||
TTFT_CUBIC_BEZIER,
|
||||
} TA_TIMINGFUNCTION_TYPE;
|
||||
|
||||
typedef struct TA_TIMINGFUNCTION {
|
||||
TA_TIMINGFUNCTION_TYPE eTimingFunctionType;
|
||||
} TA_TIMINGFUNCTION, *PTA_TIMINGFUNCTION;
|
||||
|
||||
typedef struct TA_CUBIC_BEZIER {
|
||||
TA_TIMINGFUNCTION header;
|
||||
float rX0;
|
||||
float rY0;
|
||||
float rX1;
|
||||
float rY1;
|
||||
} TA_CUBIC_BEZIER, *PTA_CUBIC_BEZIER;
|
||||
|
||||
THEMEAPI GetThemeTimingFunction(HTHEME hTheme, int iTimingFunctionId, TA_TIMINGFUNCTION *pTimingFunction, DWORD cbSize, DWORD *pcbSizeOut);
|
||||
|
||||
#endif
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
|
||||
#define GBF_DIRECT 0x00000001
|
||||
#define GBF_COPY 0x00000002
|
||||
#define GBF_VALIDBITS (GBF_DIRECT | GBF_COPY)
|
||||
|
||||
THEMEAPI GetThemeBitmap(HTHEME hTheme,int iPartId,int iStateId,int iPropId,ULONG dwFlags,HBITMAP *phBitmap);
|
||||
THEMEAPI GetThemeStream(HTHEME hTheme,int iPartId,int iStateId,int iPropId,VOID **ppvStream,DWORD *pcbStream,HINSTANCE hInst);
|
||||
THEMEAPI GetThemeTransitionDuration(HTHEME hTheme,int iPartId,int iStateIdFrom,int iStateIdTo,int iPropId,DWORD *pdwDuration);
|
||||
|
||||
DECLARE_HANDLE(HPAINTBUFFER);
|
||||
|
||||
typedef enum _BP_BUFFERFORMAT {
|
||||
BPBF_COMPATIBLEBITMAP,
|
||||
BPBF_DIB,
|
||||
BPBF_TOPDOWNDIB,
|
||||
BPBF_TOPDOWNMONODIB
|
||||
} BP_BUFFERFORMAT;
|
||||
|
||||
#define BPBF_COMPOSITED BPBF_TOPDOWNDIB
|
||||
|
||||
#define BPPF_ERASE 0x00000001
|
||||
#define BPPF_NOCLIP 0x00000002
|
||||
#define BPPF_NONCLIENT 0x00000004
|
||||
|
||||
typedef struct _BP_PAINTPARAMS {
|
||||
DWORD cbSize;
|
||||
DWORD dwFlags;
|
||||
const RECT *prcExclude;
|
||||
const BLENDFUNCTION *pBlendFunction;
|
||||
} BP_PAINTPARAMS, *PBP_PAINTPARAMS;
|
||||
|
||||
THEMEAPI_(HPAINTBUFFER) BeginBufferedPaint(HDC hdcTarget,const RECT *prcTarget,BP_BUFFERFORMAT dwFormat,BP_PAINTPARAMS *pPaintParams,HDC *phdc);
|
||||
THEMEAPI_(HRESULT) EndBufferedPaint(HPAINTBUFFER hBufferedPaint,WINBOOL fUpdateTarget);
|
||||
THEMEAPI_(HRESULT) GetBufferedPaintTargetRect(HPAINTBUFFER hBufferedPaint,RECT *prc);
|
||||
THEMEAPI_(HDC) GetBufferedPaintTargetDC(HPAINTBUFFER hBufferedPaint);
|
||||
THEMEAPI_(HDC) GetBufferedPaintDC(HPAINTBUFFER hBufferedPaint);
|
||||
THEMEAPI_(HRESULT) GetBufferedPaintBits(HPAINTBUFFER hBufferedPaint,RGBQUAD **ppbBuffer,int *pcxRow);
|
||||
THEMEAPI_(HRESULT) BufferedPaintClear(HPAINTBUFFER hBufferedPaint,const RECT *prc);
|
||||
THEMEAPI_(HRESULT) BufferedPaintSetAlpha(HPAINTBUFFER hBufferedPaint,const RECT *prc,BYTE alpha);
|
||||
#define BufferedPaintMakeOpaque(hBufferedPaint, prc) BufferedPaintSetAlpha(hBufferedPaint, prc, 255)
|
||||
THEMEAPI_(HRESULT) BufferedPaintInit(VOID);
|
||||
THEMEAPI_(HRESULT) BufferedPaintUnInit(VOID);
|
||||
|
||||
DECLARE_HANDLE(HANIMATIONBUFFER);
|
||||
|
||||
typedef enum _BP_ANIMATIONSTYLE {
|
||||
BPAS_NONE,
|
||||
BPAS_LINEAR,
|
||||
BPAS_CUBIC,
|
||||
BPAS_SINE
|
||||
} BP_ANIMATIONSTYLE;
|
||||
|
||||
typedef struct _BP_ANIMATIONPARAMS {
|
||||
DWORD cbSize;
|
||||
DWORD dwFlags;
|
||||
BP_ANIMATIONSTYLE style;
|
||||
DWORD dwDuration;
|
||||
} BP_ANIMATIONPARAMS, *PBP_ANIMATIONPARAMS;
|
||||
|
||||
THEMEAPI_(HANIMATIONBUFFER) BeginBufferedAnimation(HWND hwnd,HDC hdcTarget,const RECT *rcTarget,BP_BUFFERFORMAT dwFormat,BP_PAINTPARAMS *pPaintParams,BP_ANIMATIONPARAMS *pAnimationParams,HDC *phdcFrom,HDC *phdcTo);
|
||||
THEMEAPI EndBufferedAnimation(HANIMATIONBUFFER hbpAnimation,WINBOOL fUpdateTarget);
|
||||
THEMEAPI_(WINBOOL) BufferedPaintRenderAnimation(HWND hwnd,HDC hdcTarget);
|
||||
THEMEAPI BufferedPaintStopAllAnimations(HWND hwnd);
|
||||
THEMEAPI_(WINBOOL) IsCompositionActive(void);
|
||||
|
||||
typedef enum WINDOWTHEMEATTRIBUTETYPE {
|
||||
WTA_NONCLIENT = 1
|
||||
} WINDOWTHEMEATTRIBUTETYPE;
|
||||
|
||||
typedef struct _WTA_OPTIONS {
|
||||
DWORD dwFlags;
|
||||
DWORD dwMask;
|
||||
} WTA_OPTIONS, *PWTA_OPTIONS;
|
||||
|
||||
#define WTNCA_NODRAWCAPTION 0x00000001
|
||||
#define WTNCA_NODRAWICON 0x00000002
|
||||
#define WTNCA_NOSYSMENU 0x00000004
|
||||
#define WTNCA_NOMIRRORHELP 0x00000008
|
||||
#define WTNCA_VALIDBITS (WTNCA_NODRAWCAPTION | WTNCA_NODRAWICON | WTNCA_NOSYSMENU | WTNCA_NOMIRRORHELP)
|
||||
|
||||
THEMEAPI SetWindowThemeAttribute(HWND hwnd,enum WINDOWTHEMEATTRIBUTETYPE eAttribute,PVOID pvAttribute,DWORD cbAttribute);
|
||||
|
||||
static __inline HRESULT SetWindowThemeNonClientAttributes(HWND hwnd,DWORD dwMask,DWORD dwAttributes)
|
||||
{
|
||||
WTA_OPTIONS wta = { dwAttributes, dwMask };
|
||||
return SetWindowThemeAttribute(hwnd, WTA_NONCLIENT, &wta, sizeof(WTA_OPTIONS));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
THEMEAPI_(HTHEME) OpenThemeData(HWND hwnd,LPCWSTR pszClassList);
|
||||
|
||||
#define OTD_FORCE_RECT_SIZING 0x00000001
|
||||
#define OTD_NONCLIENT 0x00000002
|
||||
#define OTD_VALIDBITS (OTD_FORCE_RECT_SIZING | OTD_NONCLIENT)
|
||||
THEMEAPI_(HTHEME) OpenThemeDataForDpi(HWND hwnd, LPCWSTR pszClassList, UINT dpi);
|
||||
THEMEAPI_(HTHEME) OpenThemeDataEx(HWND hwnd,LPCWSTR pszClassList,DWORD dwFlags);
|
||||
THEMEAPI CloseThemeData(HTHEME hTheme);
|
||||
THEMEAPI DrawThemeBackground(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,const RECT *pRect,const RECT *pClipRect);
|
||||
|
||||
#define DTT_GRAYED 0x00000001
|
||||
#define DTT_FLAGS2VALIDBITS DTT_GRAYED
|
||||
|
||||
THEMEAPI DrawThemeText(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,LPCWSTR pszText,int iCharCount,DWORD dwTextFlags,DWORD dwTextFlags2,const RECT *pRect);
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
|
||||
#define DTT_TEXTCOLOR (__MSABI_LONG(1U) << 0)
|
||||
#define DTT_BORDERCOLOR (__MSABI_LONG(1U) << 1)
|
||||
#define DTT_SHADOWCOLOR (__MSABI_LONG(1U) << 2)
|
||||
#define DTT_SHADOWTYPE (__MSABI_LONG(1U) << 3)
|
||||
#define DTT_SHADOWOFFSET (__MSABI_LONG(1U) << 4)
|
||||
#define DTT_BORDERSIZE (__MSABI_LONG(1U) << 5)
|
||||
#define DTT_FONTPROP (__MSABI_LONG(1U) << 6)
|
||||
#define DTT_COLORPROP (__MSABI_LONG(1U) << 7)
|
||||
#define DTT_STATEID (__MSABI_LONG(1U) << 8)
|
||||
#define DTT_CALCRECT (__MSABI_LONG(1U) << 9)
|
||||
#define DTT_APPLYOVERLAY (__MSABI_LONG(1U) << 10)
|
||||
#define DTT_GLOWSIZE (__MSABI_LONG(1U) << 11)
|
||||
#define DTT_CALLBACK (__MSABI_LONG(1U) << 12)
|
||||
#define DTT_COMPOSITED (__MSABI_LONG(1U) << 13)
|
||||
#define DTT_VALIDBITS (DTT_TEXTCOLOR | DTT_BORDERCOLOR | DTT_SHADOWCOLOR | DTT_SHADOWTYPE | DTT_SHADOWOFFSET | DTT_BORDERSIZE | \
|
||||
DTT_FONTPROP | DTT_COLORPROP | DTT_STATEID | DTT_CALCRECT | DTT_APPLYOVERLAY | DTT_GLOWSIZE | DTT_COMPOSITED)
|
||||
|
||||
typedef int (WINAPI *DTT_CALLBACK_PROC)(HDC hdc,LPWSTR pszText,int cchText,LPRECT prc,UINT dwFlags,LPARAM lParam);
|
||||
|
||||
typedef struct _DTTOPTS {
|
||||
DWORD dwSize;
|
||||
DWORD dwFlags;
|
||||
COLORREF crText;
|
||||
COLORREF crBorder;
|
||||
COLORREF crShadow;
|
||||
int iTextShadowType;
|
||||
POINT ptShadowOffset;
|
||||
int iBorderSize;
|
||||
int iFontPropId;
|
||||
int iColorPropId;
|
||||
int iStateId;
|
||||
WINBOOL fApplyOverlay;
|
||||
int iGlowSize;
|
||||
DTT_CALLBACK_PROC pfnDrawTextCallback;
|
||||
LPARAM lParam;
|
||||
} DTTOPTS, *PDTTOPTS;
|
||||
|
||||
THEMEAPI DrawThemeTextEx(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,LPCWSTR pszText,int iCharCount,DWORD dwFlags,LPRECT pRect,const DTTOPTS *pOptions);
|
||||
#endif
|
||||
|
||||
THEMEAPI GetThemeBackgroundContentRect(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,const RECT *pBoundingRect,RECT *pContentRect);
|
||||
THEMEAPI GetThemeBackgroundExtent(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,const RECT *pContentRect,RECT *pExtentRect);
|
||||
|
||||
typedef enum THEMESIZE {
|
||||
TS_MIN,
|
||||
TS_TRUE,
|
||||
TS_DRAW
|
||||
} THEMESIZE;
|
||||
|
||||
THEMEAPI GetThemePartSize(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,RECT *prc,enum THEMESIZE eSize,SIZE *psz);
|
||||
THEMEAPI GetThemeTextExtent(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,LPCWSTR pszText,int iCharCount,DWORD dwTextFlags,const RECT *pBoundingRect,RECT *pExtentRect);
|
||||
THEMEAPI GetThemeTextMetrics(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,TEXTMETRIC *ptm);
|
||||
THEMEAPI GetThemeBackgroundRegion(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,const RECT *pRect,HRGN *pRegion);
|
||||
|
||||
#define HTTB_BACKGROUNDSEG 0x0000
|
||||
#define HTTB_FIXEDBORDER 0x0002
|
||||
#define HTTB_CAPTION 0x0004
|
||||
#define HTTB_RESIZINGBORDER_LEFT 0x0010
|
||||
#define HTTB_RESIZINGBORDER_TOP 0x0020
|
||||
#define HTTB_RESIZINGBORDER_RIGHT 0x0040
|
||||
#define HTTB_RESIZINGBORDER_BOTTOM 0x0080
|
||||
|
||||
#define HTTB_RESIZINGBORDER (HTTB_RESIZINGBORDER_LEFT|HTTB_RESIZINGBORDER_TOP| HTTB_RESIZINGBORDER_RIGHT|HTTB_RESIZINGBORDER_BOTTOM)
|
||||
|
||||
#define HTTB_SIZINGTEMPLATE 0x0100
|
||||
#define HTTB_SYSTEMSIZINGMARGINS 0x0200
|
||||
|
||||
THEMEAPI HitTestThemeBackground(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,DWORD dwOptions,const RECT *pRect,HRGN hrgn,POINT ptTest,WORD *pwHitTestCode);
|
||||
THEMEAPI DrawThemeEdge(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,const RECT *pDestRect,UINT uEdge,UINT uFlags,RECT *pContentRect);
|
||||
THEMEAPI DrawThemeIcon(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,const RECT *pRect,HIMAGELIST himl,int iImageIndex);
|
||||
THEMEAPI_(WINBOOL) IsThemePartDefined(HTHEME hTheme,int iPartId,int iStateId);
|
||||
THEMEAPI_(WINBOOL) IsThemeBackgroundPartiallyTransparent(HTHEME hTheme,int iPartId,int iStateId);
|
||||
THEMEAPI GetThemeColor(HTHEME hTheme,int iPartId,int iStateId,int iPropId,COLORREF *pColor);
|
||||
THEMEAPI GetThemeMetric(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,int iPropId,int *piVal);
|
||||
THEMEAPI GetThemeString(HTHEME hTheme,int iPartId,int iStateId,int iPropId,LPWSTR pszBuff,int cchMaxBuffChars);
|
||||
THEMEAPI GetThemeBool(HTHEME hTheme,int iPartId,int iStateId,int iPropId,WINBOOL *pfVal);
|
||||
THEMEAPI GetThemeInt(HTHEME hTheme,int iPartId,int iStateId,int iPropId,int *piVal);
|
||||
THEMEAPI GetThemeEnumValue(HTHEME hTheme,int iPartId,int iStateId,int iPropId,int *piVal);
|
||||
THEMEAPI GetThemePosition(HTHEME hTheme,int iPartId,int iStateId,int iPropId,POINT *pPoint);
|
||||
THEMEAPI GetThemeFont(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,int iPropId,LOGFONTW *pFont);
|
||||
THEMEAPI GetThemeRect(HTHEME hTheme,int iPartId,int iStateId,int iPropId,RECT *pRect);
|
||||
|
||||
typedef struct _MARGINS {
|
||||
int cxLeftWidth;
|
||||
int cxRightWidth;
|
||||
int cyTopHeight;
|
||||
int cyBottomHeight;
|
||||
} MARGINS,*PMARGINS;
|
||||
|
||||
THEMEAPI GetThemeMargins(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,int iPropId,RECT *prc,MARGINS *pMargins);
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
#define MAX_INTLIST_COUNT 402
|
||||
#else
|
||||
#define MAX_INTLIST_COUNT 10
|
||||
#endif
|
||||
|
||||
typedef struct _INTLIST {
|
||||
int iValueCount;
|
||||
int iValues[MAX_INTLIST_COUNT];
|
||||
} INTLIST,*PINTLIST;
|
||||
|
||||
THEMEAPI GetThemeIntList(HTHEME hTheme,int iPartId,int iStateId,int iPropId,INTLIST *pIntList);
|
||||
|
||||
typedef enum PROPERTYORIGIN {
|
||||
PO_STATE,
|
||||
PO_PART,
|
||||
PO_CLASS,
|
||||
PO_GLOBAL,
|
||||
PO_NOTFOUND
|
||||
} PROPERTYORIGIN;
|
||||
|
||||
THEMEAPI GetThemePropertyOrigin(HTHEME hTheme,int iPartId,int iStateId,int iPropId,enum PROPERTYORIGIN *pOrigin);
|
||||
THEMEAPI SetWindowTheme(HWND hwnd,LPCWSTR pszSubAppName,LPCWSTR pszSubIdList);
|
||||
THEMEAPI GetThemeFilename(HTHEME hTheme,int iPartId,int iStateId,int iPropId,LPWSTR pszThemeFileName,int cchMaxBuffChars);
|
||||
THEMEAPI_(COLORREF) GetThemeSysColor(HTHEME hTheme,int iColorId);
|
||||
THEMEAPI_(HBRUSH) GetThemeSysColorBrush(HTHEME hTheme,int iColorId);
|
||||
THEMEAPI_(WINBOOL) GetThemeSysBool(HTHEME hTheme,int iBoolId);
|
||||
THEMEAPI_(int) GetThemeSysSize(HTHEME hTheme,int iSizeId);
|
||||
THEMEAPI GetThemeSysFont(HTHEME hTheme,int iFontId,LOGFONTW *plf);
|
||||
THEMEAPI GetThemeSysString(HTHEME hTheme,int iStringId,LPWSTR pszStringBuff,int cchMaxStringChars);
|
||||
THEMEAPI GetThemeSysInt(HTHEME hTheme,int iIntId,int *piValue);
|
||||
THEMEAPI_(WINBOOL) IsThemeActive();
|
||||
THEMEAPI_(WINBOOL) IsAppThemed();
|
||||
THEMEAPI_(HTHEME) GetWindowTheme(HWND hwnd);
|
||||
|
||||
#define ETDT_DISABLE 0x00000001
|
||||
#define ETDT_ENABLE 0x00000002
|
||||
#define ETDT_USETABTEXTURE 0x00000004
|
||||
#define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE)
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
#define ETDT_USEAEROWIZARDTABTEXTURE 0x00000008
|
||||
#define ETDT_ENABLEAEROWIZARDTAB (ETDT_ENABLE | ETDT_USEAEROWIZARDTABTEXTURE)
|
||||
#define ETDT_VALIDBITS (ETDT_DISABLE | ETDT_ENABLE | ETDT_USETABTEXTURE | ETDT_USEAEROWIZARDTABTEXTURE)
|
||||
#endif
|
||||
|
||||
THEMEAPI EnableThemeDialogTexture(HWND hwnd,DWORD dwFlags);
|
||||
THEMEAPI_(WINBOOL) IsThemeDialogTextureEnabled(HWND hwnd);
|
||||
|
||||
#define STAP_ALLOW_NONCLIENT (1 << 0)
|
||||
#define STAP_ALLOW_CONTROLS (1 << 1)
|
||||
#define STAP_ALLOW_WEBCONTENT (1 << 2)
|
||||
#define STAP_VALIDBITS (STAP_ALLOW_NONCLIENT | STAP_ALLOW_CONTROLS | STAP_ALLOW_WEBCONTENT)
|
||||
|
||||
THEMEAPI_(DWORD) GetThemeAppProperties(VOID);
|
||||
THEMEAPI_(void) SetThemeAppProperties(DWORD dwFlags);
|
||||
THEMEAPI GetCurrentThemeName(LPWSTR pszThemeFileName,int cchMaxNameChars,LPWSTR pszColorBuff,int cchMaxColorChars,LPWSTR pszSizeBuff,int cchMaxSizeChars);
|
||||
|
||||
#define SZ_THDOCPROP_DISPLAYNAME L"DisplayName"
|
||||
#define SZ_THDOCPROP_CANONICALNAME L"ThemeName"
|
||||
#define SZ_THDOCPROP_TOOLTIP L"ToolTip"
|
||||
#define SZ_THDOCPROP_AUTHOR L"author"
|
||||
|
||||
THEMEAPI GetThemeDocumentationProperty(LPCWSTR pszThemeName,LPCWSTR pszPropertyName,LPWSTR pszValueBuff,int cchMaxValChars);
|
||||
THEMEAPI DrawThemeParentBackground(HWND hwnd,HDC hdc,RECT *prc);
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
#define DTPB_WINDOWDC 0x00000001
|
||||
#define DTPB_USECTLCOLORSTATIC 0x00000002
|
||||
#define DTPB_USEERASEBKGND 0x00000004
|
||||
|
||||
THEMEAPI DrawThemeParentBackgroundEx(HWND hwnd,HDC hdc,DWORD dwFlags,const RECT *prc);
|
||||
#endif
|
||||
|
||||
THEMEAPI EnableTheming(WINBOOL fEnable);
|
||||
|
||||
#define DTBG_CLIPRECT 0x00000001
|
||||
#define DTBG_DRAWSOLID 0x00000002
|
||||
#define DTBG_OMITBORDER 0x00000004
|
||||
#define DTBG_OMITCONTENT 0x00000008
|
||||
#define DTBG_COMPUTINGREGION 0x00000010
|
||||
#define DTBG_MIRRORDC 0x00000020
|
||||
#define DTBG_NOMIRROR 0x00000040
|
||||
#define DTBG_VALIDBITS (DTBG_CLIPRECT | DTBG_DRAWSOLID | DTBG_OMITBORDER | DTBG_OMITCONTENT | DTBG_COMPUTINGREGION | DTBG_MIRRORDC | DTBG_NOMIRROR)
|
||||
|
||||
typedef struct _DTBGOPTS {
|
||||
DWORD dwSize;
|
||||
DWORD dwFlags;
|
||||
RECT rcClip;
|
||||
} DTBGOPTS,*PDTBGOPTS;
|
||||
|
||||
THEMEAPI DrawThemeBackgroundEx(HTHEME hTheme,HDC hdc,int iPartId,int iStateId,const RECT *pRect,const DTBGOPTS *pOptions);
|
||||
#endif
|
||||
@@ -0,0 +1,107 @@
|
||||
/**
|
||||
* 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_VADEFS
|
||||
#define _INC_VADEFS
|
||||
|
||||
#include <_mingw.h>
|
||||
|
||||
#ifndef __WIDL__
|
||||
#undef _CRT_PACKING
|
||||
#define _CRT_PACKING 8
|
||||
#pragma pack(push,_CRT_PACKING)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined (__GNUC__)
|
||||
#ifndef __GNUC_VA_LIST
|
||||
#define __GNUC_VA_LIST
|
||||
typedef __builtin_va_list __gnuc_va_list;
|
||||
#endif
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
#ifndef _VA_LIST_DEFINED /* if stdargs.h didn't define it */
|
||||
#define _VA_LIST_DEFINED
|
||||
#if defined(__GNUC__)
|
||||
typedef __gnuc_va_list va_list;
|
||||
#elif defined(_MSC_VER)
|
||||
typedef char * va_list;
|
||||
#elif !defined(__WIDL__)
|
||||
#error VARARGS not implemented for this compiler
|
||||
#endif
|
||||
#endif /* _VA_LIST_DEFINED */
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define _ADDRESSOF(v) (&reinterpret_cast<const char &>(v))
|
||||
#else
|
||||
#define _ADDRESSOF(v) (&(v))
|
||||
#endif
|
||||
|
||||
#if defined (__GNUC__)
|
||||
/* Use GCC builtins */
|
||||
|
||||
#define _crt_va_start(v,l) __builtin_va_start(v,l)
|
||||
#define _crt_va_arg(v,l) __builtin_va_arg(v,l)
|
||||
#define _crt_va_end(v) __builtin_va_end(v)
|
||||
#define _crt_va_copy(d,s) __builtin_va_copy(d,s)
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
/* MSVC specific */
|
||||
|
||||
#if defined(_M_IA64)
|
||||
#define _VA_ALIGN 8
|
||||
#define _SLOTSIZEOF(t) ((sizeof(t) + _VA_ALIGN - 1) & ~(_VA_ALIGN - 1))
|
||||
#define _VA_STRUCT_ALIGN 16
|
||||
#define _ALIGNOF(ap) ((((ap)+_VA_STRUCT_ALIGN - 1) & ~(_VA_STRUCT_ALIGN -1)) - (ap))
|
||||
#define _APALIGN(t,ap) (__alignof(t) > 8 ? _ALIGNOF((uintptr_t) ap) : 0)
|
||||
#else
|
||||
#define _SLOTSIZEOF(t) (sizeof(t))
|
||||
#define _APALIGN(t,ap) (__alignof(t))
|
||||
#endif
|
||||
|
||||
#if defined(_M_IX86)
|
||||
|
||||
#define _INTSIZEOF(n) ((sizeof(n) + sizeof(int) - 1) & ~(sizeof(int) - 1))
|
||||
#define _crt_va_start(v,l) ((v) = (va_list)_ADDRESSOF(l) + _INTSIZEOF(l))
|
||||
#define _crt_va_arg(v,l) (*(l *)(((v) += _INTSIZEOF(l)) - _INTSIZEOF(l)))
|
||||
#define _crt_va_end(v) ((v) = (va_list)0)
|
||||
#define _crt_va_copy(d,s) ((d) = (s))
|
||||
|
||||
#elif defined(_M_AMD64)
|
||||
|
||||
#define _PTRSIZEOF(n) ((sizeof(n) + sizeof(void*) - 1) & ~(sizeof(void*) - 1))
|
||||
#define _ISSTRUCT(t) ((sizeof(t) > sizeof(void*)) || (sizeof(t) & (sizeof(t) - 1)) != 0)
|
||||
#define _crt_va_start(v,l) ((v) = (va_list)_ADDRESSOF(l) + _PTRSIZEOF(l))
|
||||
#define _crt_va_arg(v,t) _ISSTRUCT(t) ? \
|
||||
(**(t**)(((v) += sizeof(void*)) - sizeof(void*))) : \
|
||||
( *(t *)(((v) += sizeof(void*)) - sizeof(void*)))
|
||||
#define _crt_va_end(v) ((v) = (va_list)0)
|
||||
#define _crt_va_copy(d,s) ((d) = (s))
|
||||
|
||||
#elif defined(_M_IA64)
|
||||
|
||||
#error VARARGS not implemented for IA64
|
||||
|
||||
#else
|
||||
|
||||
#error VARARGS not implemented for this TARGET
|
||||
|
||||
#endif /* cpu ifdefs */
|
||||
|
||||
#endif /* compiler ifdefs */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef __WIDL__
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
#endif /* _INC_VADEFS */
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* 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 _VARARGS_H
|
||||
#define _VARARGS_H
|
||||
|
||||
#error "GCC no longer implements <varargs.h>."
|
||||
#error "Revise your code to use <stdarg.h>."
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,338 @@
|
||||
/**
|
||||
* 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 __VCR_H__
|
||||
#define __VCR_H__
|
||||
|
||||
#define MCI_VCR_OFFSET 1280
|
||||
|
||||
#define MCI_LIST 0x0878
|
||||
#define MCI_SETAUDIO 0x0873
|
||||
#define MCI_SETVIDEO 0x0876
|
||||
#define MCI_SIGNAL 0x0875
|
||||
|
||||
#define MCI_MARK (MCI_USER_MESSAGES + 0)
|
||||
#define MCI_INDEX (MCI_USER_MESSAGES + 1)
|
||||
#define MCI_SETTUNER (MCI_USER_MESSAGES + 2)
|
||||
#define MCI_SETVCR (MCI_USER_MESSAGES + 3)
|
||||
#define MCI_SETTIMECODE (MCI_USER_MESSAGES + 4)
|
||||
|
||||
#define MCI_TEST __MSABI_LONG(0x00000020)
|
||||
|
||||
#define MCI_VCR_GETDEVCAPS_CAN_DETECT_LENGTH __MSABI_LONG(0x00004001)
|
||||
#define MCI_VCR_GETDEVCAPS_SEEK_ACCURACY __MSABI_LONG(0x00004002)
|
||||
#define MCI_VCR_GETDEVCAPS_HAS_CLOCK __MSABI_LONG(0x00004003)
|
||||
#define MCI_VCR_GETDEVCAPS_CAN_REVERSE __MSABI_LONG(0x00004004)
|
||||
#define MCI_VCR_GETDEVCAPS_NUMBER_OF_MARKS __MSABI_LONG(0x00004005)
|
||||
#define MCI_VCR_GETDEVCAPS_CAN_TEST __MSABI_LONG(0x00004006)
|
||||
#define MCI_VCR_GETDEVCAPS_CAN_PREROLL __MSABI_LONG(0x00004007)
|
||||
#define MCI_VCR_GETDEVCAPS_CAN_PREVIEW __MSABI_LONG(0x00004008)
|
||||
#define MCI_VCR_GETDEVCAPS_CAN_MONITOR_SOURCES __MSABI_LONG(0x00004009)
|
||||
#define MCI_VCR_GETDEVCAPS_HAS_TIMECODE __MSABI_LONG(0x0000400A)
|
||||
#define MCI_VCR_GETDEVCAPS_CAN_FREEZE __MSABI_LONG(0x0000401B)
|
||||
#define MCI_VCR_GETDEVCAPS_CLOCK_INCREMENT_RATE __MSABI_LONG(0x0000401C)
|
||||
|
||||
#define MCI_VCR_INFO_VERSION __MSABI_LONG(0x00010000)
|
||||
|
||||
#define MCI_VCR_PLAY_REVERSE __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_PLAY_AT __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_PLAY_SCAN __MSABI_LONG(0x00040000)
|
||||
|
||||
#define MCI_VCR_RECORD_INITIALIZE __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_RECORD_AT __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_RECORD_PREVIEW __MSABI_LONG(0x00040000)
|
||||
|
||||
#define MCI_VCR_CUE_INPUT __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_CUE_OUTPUT __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_CUE_PREROLL __MSABI_LONG(0x00040000)
|
||||
#define MCI_VCR_CUE_REVERSE __MSABI_LONG(0x00080000)
|
||||
|
||||
#define MCI_VCR_SEEK_REVERSE __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_SEEK_MARK __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_SEEK_AT __MSABI_LONG(0x00040000)
|
||||
|
||||
#define MCI_VCR_SETTUNER_CHANNEL __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_SETTUNER_CHANNEL_UP __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_SETTUNER_CHANNEL_DOWN __MSABI_LONG(0x00040000)
|
||||
#define MCI_VCR_SETTUNER_CHANNEL_SEEK_UP __MSABI_LONG(0x00080000)
|
||||
#define MCI_VCR_SETTUNER_CHANNEL_SEEK_DOWN __MSABI_LONG(0x00100000)
|
||||
#define MCI_VCR_SETTUNER_NUMBER __MSABI_LONG(0x00200000)
|
||||
|
||||
#define MCI_VCR_SET_TIME_MODE __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_SET_POWER __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_SET_RECORD_FORMAT __MSABI_LONG(0x00040000)
|
||||
#define MCI_VCR_SET_COUNTER_FORMAT __MSABI_LONG(0x00080000)
|
||||
#define MCI_VCR_SET_INDEX __MSABI_LONG(0x00100000)
|
||||
#define MCI_VCR_SET_ASSEMBLE_RECORD __MSABI_LONG(0x00200000)
|
||||
#define MCI_VCR_SET_TRACKING __MSABI_LONG(0x00400000)
|
||||
#define MCI_VCR_SET_SPEED __MSABI_LONG(0x00800000)
|
||||
#define MCI_VCR_SET_TAPE_LENGTH __MSABI_LONG(0x01000000)
|
||||
#define MCI_VCR_SET_COUNTER_VALUE __MSABI_LONG(0x02000000)
|
||||
#define MCI_VCR_SET_CLOCK __MSABI_LONG(0x04000000)
|
||||
#define MCI_VCR_SET_PAUSE_TIMEOUT __MSABI_LONG(0x08000000)
|
||||
#define MCI_VCR_SET_PREROLL_DURATION __MSABI_LONG(0x10000000)
|
||||
#define MCI_VCR_SET_POSTROLL_DURATION __MSABI_LONG(0x20000000)
|
||||
|
||||
#define MCI_VCR_SETTIMECODE_RECORD __MSABI_LONG(0x00010000)
|
||||
|
||||
#define MCI_VCR_STATUS_FRAME_RATE __MSABI_LONG(0x00004001)
|
||||
#define MCI_VCR_STATUS_SPEED __MSABI_LONG(0x00004002)
|
||||
#define MCI_VCR_STATUS_MEDIA_TYPE __MSABI_LONG(0x00004003)
|
||||
#define MCI_VCR_STATUS_RECORD_FORMAT __MSABI_LONG(0x00004004)
|
||||
#define MCI_VCR_STATUS_PLAY_FORMAT __MSABI_LONG(0x00004005)
|
||||
#define MCI_VCR_STATUS_AUDIO_SOURCE __MSABI_LONG(0x00004006)
|
||||
#define MCI_VCR_STATUS_AUDIO_SOURCE_NUMBER __MSABI_LONG(0x00004007)
|
||||
#define MCI_VCR_STATUS_VIDEO_SOURCE __MSABI_LONG(0x00004008)
|
||||
#define MCI_VCR_STATUS_VIDEO_SOURCE_NUMBER __MSABI_LONG(0x00004009)
|
||||
#define MCI_VCR_STATUS_AUDIO_MONITOR __MSABI_LONG(0x0000400A)
|
||||
#define MCI_VCR_STATUS_AUDIO_MONITOR_NUMBER __MSABI_LONG(0x0000400B)
|
||||
#define MCI_VCR_STATUS_VIDEO_MONITOR __MSABI_LONG(0x0000400C)
|
||||
#define MCI_VCR_STATUS_VIDEO_MONITOR_NUMBER __MSABI_LONG(0x0000400D)
|
||||
#define MCI_VCR_STATUS_INDEX_ON __MSABI_LONG(0x0000400E)
|
||||
#define MCI_VCR_STATUS_INDEX __MSABI_LONG(0x0000400F)
|
||||
#define MCI_VCR_STATUS_COUNTER_FORMAT __MSABI_LONG(0x00004010)
|
||||
#define MCI_VCR_STATUS_COUNTER_RESOLUTION __MSABI_LONG(0x00004011)
|
||||
#define MCI_VCR_STATUS_TIMECODE_TYPE __MSABI_LONG(0x00004012)
|
||||
#define MCI_VCR_STATUS_COUNTER_VALUE __MSABI_LONG(0x00004013)
|
||||
#define MCI_VCR_STATUS_TUNER_CHANNEL __MSABI_LONG(0x00004014)
|
||||
#define MCI_VCR_STATUS_WRITE_PROTECTED __MSABI_LONG(0x00004015)
|
||||
#define MCI_VCR_STATUS_TIMECODE_RECORD __MSABI_LONG(0x00004016)
|
||||
#define MCI_VCR_STATUS_VIDEO_RECORD __MSABI_LONG(0x00004017)
|
||||
#define MCI_VCR_STATUS_AUDIO_RECORD __MSABI_LONG(0x00004018)
|
||||
#define MCI_VCR_STATUS_TIME_TYPE __MSABI_LONG(0x00004019)
|
||||
#define MCI_VCR_STATUS_TIME_MODE __MSABI_LONG(0x0000401A)
|
||||
#define MCI_VCR_STATUS_POWER_ON __MSABI_LONG(0x0000401B)
|
||||
#define MCI_VCR_STATUS_CLOCK __MSABI_LONG(0x0000401C)
|
||||
#define MCI_VCR_STATUS_ASSEMBLE_RECORD __MSABI_LONG(0x0000401D)
|
||||
#define MCI_VCR_STATUS_TIMECODE_PRESENT __MSABI_LONG(0x0000401E)
|
||||
#define MCI_VCR_STATUS_NUMBER_OF_VIDEO_TRACKS __MSABI_LONG(0x0000401F)
|
||||
#define MCI_VCR_STATUS_NUMBER_OF_AUDIO_TRACKS __MSABI_LONG(0x00004020)
|
||||
#define MCI_VCR_STATUS_CLOCK_ID __MSABI_LONG(0x00004021)
|
||||
#define MCI_VCR_STATUS_PAUSE_TIMEOUT __MSABI_LONG(0x00004022)
|
||||
#define MCI_VCR_STATUS_PREROLL_DURATION __MSABI_LONG(0x00004023)
|
||||
#define MCI_VCR_STATUS_POSTROLL_DURATION __MSABI_LONG(0x00004024)
|
||||
#define MCI_VCR_STATUS_VIDEO __MSABI_LONG(0x00004025)
|
||||
#define MCI_VCR_STATUS_AUDIO __MSABI_LONG(0x00004026)
|
||||
|
||||
#define MCI_VCR_STATUS_NUMBER __MSABI_LONG(0x00080000)
|
||||
|
||||
#define MCI_VCR_ESCAPE_STRING __MSABI_LONG(0x00000100)
|
||||
|
||||
#define MCI_VCR_LIST_VIDEO_SOURCE __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_LIST_AUDIO_SOURCE __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_LIST_COUNT __MSABI_LONG(0x00040000)
|
||||
#define MCI_VCR_LIST_NUMBER __MSABI_LONG(0x00080000)
|
||||
|
||||
#define MCI_VCR_MARK_WRITE __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_MARK_ERASE __MSABI_LONG(0x00020000)
|
||||
|
||||
#define MCI_VCR_SETAUDIO_RECORD __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_SETAUDIO_SOURCE __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_SETAUDIO_MONITOR __MSABI_LONG(0x00040000)
|
||||
#define MCI_VCR_SETAUDIO_TO __MSABI_LONG(0x00200000)
|
||||
#define MCI_VCR_SETAUDIO_NUMBER __MSABI_LONG(0x00400000)
|
||||
|
||||
#define MCI_VCR_SETVIDEO_RECORD __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_SETVIDEO_SOURCE __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_SETVIDEO_MONITOR __MSABI_LONG(0x00040000)
|
||||
#define MCI_VCR_SETVIDEO_TO __MSABI_LONG(0x00100000)
|
||||
#define MCI_VCR_SETVIDEO_NUMBER __MSABI_LONG(0x00200000)
|
||||
|
||||
#define SEND_VCRSIGNAL(dwFlags,dwCallback,hDriver,wDeviceID,dwUser,dwPos) DriverCallback((dwCallback),DCB_WINDOW,(HANDLE)(wDeviceID),MM_MCISIGNAL,hDriver,((dwFlags) & MCI_VCR_SIGNAL_POSITION) ? (dwPos):(dwUser),((dwFlags) & MCI_VCR_SIGNAL_POSITION) ? (dwUser):(dwPos))
|
||||
|
||||
#define MM_MCISIGNAL 0x3CB
|
||||
|
||||
#define MCI_VCR_SIGNAL_AT __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_SIGNAL_EVERY __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_SIGNAL_USERVAL __MSABI_LONG(0x00040000)
|
||||
#define MCI_VCR_SIGNAL_CANCEL __MSABI_LONG(0x00080000)
|
||||
#define MCI_VCR_SIGNAL_POSITION __MSABI_LONG(0x00100000)
|
||||
|
||||
#define MCI_VCR_STEP_FRAMES __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_STEP_REVERSE __MSABI_LONG(0x00020000)
|
||||
|
||||
#define MCI_VCR_FREEZE_INPUT __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_FREEZE_OUTPUT __MSABI_LONG(0x00020000)
|
||||
#define MCI_VCR_FREEZE_FIELD __MSABI_LONG(0x00040000)
|
||||
#define MCI_VCR_FREEZE_FRAME __MSABI_LONG(0x00080000)
|
||||
|
||||
#define MCI_VCR_UNFREEZE_INPUT __MSABI_LONG(0x00010000)
|
||||
#define MCI_VCR_UNFREEZE_OUTPUT __MSABI_LONG(0x00020000)
|
||||
|
||||
#define MCI_VCR_MEDIA_8MM (MCI_VCR_OFFSET + 1)
|
||||
#define MCI_VCR_MEDIA_HI8 (MCI_VCR_OFFSET + 2)
|
||||
#define MCI_VCR_MEDIA_VHS (MCI_VCR_OFFSET + 3)
|
||||
#define MCI_VCR_MEDIA_SVHS (MCI_VCR_OFFSET + 4)
|
||||
#define MCI_VCR_MEDIA_BETA (MCI_VCR_OFFSET + 5)
|
||||
#define MCI_VCR_MEDIA_EDBETA (MCI_VCR_OFFSET + 6)
|
||||
#define MCI_VCR_MEDIA_OTHER (MCI_VCR_OFFSET + 7)
|
||||
|
||||
#define MCI_VCR_FORMAT_SP (MCI_VCR_OFFSET + 8)
|
||||
#define MCI_VCR_FORMAT_LP (MCI_VCR_OFFSET + 9)
|
||||
#define MCI_VCR_FORMAT_EP (MCI_VCR_OFFSET + 10)
|
||||
#define MCI_VCR_FORMAT_OTHER (MCI_VCR_OFFSET + 11)
|
||||
|
||||
#define MCI_VCR_TIME_TIMECODE (MCI_VCR_OFFSET + 12)
|
||||
#define MCI_VCR_TIME_COUNTER (MCI_VCR_OFFSET + 13)
|
||||
#define MCI_VCR_TIME_DETECT (MCI_VCR_OFFSET + 14)
|
||||
|
||||
#define MCI_VCR_SRC_TYPE_TUNER (MCI_VCR_OFFSET + 15)
|
||||
#define MCI_VCR_SRC_TYPE_LINE (MCI_VCR_OFFSET + 16)
|
||||
#define MCI_VCR_SRC_TYPE_SVIDEO (MCI_VCR_OFFSET + 17)
|
||||
#define MCI_VCR_SRC_TYPE_RGB (MCI_VCR_OFFSET + 18)
|
||||
#define MCI_VCR_SRC_TYPE_AUX (MCI_VCR_OFFSET + 19)
|
||||
#define MCI_VCR_SRC_TYPE_GENERIC (MCI_VCR_OFFSET + 20)
|
||||
#define MCI_VCR_SRC_TYPE_MUTE (MCI_VCR_OFFSET + 21)
|
||||
#define MCI_VCR_SRC_TYPE_OUTPUT (MCI_VCR_OFFSET + 22)
|
||||
|
||||
#define MCI_VCR_INDEX_TIMECODE (MCI_VCR_OFFSET + 23)
|
||||
#define MCI_VCR_INDEX_COUNTER (MCI_VCR_OFFSET + 24)
|
||||
#define MCI_VCR_INDEX_DATE (MCI_VCR_OFFSET + 25)
|
||||
#define MCI_VCR_INDEX_TIME (MCI_VCR_OFFSET + 26)
|
||||
|
||||
#define MCI_VCR_COUNTER_RES_SECONDS (MCI_VCR_OFFSET + 27)
|
||||
#define MCI_VCR_COUNTER_RES_FRAMES (MCI_VCR_OFFSET + 28)
|
||||
|
||||
#define MCI_VCR_TIMECODE_TYPE_SMPTE (MCI_VCR_OFFSET + 29)
|
||||
#define MCI_VCR_TIMECODE_TYPE_SMPTE_DROP (MCI_VCR_OFFSET + 30)
|
||||
#define MCI_VCR_TIMECODE_TYPE_OTHER (MCI_VCR_OFFSET + 31)
|
||||
#define MCI_VCR_TIMECODE_TYPE_NONE (MCI_VCR_OFFSET + 32)
|
||||
|
||||
#define MCI_VCR_PLUS (MCI_VCR_OFFSET + 33)
|
||||
#define MCI_VCR_MINUS (MCI_VCR_OFFSET + 34)
|
||||
#define MCI_VCR_RESET (MCI_VCR_OFFSET + 35)
|
||||
|
||||
#ifndef RC_INVOKED
|
||||
|
||||
typedef struct tagMCI_VCR_SEEK_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwTo;
|
||||
DWORD dwMark;
|
||||
DWORD dwAt;
|
||||
} MCI_VCR_SEEK_PARMS;
|
||||
typedef MCI_VCR_SEEK_PARMS *LPMCI_VCR_SEEK_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_SET_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwTimeFormat;
|
||||
DWORD dwAudio;
|
||||
DWORD dwTimeMode;
|
||||
DWORD dwRecordFormat;
|
||||
DWORD dwCounterFormat;
|
||||
DWORD dwIndex;
|
||||
DWORD dwTracking;
|
||||
DWORD dwSpeed;
|
||||
DWORD dwLength;
|
||||
DWORD dwCounter;
|
||||
DWORD dwClock;
|
||||
DWORD dwPauseTimeout;
|
||||
DWORD dwPrerollDuration;
|
||||
DWORD dwPostrollDuration;
|
||||
} MCI_VCR_SET_PARMS;
|
||||
typedef MCI_VCR_SET_PARMS *LPMCI_VCR_SET_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_SETTUNER_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwChannel;
|
||||
DWORD dwNumber;
|
||||
} MCI_VCR_SETTUNER_PARMS;
|
||||
typedef MCI_VCR_SETTUNER_PARMS *LPMCI_VCR_SETTUNER_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_ESCAPE_PARMS {
|
||||
DWORD dwCallback;
|
||||
LPCSTR lpstrCommand;
|
||||
} MCI_VCR_ESCAPE_PARMS;
|
||||
typedef MCI_VCR_ESCAPE_PARMS *LPMCI_VCR_ESCAPE_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_LIST_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwReturn;
|
||||
DWORD dwNumber;
|
||||
} MCI_VCR_LIST_PARMS;
|
||||
typedef MCI_VCR_LIST_PARMS *LPMCI_VCR_LIST_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_RECORD_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwFrom;
|
||||
DWORD dwTo;
|
||||
DWORD dwAt;
|
||||
} MCI_VCR_RECORD_PARMS;
|
||||
typedef MCI_VCR_RECORD_PARMS *LPMCI_VCR_RECORD_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_PLAY_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwFrom;
|
||||
DWORD dwTo;
|
||||
DWORD dwAt;
|
||||
} MCI_VCR_PLAY_PARMS;
|
||||
typedef MCI_VCR_PLAY_PARMS *LPMCI_VCR_PLAY_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_SETAUDIO_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwTrack;
|
||||
DWORD dwTo;
|
||||
DWORD dwNumber;
|
||||
} MCI_VCR_SETAUDIO_PARMS;
|
||||
typedef MCI_VCR_SETAUDIO_PARMS *LPMCI_VCR_SETAUDIO_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_SIGNAL_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwPosition;
|
||||
DWORD dwPeriod;
|
||||
DWORD dwUserParm;
|
||||
} MCI_VCR_SIGNAL_PARMS;
|
||||
typedef MCI_VCR_SIGNAL_PARMS *LPMCI_VCR_SIGNAL_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_STATUS_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwReturn;
|
||||
DWORD dwItem;
|
||||
DWORD dwTrack;
|
||||
DWORD dwNumber;
|
||||
} MCI_VCR_STATUS_PARMS;
|
||||
typedef MCI_VCR_STATUS_PARMS *LPMCI_VCR_STATUS_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_SETVIDEO_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwTrack;
|
||||
DWORD dwTo;
|
||||
DWORD dwNumber;
|
||||
} MCI_VCR_SETVIDEO_PARMS;
|
||||
typedef MCI_VCR_SETVIDEO_PARMS *LPMCI_VCR_SETVIDEO_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_STEP_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwFrames;
|
||||
} MCI_VCR_STEP_PARMS;
|
||||
typedef MCI_VCR_STEP_PARMS *LPMCI_VCR_STEP_PARMS;
|
||||
|
||||
typedef struct tagMCI_VCR_CUE_PARMS {
|
||||
DWORD dwCallback;
|
||||
DWORD dwFrom;
|
||||
DWORD dwTo;
|
||||
} MCI_VCR_CUE_PARMS;
|
||||
typedef MCI_VCR_CUE_PARMS *LPMCI_VCR_CUE_PARMS;
|
||||
#endif
|
||||
|
||||
#define MCIERR_VCR_CANNOT_OPEN_COMM (MCIERR_CUSTOM_DRIVER_BASE + 1)
|
||||
#define MCIERR_VCR_CANNOT_WRITE_COMM (MCIERR_CUSTOM_DRIVER_BASE + 2)
|
||||
#define MCIERR_VCR_READ_TIMEOUT (MCIERR_CUSTOM_DRIVER_BASE + 3)
|
||||
#define MCIERR_VCR_COMMAND_BUFFER_FULL (MCIERR_CUSTOM_DRIVER_BASE + 4)
|
||||
#define MCIERR_VCR_COMMAND_CANCELLED (MCIERR_CUSTOM_DRIVER_BASE + 5)
|
||||
#define MCIERR_VCR_POWER_OFF (MCIERR_CUSTOM_DRIVER_BASE + 6)
|
||||
#define MCIERR_VCR_COMMAND_FAILED (MCIERR_CUSTOM_DRIVER_BASE + 7)
|
||||
#define MCIERR_VCR_SEARCH (MCIERR_CUSTOM_DRIVER_BASE + 8)
|
||||
#define MCIERR_VCR_CONDITION (MCIERR_CUSTOM_DRIVER_BASE + 9)
|
||||
#define MCIERR_VCR_CAMERA_MODE (MCIERR_CUSTOM_DRIVER_BASE + 10)
|
||||
#define MCIERR_VCR_VCR_MODE (MCIERR_CUSTOM_DRIVER_BASE + 11)
|
||||
#define MCIERR_VCR_COUNTER_TYPE (MCIERR_CUSTOM_DRIVER_BASE + 12)
|
||||
#define MCIERR_VCR_TUNER (MCIERR_CUSTOM_DRIVER_BASE + 13)
|
||||
#define MCIERR_VCR_EMERGENCY_STOP (MCIERR_CUSTOM_DRIVER_BASE + 14)
|
||||
#define MCIERR_VCR_MEDIA_UNMOUNTED (MCIERR_CUSTOM_DRIVER_BASE + 15)
|
||||
#define MCIERR_VCR_REGISTER (MCIERR_CUSTOM_DRIVER_BASE + 16)
|
||||
#define MCIERR_VCR_TRACK_FAILURE (MCIERR_CUSTOM_DRIVER_BASE + 17)
|
||||
#define MCIERR_VCR_CUE_FAILED_FLAGS (MCIERR_CUSTOM_DRIVER_BASE + 18)
|
||||
#define MCIERR_VCR_ISWRITEPROTECTED (MCIERR_CUSTOM_DRIVER_BASE + 19)
|
||||
#endif
|
||||
@@ -0,0 +1,343 @@
|
||||
/**
|
||||
* 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 _VDMDBG_
|
||||
#define _VDMDBG_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <pshpack4.h>
|
||||
|
||||
#define STATUS_VDM_EVENT STATUS_SEGMENT_NOTIFICATION
|
||||
|
||||
#ifndef DBG_SEGLOAD
|
||||
#define DBG_SEGLOAD 0
|
||||
#define DBG_SEGMOVE 1
|
||||
#define DBG_SEGFREE 2
|
||||
#define DBG_MODLOAD 3
|
||||
#define DBG_MODFREE 4
|
||||
#define DBG_SINGLESTEP 5
|
||||
#define DBG_BREAK 6
|
||||
#define DBG_GPFAULT 7
|
||||
#define DBG_DIVOVERFLOW 8
|
||||
#define DBG_INSTRFAULT 9
|
||||
#define DBG_TASKSTART 10
|
||||
#define DBG_TASKSTOP 11
|
||||
#define DBG_DLLSTART 12
|
||||
#define DBG_DLLSTOP 13
|
||||
#define DBG_ATTACH 14
|
||||
#define DBG_TOOLHELP 15
|
||||
#define DBG_STACKFAULT 16
|
||||
#define DBG_WOWINIT 17
|
||||
#define DBG_TEMPBP 18
|
||||
#define DBG_MODMOVE 19
|
||||
#define DBG_INIT 20
|
||||
#define DBG_GPFAULT2 21
|
||||
#endif
|
||||
|
||||
#define VDMEVENT_NEEDS_INTERACTIVE 0x8000
|
||||
#define VDMEVENT_VERBOSE 0x4000
|
||||
#define VDMEVENT_PE 0x2000
|
||||
#define VDMEVENT_ALLFLAGS 0xe000
|
||||
|
||||
#define VDMEVENT_V86 0x0001
|
||||
#define VDMEVENT_PM16 0x0002
|
||||
|
||||
#define VDMCONTEXT_i386 0x00010000
|
||||
#define VDMCONTEXT_i486 0x00010000
|
||||
|
||||
#define VDMCONTEXT_CONTROL (VDMCONTEXT_i386 | __MSABI_LONG(0x00000001))
|
||||
#define VDMCONTEXT_INTEGER (VDMCONTEXT_i386 | __MSABI_LONG(0x00000002))
|
||||
#define VDMCONTEXT_SEGMENTS (VDMCONTEXT_i386 | __MSABI_LONG(0x00000004))
|
||||
#define VDMCONTEXT_FLOATING_POINT (VDMCONTEXT_i386 | __MSABI_LONG(0x00000008))
|
||||
#define VDMCONTEXT_DEBUG_REGISTERS (VDMCONTEXT_i386 | __MSABI_LONG(0x00000010))
|
||||
#define VDMCONTEXT_EXTENDED_REGISTERS (VDMCONTEXT_i386 | __MSABI_LONG(0x00000020))
|
||||
|
||||
#define VDMCONTEXT_FULL (VDMCONTEXT_CONTROL | VDMCONTEXT_INTEGER | VDMCONTEXT_SEGMENTS)
|
||||
|
||||
#ifdef _X86_
|
||||
|
||||
typedef struct _CONTEXT VDMCONTEXT;
|
||||
typedef struct _LDT_ENTRY VDMLDT_ENTRY;
|
||||
#else
|
||||
|
||||
#define SIZE_OF_80387_REGISTERS 80
|
||||
|
||||
typedef struct _FLOATING_SAVE_AREA {
|
||||
ULONG ControlWord;
|
||||
ULONG StatusWord;
|
||||
ULONG TagWord;
|
||||
ULONG ErrorOffset;
|
||||
ULONG ErrorSelector;
|
||||
ULONG DataOffset;
|
||||
ULONG DataSelector;
|
||||
UCHAR RegisterArea[SIZE_OF_80387_REGISTERS];
|
||||
ULONG Cr0NpxState;
|
||||
} FLOATING_SAVE_AREA;
|
||||
|
||||
typedef struct _VDMCONTEXT {
|
||||
ULONG ContextFlags;
|
||||
|
||||
ULONG Dr0;
|
||||
ULONG Dr1;
|
||||
ULONG Dr2;
|
||||
ULONG Dr3;
|
||||
ULONG Dr6;
|
||||
ULONG Dr7;
|
||||
|
||||
FLOATING_SAVE_AREA FloatSave;
|
||||
ULONG SegGs;
|
||||
ULONG SegFs;
|
||||
ULONG SegEs;
|
||||
ULONG SegDs;
|
||||
ULONG Edi;
|
||||
ULONG Esi;
|
||||
ULONG Ebx;
|
||||
ULONG Edx;
|
||||
ULONG Ecx;
|
||||
ULONG Eax;
|
||||
ULONG Ebp;
|
||||
ULONG Eip;
|
||||
ULONG SegCs;
|
||||
ULONG EFlags;
|
||||
ULONG Esp;
|
||||
ULONG SegSs;
|
||||
} VDMCONTEXT;
|
||||
|
||||
typedef struct _VDMLDT_ENTRY {
|
||||
USHORT LimitLow;
|
||||
USHORT BaseLow;
|
||||
union {
|
||||
struct {
|
||||
UCHAR BaseMid;
|
||||
UCHAR Flags1;
|
||||
UCHAR Flags2;
|
||||
UCHAR BaseHi;
|
||||
} Bytes;
|
||||
struct {
|
||||
ULONG BaseMid : 8;
|
||||
ULONG Type : 5;
|
||||
ULONG Dpl : 2;
|
||||
ULONG Pres : 1;
|
||||
ULONG LimitHi : 4;
|
||||
ULONG Sys : 1;
|
||||
ULONG Reserved_0 : 1;
|
||||
ULONG Default_Big : 1;
|
||||
ULONG Granularity : 1;
|
||||
ULONG BaseHi : 8;
|
||||
} Bits;
|
||||
} HighWord;
|
||||
} VDMLDT_ENTRY;
|
||||
#endif
|
||||
|
||||
typedef VDMCONTEXT *LPVDMCONTEXT;
|
||||
typedef VDMLDT_ENTRY *LPVDMLDT_ENTRY;
|
||||
|
||||
#define VDMCONTEXT_TO_PROGRAM_COUNTER(Context) (PVOID)((Context)->Eip)
|
||||
|
||||
#define VDMCONTEXT_LENGTH (sizeof(VDMCONTEXT))
|
||||
#define VDMCONTEXT_ALIGN (sizeof(ULONG))
|
||||
#define VDMCONTEXT_ROUND (VDMCONTEXT_ALIGN - 1)
|
||||
|
||||
#define V86FLAGS_CARRY 0x00001
|
||||
#define V86FLAGS_PARITY 0x00004
|
||||
#define V86FLAGS_AUXCARRY 0x00010
|
||||
#define V86FLAGS_ZERO 0x00040
|
||||
#define V86FLAGS_SIGN 0x00080
|
||||
#define V86FLAGS_TRACE 0x00100
|
||||
#define V86FLAGS_INTERRUPT 0x00200
|
||||
#define V86FLAGS_DIRECTION 0x00400
|
||||
#define V86FLAGS_OVERFLOW 0x00800
|
||||
#define V86FLAGS_IOPL 0x03000
|
||||
#define V86FLAGS_IOPL_BITS 0x12
|
||||
#define V86FLAGS_RESUME 0x10000
|
||||
#define V86FLAGS_V86 0x20000
|
||||
#define V86FLAGS_ALIGNMENT 0x40000
|
||||
|
||||
#define MAX_MODULE_NAME 8 + 1
|
||||
#define MAX_PATH16 255
|
||||
|
||||
typedef struct _SEGMENT_NOTE {
|
||||
WORD Selector1;
|
||||
WORD Selector2;
|
||||
WORD Segment;
|
||||
CHAR Module[MAX_MODULE_NAME+1];
|
||||
CHAR FileName[MAX_PATH16+1];
|
||||
WORD Type;
|
||||
DWORD Length;
|
||||
} SEGMENT_NOTE;
|
||||
|
||||
typedef struct _IMAGE_NOTE {
|
||||
CHAR Module[MAX_MODULE_NAME+1];
|
||||
CHAR FileName[MAX_PATH16+1];
|
||||
WORD hModule;
|
||||
WORD hTask;
|
||||
} IMAGE_NOTE;
|
||||
|
||||
typedef struct {
|
||||
DWORD dwSize;
|
||||
char szModule[MAX_MODULE_NAME+1];
|
||||
HANDLE hModule;
|
||||
WORD wcUsage;
|
||||
char szExePath[MAX_PATH16+1];
|
||||
WORD wNext;
|
||||
} MODULEENTRY,*LPMODULEENTRY;
|
||||
|
||||
#define SN_CODE 0
|
||||
#define SN_DATA 1
|
||||
#define SN_V86 2
|
||||
|
||||
typedef struct _TEMP_BP_NOTE {
|
||||
WORD Seg;
|
||||
DWORD Offset;
|
||||
WINBOOL bPM;
|
||||
} TEMP_BP_NOTE;
|
||||
|
||||
typedef struct _VDM_SEGINFO {
|
||||
WORD Selector;
|
||||
WORD SegNumber;
|
||||
DWORD Length;
|
||||
WORD Type;
|
||||
CHAR ModuleName[MAX_MODULE_NAME];
|
||||
CHAR FileName[MAX_PATH16];
|
||||
} VDM_SEGINFO;
|
||||
|
||||
#define GLOBAL_ALL 0
|
||||
#define GLOBAL_LRU 1
|
||||
#define GLOBAL_FREE 2
|
||||
|
||||
#define GT_UNKNOWN 0
|
||||
#define GT_DGROUP 1
|
||||
#define GT_DATA 2
|
||||
#define GT_CODE 3
|
||||
#define GT_TASK 4
|
||||
#define GT_RESOURCE 5
|
||||
#define GT_MODULE 6
|
||||
#define GT_FREE 7
|
||||
#define GT_INTERNAL 8
|
||||
#define GT_SENTINEL 9
|
||||
#define GT_BURGERMASTER 10
|
||||
|
||||
#define GD_USERDEFINED 0
|
||||
#define GD_CURSORCOMPONENT 1
|
||||
#define GD_BITMAP 2
|
||||
#define GD_ICONCOMPONENT 3
|
||||
#define GD_MENU 4
|
||||
#define GD_DIALOG 5
|
||||
#define GD_STRING 6
|
||||
#define GD_FONTDIR 7
|
||||
#define GD_FONT 8
|
||||
#define GD_ACCELERATORS 9
|
||||
#define GD_RCDATA 10
|
||||
#define GD_ERRTABLE 11
|
||||
#define GD_CURSOR 12
|
||||
#define GD_ICON 14
|
||||
#define GD_NAMETABLE 15
|
||||
#define GD_MAX_RESOURCE 15
|
||||
|
||||
typedef struct {
|
||||
DWORD dwSize;
|
||||
DWORD dwAddress;
|
||||
DWORD dwBlockSize;
|
||||
HANDLE hBlock;
|
||||
WORD wcLock;
|
||||
WORD wcPageLock;
|
||||
WORD wFlags;
|
||||
WINBOOL wHeapPresent;
|
||||
HANDLE hOwner;
|
||||
WORD wType;
|
||||
WORD wData;
|
||||
DWORD dwNext;
|
||||
DWORD dwNextAlt;
|
||||
} GLOBALENTRY,*LPGLOBALENTRY;
|
||||
|
||||
typedef DWORD (CALLBACK *DEBUGEVENTPROC)(LPDEBUG_EVENT,LPVOID);
|
||||
|
||||
#define W1(x) ((USHORT)(x.ExceptionInformation[0]))
|
||||
#define W2(x) ((USHORT)(x.ExceptionInformation[0] >> 16))
|
||||
#define W3(x) ((USHORT)(x.ExceptionInformation[1]))
|
||||
#define W4(x) ((USHORT)(x.ExceptionInformation[1] >> 16))
|
||||
#define DW3(x) (x.ExceptionInformation[2])
|
||||
#define DW4(x) (x.ExceptionInformation[3])
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
WINBOOL WINAPI VDMProcessException(LPDEBUG_EVENT lpDebugEvent);
|
||||
WINBOOL WINAPI VDMGetThreadSelectorEntry(HANDLE hProcess,HANDLE hThread,WORD wSelector,LPVDMLDT_ENTRY lpSelectorEntry);
|
||||
ULONG WINAPI VDMGetPointer(HANDLE hProcess,HANDLE hThread,WORD wSelector,DWORD dwOffset,WINBOOL fProtMode);
|
||||
WINBOOL WINAPI VDMGetContext(HANDLE hProcess,HANDLE hThread,LPVDMCONTEXT lpVDMContext);
|
||||
WINBOOL WINAPI VDMSetContext(HANDLE hProcess,HANDLE hThread,LPVDMCONTEXT lpVDMContext);
|
||||
WINBOOL WINAPI VDMGetSelectorModule(HANDLE hProcess,HANDLE hThread,WORD wSelector,PUINT lpSegmentNumber,LPSTR lpModuleName,UINT nNameSize,LPSTR lpModulePath,UINT nPathSize);
|
||||
WINBOOL WINAPI VDMGetModuleSelector(HANDLE hProcess,HANDLE hThread,UINT wSegmentNumber,LPSTR lpModuleName,LPWORD lpSelector);
|
||||
WINBOOL WINAPI VDMModuleFirst(HANDLE hProcess,HANDLE hThread,LPMODULEENTRY lpModuleEntry,DEBUGEVENTPROC lpEventProc,LPVOID lpData);
|
||||
WINBOOL WINAPI VDMModuleNext(HANDLE hProcess,HANDLE hThread,LPMODULEENTRY lpModuleEntry,DEBUGEVENTPROC lpEventProc,LPVOID lpData);
|
||||
WINBOOL WINAPI VDMGlobalFirst(HANDLE hProcess,HANDLE hThread,LPGLOBALENTRY lpGlobalEntry,WORD wFlags,DEBUGEVENTPROC lpEventProc,LPVOID lpData);
|
||||
WINBOOL WINAPI VDMGlobalNext(HANDLE hProcess,HANDLE hThread,LPGLOBALENTRY lpGlobalEntry,WORD wFlags,DEBUGEVENTPROC lpEventProc,LPVOID lpData);
|
||||
|
||||
typedef WINBOOL (WINAPI *PROCESSENUMPROC)(DWORD dwProcessId,DWORD dwAttributes,LPARAM lpUserDefined);
|
||||
typedef WINBOOL (WINAPI *TASKENUMPROC)(DWORD dwThreadId,WORD hMod16,WORD hTask16,LPARAM lpUserDefined);
|
||||
typedef WINBOOL (WINAPI *TASKENUMPROCEX)(DWORD dwThreadId,WORD hMod16,WORD hTask16,PSZ pszModName,PSZ pszFileName,LPARAM lpUserDefined);
|
||||
|
||||
#define WOW_SYSTEM (DWORD)0x0001
|
||||
|
||||
INT WINAPI VDMEnumProcessWOW(PROCESSENUMPROC fp,LPARAM lparam);
|
||||
INT WINAPI VDMEnumTaskWOW(DWORD dwProcessId,TASKENUMPROC fp,LPARAM lparam);
|
||||
INT WINAPI VDMEnumTaskWOWEx(DWORD dwProcessId,TASKENUMPROCEX fp,LPARAM lparam);
|
||||
WINBOOL WINAPI VDMTerminateTaskWOW(DWORD dwProcessId,WORD htask);
|
||||
WINBOOL WINAPI VDMStartTaskInWOW(DWORD dwProcessId,LPSTR lpCommandLine,WORD wShow);
|
||||
WINBOOL WINAPI VDMKillWOW(VOID);
|
||||
WINBOOL WINAPI VDMDetectWOW(VOID);
|
||||
WINBOOL WINAPI VDMBreakThread(HANDLE hProcess,HANDLE hThread);
|
||||
DWORD WINAPI VDMGetDbgFlags(HANDLE hProcess);
|
||||
WINBOOL WINAPI VDMSetDbgFlags(HANDLE hProcess,DWORD dwFlags);
|
||||
|
||||
#define VDMDBG_BREAK_DOSTASK 0x00000001
|
||||
#define VDMDBG_BREAK_WOWTASK 0x00000002
|
||||
#define VDMDBG_BREAK_LOADDLL 0x00000004
|
||||
#define VDMDBG_BREAK_EXCEPTIONS 0x00000008
|
||||
#define VDMDBG_BREAK_DEBUGGER 0x00000010
|
||||
#define VDMDBG_TRACE_HISTORY 0x00000080
|
||||
|
||||
WINBOOL WINAPI VDMIsModuleLoaded(LPSTR szPath);
|
||||
WINBOOL WINAPI VDMGetSegmentInfo(WORD Selector,ULONG Offset,WINBOOL bProtectMode,VDM_SEGINFO *pSegInfo);
|
||||
WINBOOL WINAPI VDMGetSymbol(LPSTR szModule,WORD SegNumber,DWORD Offset,WINBOOL bProtectMode,WINBOOL bNextSymbol,LPSTR szSymbolName,PDWORD pDisplacement);
|
||||
WINBOOL WINAPI VDMGetAddrExpression(LPSTR szModule,LPSTR szSymbol,PWORD Selector,PDWORD Offset,PWORD Type);
|
||||
|
||||
#define VDMADDR_V86 2
|
||||
#define VDMADDR_PM16 4
|
||||
#define VDMADDR_PM32 16
|
||||
|
||||
typedef WINBOOL (WINAPI *VDMPROCESSEXCEPTIONPROC)(LPDEBUG_EVENT);
|
||||
typedef WINBOOL (WINAPI *VDMGETTHREADSELECTORENTRYPROC)(HANDLE,HANDLE,DWORD,LPVDMLDT_ENTRY);
|
||||
typedef ULONG (WINAPI *VDMGETPOINTERPROC)(HANDLE,HANDLE,WORD,DWORD,WINBOOL);
|
||||
typedef WINBOOL (WINAPI *VDMGETCONTEXTPROC)(HANDLE,HANDLE,LPVDMCONTEXT);
|
||||
typedef WINBOOL (WINAPI *VDMSETCONTEXTPROC)(HANDLE,HANDLE,LPVDMCONTEXT);
|
||||
typedef WINBOOL (WINAPI *VDMKILLWOWPROC)(VOID);
|
||||
typedef WINBOOL (WINAPI *VDMDETECTWOWPROC)(VOID);
|
||||
typedef WINBOOL (WINAPI *VDMBREAKTHREADPROC)(HANDLE);
|
||||
typedef WINBOOL (WINAPI *VDMGETSELECTORMODULEPROC)(HANDLE,HANDLE,WORD,PUINT,LPSTR,UINT,LPSTR,UINT);
|
||||
typedef WINBOOL (WINAPI *VDMGETMODULESELECTORPROC)(HANDLE,HANDLE,UINT,LPSTR,LPWORD);
|
||||
typedef WINBOOL (WINAPI *VDMMODULEFIRSTPROC)(HANDLE,HANDLE,LPMODULEENTRY,DEBUGEVENTPROC,LPVOID);
|
||||
typedef WINBOOL (WINAPI *VDMMODULENEXTPROC)(HANDLE,HANDLE,LPMODULEENTRY,DEBUGEVENTPROC,LPVOID);
|
||||
typedef WINBOOL (WINAPI *VDMGLOBALFIRSTPROC)(HANDLE,HANDLE,LPGLOBALENTRY,WORD,DEBUGEVENTPROC,LPVOID);
|
||||
typedef WINBOOL (WINAPI *VDMGLOBALNEXTPROC)(HANDLE,HANDLE,LPGLOBALENTRY,WORD,DEBUGEVENTPROC,LPVOID);
|
||||
typedef INT (WINAPI *VDMENUMPROCESSWOWPROC)(PROCESSENUMPROC,LPARAM);
|
||||
typedef INT (WINAPI *VDMENUMTASKWOWPROC)(DWORD,TASKENUMPROC,LPARAM);
|
||||
typedef INT (WINAPI *VDMENUMTASKWOWEXPROC)(DWORD,TASKENUMPROCEX,LPARAM);
|
||||
typedef WINBOOL (WINAPI *VDMTERMINATETASKINWOWPROC)(DWORD,WORD);
|
||||
typedef WINBOOL (WINAPI *VDMSTARTTASKINWOWPROC)(DWORD,LPSTR,WORD);
|
||||
typedef DWORD (WINAPI *VDMGETDBGFLAGSPROC)(HANDLE);
|
||||
typedef WINBOOL (WINAPI *VDMSETDBGFLAGSPROC)(HANDLE,DWORD);
|
||||
typedef WINBOOL (WINAPI *VDMISMODULELOADEDPROC)(LPSTR);
|
||||
typedef WINBOOL (WINAPI *VDMGETSEGMENTINFOPROC)(WORD,ULONG,WINBOOL,VDM_SEGINFO);
|
||||
typedef WINBOOL (WINAPI *VDMGETSYMBOLPROC)(LPSTR,WORD,DWORD,WINBOOL,WINBOOL,LPSTR,PDWORD);
|
||||
typedef WINBOOL (WINAPI *VDMGETADDREXPRESSIONPROC)(LPSTR,LPSTR,PWORD,PDWORD,PWORD);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,126 @@
|
||||
/*** Autogenerated by WIDL 10.0-rc1 from include/vdslun.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __vdslun_h__
|
||||
#define __vdslun_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
/* 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 _VDS_STORAGE_IDENTIFIER_CODE_SET {
|
||||
VDSStorageIdCodeSetReserved = 0,
|
||||
VDSStorageIdCodeSetBinary = 1,
|
||||
VDSStorageIdCodeSetAscii = 2,
|
||||
VDSStorageIdCodeSetUtf8 = 3
|
||||
} VDS_STORAGE_IDENTIFIER_CODE_SET;
|
||||
typedef enum _VDS_STORAGE_IDENTIFIER_TYPE {
|
||||
VDSStorageIdTypeVendorSpecific = 0,
|
||||
VDSStorageIdTypeVendorId = 1,
|
||||
VDSStorageIdTypeEUI64 = 2,
|
||||
VDSStorageIdTypeFCPHName = 3,
|
||||
VDSStorageIdTypePortRelative = 4,
|
||||
VDSStorageIdTypeTargetPortGroup = 5,
|
||||
VDSStorageIdTypeLogicalUnitGroup = 6,
|
||||
VDSStorageIdTypeMD5LogicalUnitIdentifier = 7,
|
||||
VDSStorageIdTypeScsiNameString = 8
|
||||
} VDS_STORAGE_IDENTIFIER_TYPE;
|
||||
typedef enum _VDS_STORAGE_BUS_TYPE {
|
||||
VDSBusTypeUnknown = 0x0,
|
||||
VDSBusTypeScsi = 0x1,
|
||||
VDSBusTypeAtapi = 0x2,
|
||||
VDSBusTypeAta = 0x3,
|
||||
VDSBusType1394 = 0x4,
|
||||
VDSBusTypeSsa = 0x5,
|
||||
VDSBusTypeFibre = 0x6,
|
||||
VDSBusTypeUsb = 0x7,
|
||||
VDSBusTypeRAID = 0x8,
|
||||
VDSBusTypeiScsi = 0x9,
|
||||
VDSBusTypeSas = 0xa,
|
||||
VDSBusTypeSata = 0xb,
|
||||
VDSBusTypeSd = 0xc,
|
||||
VDSBusTypeMmc = 0xd,
|
||||
VDSBusTypeMax = 0xe,
|
||||
VDSBusTypeVirtual = 0xe,
|
||||
VDSBusTypeFileBackedVirtual = 0xf,
|
||||
VDSBusTypeSpaces = 0x10,
|
||||
VDSBusTypeNVMe = 0x11,
|
||||
VDSBusTypeScm = 0x12,
|
||||
VDSBusTypeUfs = 0x13,
|
||||
VDSBusTypeMaxReserved = 0x7f
|
||||
} VDS_STORAGE_BUS_TYPE;
|
||||
typedef struct _VDS_STORAGE_IDENTIFIER {
|
||||
VDS_STORAGE_IDENTIFIER_CODE_SET m_CodeSet;
|
||||
VDS_STORAGE_IDENTIFIER_TYPE m_Type;
|
||||
ULONG m_cbIdentifier;
|
||||
BYTE *m_rgbIdentifier;
|
||||
} VDS_STORAGE_IDENTIFIER;
|
||||
typedef struct _VDS_STORAGE_DEVICE_ID_DESCRIPTOR {
|
||||
ULONG m_version;
|
||||
ULONG m_cIdentifiers;
|
||||
VDS_STORAGE_IDENTIFIER *m_rgIdentifiers;
|
||||
} VDS_STORAGE_DEVICE_ID_DESCRIPTOR;
|
||||
typedef enum _VDS_INTERCONNECT_ADDRESS_TYPE {
|
||||
VDS_IA_UNKNOWN = 0,
|
||||
VDS_IA_FCFS = 1,
|
||||
VDS_IA_FCPH = 2,
|
||||
VDS_IA_FCPH3 = 3,
|
||||
VDS_IA_MAC = 4,
|
||||
VDS_IA_SCSI = 5
|
||||
} VDS_INTERCONNECT_ADDRESS_TYPE;
|
||||
typedef struct _VDS_INTERCONNECT {
|
||||
VDS_INTERCONNECT_ADDRESS_TYPE m_addressType;
|
||||
ULONG m_cbPort;
|
||||
BYTE *m_pbPort;
|
||||
ULONG m_cbAddress;
|
||||
BYTE *m_pbAddress;
|
||||
} VDS_INTERCONNECT;
|
||||
typedef struct _VDS_LUN_INFORMATION {
|
||||
ULONG m_version;
|
||||
BYTE m_DeviceType;
|
||||
BYTE m_DeviceTypeModifier;
|
||||
WINBOOL m_bCommandQueueing;
|
||||
VDS_STORAGE_BUS_TYPE m_BusType;
|
||||
char *m_szVendorId;
|
||||
char *m_szProductId;
|
||||
char *m_szProductRevision;
|
||||
char *m_szSerialNumber;
|
||||
GUID m_diskSignature;
|
||||
VDS_STORAGE_DEVICE_ID_DESCRIPTOR m_deviceIdDescriptor;
|
||||
ULONG m_cInterconnects;
|
||||
VDS_INTERCONNECT *m_rgInterconnects;
|
||||
} VDS_LUN_INFORMATION;
|
||||
#define VER_VDS_LUN_INFORMATION (1)
|
||||
|
||||
#endif /* WINAPI_PARTITION_DESKTOP */
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __vdslun_h__ */
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION APPVERSION,APPREVISION,0,APPRELEASE
|
||||
PRODUCTVERSION APPVERSION,APPREVISION,0,APPRELEASE
|
||||
FILEFLAGSMASK VERSIONFILEFLAGSMASK
|
||||
FILEFLAGS VERSIONFLAGS
|
||||
FILEOS VOS_DOS_WINDOWS32
|
||||
FILETYPE VERSIONTYPE
|
||||
FILESUBTYPE VERSIONSUBTYPE
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904E4"
|
||||
BEGIN
|
||||
VALUE "CompanyName",VERSIONCOMPANYNAME
|
||||
VALUE "FileDescription",VERSIONDESCRIPTION
|
||||
VALUE "FileVersion",VERSIONSTR
|
||||
VALUE "InternalName",VERSIONNAME
|
||||
VALUE "LegalCopyright",VERSIONCOPYRIGHT
|
||||
VALUE "OriginalFilename",VERSIONNAME
|
||||
VALUE "ProductName",VERSIONPRODUCTNAME
|
||||
VALUE "ProductVersion",VERSIONSTR
|
||||
END
|
||||
BLOCK "041104E4"
|
||||
BEGIN
|
||||
VALUE "CompanyName",VERSIONCOMPANYNAME
|
||||
VALUE "FileDescription",VERSIONDESCRIPTION
|
||||
VALUE "FileVersion",VERSIONSTR
|
||||
VALUE "InternalName",VERSIONNAME
|
||||
VALUE "LegalCopyright",VERSIONCOPYRIGHT
|
||||
VALUE "OriginalFilename",VERSIONNAME
|
||||
VALUE "ProductName",VERSIONPRODUCTNAME
|
||||
VALUE "ProductVersion",VERSIONSTR
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
|
||||
VALUE "Translation",0x409,0x4E4,0x411,0x4E4
|
||||
END
|
||||
END
|
||||
@@ -0,0 +1,87 @@
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#ifndef _INC_VERSIONHELPERS
|
||||
#define _INC_VERSIONHELPERS
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && !defined(__WIDL__)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define VERSIONHELPERAPI inline bool
|
||||
#else
|
||||
#define VERSIONHELPERAPI FORCEINLINE BOOL
|
||||
#endif
|
||||
|
||||
VERSIONHELPERAPI IsWindowsVersionOrGreater(WORD major, WORD minor, WORD servpack)
|
||||
{
|
||||
OSVERSIONINFOEXW vi = {sizeof(vi),major,minor,0,0,{0},servpack};
|
||||
return VerifyVersionInfoW(&vi, VER_MAJORVERSION|VER_MINORVERSION|VER_SERVICEPACKMAJOR,
|
||||
VerSetConditionMask(VerSetConditionMask(VerSetConditionMask(0,
|
||||
VER_MAJORVERSION,VER_GREATER_EQUAL),
|
||||
VER_MINORVERSION,VER_GREATER_EQUAL),
|
||||
VER_SERVICEPACKMAJOR, VER_GREATER_EQUAL));
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsXPOrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINXP), LOBYTE(_WIN32_WINNT_WINXP), 0);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsXPSP1OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINXP), LOBYTE(_WIN32_WINNT_WINXP), 1);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsXPSP2OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINXP), LOBYTE(_WIN32_WINNT_WINXP), 2);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsXPSP3OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINXP), LOBYTE(_WIN32_WINNT_WINXP), 3);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsVistaOrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_VISTA), LOBYTE(_WIN32_WINNT_VISTA), 0);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsVistaSP1OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_VISTA), LOBYTE(_WIN32_WINNT_VISTA), 1);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsVistaSP2OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_VISTA), LOBYTE(_WIN32_WINNT_VISTA), 2);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindows7OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WIN7), LOBYTE(_WIN32_WINNT_WIN7), 0);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindows7SP1OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WIN7), LOBYTE(_WIN32_WINNT_WIN7), 1);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindows8OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WIN8), LOBYTE(_WIN32_WINNT_WIN8), 0);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindows8Point1OrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINBLUE), LOBYTE(_WIN32_WINNT_WINBLUE), 0);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsThresholdOrGreater(void) {
|
||||
return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINTHRESHOLD), LOBYTE(_WIN32_WINNT_WINTHRESHOLD), 0);
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindows10OrGreater(void) {
|
||||
return IsWindowsThresholdOrGreater();
|
||||
}
|
||||
|
||||
VERSIONHELPERAPI IsWindowsServer(void) {
|
||||
OSVERSIONINFOEXW vi = {sizeof(vi),0,0,0,0,{0},0,0,0,VER_NT_WORKSTATION};
|
||||
return !VerifyVersionInfoW(&vi, VER_PRODUCT_TYPE, VerSetConditionMask(0, VER_PRODUCT_TYPE, VER_EQUAL));
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,177 @@
|
||||
/*
|
||||
* Copyright (C) 2002 Alexandre Julliard
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#define VFW_S_NO_MORE_ITEMS ((HRESULT)0x00040103)
|
||||
#define VFW_S_DUPLICATE_NAME ((HRESULT)0x0004022D)
|
||||
#define VFW_S_STATE_INTERMEDIATE ((HRESULT)0x00040237)
|
||||
#define VFW_S_PARTIAL_RENDER ((HRESULT)0x00040242)
|
||||
#define VFW_S_SOME_DATA_IGNORED ((HRESULT)0x00040245)
|
||||
#define VFW_S_CONNECTIONS_DEFERRED ((HRESULT)0x00040246)
|
||||
#define VFW_S_RESOURCE_NOT_NEEDED ((HRESULT)0x00040250)
|
||||
#define VFW_S_MEDIA_TYPE_IGNORED ((HRESULT)0x00040254)
|
||||
#define VFW_S_VIDEO_NOT_RENDERED ((HRESULT)0x00040257)
|
||||
#define VFW_S_AUDIO_NOT_RENDERED ((HRESULT)0x00040258)
|
||||
#define VFW_S_RPZA ((HRESULT)0x0004025A)
|
||||
#define VFW_S_ESTIMATED ((HRESULT)0x00040260)
|
||||
#define VFW_S_RESERVED ((HRESULT)0x00040263)
|
||||
#define VFW_S_STREAM_OFF ((HRESULT)0x00040267)
|
||||
#define VFW_S_CANT_CUE ((HRESULT)0x00040268)
|
||||
#define VFW_S_NO_STOP_TIME ((HRESULT)0x00040270)
|
||||
#define VFW_S_NOPREVIEWPIN ((HRESULT)0x0004027E)
|
||||
#define VFW_S_DVD_NON_ONE_SEQUENTIAL ((HRESULT)0x00040280)
|
||||
#define VFW_S_DVD_CHANNEL_CONTENTS_NOT_AVAILABLE ((HRESULT)0x0004028C)
|
||||
#define VFW_S_DVD_NOT_ACCURATE ((HRESULT)0x0004028D)
|
||||
#define VFW_E_INVALIDMEDIATYPE ((HRESULT)0x80040200)
|
||||
#define VFW_E_INVALIDSUBTYPE ((HRESULT)0x80040201)
|
||||
#define VFW_E_NEED_OWNER ((HRESULT)0x80040202)
|
||||
#define VFW_E_ENUM_OUT_OF_SYNC ((HRESULT)0x80040203)
|
||||
#define VFW_E_ALREADY_CONNECTED ((HRESULT)0x80040204)
|
||||
#define VFW_E_FILTER_ACTIVE ((HRESULT)0x80040205)
|
||||
#define VFW_E_NO_TYPES ((HRESULT)0x80040206)
|
||||
#define VFW_E_NO_ACCEPTABLE_TYPES ((HRESULT)0x80040207)
|
||||
#define VFW_E_INVALID_DIRECTION ((HRESULT)0x80040208)
|
||||
#define VFW_E_NOT_CONNECTED ((HRESULT)0x80040209)
|
||||
#define VFW_E_NO_ALLOCATOR ((HRESULT)0x8004020A)
|
||||
#define VFW_E_RUNTIME_ERROR ((HRESULT)0x8004020B)
|
||||
#define VFW_E_BUFFER_NOTSET ((HRESULT)0x8004020C)
|
||||
#define VFW_E_BUFFER_OVERFLOW ((HRESULT)0x8004020D)
|
||||
#define VFW_E_BADALIGN ((HRESULT)0x8004020E)
|
||||
#define VFW_E_ALREADY_COMMITTED ((HRESULT)0x8004020F)
|
||||
#define VFW_E_BUFFERS_OUTSTANDING ((HRESULT)0x80040210)
|
||||
#define VFW_E_NOT_COMMITTED ((HRESULT)0x80040211)
|
||||
#define VFW_E_SIZENOTSET ((HRESULT)0x80040212)
|
||||
#define VFW_E_NO_CLOCK ((HRESULT)0x80040213)
|
||||
#define VFW_E_NO_SINK ((HRESULT)0x80040214)
|
||||
#define VFW_E_NO_INTERFACE ((HRESULT)0x80040215)
|
||||
#define VFW_E_NOT_FOUND ((HRESULT)0x80040216)
|
||||
#define VFW_E_CANNOT_CONNECT ((HRESULT)0x80040217)
|
||||
#define VFW_E_CANNOT_RENDER ((HRESULT)0x80040218)
|
||||
#define VFW_E_CHANGING_FORMAT ((HRESULT)0x80040219)
|
||||
#define VFW_E_NO_COLOR_KEY_SET ((HRESULT)0x8004021A)
|
||||
#define VFW_E_NOT_OVERLAY_CONNECTION ((HRESULT)0x8004021B)
|
||||
#define VFW_E_NOT_SAMPLE_CONNECTION ((HRESULT)0x8004021C)
|
||||
#define VFW_E_PALETTE_SET ((HRESULT)0x8004021D)
|
||||
#define VFW_E_COLOR_KEY_SET ((HRESULT)0x8004021E)
|
||||
#define VFW_E_NO_COLOR_KEY_FOUND ((HRESULT)0x8004021F)
|
||||
#define VFW_E_NO_PALETTE_AVAILABLE ((HRESULT)0x80040220)
|
||||
#define VFW_E_NO_DISPLAY_PALETTE ((HRESULT)0x80040221)
|
||||
#define VFW_E_TOO_MANY_COLORS ((HRESULT)0x80040222)
|
||||
#define VFW_E_STATE_CHANGED ((HRESULT)0x80040223)
|
||||
#define VFW_E_NOT_STOPPED ((HRESULT)0x80040224)
|
||||
#define VFW_E_NOT_PAUSED ((HRESULT)0x80040225)
|
||||
#define VFW_E_NOT_RUNNING ((HRESULT)0x80040226)
|
||||
#define VFW_E_WRONG_STATE ((HRESULT)0x80040227)
|
||||
#define VFW_E_START_TIME_AFTER_END ((HRESULT)0x80040228)
|
||||
#define VFW_E_INVALID_RECT ((HRESULT)0x80040229)
|
||||
#define VFW_E_TYPE_NOT_ACCEPTED ((HRESULT)0x8004022A)
|
||||
#define VFW_E_SAMPLE_REJECTED ((HRESULT)0x8004022B)
|
||||
#define VFW_E_SAMPLE_REJECTED_EOS ((HRESULT)0x8004022C)
|
||||
#define VFW_E_DUPLICATE_NAME ((HRESULT)0x8004022D)
|
||||
#define VFW_E_TIMEOUT ((HRESULT)0x8004022E)
|
||||
#define VFW_E_INVALID_FILE_FORMAT ((HRESULT)0x8004022F)
|
||||
#define VFW_E_ENUM_OUT_OF_RANGE ((HRESULT)0x80040230)
|
||||
#define VFW_E_CIRCULAR_GRAPH ((HRESULT)0x80040231)
|
||||
#define VFW_E_NOT_ALLOWED_TO_SAVE ((HRESULT)0x80040232)
|
||||
#define VFW_E_TIME_ALREADY_PASSED ((HRESULT)0x80040233)
|
||||
#define VFW_E_ALREADY_CANCELLED ((HRESULT)0x80040234)
|
||||
#define VFW_E_CORRUPT_GRAPH_FILE ((HRESULT)0x80040235)
|
||||
#define VFW_E_ADVISE_ALREADY_SET ((HRESULT)0x80040236)
|
||||
#define VFW_E_NO_MODEX_AVAILABLE ((HRESULT)0x80040238)
|
||||
#define VFW_E_NO_ADVISE_SET ((HRESULT)0x80040239)
|
||||
#define VFW_E_NO_FULLSCREEN ((HRESULT)0x8004023A)
|
||||
#define VFW_E_IN_FULLSCREEN_MODE ((HRESULT)0x8004023B)
|
||||
#define VFW_E_UNKNOWN_FILE_TYPE ((HRESULT)0x80040240)
|
||||
#define VFW_E_CANNOT_LOAD_SOURCE_FILTER ((HRESULT)0x80040241)
|
||||
#define VFW_E_FILE_TOO_SHORT ((HRESULT)0x80040243)
|
||||
#define VFW_E_INVALID_FILE_VERSION ((HRESULT)0x80040244)
|
||||
#define VFW_E_INVALID_CLSID ((HRESULT)0x80040247)
|
||||
#define VFW_E_INVALID_MEDIA_TYPE ((HRESULT)0x80040248)
|
||||
#define VFW_E_SAMPLE_TIME_NOT_SET ((HRESULT)0x80040249)
|
||||
#define VFW_E_MEDIA_TIME_NOT_SET ((HRESULT)0x80040251)
|
||||
#define VFW_E_NO_TIME_FORMAT_SET ((HRESULT)0x80040252)
|
||||
#define VFW_E_MONO_AUDIO_HW ((HRESULT)0x80040253)
|
||||
#define VFW_E_NO_DECOMPRESSOR ((HRESULT)0x80040255)
|
||||
#define VFW_E_NO_AUDIO_HARDWARE ((HRESULT)0x80040256)
|
||||
#define VFW_E_RPZA ((HRESULT)0x80040259)
|
||||
#define VFW_E_PROCESSOR_NOT_SUITABLE ((HRESULT)0x8004025B)
|
||||
#define VFW_E_UNSUPPORTED_AUDIO ((HRESULT)0x8004025C)
|
||||
#define VFW_E_UNSUPPORTED_VIDEO ((HRESULT)0x8004025D)
|
||||
#define VFW_E_MPEG_NOT_CONSTRAINED ((HRESULT)0x8004025E)
|
||||
#define VFW_E_NOT_IN_GRAPH ((HRESULT)0x8004025F)
|
||||
#define VFW_E_NO_TIME_FORMAT ((HRESULT)0x80040261)
|
||||
#define VFW_E_READ_ONLY ((HRESULT)0x80040262)
|
||||
#define VFW_E_BUFFER_UNDERFLOW ((HRESULT)0x80040264)
|
||||
#define VFW_E_UNSUPPORTED_STREAM ((HRESULT)0x80040265)
|
||||
#define VFW_E_NO_TRANSPORT ((HRESULT)0x80040266)
|
||||
#define VFW_E_BAD_VIDEOCD ((HRESULT)0x80040269)
|
||||
#define VFW_E_OUT_OF_VIDEO_MEMORY ((HRESULT)0x80040271)
|
||||
#define VFW_E_VP_NEGOTIATION_FAILED ((HRESULT)0x80040272)
|
||||
#define VFW_E_DDRAW_CAPS_NOT_SUITABLE ((HRESULT)0x80040273)
|
||||
#define VFW_E_NO_VP_HARDWARE ((HRESULT)0x80040274)
|
||||
#define VFW_E_NO_CAPTURE_HARDWARE ((HRESULT)0x80040275)
|
||||
#define VFW_E_DVD_OPERATION_INHIBITED ((HRESULT)0x80040276)
|
||||
#define VFW_E_DVD_INVALIDDOMAIN ((HRESULT)0x80040277)
|
||||
#define VFW_E_DVD_NO_BUTTON ((HRESULT)0x80040278)
|
||||
#define VFW_E_DVD_GRAPHNOTREADY ((HRESULT)0x80040279)
|
||||
#define VFW_E_DVD_RENDERFAIL ((HRESULT)0x8004027A)
|
||||
#define VFW_E_DVD_DECNOTENOUGH ((HRESULT)0x8004027B)
|
||||
#define VFW_E_DDRAW_VERSION_NOT_SUITABLE ((HRESULT)0x8004027C)
|
||||
#define VFW_E_COPYPROT_FAILED ((HRESULT)0x8004027D)
|
||||
#define VFW_E_TIME_EXPIRED ((HRESULT)0x8004027F)
|
||||
#define VFW_E_DVD_WRONG_SPEED ((HRESULT)0x80040281)
|
||||
#define VFW_E_DVD_MENU_DOES_NOT_EXIST ((HRESULT)0x80040282)
|
||||
#define VFW_E_DVD_CMD_CANCELLED ((HRESULT)0x80040283)
|
||||
#define VFW_E_DVD_STATE_WRONG_VERSION ((HRESULT)0x80040284)
|
||||
#define VFW_E_DVD_STATE_CORRUPT ((HRESULT)0x80040285)
|
||||
#define VFW_E_DVD_STATE_WRONG_DISC ((HRESULT)0x80040286)
|
||||
#define VFW_E_DVD_INCOMPATIBLE_REGION ((HRESULT)0x80040287)
|
||||
#define VFW_E_DVD_NO_ATTRIBUTES ((HRESULT)0x80040288)
|
||||
#define VFW_E_DVD_NO_GOUP_PGC ((HRESULT)0x80040289)
|
||||
#define VFW_E_DVD_LOW_PARENTAL_LEVEL ((HRESULT)0x8004028A)
|
||||
#define VFW_E_DVD_NOT_IN_KARAOKE_MODE ((HRESULT)0x8004028B)
|
||||
#define VFW_E_FRAME_STEP_UNSUPPORTED ((HRESULT)0x8004028E)
|
||||
#define VFW_E_DVD_STREAM_DISABLED ((HRESULT)0x8004028F)
|
||||
#define VFW_E_DVD_TITLE_UNKNOWN ((HRESULT)0x80040290)
|
||||
#define VFW_E_DVD_INVALID_DISC ((HRESULT)0x80040291)
|
||||
#define VFW_E_DVD_NO_RESUME_INFORMATION ((HRESULT)0x80040292)
|
||||
#define VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD ((HRESULT)0x80040293)
|
||||
#define VFW_E_PIN_ALREADY_BLOCKED ((HRESULT)0x80040294)
|
||||
#define VFW_E_CERTIFICATION_FAILURE ((HRESULT)0x80040295)
|
||||
#define VFW_E_VMR_NOT_IN_MIXER_MODE ((HRESULT)0x80040296)
|
||||
#define VFW_E_VMR_NO_AP_SUPPLIED ((HRESULT)0x80040297)
|
||||
#define VFW_E_VMR_NO_DEINTERLACE_HW ((HRESULT)0x80040298)
|
||||
#define VFW_E_VMR_NO_PROCAMP_HW ((HRESULT)0x80040299)
|
||||
#define VFW_E_DVD_VMR9_INCOMPATIBLEDEC ((HRESULT)0x8004029A)
|
||||
#define VFW_E_NO_COPP_HW ((HRESULT)0x8004029B)
|
||||
#define VFW_E_DVD_NONBLOCKING ((HRESULT)0x8004029C)
|
||||
#define VFW_E_DVD_TOO_MANY_RENDERERS_IN_FILTER_GRAPH ((HRESULT)0x8004029D)
|
||||
#define VFW_E_DVD_NON_EVR_RENDERER_IN_FILTER_GRAPH ((HRESULT)0x8004029E)
|
||||
#define VFW_E_DVD_RESOLUTION_ERROR ((HRESULT)0x8004029F)
|
||||
#define VFW_E_CODECAPI_LINEAR_RANGE ((HRESULT)0x80040310)
|
||||
#define VFW_E_CODECAPI_ENUMERATED ((HRESULT)0x80040311)
|
||||
#define VFW_E_CODECAPI_NO_DEFAULT ((HRESULT)0x80040313)
|
||||
#define VFW_E_CODECAPI_NO_CURRENT_VALUE ((HRESULT)0x80040314)
|
||||
#define VFW_E_DVD_CHAPTER_DOES_NOT_EXIST ((HRESULT)0x80040315)
|
||||
#define VFW_E_BAD_KEY ((HRESULT)0x800403F2)
|
||||
|
||||
#ifndef E_PROP_ID_UNSUPPORTED
|
||||
#define E_PROP_ID_UNSUPPORTED ((HRESULT)0x80070490)
|
||||
#endif
|
||||
#ifndef E_PROP_SET_UNSUPPORTED
|
||||
#define E_PROP_SET_UNSUPPORTED ((HRESULT)0x80070492)
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user