Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
55379110
Commit
55379110
authored
Apr 10, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of the ICOM_CALL macros.
parent
6d1f9b03
Hide whitespace changes
Inline
Side-by-side
Showing
53 changed files
with
3714 additions
and
3318 deletions
+3714
-3318
dplaysp.h
dlls/dplayx/dplaysp.h
+17
-15
lobbysp.h
dlls/dplayx/lobbysp.h
+20
-18
shellfolder.h
dlls/shell32/shellfolder.h
+9
-7
d3d.h
include/d3d.h
+347
-308
d3d8.h
include/d3d8.h
+273
-249
d3dx8core.h
include/d3dx8core.h
+15
-11
ddraw.h
include/ddraw.h
+366
-340
dinput.h
include/dinput.h
+179
-157
dmplugin.h
include/dmplugin.h
+58
-50
dmusicc.h
include/dmusicc.h
+122
-100
dmusici.h
include/dmusici.h
+346
-304
dmusics.h
include/dmusics.h
+62
-56
docobj.h
include/docobj.h
+63
-49
dplay.h
include/dplay.h
+165
-157
dplobby.h
include/dplobby.h
+21
-19
dsdriver.h
include/dsdriver.h
+61
-49
dsound.h
include/dsound.h
+177
-153
objbase.h
include/objbase.h
+237
-272
oledlg.h
include/oledlg.h
+36
-32
servprov.h
include/servprov.h
+6
-4
shlobj.h
include/shlobj.h
+6
-4
shlwapi.h
include/shlwapi.h
+10
-8
urlmon.h
include/urlmon.h
+44
-34
vfw.h
include/vfw.h
+37
-31
obj_cache.h
include/wine/obj_cache.h
+29
-23
obj_comcat.h
include/wine/obj_comcat.h
+28
-28
obj_commdlgbrowser.h
include/wine/obj_commdlgbrowser.h
+8
-6
obj_connection.h
include/wine/obj_connection.h
+35
-27
obj_contextmenu.h
include/wine/obj_contextmenu.h
+9
-7
obj_control.h
include/wine/obj_control.h
+123
-105
obj_dockingwindowframe.h
include/wine/obj_dockingwindowframe.h
+10
-8
obj_dragdrop.h
include/wine/obj_dragdrop.h
+16
-12
obj_dragdrophelper.h
include/wine/obj_dragdrophelper.h
+17
-13
obj_enumguid.h
include/wine/obj_enumguid.h
+8
-8
obj_enumidlist.h
include/wine/obj_enumidlist.h
+9
-7
obj_extracticon.h
include/wine/obj_extracticon.h
+14
-10
obj_inplace.h
include/wine/obj_inplace.h
+123
-101
obj_olefont.h
include/wine/obj_olefont.h
+40
-36
obj_oleobj.h
include/wine/obj_oleobj.h
+46
-40
obj_oleundo.h
include/wine/obj_oleundo.h
+76
-62
obj_oleview.h
include/wine/obj_oleview.h
+23
-19
obj_picture.h
include/wine/obj_picture.h
+28
-24
obj_property.h
include/wine/obj_property.h
+135
-107
obj_serviceprovider.h
include/wine/obj_serviceprovider.h
+6
-4
obj_shellbrowser.h
include/wine/obj_shellbrowser.h
+20
-18
obj_shellextinit.h
include/wine/obj_shellextinit.h
+6
-4
obj_shellfolder.h
include/wine/obj_shellfolder.h
+71
-59
obj_shelllink.h
include/wine/obj_shelllink.h
+46
-42
obj_shellview.h
include/wine/obj_shellview.h
+19
-17
obj_webbrowser.h
include/wine/obj_webbrowser.h
+88
-84
header.c
tools/widl/header.c
+3
-13
widl.c
tools/widl/widl.c
+1
-6
widl.h
tools/widl/widl.h
+0
-1
No files found.
dlls/dplayx/dplaysp.h
View file @
55379110
...
...
@@ -77,23 +77,25 @@ ICOM_DEFINE(IDirectPlaySP,IUnknown)
/* NOTE: The microsoft provided header file doesn't have these access
* functions
*/
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectPlaySP_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectPlaySP_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectPlaySP_Release(p)
ICOM_CALL (Release,
p)
#define IDirectPlaySP_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectPlaySP_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectPlaySP_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectPlaySP methods ***/
#define IDirectPlaySP_AddMRUEntry(p,a,b,c,d,e) ICOM_CALL5(AddMRUEntry,p,a,b,c,d,e)
#define IDirectPlaySP_CreateAddress(p,a,b,c,d,e,f) ICOM_CALL6(CreateAddress,p,a,b,c,d,e,f)
#define IDirectPlaySP_EnumAddress(p,a,b,c,d) ICOM_CALL4(EnumAddress,p,a,b,c,d)
#define IDirectPlaySP_EnumMRUEntries(p,a,b,c,d) ICOM_CALL4(EnumMRUEntries,p,a,b,c,d)
#define IDirectPlaySP_GetPlayerFlags(p,a,b) ICOM_CALL2(GetPlayerFlags,p,a,b)
#define IDirectPlaySP_GetSPPlayerData(p,a,b,c,d) ICOM_CALL4(GetSPPlayerData,p,a,b,c,d)
#define IDirectPlaySP_HandleMessage(p,a,b,c) ICOM_CALL3(HandleMessage,p,a,b,c)
#define IDirectPlaySP_SetSPPlayerData(p,a,b,c,d) ICOM_CALL4(SetSPPlayerData,p,a,b,c,d)
#define IDirectPlaySP_CreateCompoundAddress(p,a,b,c,d) ICOM_CALL4(CreateCompoundAddress,p,a,b,c,d)
#define IDirectPlaySP_GetSPData(p,a,b,c) ICOM_CALL3(GetSPData,p,a,b,c)
#define IDirectPlaySP_SetSPData(p,a,b,c) ICOM_CALL3(SetSPData,p,a,b,c)
#define IDirectPlaySP_SendComplete(p,a,b) ICOM_CALL2(SendComplete,p,a,b)
#define IDirectPlaySP_AddMRUEntry(p,a,b,c,d,e) (p)->lpVtbl->AddMRUEntry(p,a,b,c,d,e)
#define IDirectPlaySP_CreateAddress(p,a,b,c,d,e,f) (p)->lpVtbl->CreateAddress(p,a,b,c,d,e,f)
#define IDirectPlaySP_EnumAddress(p,a,b,c,d) (p)->lpVtbl->EnumAddress(p,a,b,c,d)
#define IDirectPlaySP_EnumMRUEntries(p,a,b,c,d) (p)->lpVtbl->EnumMRUEntries(p,a,b,c,d)
#define IDirectPlaySP_GetPlayerFlags(p,a,b) (p)->lpVtbl->GetPlayerFlags(p,a,b)
#define IDirectPlaySP_GetSPPlayerData(p,a,b,c,d) (p)->lpVtbl->GetSPPlayerData(p,a,b,c,d)
#define IDirectPlaySP_HandleMessage(p,a,b,c) (p)->lpVtbl->HandleMessage(p,a,b,c)
#define IDirectPlaySP_SetSPPlayerData(p,a,b,c,d) (p)->lpVtbl->SetSPPlayerData(p,a,b,c,d)
#define IDirectPlaySP_CreateCompoundAddress(p,a,b,c,d) (p)->lpVtbl->CreateCompoundAddress(p,a,b,c,d)
#define IDirectPlaySP_GetSPData(p,a,b,c) (p)->lpVtbl->GetSPData(p,a,b,c)
#define IDirectPlaySP_SetSPData(p,a,b,c) (p)->lpVtbl->SetSPData(p,a,b,c)
#define IDirectPlaySP_SendComplete(p,a,b) (p)->lpVtbl->SendComplete(p,a,b)
#endif
/* SP Callback stuff */
...
...
dlls/dplayx/lobbysp.h
View file @
55379110
...
...
@@ -482,27 +482,29 @@ HRESULT WINAPI DPLSPInit(LPSPDATA_INIT);
ICOM_DEFINE
(
IDPLobbySP
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDPLobbySP_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDPLobbySP_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDPLobbySP_Release(p)
ICOM_CALL (Release,
p)
#define IDPLobbySP_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDPLobbySP_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDPLobbySP_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDPLobbySP methods ***/
#define IDPLobbySP_AddGroupToGroup(p,a) ICOM_CALL1(AddGroupToGroup,p,a)
#define IDPLobbySP_AddPlayerToGroup(p,a) ICOM_CALL1(AddPlayerToGroup,p,a)
#define IDPLobbySP_CreateGroup(p,a) ICOM_CALL1(CreateGroup,p,a)
#define IDPLobbySP_CreateGroupInGroup(p,a) ICOM_CALL1(CreateGroupInGroup,p,a)
#define IDPLobbySP_DeleteGroupFromGroup(p,a) ICOM_CALL1(DeleteGroupFromGroup,p,a)
#define IDPLobbySP_DeletePlayerFromGroup(p,a) ICOM_CALL1(DeletePlayerFromGroup,p,a)
#define IDPLobbySP_DestroyGroup(p,a) ICOM_CALL1(DestroyGroup,p,a)
#define IDPLobbySP_EnumSessionsResponse(p,a) ICOM_CALL1(EnumSessionsResponse,p,a)
#define IDPLobbySP_GetSPDataPointer(p,a) ICOM_CALL1(GetSPDataPointer,p,a)
#define IDPLobbySP_HandleMessage(p,a) ICOM_CALL1(HandleMessage,p,a)
#define IDPLobbySP_SetGroupName(p,a) ICOM_CALL1(SetGroupName,p,a)
#define IDPLobbySP_SetPlayerName(p,a) ICOM_CALL1(SetPlayerName,p,a)
#define IDPLobbySP_SetSessionDesc(p,a) ICOM_CALL1(SetSessionDesc,p,a)
#define IDPLobbySP_StartSession(p,a) ICOM_CALL1(StartSession,p,a)
#define IDPLobbySP_SetSPDataPointer(p,a) ICOM_CALL1(SetSPDataPointer,p,a)
#define IDPLobbySP_AddGroupToGroup(p,a) (p)->lpVtbl->AddGroupToGroup(p,a)
#define IDPLobbySP_AddPlayerToGroup(p,a) (p)->lpVtbl->AddPlayerToGroup(p,a)
#define IDPLobbySP_CreateGroup(p,a) (p)->lpVtbl->CreateGroup(p,a)
#define IDPLobbySP_CreateGroupInGroup(p,a) (p)->lpVtbl->CreateGroupInGroup(p,a)
#define IDPLobbySP_DeleteGroupFromGroup(p,a) (p)->lpVtbl->DeleteGroupFromGroup(p,a)
#define IDPLobbySP_DeletePlayerFromGroup(p,a) (p)->lpVtbl->DeletePlayerFromGroup(p,a)
#define IDPLobbySP_DestroyGroup(p,a) (p)->lpVtbl->DestroyGroup(p,a)
#define IDPLobbySP_EnumSessionsResponse(p,a) (p)->lpVtbl->EnumSessionsResponse(p,a)
#define IDPLobbySP_GetSPDataPointer(p,a) (p)->lpVtbl->GetSPDataPointer(p,a)
#define IDPLobbySP_HandleMessage(p,a) (p)->lpVtbl->HandleMessage(p,a)
#define IDPLobbySP_SetGroupName(p,a) (p)->lpVtbl->SetGroupName(p,a)
#define IDPLobbySP_SetPlayerName(p,a) (p)->lpVtbl->SetPlayerName(p,a)
#define IDPLobbySP_SetSessionDesc(p,a) (p)->lpVtbl->SetSessionDesc(p,a)
#define IDPLobbySP_StartSession(p,a) (p)->lpVtbl->StartSession(p,a)
#define IDPLobbySP_SetSPDataPointer(p,a) (p)->lpVtbl->SetSPDataPointer(p,a)
#endif
/* This variable is exported from the DLL at ordinal 6 to be accessed by the
* SP directly. This is the same variable that the DP SP will use.
...
...
dlls/shell32/shellfolder.h
View file @
55379110
...
...
@@ -47,14 +47,16 @@ typedef struct ISFHelper ISFHelper, *LPISFHELPER;
ICOM_DEFINE
(
ISFHelper
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define ISFHelper_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define ISFHelper_AddRef(p)
ICOM_CALL (AddRef,
p)
#define ISFHelper_Release(p)
ICOM_CALL (Release,
p)
#define ISFHelper_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define ISFHelper_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define ISFHelper_Release(p)
(p)->lpVtbl->Release(
p)
/*** ISFHelper methods ***/
#define ISFHelper_GetUniqueName(p,a,b) ICOM_CALL2(GetUniqueName,p,a,b)
#define ISFHelper_AddFolder(p,a,b,c) ICOM_CALL3(AddFolder,p,a,b,c)
#define ISFHelper_DeleteItems(p,a,b) ICOM_CALL2(DeleteItems,p,a,b)
#define ISFHelper_CopyItems(p,a,b,c) ICOM_CALL3(CopyItems,p,a,b,c)
#define ISFHelper_GetUniqueName(p,a,b) (p)->lpVtbl->GetUniqueName(p,a,b)
#define ISFHelper_AddFolder(p,a,b,c) (p)->lpVtbl->AddFolder(p,a,b,c)
#define ISFHelper_DeleteItems(p,a,b) (p)->lpVtbl->DeleteItems(p,a,b)
#define ISFHelper_CopyItems(p,a,b,c) (p)->lpVtbl->CopyItems(p,a,b,c)
#endif
#endif
/* __WINE_SHELLFOLDER_HELP_H */
include/d3d.h
View file @
55379110
...
...
@@ -212,17 +212,19 @@ typedef DWORD D3DVIEWPORTHANDLE, *LPD3DVIEWPORTHANDLE;
ICOM_DEFINE
(
IDirect3D
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3D_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3D_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3D_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3D_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3D_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3D_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3D methods ***/
#define IDirect3D_Initialize(p,a) ICOM_CALL2(Initialize,p,a)
#define IDirect3D_EnumDevices(p,a,b) ICOM_CALL2(EnumDevices,p,a,b)
#define IDirect3D_CreateLight(p,a,b) ICOM_CALL2(CreateLight,p,a,b)
#define IDirect3D_CreateMaterial(p,a,b) ICOM_CALL2(CreateMaterial,p,a,b)
#define IDirect3D_CreateViewport(p,a,b) ICOM_CALL2(CreateViewport,p,a,b)
#define IDirect3D_FindDevice(p,a,b) ICOM_CALL2(FindDevice,p,a,b)
#define IDirect3D_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#define IDirect3D_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b)
#define IDirect3D_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b)
#define IDirect3D_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
#define IDirect3D_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b)
#define IDirect3D_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -242,17 +244,19 @@ ICOM_DEFINE(IDirect3D,IUnknown)
ICOM_DEFINE
(
IDirect3D2
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3D2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3D2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3D2_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3D2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3D2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3D2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3D2 methods ***/
#define IDirect3D2_EnumDevices(p,a,b) ICOM_CALL2(EnumDevices,p,a,b)
#define IDirect3D2_CreateLight(p,a,b) ICOM_CALL2(CreateLight,p,a,b)
#define IDirect3D2_CreateMaterial(p,a,b) ICOM_CALL2(CreateMaterial,p,a,b)
#define IDirect3D2_CreateViewport(p,a,b) ICOM_CALL2(CreateViewport,p,a,b)
#define IDirect3D2_FindDevice(p,a,b) ICOM_CALL2(FindDevice,p,a,b)
#define IDirect3D2_CreateDevice(p,a,b,c) ICOM_CALL3(CreateDevice,p,a,b,c)
#define IDirect3D2_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b)
#define IDirect3D2_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b)
#define IDirect3D2_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
#define IDirect3D2_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b)
#define IDirect3D2_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b)
#define IDirect3D2_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -275,20 +279,22 @@ ICOM_DEFINE(IDirect3D2,IUnknown)
ICOM_DEFINE
(
IDirect3D3
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3D3_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3D3_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3D3_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3D3_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3D3_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3D3_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3D3 methods ***/
#define IDirect3D3_EnumDevices(p,a,b) ICOM_CALL2(EnumDevices,p,a,b)
#define IDirect3D3_CreateLight(p,a,b) ICOM_CALL2(CreateLight,p,a,b)
#define IDirect3D3_CreateMaterial(p,a,b) ICOM_CALL2(CreateMaterial,p,a,b)
#define IDirect3D3_CreateViewport(p,a,b) ICOM_CALL2(CreateViewport,p,a,b)
#define IDirect3D3_FindDevice(p,a,b) ICOM_CALL2(FindDevice,p,a,b)
#define IDirect3D3_CreateDevice(p,a,b,c,d) ICOM_CALL4(CreateDevice,p,a,b,c,d)
#define IDirect3D3_CreateVertexBuffer(p,a,b,c,d) ICOM_CALL4(CreateVertexBuffer,p,a,b,c,d)
#define IDirect3D3_EnumZBufferFormats(p,a,b,c) ICOM_CALL3(EnumZBufferFormats,p,a,b,c)
#define IDirect3D3_EvictManagedTextures(p) ICOM_CALL (EvictManagedTextures,p)
#define IDirect3D3_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b)
#define IDirect3D3_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b)
#define IDirect3D3_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
#define IDirect3D3_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b)
#define IDirect3D3_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b)
#define IDirect3D3_CreateDevice(p,a,b,c,d) (p)->lpVtbl->CreateDevice(p,a,b,c,d)
#define IDirect3D3_CreateVertexBuffer(p,a,b,c,d) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d)
#define IDirect3D3_EnumZBufferFormats(p,a,b,c) (p)->lpVtbl->EnumZBufferFormats(p,a,b,c)
#define IDirect3D3_EvictManagedTextures(p) (p)->lpVtbl->EvictManagedTextures(p)
#endif
/*****************************************************************************
* IDirect3D7 interface
...
...
@@ -306,16 +312,18 @@ ICOM_DEFINE(IDirect3D3,IUnknown)
ICOM_DEFINE
(
IDirect3D7
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3D7_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3D7_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3D7_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3D7_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3D7_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3D7_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3D3 methods ***/
#define IDirect3D7_EnumDevices(p,a,b) ICOM_CALL2(EnumDevices,p,a,b)
#define IDirect3D7_CreateDevice(p,a,b,c) ICOM_CALL3(CreateDevice,p,a,b,c)
#define IDirect3D7_CreateVertexBuffer(p,a,b,c) ICOM_CALL3(CreateVertexBuffer,p,a,b,c)
#define IDirect3D7_EnumZBufferFormats(p,a,b,c) ICOM_CALL3(EnumZBufferFormats,p,a,b,c)
#define IDirect3D7_EvictManagedTextures(p) ICOM_CALL (EvictManagedTextures,p)
#define IDirect3D7_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b)
#define IDirect3D7_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
#define IDirect3D7_CreateVertexBuffer(p,a,b,c) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c)
#define IDirect3D7_EnumZBufferFormats(p,a,b,c) (p)->lpVtbl->EnumZBufferFormats(p,a,b,c)
#define IDirect3D7_EvictManagedTextures(p) (p)->lpVtbl->EvictManagedTextures(p)
#endif
/*****************************************************************************
...
...
@@ -332,14 +340,16 @@ ICOM_DEFINE(IDirect3D7,IUnknown)
ICOM_DEFINE
(
IDirect3DLight
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DLight_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DLight_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DLight_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DLight_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DLight_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DLight_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DLight methods ***/
#define IDirect3DLight_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#define IDirect3DLight_SetLight(p,a) ICOM_CALL1(SetLight,p,a)
#define IDirect3DLight_GetLight(p,a) ICOM_CALL1(GetLight,p,a)
#define IDirect3DLight_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#define IDirect3DLight_SetLight(p,a) (p)->lpVtbl->SetLight(p,a)
#define IDirect3DLight_GetLight(p,a) (p)->lpVtbl->GetLight(p,a)
#endif
/*****************************************************************************
...
...
@@ -359,17 +369,19 @@ ICOM_DEFINE(IDirect3DLight,IUnknown)
ICOM_DEFINE
(
IDirect3DMaterial
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DMaterial_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DMaterial_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DMaterial_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DMaterial_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DMaterial_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DMaterial_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DMaterial methods ***/
#define IDirect3DMaterial_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#define IDirect3DMaterial_SetMaterial(p,a) ICOM_CALL1(SetMaterial,p,a)
#define IDirect3DMaterial_GetMaterial(p,a) ICOM_CALL1(GetMaterial,p,a)
#define IDirect3DMaterial_GetHandle(p,a,b) ICOM_CALL2(GetHandle,p,a,b)
#define IDirect3DMaterial_Reserve(p) ICOM_CALL (Reserve,p)
#define IDirect3DMaterial_Unreserve(p) ICOM_CALL (Unreserve,p)
#define IDirect3DMaterial_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#define IDirect3DMaterial_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
#define IDirect3DMaterial_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
#define IDirect3DMaterial_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
#define IDirect3DMaterial_Reserve(p) (p)->lpVtbl->Reserve(p)
#define IDirect3DMaterial_Unreserve(p) (p)->lpVtbl->Unreserve(p)
#endif
/*****************************************************************************
...
...
@@ -386,14 +398,16 @@ ICOM_DEFINE(IDirect3DMaterial,IUnknown)
ICOM_DEFINE
(
IDirect3DMaterial2
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DMaterial2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DMaterial2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DMaterial2_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DMaterial2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DMaterial2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DMaterial2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DMaterial2 methods ***/
#define IDirect3DMaterial2_SetMaterial(p,a) ICOM_CALL1(SetMaterial,p,a)
#define IDirect3DMaterial2_GetMaterial(p,a) ICOM_CALL1(GetMaterial,p,a)
#define IDirect3DMaterial2_GetHandle(p,a,b) ICOM_CALL2(GetHandle,p,a,b)
#define IDirect3DMaterial2_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
#define IDirect3DMaterial2_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
#define IDirect3DMaterial2_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -410,14 +424,16 @@ ICOM_DEFINE(IDirect3DMaterial2,IUnknown)
ICOM_DEFINE
(
IDirect3DMaterial3
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DMaterial3_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DMaterial3_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DMaterial3_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DMaterial3_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DMaterial3_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DMaterial3_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DMaterial3 methods ***/
#define IDirect3DMaterial3_SetMaterial(p,a) ICOM_CALL1(SetMaterial,p,a)
#define IDirect3DMaterial3_GetMaterial(p,a) ICOM_CALL1(GetMaterial,p,a)
#define IDirect3DMaterial3_GetHandle(p,a,b) ICOM_CALL2(GetHandle,p,a,b)
#define IDirect3DMaterial3_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
#define IDirect3DMaterial3_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
#define IDirect3DMaterial3_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -436,16 +452,18 @@ ICOM_DEFINE(IDirect3DMaterial3,IUnknown)
ICOM_DEFINE
(
IDirect3DTexture
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DTexture_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DTexture_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DTexture_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DTexture_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DTexture_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DTexture_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DTexture methods ***/
#define IDirect3DTexture_Initialize(p,a,b,c) ICOM_CALL(Initialize,p,a,b,c)
#define IDirect3DTexture_GetHandle(p,a,b,c) ICOM_CALL(GetHandle,p,a,b,c)
#define IDirect3DTexture_PaletteChanged(p,a,b,c) ICOM_CALL(PaletteChanged,p,a,b,c)
#define IDirect3DTexture_Load(p,a,b,c) ICOM_CALL(Load,p,a,b,c)
#define IDirect3DTexture_Unload(p,a,b,c) ICOM_CALL(Unload,p,a,b,c)
#define IDirect3DTexture_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
#define IDirect3DTexture_GetHandle(p,a,b,c) (p)->lpVtbl->GetHandle(p,a,b,c)
#define IDirect3DTexture_PaletteChanged(p,a,b,c) (p)->lpVtbl->PaletteChanged(p,a,b,c)
#define IDirect3DTexture_Load(p,a,b,c) (p)->lpVtbl->Load(p,a,b,c)
#define IDirect3DTexture_Unload(p,a,b,c) (p)->lpVtbl->Unload(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -462,14 +480,16 @@ ICOM_DEFINE(IDirect3DTexture,IUnknown)
ICOM_DEFINE
(
IDirect3DTexture2
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DTexture2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DTexture2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DTexture2_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DTexture2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DTexture2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DTexture2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DTexture2 methods ***/
#define IDirect3DTexture2_GetHandle(p,a,b) ICOM_CALL2(GetHandle,p,a,b)
#define IDirect3DTexture2_PaletteChanged(p,a,b) ICOM_CALL2(PaletteChanged,p,a,b)
#define IDirect3DTexture2_Load(p,a) ICOM_CALL1(Load,p,a)
#define IDirect3DTexture2_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
#define IDirect3DTexture2_PaletteChanged(p,a,b) (p)->lpVtbl->PaletteChanged(p,a,b)
#define IDirect3DTexture2_Load(p,a) (p)->lpVtbl->Load(p,a)
#endif
/*****************************************************************************
...
...
@@ -496,24 +516,26 @@ ICOM_DEFINE(IDirect3DTexture2,IUnknown)
ICOM_DEFINE
(
IDirect3DViewport
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DViewport_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DViewport_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DViewport_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DViewport_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DViewport_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DViewport_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DViewport methods ***/
#define IDirect3DViewport_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#define IDirect3DViewport_GetViewport(p,a) ICOM_CALL1(GetViewport,p,a)
#define IDirect3DViewport_SetViewport(p,a) ICOM_CALL1(SetViewport,p,a)
#define IDirect3DViewport_TransformVertices(p,a,b,c,d) ICOM_CALL4(TransformVertices,p,a,b,c,d)
#define IDirect3DViewport_LightElements(p,a,b) ICOM_CALL2(LightElements,p,a,b)
#define IDirect3DViewport_SetBackground(p,a) ICOM_CALL1(SetBackground,p,a)
#define IDirect3DViewport_GetBackground(p,a,b) ICOM_CALL2(GetBackground,p,a,b)
#define IDirect3DViewport_SetBackgroundDepth(p,a) ICOM_CALL1(SetBackgroundDepth,p,a)
#define IDirect3DViewport_GetBackgroundDepth(p,a,b) ICOM_CALL2(GetBackgroundDepth,p,a,b)
#define IDirect3DViewport_Clear(p,a,b,c) ICOM_CALL3(Clear,p,a,b,c)
#define IDirect3DViewport_AddLight(p,a) ICOM_CALL1(AddLight,p,a)
#define IDirect3DViewport_DeleteLight(p,a) ICOM_CALL1(DeleteLight,p,a)
#define IDirect3DViewport_NextLight(p,a,b,c) ICOM_CALL3(NextLight,p,a,b,c)
#define IDirect3DViewport_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#define IDirect3DViewport_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a)
#define IDirect3DViewport_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a)
#define IDirect3DViewport_TransformVertices(p,a,b,c,d) (p)->lpVtbl->TransformVertices(p,a,b,c,d)
#define IDirect3DViewport_LightElements(p,a,b) (p)->lpVtbl->LightElements(p,a,b)
#define IDirect3DViewport_SetBackground(p,a) (p)->lpVtbl->SetBackground(p,a)
#define IDirect3DViewport_GetBackground(p,a,b) (p)->lpVtbl->GetBackground(p,a,b)
#define IDirect3DViewport_SetBackgroundDepth(p,a) (p)->lpVtbl->SetBackgroundDepth(p,a)
#define IDirect3DViewport_GetBackgroundDepth(p,a,b) (p)->lpVtbl->GetBackgroundDepth(p,a,b)
#define IDirect3DViewport_Clear(p,a,b,c) (p)->lpVtbl->Clear(p,a,b,c)
#define IDirect3DViewport_AddLight(p,a) (p)->lpVtbl->AddLight(p,a)
#define IDirect3DViewport_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a)
#define IDirect3DViewport_NextLight(p,a,b,c) (p)->lpVtbl->NextLight(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -529,27 +551,29 @@ ICOM_DEFINE(IDirect3DViewport,IUnknown)
ICOM_DEFINE
(
IDirect3DViewport2
,
IDirect3DViewport
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DViewport2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DViewport2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DViewport2_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DViewport2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DViewport2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DViewport2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3Viewport methods ***/
#define IDirect3DViewport2_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IDirect3DViewport2_GetViewport(p,a)
ICOM_CALL1(GetViewport,
p,a)
#define IDirect3DViewport2_SetViewport(p,a)
ICOM_CALL1(SetViewport,
p,a)
#define IDirect3DViewport2_TransformVertices(p,a,b,c,d)
ICOM_CALL4(TransformVertices,
p,a,b,c,d)
#define IDirect3DViewport2_LightElements(p,a,b)
ICOM_CALL2(LightElements,
p,a,b)
#define IDirect3DViewport2_SetBackground(p,a)
ICOM_CALL1(SetBackground,
p,a)
#define IDirect3DViewport2_GetBackground(p,a,b)
ICOM_CALL2(GetBackground,
p,a,b)
#define IDirect3DViewport2_SetBackgroundDepth(p,a)
ICOM_CALL1(SetBackgroundDepth,
p,a)
#define IDirect3DViewport2_GetBackgroundDepth(p,a,b)
ICOM_CALL2(GetBackgroundDepth,
p,a,b)
#define IDirect3DViewport2_Clear(p,a,b,c)
ICOM_CALL3(Clear,
p,a,b,c)
#define IDirect3DViewport2_AddLight(p,a)
ICOM_CALL1(AddLight,
p,a)
#define IDirect3DViewport2_DeleteLight(p,a)
ICOM_CALL1(DeleteLight,
p,a)
#define IDirect3DViewport2_NextLight(p,a,b,c)
ICOM_CALL3(NextLight,
p,a,b,c)
#define IDirect3DViewport2_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
#define IDirect3DViewport2_GetViewport(p,a)
(p)->lpVtbl->GetViewport(
p,a)
#define IDirect3DViewport2_SetViewport(p,a)
(p)->lpVtbl->SetViewport(
p,a)
#define IDirect3DViewport2_TransformVertices(p,a,b,c,d)
(p)->lpVtbl->TransformVertices(
p,a,b,c,d)
#define IDirect3DViewport2_LightElements(p,a,b)
(p)->lpVtbl->LightElements(
p,a,b)
#define IDirect3DViewport2_SetBackground(p,a)
(p)->lpVtbl->SetBackground(
p,a)
#define IDirect3DViewport2_GetBackground(p,a,b)
(p)->lpVtbl->GetBackground(
p,a,b)
#define IDirect3DViewport2_SetBackgroundDepth(p,a)
(p)->lpVtbl->SetBackgroundDepth(
p,a)
#define IDirect3DViewport2_GetBackgroundDepth(p,a,b)
(p)->lpVtbl->GetBackgroundDepth(
p,a,b)
#define IDirect3DViewport2_Clear(p,a,b,c)
(p)->lpVtbl->Clear(
p,a,b,c)
#define IDirect3DViewport2_AddLight(p,a)
(p)->lpVtbl->AddLight(
p,a)
#define IDirect3DViewport2_DeleteLight(p,a)
(p)->lpVtbl->DeleteLight(
p,a)
#define IDirect3DViewport2_NextLight(p,a,b,c)
(p)->lpVtbl->NextLight(
p,a,b,c)
/*** IDirect3DViewport2 methods ***/
#define IDirect3DViewport2_GetViewport2(p,a) ICOM_CALL1(GetViewport2,p,a)
#define IDirect3DViewport2_SetViewport2(p,a) ICOM_CALL1(SetViewport2,p,a)
#define IDirect3DViewport2_GetViewport2(p,a) (p)->lpVtbl->GetViewport2(p,a)
#define IDirect3DViewport2_SetViewport2(p,a) (p)->lpVtbl->SetViewport2(p,a)
#endif
/*****************************************************************************
* IDirect3DViewport3 interface
...
...
@@ -565,31 +589,33 @@ ICOM_DEFINE(IDirect3DViewport2,IDirect3DViewport)
ICOM_DEFINE
(
IDirect3DViewport3
,
IDirect3DViewport2
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DViewport3_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DViewport3_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DViewport3_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DViewport3_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DViewport3_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DViewport3_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3Viewport methods ***/
#define IDirect3DViewport3_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IDirect3DViewport3_GetViewport(p,a)
ICOM_CALL1(GetViewport,
p,a)
#define IDirect3DViewport3_SetViewport(p,a)
ICOM_CALL1(SetViewport,
p,a)
#define IDirect3DViewport3_TransformVertices(p,a,b,c,d)
ICOM_CALL4(TransformVertices,
p,a,b,c,d)
#define IDirect3DViewport3_LightElements(p,a,b)
ICOM_CALL2(LightElements,
p,a,b)
#define IDirect3DViewport3_SetBackground(p,a)
ICOM_CALL1(SetBackground,
p,a)
#define IDirect3DViewport3_GetBackground(p,a,b)
ICOM_CALL2(GetBackground,
p,a,b)
#define IDirect3DViewport3_SetBackgroundDepth(p,a)
ICOM_CALL1(SetBackgroundDepth,
p,a)
#define IDirect3DViewport3_GetBackgroundDepth(p,a,b)
ICOM_CALL2(GetBackgroundDepth,
p,a,b)
#define IDirect3DViewport3_Clear(p,a,b,c)
ICOM_CALL3(Clear,
p,a,b,c)
#define IDirect3DViewport3_AddLight(p,a)
ICOM_CALL1(AddLight,
p,a)
#define IDirect3DViewport3_DeleteLight(p,a)
ICOM_CALL1(DeleteLight,
p,a)
#define IDirect3DViewport3_NextLight(p,a,b,c)
ICOM_CALL3(NextLight,
p,a,b,c)
#define IDirect3DViewport3_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
#define IDirect3DViewport3_GetViewport(p,a)
(p)->lpVtbl->GetViewport(
p,a)
#define IDirect3DViewport3_SetViewport(p,a)
(p)->lpVtbl->SetViewport(
p,a)
#define IDirect3DViewport3_TransformVertices(p,a,b,c,d)
(p)->lpVtbl->TransformVertices(
p,a,b,c,d)
#define IDirect3DViewport3_LightElements(p,a,b)
(p)->lpVtbl->LightElements(
p,a,b)
#define IDirect3DViewport3_SetBackground(p,a)
(p)->lpVtbl->SetBackground(
p,a)
#define IDirect3DViewport3_GetBackground(p,a,b)
(p)->lpVtbl->GetBackground(
p,a,b)
#define IDirect3DViewport3_SetBackgroundDepth(p,a)
(p)->lpVtbl->SetBackgroundDepth(
p,a)
#define IDirect3DViewport3_GetBackgroundDepth(p,a,b)
(p)->lpVtbl->GetBackgroundDepth(
p,a,b)
#define IDirect3DViewport3_Clear(p,a,b,c)
(p)->lpVtbl->Clear(
p,a,b,c)
#define IDirect3DViewport3_AddLight(p,a)
(p)->lpVtbl->AddLight(
p,a)
#define IDirect3DViewport3_DeleteLight(p,a)
(p)->lpVtbl->DeleteLight(
p,a)
#define IDirect3DViewport3_NextLight(p,a,b,c)
(p)->lpVtbl->NextLight(
p,a,b,c)
/*** IDirect3DViewport2 methods ***/
#define IDirect3DViewport3_GetViewport3(p,a)
ICOM_CALL1(GetViewport2,
p,a)
#define IDirect3DViewport3_SetViewport3(p,a)
ICOM_CALL1(SetViewport2,
p,a)
#define IDirect3DViewport3_GetViewport3(p,a)
(p)->lpVtbl->GetViewport2(
p,a)
#define IDirect3DViewport3_SetViewport3(p,a)
(p)->lpVtbl->SetViewport2(
p,a)
/*** IDirect3DViewport3 methods ***/
#define IDirect3DViewport3_SetBackgroundDepth2(p,a) ICOM_CALL1(SetBackgroundDepth2,p,a)
#define IDirect3DViewport3_GetBackgroundDepth2(p,a,b) ICOM_CALL2(GetBackgroundDepth2,p,a,b)
#define IDirect3DViewport3_Clear2(p,a,b,c,d,e,f) ICOM_CALL7(Clear2,p,a,b,c,d,e,f)
#define IDirect3DViewport3_SetBackgroundDepth2(p,a) (p)->lpVtbl->SetBackgroundDepth2(p,a)
#define IDirect3DViewport3_GetBackgroundDepth2(p,a,b) (p)->lpVtbl->GetBackgroundDepth2(p,a,b)
#define IDirect3DViewport3_Clear2(p,a,b,c,d,e,f) (p)->lpVtbl->Clear2(p,a,b,c,d,e,f)
#endif
...
...
@@ -611,18 +637,20 @@ ICOM_DEFINE(IDirect3DViewport3,IDirect3DViewport2)
ICOM_DEFINE
(
IDirect3DExecuteBuffer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DExecuteBuffer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DExecuteBuffer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DExecuteBuffer_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DExecuteBuffer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DExecuteBuffer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DExecuteBuffer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DExecuteBuffer methods ***/
#define IDirect3DExecuteBuffer_Initialize(p,a,b) ICOM_CALL2(Initialize,p,a,b)
#define IDirect3DExecuteBuffer_Lock(p,a) ICOM_CALL1(Lock,p,a)
#define IDirect3DExecuteBuffer_Unlock(p) ICOM_CALL (Unlock,p)
#define IDirect3DExecuteBuffer_SetExecuteData(p,a) ICOM_CALL1(SetExecuteData,p,a)
#define IDirect3DExecuteBuffer_GetExecuteData(p,a) ICOM_CALL1(GetExecuteData,p,a)
#define IDirect3DExecuteBuffer_Validate(p,a,b,c,d) ICOM_CALL4(Validate,p,a,b,c,d)
#define IDirect3DExecuteBuffer_Optimize(p,a) ICOM_CALL1(Optimize,p,a)
#define IDirect3DExecuteBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
#define IDirect3DExecuteBuffer_Lock(p,a) (p)->lpVtbl->Lock(p,a)
#define IDirect3DExecuteBuffer_Unlock(p) (p)->lpVtbl->Unlock(p)
#define IDirect3DExecuteBuffer_SetExecuteData(p,a) (p)->lpVtbl->SetExecuteData(p,a)
#define IDirect3DExecuteBuffer_GetExecuteData(p,a) (p)->lpVtbl->GetExecuteData(p,a)
#define IDirect3DExecuteBuffer_Validate(p,a,b,c,d) (p)->lpVtbl->Validate(p,a,b,c,d)
#define IDirect3DExecuteBuffer_Optimize(p,a) (p)->lpVtbl->Optimize(p,a)
#endif
/*****************************************************************************
...
...
@@ -655,30 +683,32 @@ ICOM_DEFINE(IDirect3DExecuteBuffer,IUnknown)
ICOM_DEFINE
(
IDirect3DDevice
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DDevice_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DDevice_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DDevice_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DDevice_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DDevice_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DDevice_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DDevice methods ***/
#define IDirect3DDevice_Initialize(p,a,b,c) ICOM_CALL3(Initialize,p,a,b,c)
#define IDirect3DDevice_GetCaps(p,a,b) ICOM_CALL2(GetCaps,p,a,b)
#define IDirect3DDevice_SwapTextureHandles(p,a,b) ICOM_CALL2(SwapTextureHandles,p,a,b)
#define IDirect3DDevice_CreateExecuteBuffer(p,a,b,c) ICOM_CALL3(CreateExecuteBuffer,p,a,b,c)
#define IDirect3DDevice_GetStats(p,a) ICOM_CALL1(GetStats,p,a)
#define IDirect3DDevice_Execute(p,a,b,c) ICOM_CALL3(Execute,p,a,b,c)
#define IDirect3DDevice_AddViewport(p,a) ICOM_CALL1(AddViewport,p,a)
#define IDirect3DDevice_DeleteViewport(p,a) ICOM_CALL1(DeleteViewport,p,a)
#define IDirect3DDevice_NextViewport(p,a,b,c) ICOM_CALL3(NextViewport,p,a,b,c)
#define IDirect3DDevice_Pick(p,a,b,c,d) ICOM_CALL4(Pick,p,a,b,c,d)
#define IDirect3DDevice_GetPickRecords(p,a,b) ICOM_CALL2(GetPickRecords,p,a,b)
#define IDirect3DDevice_EnumTextureFormats(p,a,b) ICOM_CALL2(EnumTextureFormats,p,a,b)
#define IDirect3DDevice_CreateMatrix(p,a) ICOM_CALL1(CreateMatrix,p,a)
#define IDirect3DDevice_SetMatrix(p,a,b) ICOM_CALL2(SetMatrix,p,a,b)
#define IDirect3DDevice_GetMatrix(p,a,b) ICOM_CALL2(GetMatrix,p,a,b)
#define IDirect3DDevice_DeleteMatrix(p,a) ICOM_CALL1(DeleteMatrix,p,a)
#define IDirect3DDevice_BeginScene(p) ICOM_CALL (BeginScene,p)
#define IDirect3DDevice_EndScene(p) ICOM_CALL (EndScene,p)
#define IDirect3DDevice_GetDirect3D(p,a) ICOM_CALL1(GetDirect3D,p,a)
#define IDirect3DDevice_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
#define IDirect3DDevice_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b)
#define IDirect3DDevice_SwapTextureHandles(p,a,b) (p)->lpVtbl->SwapTextureHandles(p,a,b)
#define IDirect3DDevice_CreateExecuteBuffer(p,a,b,c) (p)->lpVtbl->CreateExecuteBuffer(p,a,b,c)
#define IDirect3DDevice_GetStats(p,a) (p)->lpVtbl->GetStats(p,a)
#define IDirect3DDevice_Execute(p,a,b,c) (p)->lpVtbl->Execute(p,a,b,c)
#define IDirect3DDevice_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a)
#define IDirect3DDevice_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a)
#define IDirect3DDevice_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c)
#define IDirect3DDevice_Pick(p,a,b,c,d) (p)->lpVtbl->Pick(p,a,b,c,d)
#define IDirect3DDevice_GetPickRecords(p,a,b) (p)->lpVtbl->GetPickRecords(p,a,b)
#define IDirect3DDevice_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b)
#define IDirect3DDevice_CreateMatrix(p,a) (p)->lpVtbl->CreateMatrix(p,a)
#define IDirect3DDevice_SetMatrix(p,a,b) (p)->lpVtbl->SetMatrix(p,a,b)
#define IDirect3DDevice_GetMatrix(p,a,b) (p)->lpVtbl->GetMatrix(p,a,b)
#define IDirect3DDevice_DeleteMatrix(p,a) (p)->lpVtbl->DeleteMatrix(p,a)
#define IDirect3DDevice_BeginScene(p) (p)->lpVtbl->BeginScene(p)
#define IDirect3DDevice_EndScene(p) (p)->lpVtbl->EndScene(p)
#define IDirect3DDevice_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
#endif
/*****************************************************************************
...
...
@@ -723,41 +753,43 @@ ICOM_DEFINE(IDirect3DDevice,IUnknown)
ICOM_DEFINE
(
IDirect3DDevice2
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DDevice2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DDevice2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DDevice2_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DDevice2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DDevice2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DDevice2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DDevice2 methods ***/
#define IDirect3DDevice2_GetCaps(p,a,b) ICOM_CALL2(GetCaps,p,a,b)
#define IDirect3DDevice2_SwapTextureHandles(p,a,b) ICOM_CALL2(SwapTextureHandles,p,a,b)
#define IDirect3DDevice2_GetStats(p,a) ICOM_CALL1(GetStats,p,a)
#define IDirect3DDevice2_AddViewport(p,a) ICOM_CALL1(AddViewport,p,a)
#define IDirect3DDevice2_DeleteViewport(p,a) ICOM_CALL1(DeleteViewport,p,a)
#define IDirect3DDevice2_NextViewport(p,a,b,c) ICOM_CALL3(NextViewport,p,a,b,c)
#define IDirect3DDevice2_EnumTextureFormats(p,a,b) ICOM_CALL2(EnumTextureFormats,p,a,b)
#define IDirect3DDevice2_BeginScene(p) ICOM_CALL (BeginScene,p)
#define IDirect3DDevice2_EndScene(p) ICOM_CALL (EndScene,p)
#define IDirect3DDevice2_GetDirect3D(p,a) ICOM_CALL1(GetDirect3D,p,a)
#define IDirect3DDevice2_SetCurrentViewport(p,a) ICOM_CALL1(SetCurrentViewport,p,a)
#define IDirect3DDevice2_GetCurrentViewport(p,a) ICOM_CALL1(GetCurrentViewport,p,a)
#define IDirect3DDevice2_SetRenderTarget(p,a,b) ICOM_CALL2(SetRenderTarget,p,a,b)
#define IDirect3DDevice2_GetRenderTarget(p,a) ICOM_CALL1(GetRenderTarget,p,a)
#define IDirect3DDevice2_Begin(p,a,b,c) ICOM_CALL3(Begin,p,a,b,c)
#define IDirect3DDevice2_BeginIndexed(p,a,b,c,d,e) ICOM_CALL5(BeginIndexed,p,a,b,c,d,e)
#define IDirect3DDevice2_Vertex(p,a) ICOM_CALL1(Vertex,p,a)
#define IDirect3DDevice2_Index(p,a) ICOM_CALL1(Index,p,a)
#define IDirect3DDevice2_End(p,a) ICOM_CALL1(End,p,a)
#define IDirect3DDevice2_GetRenderState(p,a,b) ICOM_CALL2(GetRenderState,p,a,b)
#define IDirect3DDevice2_SetRenderState(p,a,b) ICOM_CALL2(SetRenderState,p,a,b)
#define IDirect3DDevice2_GetLightState(p,a,b) ICOM_CALL2(GetLightState,p,a,b)
#define IDirect3DDevice2_SetLightState(p,a,b) ICOM_CALL2(SetLightState,p,a,b)
#define IDirect3DDevice2_SetTransform(p,a,b) ICOM_CALL2(SetTransform,p,a,b)
#define IDirect3DDevice2_GetTransform(p,a,b) ICOM_CALL2(GetTransform,p,a,b)
#define IDirect3DDevice2_MultiplyTransform(p,a,b) ICOM_CALL2(MultiplyTransform,p,a,b)
#define IDirect3DDevice2_DrawPrimitive(p,a,b,c,d,e) ICOM_CALL5(DrawPrimitive,p,a,b,c,d,e)
#define IDirect3DDevice2_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) ICOM_CALL7(DrawIndexedPrimitive,p,a,b,c,d,e,f,g)
#define IDirect3DDevice2_SetClipStatus(p,a) ICOM_CALL1(SetClipStatus,p,a)
#define IDirect3DDevice2_GetClipStatus(p,a) ICOM_CALL1(GetClipStatus,p,a)
#define IDirect3DDevice2_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b)
#define IDirect3DDevice2_SwapTextureHandles(p,a,b) (p)->lpVtbl->SwapTextureHandles(p,a,b)
#define IDirect3DDevice2_GetStats(p,a) (p)->lpVtbl->GetStats(p,a)
#define IDirect3DDevice2_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a)
#define IDirect3DDevice2_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a)
#define IDirect3DDevice2_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c)
#define IDirect3DDevice2_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b)
#define IDirect3DDevice2_BeginScene(p) (p)->lpVtbl->BeginScene(p)
#define IDirect3DDevice2_EndScene(p) (p)->lpVtbl->EndScene(p)
#define IDirect3DDevice2_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
#define IDirect3DDevice2_SetCurrentViewport(p,a) (p)->lpVtbl->SetCurrentViewport(p,a)
#define IDirect3DDevice2_GetCurrentViewport(p,a) (p)->lpVtbl->GetCurrentViewport(p,a)
#define IDirect3DDevice2_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
#define IDirect3DDevice2_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a)
#define IDirect3DDevice2_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c)
#define IDirect3DDevice2_BeginIndexed(p,a,b,c,d,e) (p)->lpVtbl->BeginIndexed(p,a,b,c,d,e)
#define IDirect3DDevice2_Vertex(p,a) (p)->lpVtbl->Vertex(p,a)
#define IDirect3DDevice2_Index(p,a) (p)->lpVtbl->Index(p,a)
#define IDirect3DDevice2_End(p,a) (p)->lpVtbl->End(p,a)
#define IDirect3DDevice2_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
#define IDirect3DDevice2_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b)
#define IDirect3DDevice2_GetLightState(p,a,b) (p)->lpVtbl->GetLightState(p,a,b)
#define IDirect3DDevice2_SetLightState(p,a,b) (p)->lpVtbl->SetLightState(p,a,b)
#define IDirect3DDevice2_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b)
#define IDirect3DDevice2_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b)
#define IDirect3DDevice2_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b)
#define IDirect3DDevice2_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e)
#define IDirect3DDevice2_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g)
#define IDirect3DDevice2_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a)
#define IDirect3DDevice2_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a)
#endif
/*****************************************************************************
* IDirect3DDevice3 interface
...
...
@@ -810,50 +842,52 @@ ICOM_DEFINE(IDirect3DDevice2,IUnknown)
ICOM_DEFINE
(
IDirect3DDevice3
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DDevice3_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DDevice3_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DDevice3_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DDevice3_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DDevice3_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DDevice3_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DDevice3 methods ***/
#define IDirect3DDevice3_GetCaps(p,a,b) ICOM_CALL2(GetCaps,p,a,b)
#define IDirect3DDevice3_GetStats(p,a) ICOM_CALL1(GetStats,p,a)
#define IDirect3DDevice3_AddViewport(p,a) ICOM_CALL1(AddViewport,p,a)
#define IDirect3DDevice3_DeleteViewport(p,a) ICOM_CALL1(DeleteViewport,p,a)
#define IDirect3DDevice3_NextViewport(p,a,b,c) ICOM_CALL3(NextViewport,p,a,b,c)
#define IDirect3DDevice3_EnumTextureFormats(p,a,b) ICOM_CALL2(EnumTextureFormats,p,a,b)
#define IDirect3DDevice3_BeginScene(p) ICOM_CALL (BeginScene,p)
#define IDirect3DDevice3_EndScene(p) ICOM_CALL (EndScene,p)
#define IDirect3DDevice3_GetDirect3D(p,a) ICOM_CALL1(GetDirect3D,p,a)
#define IDirect3DDevice3_SetCurrentViewport(p,a) ICOM_CALL1(SetCurrentViewport,p,a)
#define IDirect3DDevice3_GetCurrentViewport(p,a) ICOM_CALL1(GetCurrentViewport,p,a)
#define IDirect3DDevice3_SetRenderTarget(p,a,b) ICOM_CALL2(SetRenderTarget,p,a,b)
#define IDirect3DDevice3_GetRenderTarget(p,a) ICOM_CALL1(GetRenderTarget,p,a)
#define IDirect3DDevice3_Begin(p,a,b,c) ICOM_CALL3(Begin,p,a,b,c)
#define IDirect3DDevice3_BeginIndexed(p,a,b,c,d,e) ICOM_CALL5(BeginIndexed,p,a,b,c,d,e)
#define IDirect3DDevice3_Vertex(p,a) ICOM_CALL1(Vertex,p,a)
#define IDirect3DDevice3_Index(p,a) ICOM_CALL1(Index,p,a)
#define IDirect3DDevice3_End(p,a) ICOM_CALL1(End,p,a)
#define IDirect3DDevice3_GetRenderState(p,a,b) ICOM_CALL2(GetRenderState,p,a,b)
#define IDirect3DDevice3_SetRenderState(p,a,b) ICOM_CALL2(SetRenderState,p,a,b)
#define IDirect3DDevice3_GetLightState(p,a,b) ICOM_CALL2(GetLightState,p,a,b)
#define IDirect3DDevice3_SetLightState(p,a,b) ICOM_CALL2(SetLightState,p,a,b)
#define IDirect3DDevice3_SetTransform(p,a,b) ICOM_CALL2(SetTransform,p,a,b)
#define IDirect3DDevice3_GetTransform(p,a,b) ICOM_CALL2(GetTransform,p,a,b)
#define IDirect3DDevice3_MultiplyTransform(p,a,b) ICOM_CALL2(MultiplyTransform,p,a,b)
#define IDirect3DDevice3_DrawPrimitive(p,a,b,c,d,e) ICOM_CALL5(DrawPrimitive,p,a,b,c,d,e)
#define IDirect3DDevice3_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) ICOM_CALL7(DrawIndexedPrimitive,p,a,b,c,d,e,f,g)
#define IDirect3DDevice3_SetClipStatus(p,a) ICOM_CALL1(SetClipStatus,p,a)
#define IDirect3DDevice3_GetClipStatus(p,a) ICOM_CALL1(GetClipStatus,p,a)
#define IDirect3DDevice3_DrawPrimitiveStrided(p,a,b,c,d,e) ICOM_CALL5(DrawPrimitiveStrided,p,a,b,c,d,e)
#define IDirect3DDevice3_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) ICOM_CALL7(DrawIndexedPrimitiveStrided,p,a,b,c,d,e,f,g)
#define IDirect3DDevice3_DrawPrimitiveVB(p,a,b,c,d,e) ICOM_CALL5(DrawPrimitiveVB,p,a,b,c,d,e)
#define IDirect3DDevice3_DrawIndexedPrimitiveVB(p,a,b,c,d,e) ICOM_CALL5(DrawIndexedPrimitiveVB,p,a,b,c,d,e)
#define IDirect3DDevice3_ComputeSphereVisibility(p,a,b,c,d,e) ICOM_CALL5(ComputeSphereVisibility,p,a,b,c,d,e)
#define IDirect3DDevice3_GetTexture(p,a,b) ICOM_CALL2(GetTexture,p,a,b)
#define IDirect3DDevice3_SetTexture(p,a,b) ICOM_CALL2(SetTexture,p,a,b)
#define IDirect3DDevice3_GetTextureStageState(p,a,b,c) ICOM_CALL3(GetTextureStageState,p,a,b,c)
#define IDirect3DDevice3_SetTextureStageState(p,a,b,c) ICOM_CALL3(SetTextureStageState,p,a,b,c)
#define IDirect3DDevice3_ValidateDevice(p,a) ICOM_CALL1(ValidateDevice,p,a)
#define IDirect3DDevice3_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b)
#define IDirect3DDevice3_GetStats(p,a) (p)->lpVtbl->GetStats(p,a)
#define IDirect3DDevice3_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a)
#define IDirect3DDevice3_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a)
#define IDirect3DDevice3_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c)
#define IDirect3DDevice3_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b)
#define IDirect3DDevice3_BeginScene(p) (p)->lpVtbl->BeginScene(p)
#define IDirect3DDevice3_EndScene(p) (p)->lpVtbl->EndScene(p)
#define IDirect3DDevice3_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
#define IDirect3DDevice3_SetCurrentViewport(p,a) (p)->lpVtbl->SetCurrentViewport(p,a)
#define IDirect3DDevice3_GetCurrentViewport(p,a) (p)->lpVtbl->GetCurrentViewport(p,a)
#define IDirect3DDevice3_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
#define IDirect3DDevice3_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a)
#define IDirect3DDevice3_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c)
#define IDirect3DDevice3_BeginIndexed(p,a,b,c,d,e) (p)->lpVtbl->BeginIndexed(p,a,b,c,d,e)
#define IDirect3DDevice3_Vertex(p,a) (p)->lpVtbl->Vertex(p,a)
#define IDirect3DDevice3_Index(p,a) (p)->lpVtbl->Index(p,a)
#define IDirect3DDevice3_End(p,a) (p)->lpVtbl->End(p,a)
#define IDirect3DDevice3_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
#define IDirect3DDevice3_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b)
#define IDirect3DDevice3_GetLightState(p,a,b) (p)->lpVtbl->GetLightState(p,a,b)
#define IDirect3DDevice3_SetLightState(p,a,b) (p)->lpVtbl->SetLightState(p,a,b)
#define IDirect3DDevice3_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b)
#define IDirect3DDevice3_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b)
#define IDirect3DDevice3_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b)
#define IDirect3DDevice3_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e)
#define IDirect3DDevice3_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g)
#define IDirect3DDevice3_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a)
#define IDirect3DDevice3_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a)
#define IDirect3DDevice3_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveStrided(p,a,b,c,d,e)
#define IDirect3DDevice3_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g)
#define IDirect3DDevice3_DrawPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveVB(p,a,b,c,d,e)
#define IDirect3DDevice3_DrawIndexedPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawIndexedPrimitiveVB(p,a,b,c,d,e)
#define IDirect3DDevice3_ComputeSphereVisibility(p,a,b,c,d,e) (p)->lpVtbl->ComputeSphereVisibility(p,a,b,c,d,e)
#define IDirect3DDevice3_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b)
#define IDirect3DDevice3_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b)
#define IDirect3DDevice3_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c)
#define IDirect3DDevice3_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c)
#define IDirect3DDevice3_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a)
#endif
/*****************************************************************************
* IDirect3DDevice7 interface
...
...
@@ -912,55 +946,57 @@ ICOM_DEFINE(IDirect3DDevice3,IUnknown)
ICOM_DEFINE
(
IDirect3DDevice7
,
IUnknown
)
#undef INTERFACE
#define IDirect3DDevice7_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IDirect3DDevice7_AddRef(p) ICOM_CALL (AddRef,p)
#define IDirect3DDevice7_Release(p) ICOM_CALL (Release,p)
#define IDirect3DDevice7_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirect3DDevice7_EnumTextureFormats(p,a,b) ICOM_CALL2(EnumTextureFormats,p,a,b)
#define IDirect3DDevice7_BeginScene(p) ICOM_CALL (BeginScene,p)
#define IDirect3DDevice7_EndScene(p) ICOM_CALL (EndScene,p)
#define IDirect3DDevice7_GetDirect3D(p,a) ICOM_CALL1(GetDirect3D,p,a)
#define IDirect3DDevice7_SetRenderTarget(p,a,b) ICOM_CALL2(SetRenderTarget,p,a,b)
#define IDirect3DDevice7_GetRenderTarget(p,a) ICOM_CALL1(GetRenderTarget,p,a)
#define IDirect3DDevice7_Clear(p,a,b,c,d,e,f) ICOM_CALL6(Clear,p,a,b,c,d,e,f)
#define IDirect3DDevice7_SetTransform(p,a,b) ICOM_CALL2(SetTransform,p,a,b)
#define IDirect3DDevice7_GetTransform(p,a,b) ICOM_CALL2(GetTransform,p,a,b)
#define IDirect3DDevice7_SetViewport(p,a) ICOM_CALL1(SetViewport,p,a)
#define IDirect3DDevice7_MultiplyTransform(p,a,b) ICOM_CALL2(MultiplyTransform,p,a,b)
#define IDirect3DDevice7_GetViewport(p,a) ICOM_CALL1(GetViewport,p,a)
#define IDirect3DDevice7_SetMaterial(p,a) ICOM_CALL1(SetMaterial,p,a)
#define IDirect3DDevice7_GetMaterial(p,a) ICOM_CALL1(GetMaterial,p,a)
#define IDirect3DDevice7_SetLight(p,a,b) ICOM_CALL2(SetLight,p,a,b)
#define IDirect3DDevice7_GetLight(p,a,b) ICOM_CALL2(GetLight,p,a,b)
#define IDirect3DDevice7_SetRenderState(p,a,b) ICOM_CALL2(SetRenderState,p,a,b)
#define IDirect3DDevice7_GetRenderState(p,a,b) ICOM_CALL2(GetRenderState,p,a,b)
#define IDirect3DDevice7_BeginStateBlock(p) ICOM_CALL (BeginStateBlock,p)
#define IDirect3DDevice7_EndStateBlock(p,a) ICOM_CALL1(EndStateBlock,p,a)
#define IDirect3DDevice7_PreLoad(p,a) ICOM_CALL1(PreLoad,p,a)
#define IDirect3DDevice7_DrawPrimitive(p,a,b,c,d,e) ICOM_CALL5(DrawPrimitive,p,a,b,c,d,e)
#define IDirect3DDevice7_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) ICOM_CALL7(DrawIndexedPrimitive,p,a,b,c,d,e,f,g)
#define IDirect3DDevice7_SetClipStatus(p,a) ICOM_CALL1(SetClipStatus,p,a)
#define IDirect3DDevice7_GetClipStatus(p,a) ICOM_CALL1(GetClipStatus,p,a)
#define IDirect3DDevice7_DrawPrimitiveStrided(p,a,b,c,d,e) ICOM_CALL5(DrawPrimitiveStrided,p,a,b,c,d,e)
#define IDirect3DDevice7_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) ICOM_CALL7(DrawIndexedPrimitiveStrided,p,a,b,c,d,e,f,g)
#define IDirect3DDevice7_DrawPrimitiveVB(p,a,b,c,d,e) ICOM_CALL5(DrawPrimitiveVB,p,a,b,c,d,e)
#define IDirect3DDevice7_DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g) ICOM_CALL7(DrawIndexedPrimitiveVB,p,a,b,c,d,e,f,g)
#define IDirect3DDevice7_ComputeSphereVisibility(p,a,b,c,d,e) ICOM_CALL5(ComputeSphereVisibility,p,a,b,c,d,e)
#define IDirect3DDevice7_GetTexture(p,a,b) ICOM_CALL2(GetTexture,p,a,b)
#define IDirect3DDevice7_SetTexture(p,a,b) ICOM_CALL2(SetTexture,p,a,b)
#define IDirect3DDevice7_GetTextureStageState(p,a,b,c) ICOM_CALL3(GetTextureStageState,p,a,b,c)
#define IDirect3DDevice7_SetTextureStageState(p,a,b,c) ICOM_CALL3(SetTextureStageState,p,a,b,c)
#define IDirect3DDevice7_ValidateDevice(p,a) ICOM_CALL1(ValidateDevice,p,a)
#define IDirect3DDevice7_ApplyStateBlock(p,a) ICOM_CALL1(ApplyStateBlock,p,a)
#define IDirect3DDevice7_CaptureStateBlock(p,a) ICOM_CALL1(CaptureStateBlock,p,a)
#define IDirect3DDevice7_DeleteStateBlock(p,a) ICOM_CALL1(DeleteStateBlock,p,a)
#define IDirect3DDevice7_CreateStateBlock(p,a,b) ICOM_CALL2(CreateStateBlock,p,a,b)
#define IDirect3DDevice7_Load(p,a,b,c,d,e) ICOM_CALL5(Load,p,a,b,c,d,e)
#define IDirect3DDevice7_LightEnable(p,a,b) ICOM_CALL2(LightEnable,p,a,b)
#define IDirect3DDevice7_GetLightEnable(p,a,b) ICOM_CALL2(GetLightEnable,p,a,b)
#define IDirect3DDevice7_SetClipPlane(p,a,b) ICOM_CALL2(SetClipPlane,p,a,b)
#define IDirect3DDevice7_GetClipPlane(p,a,b) ICOM_CALL2(GetClipPlane,p,a,b)
#define IDirect3DDevice7_GetInfo(p,a,b,c) ICOM_CALL3(GetInfo,p,a,b,c)
#ifdef COBJMACROS
#define IDirect3DDevice7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IDirect3DDevice7_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IDirect3DDevice7_Release(p) (p)->lpVtbl->Release(p)
#define IDirect3DDevice7_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirect3DDevice7_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b)
#define IDirect3DDevice7_BeginScene(p) (p)->lpVtbl->BeginScene(p)
#define IDirect3DDevice7_EndScene(p) (p)->lpVtbl->EndScene(p)
#define IDirect3DDevice7_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
#define IDirect3DDevice7_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
#define IDirect3DDevice7_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a)
#define IDirect3DDevice7_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f)
#define IDirect3DDevice7_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b)
#define IDirect3DDevice7_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b)
#define IDirect3DDevice7_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a)
#define IDirect3DDevice7_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b)
#define IDirect3DDevice7_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a)
#define IDirect3DDevice7_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
#define IDirect3DDevice7_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
#define IDirect3DDevice7_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b)
#define IDirect3DDevice7_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b)
#define IDirect3DDevice7_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b)
#define IDirect3DDevice7_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
#define IDirect3DDevice7_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p)
#define IDirect3DDevice7_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a)
#define IDirect3DDevice7_PreLoad(p,a) (p)->lpVtbl->PreLoad(p,a)
#define IDirect3DDevice7_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e)
#define IDirect3DDevice7_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g)
#define IDirect3DDevice7_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a)
#define IDirect3DDevice7_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a)
#define IDirect3DDevice7_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveStrided(p,a,b,c,d,e)
#define IDirect3DDevice7_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g)
#define IDirect3DDevice7_DrawPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveVB(p,a,b,c,d,e)
#define IDirect3DDevice7_DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g)
#define IDirect3DDevice7_ComputeSphereVisibility(p,a,b,c,d,e) (p)->lpVtbl->ComputeSphereVisibility(p,a,b,c,d,e)
#define IDirect3DDevice7_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b)
#define IDirect3DDevice7_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b)
#define IDirect3DDevice7_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c)
#define IDirect3DDevice7_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c)
#define IDirect3DDevice7_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a)
#define IDirect3DDevice7_ApplyStateBlock(p,a) (p)->lpVtbl->ApplyStateBlock(p,a)
#define IDirect3DDevice7_CaptureStateBlock(p,a) (p)->lpVtbl->CaptureStateBlock(p,a)
#define IDirect3DDevice7_DeleteStateBlock(p,a) (p)->lpVtbl->DeleteStateBlock(p,a)
#define IDirect3DDevice7_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b)
#define IDirect3DDevice7_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e)
#define IDirect3DDevice7_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b)
#define IDirect3DDevice7_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b)
#define IDirect3DDevice7_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b)
#define IDirect3DDevice7_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b)
#define IDirect3DDevice7_GetInfo(p,a,b,c) (p)->lpVtbl->GetInfo(p,a,b,c)
#endif
...
...
@@ -980,16 +1016,18 @@ ICOM_DEFINE(IDirect3DDevice7,IUnknown)
ICOM_DEFINE
(
IDirect3DVertexBuffer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DVertexBuffer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DVertexBuffer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DVertexBuffer_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DVertexBuffer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DVertexBuffer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DVertexBuffer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DVertexBuffer methods ***/
#define IDirect3DVertexBuffer_Lock(p,a,b,c) ICOM_CALL3(Lock,p,a,b,c)
#define IDirect3DVertexBuffer_Unlock(p) ICOM_CALL (Unlock,p)
#define IDirect3DVertexBuffer_ProcessVertices(p,a,b,c,d,e,f,g) ICOM_CALL7(ProcessVertices,p,a,b,c,d,e,f,g)
#define IDirect3DVertexBuffer_GetVertexBufferDesc(p,a) ICOM_CALL1(GetVertexBufferDesc,p,a)
#define IDirect3DVertexBuffer_Optimize(p,a,b) ICOM_CALL2(Optimize,p,a,b)
#define IDirect3DVertexBuffer_Lock(p,a,b,c) (p)->lpVtbl->Lock(p,a,b,c)
#define IDirect3DVertexBuffer_Unlock(p) (p)->lpVtbl->Unlock(p)
#define IDirect3DVertexBuffer_ProcessVertices(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f,g)
#define IDirect3DVertexBuffer_GetVertexBufferDesc(p,a) (p)->lpVtbl->GetVertexBufferDesc(p,a)
#define IDirect3DVertexBuffer_Optimize(p,a,b) (p)->lpVtbl->Optimize(p,a,b)
#endif
/*****************************************************************************
* IDirect3DVertexBuffer7 interface
...
...
@@ -1008,17 +1046,18 @@ ICOM_DEFINE(IDirect3DVertexBuffer,IUnknown)
ICOM_DEFINE
(
IDirect3DVertexBuffer7
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DVertexBuffer7_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IDirect3DVertexBuffer7_AddRef(p) ICOM_CALL (AddRef,p)
#define IDirect3DVertexBuffer7_Release(p) ICOM_CALL (Release,p)
#define IDirect3DVertexBuffer7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IDirect3DVertexBuffer7_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IDirect3DVertexBuffer7_Release(p) (p)->lpVtbl->Release(p)
/*** IDirect3DVertexBuffer7 methods ***/
#define IDirect3DVertexBuffer7_Lock(p,a,b,c) ICOM_CALL3(Lock,p,a,b,c)
#define IDirect3DVertexBuffer7_Unlock(p) ICOM_CALL (Unlock,p)
#define IDirect3DVertexBuffer7_ProcessVertices(p,a,b,c,d,e,f,g) ICOM_CALL7(ProcessVertices,p,a,b,c,d,e,f,g)
#define IDirect3DVertexBuffer7_GetVertexBufferDesc(p,a) ICOM_CALL1(GetVertexBufferDesc,p,a)
#define IDirect3DVertexBuffer7_Optimize(p,a,b) ICOM_CALL2(Optimize,p,a,b)
#define IDirect3DVertexBuffer7_ProcessVerticesStrided(p,a,b,c,d,e,f,g) ICOM_CALL7(ProcessVerticesStrided,p,a,b,c,d,e,f,g)
#define IDirect3DVertexBuffer7_Lock(p,a,b,c) (p)->lpVtbl->Lock(p,a,b,c)
#define IDirect3DVertexBuffer7_Unlock(p) (p)->lpVtbl->Unlock(p)
#define IDirect3DVertexBuffer7_ProcessVertices(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f,g)
#define IDirect3DVertexBuffer7_GetVertexBufferDesc(p,a) (p)->lpVtbl->GetVertexBufferDesc(p,a)
#define IDirect3DVertexBuffer7_Optimize(p,a,b) (p)->lpVtbl->Optimize(p,a,b)
#define IDirect3DVertexBuffer7_ProcessVerticesStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVerticesStrided(p,a,b,c,d,e,f,g)
#endif
#endif
/* __WINE_D3D_H */
include/d3d8.h
View file @
55379110
...
...
@@ -126,24 +126,26 @@ typedef struct IDirect3DVolumeTexture8 IDirect3DVolumeTexture8, *LPDIRECT3DVOL
ICOM_DEFINE
(
IDirect3D8
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3D8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3D8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3D8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3D8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3D8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3D8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3D8 methods ***/
#define IDirect3D8_RegisterSoftwareDevice(p,a) ICOM_CALL1(RegisterSoftwareDevice,p,a)
#define IDirect3D8_GetAdapterCount(p) ICOM_CALL (GetAdapterCount,p)
#define IDirect3D8_GetAdapterIdentifier(p,a,b,c) ICOM_CALL3(GetAdapterIdentifier,p,a,b,c)
#define IDirect3D8_GetAdapterModeCount(p,a) ICOM_CALL1(GetAdapterModeCount,p,a)
#define IDirect3D8_EnumAdapterModes(p,a,b,c) ICOM_CALL3(EnumAdapterModes,p,a,b,c)
#define IDirect3D8_GetAdapterDisplayMode(p,a,b) ICOM_CALL2(GetAdapterDisplayMode,p,a,b)
#define IDirect3D8_CheckDeviceType(p,a,b,c,d,e) ICOM_CALL5(CheckDeviceType,p,a,b,c,d,e)
#define IDirect3D8_CheckDeviceFormat(p,a,b,c,d,e,f) ICOM_CALL6(CheckDeviceFormat,p,a,b,c,d,e,f)
#define IDirect3D8_CheckDeviceMultiSampleType(p,a,b,c,d,e) ICOM_CALL5(CheckDeviceMultiSampleType,p,a,b,c,d,e)
#define IDirect3D8_CheckDepthStencilMatch(p,a,b,c,d,e) ICOM_CALL5(CheckDepthStencilMatch,p,a,b,c,d,e)
#define IDirect3D8_GetDeviceCaps(p,a,b,c) ICOM_CALL3(GetDeviceCaps,p,a,b,c)
#define IDirect3D8_GetAdapterMonitor(p,a) ICOM_CALL1(GetAdapterMonitor,p,a)
#define IDirect3D8_CreateDevice(p,a,b,c,d,e,f) ICOM_CALL6(CreateDevice,p,a,b,c,d,e,f)
#define IDirect3D8_RegisterSoftwareDevice(p,a) (p)->lpVtbl->RegisterSoftwareDevice(p,a)
#define IDirect3D8_GetAdapterCount(p) (p)->lpVtbl->GetAdapterCount(p)
#define IDirect3D8_GetAdapterIdentifier(p,a,b,c) (p)->lpVtbl->GetAdapterIdentifier(p,a,b,c)
#define IDirect3D8_GetAdapterModeCount(p,a) (p)->lpVtbl->GetAdapterModeCount(p,a)
#define IDirect3D8_EnumAdapterModes(p,a,b,c) (p)->lpVtbl->EnumAdapterModes(p,a,b,c)
#define IDirect3D8_GetAdapterDisplayMode(p,a,b) (p)->lpVtbl->GetAdapterDisplayMode(p,a,b)
#define IDirect3D8_CheckDeviceType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceType(p,a,b,c,d,e)
#define IDirect3D8_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceFormat(p,a,b,c,d,e,f)
#define IDirect3D8_CheckDeviceMultiSampleType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceMultiSampleType(p,a,b,c,d,e)
#define IDirect3D8_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->lpVtbl->CheckDepthStencilMatch(p,a,b,c,d,e)
#define IDirect3D8_GetDeviceCaps(p,a,b,c) (p)->lpVtbl->GetDeviceCaps(p,a,b,c)
#define IDirect3D8_GetAdapterMonitor(p,a) (p)->lpVtbl->GetAdapterMonitor(p,a)
#define IDirect3D8_CreateDevice(p,a,b,c,d,e,f) (p)->lpVtbl->CreateDevice(p,a,b,c,d,e,f)
#endif
/*****************************************************************************
* IDirect3DDevice8 interface
...
...
@@ -253,105 +255,107 @@ ICOM_DEFINE(IDirect3D8,IUnknown)
ICOM_DEFINE
(
IDirect3DDevice8
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DDevice8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DDevice8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DDevice8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DDevice8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DDevice8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DDevice8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DDevice8 methods ***/
#define IDirect3DDevice8_TestCooperativeLevel(p)
ICOM_CALL (TestCooperativeLevel,
p)
#define IDirect3DDevice8_GetAvailableTextureMem(p)
ICOM_CALL (GetAvailableTextureMem,
p)
#define IDirect3DDevice8_ResourceManagerDiscardBytes(p,a)
ICOM_CALL1(ResourceManagerDiscardBytes,
p,a)
#define IDirect3DDevice8_GetDirect3D(p,a)
ICOM_CALL1(GetDirect3D,
p,a)
#define IDirect3DDevice8_GetDeviceCaps(p,a)
ICOM_CALL1(GetDeviceCaps,
p,a)
#define IDirect3DDevice8_GetDisplayMode(p,a)
ICOM_CALL1(GetDisplayMode,
p,a)
#define IDirect3DDevice8_GetCreationParameters(p,a)
ICOM_CALL1(GetCreationParameters,
p,a)
#define IDirect3DDevice8_SetCursorProperties(p,a,b,c)
ICOM_CALL3(SetCursorProperties,
p,a,b,c)
#define IDirect3DDevice8_SetCursorPosition(p,a,b,c)
ICOM_CALL3(SetCursorPosition,
p,a,b,c)
#define IDirect3DDevice8_ShowCursor(p,a)
ICOM_CALL1(ShowCursor,
p,a)
#define IDirect3DDevice8_CreateAdditionalSwapChain(p,a,b)
ICOM_CALL2(CreateAdditionalSwapChain,
p,a,b)
#define IDirect3DDevice8_Reset(p,a)
ICOM_CALL1(Reset,
p,a)
#define IDirect3DDevice8_TestCooperativeLevel(p)
(p)->lpVtbl->TestCooperativeLevel(
p)
#define IDirect3DDevice8_GetAvailableTextureMem(p)
(p)->lpVtbl->GetAvailableTextureMem(
p)
#define IDirect3DDevice8_ResourceManagerDiscardBytes(p,a)
(p)->lpVtbl->ResourceManagerDiscardBytes(
p,a)
#define IDirect3DDevice8_GetDirect3D(p,a)
(p)->lpVtbl->GetDirect3D(
p,a)
#define IDirect3DDevice8_GetDeviceCaps(p,a)
(p)->lpVtbl->GetDeviceCaps(
p,a)
#define IDirect3DDevice8_GetDisplayMode(p,a)
(p)->lpVtbl->GetDisplayMode(
p,a)
#define IDirect3DDevice8_GetCreationParameters(p,a)
(p)->lpVtbl->GetCreationParameters(
p,a)
#define IDirect3DDevice8_SetCursorProperties(p,a,b,c)
(p)->lpVtbl->SetCursorProperties(
p,a,b,c)
#define IDirect3DDevice8_SetCursorPosition(p,a,b,c)
(p)->lpVtbl->SetCursorPosition(
p,a,b,c)
#define IDirect3DDevice8_ShowCursor(p,a)
(p)->lpVtbl->ShowCursor(
p,a)
#define IDirect3DDevice8_CreateAdditionalSwapChain(p,a,b)
(p)->lpVtbl->CreateAdditionalSwapChain(
p,a,b)
#define IDirect3DDevice8_Reset(p,a)
(p)->lpVtbl->Reset(
p,a)
#define IDirect3DDevice8_Present(p,a,b,c,d) ICOM_CALL4,present,p,a,b,c,d)
#define IDirect3DDevice8_GetBackBuffer(p,a,b,c) ICOM_CALL3(GetBackBuffer,p,a,b,c)
#define IDirect3DDevice8_GetRasterStatus(p,a) ICOM_CALL1(GetRasterStatus,p,a)
#define IDirect3DDevice8_SetGammaRamp(p,a,b) ICOM_CALL2(SetGammaRamp,p,a,b)
#define IDirect3DDevice8_GetGammaRamp(p,a) ICOM_CALL1(GetGammaRamp,p,a)
#define IDirect3DDevice8_CreateTexture(p,a,b,c,d,e,f,g) ICOM_CALL7(CreateTexture,p,a,b,c,d,e,f,g)
#define IDirect3DDevice8_CreateVolumeTexture(p,a,b,c,d,e,f,g,h) ICOM_CALL8(CreateVolumeTexture,p,a,b,c,d,e,f,g,h)
#define IDirect3DDevice8_CreateCubeTexture(p,a,b,c,d,e,f) ICOM_CALL6(CreateCubeTexture,p,a,b,c,d,e,f)
#define IDirect3DDevice8_CreateVertexBuffer(p,a,b,c,d,e) ICOM_CALL5(CreateVertexBuffer,p,a,b,c,d,e)
#define IDirect3DDevice8_CreateIndexBuffer(p,a,b,c,d,e) ICOM_CALL5(CreateIndexBuffer,p,a,b,c,d,e)
#define IDirect3DDevice8_CreateRenderTarget(p,a,b,c,d,e,f) ICOM_CALL6(CreateRenderTarget,p,a,b,c,d,e,f)
#define IDirect3DDevice8_CreateDepthStencilSurface(p,a,b,c,d,e) ICOM_CALL5(CreateDepthStencilSurface,p,a,b,c,d,e)
#define IDirect3DDevice8_CreateImageSurface(p,a,b,c,d) ICOM_CALL4(CreateImageSurface,p,a,b,c,d)
#define IDirect3DDevice8_CopyRects(p,a,b,c,d,e) ICOM_CALL5(CopyRects,p,a,b,c,d,e)
#define IDirect3DDevice8_UpdateTexture(p,a,b) ICOM_CALL2(UpdateTexture,p,a,b)
#define IDirect3DDevice8_GetFrontBuffer(p,a) ICOM_CALL1(GetFrontBuffer,p,a)
#define IDirect3DDevice8_SetRenderTarget(p,a,b) ICOM_CALL2(SetRenderTarget,p,a,b)
#define IDirect3DDevice8_GetRenderTarget(p,a) ICOM_CALL1(GetRenderTarget,p,a)
#define IDirect3DDevice8_GetDepthStencilSurface(p,a) ICOM_CALL1(GetDepthStencilSurface,p,a)
#define IDirect3DDevice8_BeginScene(p) ICOM_CALL (BeginScene,p)
#define IDirect3DDevice8_EndScene(p) ICOM_CALL (EndScene,p)
#define IDirect3DDevice8_Clear(p,a,b,c,d,e,f) ICOM_CALL6(Clear,p,a,b,c,d,e,f)
#define IDirect3DDevice8_SetTransform(p,a,b) ICOM_CALL2(SetTransform,p,a,b)
#define IDirect3DDevice8_GetTransform(p,a,b) ICOM_CALL2(GetTransform,p,a,b)
#define IDirect3DDevice8_MultiplyTransform(p,a,b) ICOM_CALL2(MultiplyTransform,p,a,b)
#define IDirect3DDevice8_SetViewport(p,a) ICOM_CALL1(SetViewport,p,a)
#define IDirect3DDevice8_GetViewport(p,a) ICOM_CALL1(GetViewport,p,a)
#define IDirect3DDevice8_SetMaterial(p,a) ICOM_CALL1(SetMaterial,p,a)
#define IDirect3DDevice8_GetMaterial(p,a) ICOM_CALL1(GetMaterial,p,a)
#define IDirect3DDevice8_SetLight(p,a,b) ICOM_CALL2(SetLight,p,a,b)
#define IDirect3DDevice8_GetLight(p,a,b) ICOM_CALL2(GetLight,p,a,b)
#define IDirect3DDevice8_LightEnable(p,a,b) ICOM_CALL2(LightEnable,p,a,b)
#define IDirect3DDevice8_GetLightEnable(p,a,b) ICOM_CALL2(GetLightEnable,p,a,b)
#define IDirect3DDevice8_SetClipPlane(p,a,b) ICOM_CALL2(SetClipPlane,p,a,b)
#define IDirect3DDevice8_GetClipPlane(p,a,b) ICOM_CALL2(GetClipPlane,p,a,b)
#define IDirect3DDevice8_SetRenderState(p,a,b) ICOM_CALL2(SetRenderState,p,a,b)
#define IDirect3DDevice8_GetRenderState(p,a,b) ICOM_CALL2(GetRenderState,p,a,b)
#define IDirect3DDevice8_BeginStateBlock(p) ICOM_CALL (BeginStateBlock,p)
#define IDirect3DDevice8_EndStateBlock(p,a) ICOM_CALL1(EndStateBlock,p,a)
#define IDirect3DDevice8_ApplyStateBlock(p,a) ICOM_CALL1(ApplyStateBlock,p,a)
#define IDirect3DDevice8_CaptureStateBlock(p,a) ICOM_CALL1(CaptureStateBlock,p,a)
#define IDirect3DDevice8_DeleteStateBlock(p,a) ICOM_CALL1(DeleteStateBlock,p,a)
#define IDirect3DDevice8_CreateStateBlock(p,a,b) ICOM_CALL2(CreateStateBlock,p,a,b)
#define IDirect3DDevice8_SetClipStatus(p,a) ICOM_CALL1(SetClipStatus,p,a)
#define IDirect3DDevice8_GetClipStatus(p,a) ICOM_CALL1(GetClipStatus,p,a)
#define IDirect3DDevice8_GetTexture(p,a,b) ICOM_CALL2(GetTexture,p,a,b)
#define IDirect3DDevice8_SetTexture(p,a,b) ICOM_CALL2(SetTexture,p,a,b)
#define IDirect3DDevice8_GetTextureStageState(p,a,b,c) ICOM_CALL3(GetTextureStageState,p,a,b,c)
#define IDirect3DDevice8_SetTextureStageState(p,a,b,c) ICOM_CALL3(SetTextureStageState,p,a,b,c)
#define IDirect3DDevice8_ValidateDevice(p,a) ICOM_CALL1(ValidateDevice,p,a)
#define IDirect3DDevice8_GetInfo(p,a,b,c) ICOM_CALL3(GetInfo,p,a,b,c)
#define IDirect3DDevice8_SetPaletteEntries(p,a,b) ICOM_CALL2(SetPaletteEntries,p,a,b)
#define IDirect3DDevice8_GetPaletteEntries(p,a,b) ICOM_CALL2(GetPaletteEntries,p,a,b)
#define IDirect3DDevice8_SetCurrentTexturePalette(p,a) ICOM_CALL1(SetCurrentTexturePalette,p,a)
#define IDirect3DDevice8_GetCurrentTexturePalette(p,a) ICOM_CALL1(GetCurrentTexturePalette,p,a)
#define IDirect3DDevice8_DrawPrimitive(p,a,b,c) ICOM_CALL3(DrawPrimitive,p,a,b,c)
#define IDirect3DDevice8_DrawIndexedPrimitive(p,a,b,c,d,e) ICOM_CALL5(DrawIndexedPrimitive,p,a,b,c,d,e)
#define IDirect3DDevice8_DrawPrimitiveUP(p,a,b,c,d) ICOM_CALL4(DrawPrimitiveUP,p,a,b,c,d)
#define IDirect3DDevice8_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) ICOM_CALL8(DrawIndexedPrimitiveUP,p,a,b,c,d,e,f,g,h)
#define IDirect3DDevice8_ProcessVertices(p,a,b,c,d,e) ICOM_CALL5(processVertices,p,a,b,c,d,e)
#define IDirect3DDevice8_CreateVertexShader(p,a,b,c,d) ICOM_CALL4(CreateVertexShader,p,a,b,c,d)
#define IDirect3DDevice8_SetVertexShader(p,a) ICOM_CALL1(SetVertexShader,p,a)
#define IDirect3DDevice8_GetVertexShader(p,a) ICOM_CALL1(GetVertexShader,p,a)
#define IDirect3DDevice8_DeleteVertexShader(p,a) ICOM_CALL1(DeleteVertexShader,p,a)
#define IDirect3DDevice8_SetVertexShaderConstant(p,a,b,c) ICOM_CALL3(SetVertexShaderConstant,p,a,b,c)
#define IDirect3DDevice8_GetVertexShaderConstant(p,a,b,c) ICOM_CALL3(GetVertexShaderConstant,p,a,b,c)
#define IDirect3DDevice8_GetVertexShaderDeclaration(p,a,b,c) ICOM_CALL3(GetVertexShaderDeclaration,p,a,b,c)
#define IDirect3DDevice8_GetVertexShaderFunction(p,a,b,c) ICOM_CALL3(GetVertexShaderFunction,p,a,b,c)
#define IDirect3DDevice8_SetStreamSource(p,a,b,c) ICOM_CALL3(SetStreamSource,p,a,b,c)
#define IDirect3DDevice8_GetStreamSource(p,a,b,c) ICOM_CALL3(GetStreamSource,p,a,b,c)
#define IDirect3DDevice8_SetIndices(p,a,b) ICOM_CALL2(SetIndices,p,a,b)
#define IDirect3DDevice8_GetIndices(p,a,b) ICOM_CALL2(GetIndices,p,a,b)
#define IDirect3DDevice8_CreatePixelShader(p,a,b) ICOM_CALL2(CreatePixelShader,p,a,b)
#define IDirect3DDevice8_SetPixelShader(p,a) ICOM_CALL1(SetPixelShader,p,a)
#define IDirect3DDevice8_GetPixelShader(p,a) ICOM_CALL1(GetPixelShader,p,a)
#define IDirect3DDevice8_DeletePixelShader(p,a) ICOM_CALL1(DeletePixelShader,p,a)
#define IDirect3DDevice8_SetPixelShaderConstant(p,a,b,c) ICOM_CALL3(SetPixelShaderConstant,p,a,b,c)
#define IDirect3DDevice8_GetPixelShaderConstant(p,a,b,c) ICOM_CALL3(GetPixelShaderConstant,p,a,b,c)
#define IDirect3DDevice8_GetPixelShaderFunction(p,a,b,c) ICOM_CALL3(GetPixelShaderFunction,p,a,b,c)
#define IDirect3DDevice8_DrawRectPatch(p,a,b,c) ICOM_CALL3(DrawRectPatch,p,a,b,c)
#define IDirect3DDevice8_DrawTriPatch(p,a,b,c) ICOM_CALL3(DrawTriPatch,p,a,b,c)
#define IDirect3DDevice8_DeletePatch(p,a) ICOM_CALL1(DeletePatch,p,a)
#define IDirect3DDevice8_GetBackBuffer(p,a,b,c) (p)->lpVtbl->GetBackBuffer(p,a,b,c)
#define IDirect3DDevice8_GetRasterStatus(p,a) (p)->lpVtbl->GetRasterStatus(p,a)
#define IDirect3DDevice8_SetGammaRamp(p,a,b) (p)->lpVtbl->SetGammaRamp(p,a,b)
#define IDirect3DDevice8_GetGammaRamp(p,a) (p)->lpVtbl->GetGammaRamp(p,a)
#define IDirect3DDevice8_CreateTexture(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateTexture(p,a,b,c,d,e,f,g)
#define IDirect3DDevice8_CreateVolumeTexture(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateVolumeTexture(p,a,b,c,d,e,f,g,h)
#define IDirect3DDevice8_CreateCubeTexture(p,a,b,c,d,e,f) (p)->lpVtbl->CreateCubeTexture(p,a,b,c,d,e,f)
#define IDirect3DDevice8_CreateVertexBuffer(p,a,b,c,d,e) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d,e)
#define IDirect3DDevice8_CreateIndexBuffer(p,a,b,c,d,e) (p)->lpVtbl->CreateIndexBuffer(p,a,b,c,d,e)
#define IDirect3DDevice8_CreateRenderTarget(p,a,b,c,d,e,f) (p)->lpVtbl->CreateRenderTarget(p,a,b,c,d,e,f)
#define IDirect3DDevice8_CreateDepthStencilSurface(p,a,b,c,d,e) (p)->lpVtbl->CreateDepthStencilSurface(p,a,b,c,d,e)
#define IDirect3DDevice8_CreateImageSurface(p,a,b,c,d) (p)->lpVtbl->CreateImageSurface(p,a,b,c,d)
#define IDirect3DDevice8_CopyRects(p,a,b,c,d,e) (p)->lpVtbl->CopyRects(p,a,b,c,d,e)
#define IDirect3DDevice8_UpdateTexture(p,a,b) (p)->lpVtbl->UpdateTexture(p,a,b)
#define IDirect3DDevice8_GetFrontBuffer(p,a) (p)->lpVtbl->GetFrontBuffer(p,a)
#define IDirect3DDevice8_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
#define IDirect3DDevice8_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a)
#define IDirect3DDevice8_GetDepthStencilSurface(p,a) (p)->lpVtbl->GetDepthStencilSurface(p,a)
#define IDirect3DDevice8_BeginScene(p) (p)->lpVtbl->BeginScene(p)
#define IDirect3DDevice8_EndScene(p) (p)->lpVtbl->EndScene(p)
#define IDirect3DDevice8_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f)
#define IDirect3DDevice8_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b)
#define IDirect3DDevice8_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b)
#define IDirect3DDevice8_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b)
#define IDirect3DDevice8_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a)
#define IDirect3DDevice8_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a)
#define IDirect3DDevice8_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
#define IDirect3DDevice8_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
#define IDirect3DDevice8_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b)
#define IDirect3DDevice8_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b)
#define IDirect3DDevice8_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b)
#define IDirect3DDevice8_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b)
#define IDirect3DDevice8_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b)
#define IDirect3DDevice8_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b)
#define IDirect3DDevice8_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b)
#define IDirect3DDevice8_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
#define IDirect3DDevice8_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p)
#define IDirect3DDevice8_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a)
#define IDirect3DDevice8_ApplyStateBlock(p,a) (p)->lpVtbl->ApplyStateBlock(p,a)
#define IDirect3DDevice8_CaptureStateBlock(p,a) (p)->lpVtbl->CaptureStateBlock(p,a)
#define IDirect3DDevice8_DeleteStateBlock(p,a) (p)->lpVtbl->DeleteStateBlock(p,a)
#define IDirect3DDevice8_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b)
#define IDirect3DDevice8_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a)
#define IDirect3DDevice8_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a)
#define IDirect3DDevice8_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b)
#define IDirect3DDevice8_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b)
#define IDirect3DDevice8_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c)
#define IDirect3DDevice8_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c)
#define IDirect3DDevice8_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a)
#define IDirect3DDevice8_GetInfo(p,a,b,c) (p)->lpVtbl->GetInfo(p,a,b,c)
#define IDirect3DDevice8_SetPaletteEntries(p,a,b) (p)->lpVtbl->SetPaletteEntries(p,a,b)
#define IDirect3DDevice8_GetPaletteEntries(p,a,b) (p)->lpVtbl->GetPaletteEntries(p,a,b)
#define IDirect3DDevice8_SetCurrentTexturePalette(p,a) (p)->lpVtbl->SetCurrentTexturePalette(p,a)
#define IDirect3DDevice8_GetCurrentTexturePalette(p,a) (p)->lpVtbl->GetCurrentTexturePalette(p,a)
#define IDirect3DDevice8_DrawPrimitive(p,a,b,c) (p)->lpVtbl->DrawPrimitive(p,a,b,c)
#define IDirect3DDevice8_DrawIndexedPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e)
#define IDirect3DDevice8_DrawPrimitiveUP(p,a,b,c,d) (p)->lpVtbl->DrawPrimitiveUP(p,a,b,c,d)
#define IDirect3DDevice8_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h)
#define IDirect3DDevice8_ProcessVertices(p,a,b,c,d,e) (p)->lpVtbl->processVertices(p,a,b,c,d,e)
#define IDirect3DDevice8_CreateVertexShader(p,a,b,c,d) (p)->lpVtbl->CreateVertexShader(p,a,b,c,d)
#define IDirect3DDevice8_SetVertexShader(p,a) (p)->lpVtbl->SetVertexShader(p,a)
#define IDirect3DDevice8_GetVertexShader(p,a) (p)->lpVtbl->GetVertexShader(p,a)
#define IDirect3DDevice8_DeleteVertexShader(p,a) (p)->lpVtbl->DeleteVertexShader(p,a)
#define IDirect3DDevice8_SetVertexShaderConstant(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstant(p,a,b,c)
#define IDirect3DDevice8_GetVertexShaderConstant(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstant(p,a,b,c)
#define IDirect3DDevice8_GetVertexShaderDeclaration(p,a,b,c) (p)->lpVtbl->GetVertexShaderDeclaration(p,a,b,c)
#define IDirect3DDevice8_GetVertexShaderFunction(p,a,b,c) (p)->lpVtbl->GetVertexShaderFunction(p,a,b,c)
#define IDirect3DDevice8_SetStreamSource(p,a,b,c) (p)->lpVtbl->SetStreamSource(p,a,b,c)
#define IDirect3DDevice8_GetStreamSource(p,a,b,c) (p)->lpVtbl->GetStreamSource(p,a,b,c)
#define IDirect3DDevice8_SetIndices(p,a,b) (p)->lpVtbl->SetIndices(p,a,b)
#define IDirect3DDevice8_GetIndices(p,a,b) (p)->lpVtbl->GetIndices(p,a,b)
#define IDirect3DDevice8_CreatePixelShader(p,a,b) (p)->lpVtbl->CreatePixelShader(p,a,b)
#define IDirect3DDevice8_SetPixelShader(p,a) (p)->lpVtbl->SetPixelShader(p,a)
#define IDirect3DDevice8_GetPixelShader(p,a) (p)->lpVtbl->GetPixelShader(p,a)
#define IDirect3DDevice8_DeletePixelShader(p,a) (p)->lpVtbl->DeletePixelShader(p,a)
#define IDirect3DDevice8_SetPixelShaderConstant(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstant(p,a,b,c)
#define IDirect3DDevice8_GetPixelShaderConstant(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstant(p,a,b,c)
#define IDirect3DDevice8_GetPixelShaderFunction(p,a,b,c) (p)->lpVtbl->GetPixelShaderFunction(p,a,b,c)
#define IDirect3DDevice8_DrawRectPatch(p,a,b,c) (p)->lpVtbl->DrawRectPatch(p,a,b,c)
#define IDirect3DDevice8_DrawTriPatch(p,a,b,c) (p)->lpVtbl->DrawTriPatch(p,a,b,c)
#define IDirect3DDevice8_DeletePatch(p,a) (p)->lpVtbl->DeletePatch(p,a)
#endif
/*****************************************************************************
* IDirect3DVolume8 interface
...
...
@@ -375,19 +379,21 @@ ICOM_DEFINE(IDirect3DDevice8,IUnknown)
ICOM_DEFINE
(
IDirect3DVolume8
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DVolume8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DVolume8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DVolume8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DVolume8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DVolume8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DVolume8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DVolume8 methods ***/
#define IDirect3DVolume8_GetDevice(p,a) ICOM_CALL1(GetDevice,p,a)
#define IDirect3DVolume8_SetPrivateData(p,a,b,c,d) ICOM_CALL4(SetPrivateData,p,a,b,c,d)
#define IDirect3DVolume8_GetPrivateData(p,a,b,c) ICOM_CALL3(GetPrivateData,p,a,b,c)
#define IDirect3DVolume8_FreePrivateData(p,a) ICOM_CALL1(FreePrivateData,p,a)
#define IDirect3DVolume8_GetContainer(p,a,b) ICOM_CALL2(GetContainer,p,a,b)
#define IDirect3DVolume8_GetDesc(p,a) ICOM_CALL1(GetDesc,p,a)
#define IDirect3DVolume8_LockBox(p,a,b,c) ICOM_CALL3(LockBox,p,a,b,c)
#define IDirect3DVolume8_UnlockBox(p) ICOM_CALL (UnlockBox,p)
#define IDirect3DVolume8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
#define IDirect3DVolume8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
#define IDirect3DVolume8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
#define IDirect3DVolume8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
#define IDirect3DVolume8_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b)
#define IDirect3DVolume8_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
#define IDirect3DVolume8_LockBox(p,a,b,c) (p)->lpVtbl->LockBox(p,a,b,c)
#define IDirect3DVolume8_UnlockBox(p) (p)->lpVtbl->UnlockBox(p)
#endif
/*****************************************************************************
* IDirect3DSwapChain8 interface
...
...
@@ -405,13 +411,15 @@ ICOM_DEFINE(IDirect3DVolume8,IUnknown)
ICOM_DEFINE
(
IDirect3DSwapChain8
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DSwapChain8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DSwapChain8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DSwapChain8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DSwapChain8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DSwapChain8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DSwapChain8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DSwapChain8 methods ***/
#define IDirect3DSwapChain8_Present(p,a,b,c) ICOM_CALL3(Present,p,a,b,c)
#define IDirect3DSwapChain8_GetBackBuffer(p,a,b,c,d) ICOM_CALL4(GetBackBuffer,p,a,b,c,d)
#define IDirect3DSwapChain8_Present(p,a,b,c) (p)->lpVtbl->Present(p,a,b,c)
#define IDirect3DSwapChain8_GetBackBuffer(p,a,b,c,d) (p)->lpVtbl->GetBackBuffer(p,a,b,c,d)
#endif
/*****************************************************************************
* IDirect3DSurface8 interface
...
...
@@ -435,19 +443,21 @@ ICOM_DEFINE(IDirect3DSwapChain8,IUnknown)
ICOM_DEFINE
(
IDirect3DSurface8
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DSurface8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DSurface8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DSurface8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DSurface8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DSurface8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DSurface8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DSurface8 methods ***/
#define IDirect3DSurface8_GetDevice(p,a) ICOM_CALL1(GetDevice,p,a)
#define IDirect3DSurface8_SetPrivateData(p,a,b,c,d) ICOM_CALL4(SetPrivateData,p,a,b,c,d)
#define IDirect3DSurface8_GetPrivateData(p,a,b,c) ICOM_CALL3(GetPrivateData,p,a,b,c)
#define IDirect3DSurface8_FreePrivateData(p,a) ICOM_CALL1(FreePrivateData,p,a)
#define IDirect3DSurface8_GetContainer(p,a,b) ICOM_CALL2(GetContainer,p,a,b)
#define IDirect3DSurface8_GetDesc(p,a) ICOM_CALL1(GetDesc,p,a)
#define IDirect3DSurface8_LockRect(p,a,b,c) ICOM_CALL3(LockRect,p,a,b,c)
#define IDirect3DSurface8_UnlockRect(p) ICOM_CALL (UnlockRect,p)
#define IDirect3DSurface8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
#define IDirect3DSurface8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
#define IDirect3DSurface8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
#define IDirect3DSurface8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
#define IDirect3DSurface8_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b)
#define IDirect3DSurface8_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
#define IDirect3DSurface8_LockRect(p,a,b,c) (p)->lpVtbl->LockRect(p,a,b,c)
#define IDirect3DSurface8_UnlockRect(p) (p)->lpVtbl->UnlockRect(p)
#endif
/*****************************************************************************
* IDirect3DResource8 interface
...
...
@@ -471,19 +481,21 @@ ICOM_DEFINE(IDirect3DSurface8,IUnknown)
ICOM_DEFINE
(
IDirect3DResource8
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DResource8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DResource8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DResource8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DResource8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DResource8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DResource8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DResource8 methods ***/
#define IDirect3DResource8_GetDevice(p,a) ICOM_CALL1(GetDevice,p,a)
#define IDirect3DResource8_SetPrivateData(p,a,b,c,d) ICOM_CALL4(SetPrivateData,p,a,b,c,d)
#define IDirect3DResource8_GetPrivateData(p,a,b,c) ICOM_CALL3(GetPrivateData,p,a,b,c)
#define IDirect3DResource8_FreePrivateData(p,a) ICOM_CALL1(FreePrivateData,p,a)
#define IDirect3DResource8_SetPriority(p,a) ICOM_CALL1(SetPriority,p,a)
#define IDirect3DResource8_GetPriority(p) ICOM_CALL (GetPriority,p)
#define IDirect3DResource8_PreLoad(p) ICOM_CALL (PreLoad,p)
#define IDirect3DResource8_GetType(p) ICOM_CALL (GetType,p)
#define IDirect3DResource8_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
#define IDirect3DResource8_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
#define IDirect3DResource8_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
#define IDirect3DResource8_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
#define IDirect3DResource8_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IDirect3DResource8_GetPriority(p) (p)->lpVtbl->GetPriority(p)
#define IDirect3DResource8_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IDirect3DResource8_GetType(p) (p)->lpVtbl->GetType(p)
#endif
/*****************************************************************************
* IDirect3DVertexBuffer8 interface
...
...
@@ -503,23 +515,25 @@ ICOM_DEFINE(IDirect3DResource8,IUnknown)
ICOM_DEFINE
(
IDirect3DVertexBuffer8
,
IDirect3DResource8
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DVertexBuffer8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DVertexBuffer8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DVertexBuffer8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DVertexBuffer8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DVertexBuffer8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DVertexBuffer8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DVertexBuffer8 methods: IDirect3DResource8 ***/
#define IDirect3DVertexBuffer8_GetDevice(p,a)
ICOM_CALL1(GetDevice,
p,a)
#define IDirect3DVertexBuffer8_SetPrivateData(p,a,b,c,d)
ICOM_CALL4(SetPrivateData,
p,a,b,c,d)
#define IDirect3DVertexBuffer8_GetPrivateData(p,a,b,c)
ICOM_CALL3(GetPrivateData,
p,a,b,c)
#define IDirect3DVertexBuffer8_FreePrivateData(p,a)
ICOM_CALL1(FreePrivateData,
p,a)
#define IDirect3DVertexBuffer8_SetPriority(p,a)
ICOM_CALL1(SetPriority,
p,a)
#define IDirect3DVertexBuffer8_GetPriority(p)
ICOM_CALL (GetPriority,
p)
#define IDirect3DVertexBuffer8_PreLoad(p)
ICOM_CALL (PreLoad,
p)
#define IDirect3DVertexBuffer8_GetType(p)
ICOM_CALL (GetType,
p)
#define IDirect3DVertexBuffer8_GetDevice(p,a)
(p)->lpVtbl->GetDevice(
p,a)
#define IDirect3DVertexBuffer8_SetPrivateData(p,a,b,c,d)
(p)->lpVtbl->SetPrivateData(
p,a,b,c,d)
#define IDirect3DVertexBuffer8_GetPrivateData(p,a,b,c)
(p)->lpVtbl->GetPrivateData(
p,a,b,c)
#define IDirect3DVertexBuffer8_FreePrivateData(p,a)
(p)->lpVtbl->FreePrivateData(
p,a)
#define IDirect3DVertexBuffer8_SetPriority(p,a)
(p)->lpVtbl->SetPriority(
p,a)
#define IDirect3DVertexBuffer8_GetPriority(p)
(p)->lpVtbl->GetPriority(
p)
#define IDirect3DVertexBuffer8_PreLoad(p)
(p)->lpVtbl->PreLoad(
p)
#define IDirect3DVertexBuffer8_GetType(p)
(p)->lpVtbl->GetType(
p)
/*** IDirect3DVertexBuffer8 methods ***/
#define IDirect3DVertexBuffer8_Lock(p,a,b,c,d) ICOM_CALL4(Lock,p,a,b,c,d)
#define IDirect3DVertexBuffer8_Unlock(p) ICOM_CALL (Unlock,p)
#define IDirect3DVertexBuffer8_GetDesc(p,a) ICOM_CALL1(GetDesc,p,a)
#define IDirect3DVertexBuffer8_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d)
#define IDirect3DVertexBuffer8_Unlock(p) (p)->lpVtbl->Unlock(p)
#define IDirect3DVertexBuffer8_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
#endif
/*****************************************************************************
* IDirect3DIndexBuffer8 interface
...
...
@@ -539,23 +553,25 @@ ICOM_DEFINE(IDirect3DVertexBuffer8,IDirect3DResource8)
ICOM_DEFINE
(
IDirect3DIndexBuffer8
,
IDirect3DResource8
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DIndexBuffer8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DIndexBuffer8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DIndexBuffer8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DIndexBuffer8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DIndexBuffer8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DIndexBuffer8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DIndexBuffer8 methods: IDirect3DResource8 ***/
#define IDirect3DIndexBuffer8_GetDevice(p,a)
ICOM_CALL1(GetDevice,
p,a)
#define IDirect3DIndexBuffer8_SetPrivateData(p,a,b,c,d)
ICOM_CALL4(SetPrivateData,
p,a,b,c,d)
#define IDirect3DIndexBuffer8_GetPrivateData(p,a,b,c)
ICOM_CALL3(GetPrivateData,
p,a,b,c)
#define IDirect3DIndexBuffer8_FreePrivateData(p,a)
ICOM_CALL1(FreePrivateData,
p,a)
#define IDirect3DIndexBuffer8_SetPriority(p,a)
ICOM_CALL1(SetPriority,
p,a)
#define IDirect3DIndexBuffer8_GetPriority(p)
ICOM_CALL (GetPriority,
p)
#define IDirect3DIndexBuffer8_PreLoad(p)
ICOM_CALL (PreLoad,
p)
#define IDirect3DIndexBuffer8_GetType(p)
ICOM_CALL (GetType,
p)
#define IDirect3DIndexBuffer8_GetDevice(p,a)
(p)->lpVtbl->GetDevice(
p,a)
#define IDirect3DIndexBuffer8_SetPrivateData(p,a,b,c,d)
(p)->lpVtbl->SetPrivateData(
p,a,b,c,d)
#define IDirect3DIndexBuffer8_GetPrivateData(p,a,b,c)
(p)->lpVtbl->GetPrivateData(
p,a,b,c)
#define IDirect3DIndexBuffer8_FreePrivateData(p,a)
(p)->lpVtbl->FreePrivateData(
p,a)
#define IDirect3DIndexBuffer8_SetPriority(p,a)
(p)->lpVtbl->SetPriority(
p,a)
#define IDirect3DIndexBuffer8_GetPriority(p)
(p)->lpVtbl->GetPriority(
p)
#define IDirect3DIndexBuffer8_PreLoad(p)
(p)->lpVtbl->PreLoad(
p)
#define IDirect3DIndexBuffer8_GetType(p)
(p)->lpVtbl->GetType(
p)
/*** IDirect3DIndexBuffer8 methods ***/
#define IDirect3DIndexBuffer8_Lock(p,a,b,c,d) ICOM_CALL4(Lock,p,a,b,c,d)
#define IDirect3DIndexBuffer8_Unlock(p) ICOM_CALL (Unlock,p)
#define IDirect3DIndexBuffer8_GetDesc(p,a) ICOM_CALL1(GetDesc,p,a)
#define IDirect3DIndexBuffer8_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d)
#define IDirect3DIndexBuffer8_Unlock(p) (p)->lpVtbl->Unlock(p)
#define IDirect3DIndexBuffer8_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
#endif
/*****************************************************************************
* IDirect3DBaseTexture8 interface
...
...
@@ -575,23 +591,25 @@ ICOM_DEFINE(IDirect3DIndexBuffer8,IDirect3DResource8)
ICOM_DEFINE
(
IDirect3DBaseTexture8
,
IDirect3DResource8
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DBaseTexture8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DBaseTexture8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DBaseTexture8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DBaseTexture8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DBaseTexture8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DBaseTexture8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DBaseTexture8 methods: IDirect3DResource8 ***/
#define IDirect3DBaseTexture8_GetDevice(p,a)
ICOM_CALL1(GetDevice,
p,a)
#define IDirect3DBaseTexture8_SetPrivateData(p,a,b,c,d)
ICOM_CALL4(SetPrivateData,
p,a,b,c,d)
#define IDirect3DBaseTexture8_GetPrivateData(p,a,b,c)
ICOM_CALL3(GetPrivateData,
p,a,b,c)
#define IDirect3DBaseTexture8_FreePrivateData(p,a)
ICOM_CALL1(FreePrivateData,
p,a)
#define IDirect3DBaseTexture8_SetPriority(p,a)
ICOM_CALL1(SetPriority,
p,a)
#define IDirect3DBaseTexture8_GetPriority(p)
ICOM_CALL (GetPriority,
p)
#define IDirect3DBaseTexture8_PreLoad(p)
ICOM_CALL (PreLoad,
p)
#define IDirect3DBaseTexture8_GetType(p)
ICOM_CALL (GetType,
p)
#define IDirect3DBaseTexture8_GetDevice(p,a)
(p)->lpVtbl->GetDevice(
p,a)
#define IDirect3DBaseTexture8_SetPrivateData(p,a,b,c,d)
(p)->lpVtbl->SetPrivateData(
p,a,b,c,d)
#define IDirect3DBaseTexture8_GetPrivateData(p,a,b,c)
(p)->lpVtbl->GetPrivateData(
p,a,b,c)
#define IDirect3DBaseTexture8_FreePrivateData(p,a)
(p)->lpVtbl->FreePrivateData(
p,a)
#define IDirect3DBaseTexture8_SetPriority(p,a)
(p)->lpVtbl->SetPriority(
p,a)
#define IDirect3DBaseTexture8_GetPriority(p)
(p)->lpVtbl->GetPriority(
p)
#define IDirect3DBaseTexture8_PreLoad(p)
(p)->lpVtbl->PreLoad(
p)
#define IDirect3DBaseTexture8_GetType(p)
(p)->lpVtbl->GetType(
p)
/*** IDirect3DBaseTexture8 methods ***/
#define IDirect3DBaseTexture8_SetLOD(p,a) ICOM_CALL1(SetLOD,p,a)
#define IDirect3DBaseTexture8_GetLOD(p) ICOM_CALL (GetLOD,p)
#define IDirect3DBaseTexture8_GetLevelCount(p) ICOM_CALL (GetLevelCount,p)
#define IDirect3DBaseTexture8_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
#define IDirect3DBaseTexture8_GetLOD(p) (p)->lpVtbl->GetLOD(p)
#define IDirect3DBaseTexture8_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p)
#endif
/*****************************************************************************
* IDirect3DCubeTexture8 interface
...
...
@@ -614,29 +632,31 @@ ICOM_DEFINE(IDirect3DBaseTexture8,IDirect3DResource8)
ICOM_DEFINE
(
IDirect3DCubeTexture8
,
IDirect3DBaseTexture8
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DCubeTexture8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DCubeTexture8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DCubeTexture8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DCubeTexture8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DCubeTexture8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DCubeTexture8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DCubeTexture8 methods: IDirect3DResource8 ***/
#define IDirect3DCubeTexture8_GetDevice(p,a)
ICOM_CALL1(GetDevice,
p,a)
#define IDirect3DCubeTexture8_SetPrivateData(p,a,b,c,d)
ICOM_CALL4(SetPrivateData,
p,a,b,c,d)
#define IDirect3DCubeTexture8_GetPrivateData(p,a,b,c)
ICOM_CALL3(GetPrivateData,
p,a,b,c)
#define IDirect3DCubeTexture8_FreePrivateData(p,a)
ICOM_CALL1(FreePrivateData,
p,a)
#define IDirect3DCubeTexture8_SetPriority(p,a)
ICOM_CALL1(SetPriority,
p,a)
#define IDirect3DCubeTexture8_GetPriority(p)
ICOM_CALL (GetPriority,
p)
#define IDirect3DCubeTexture8_PreLoad(p)
ICOM_CALL (PreLoad,
p)
#define IDirect3DCubeTexture8_GetType(p)
ICOM_CALL (GetType,
p)
#define IDirect3DCubeTexture8_GetDevice(p,a)
(p)->lpVtbl->GetDevice(
p,a)
#define IDirect3DCubeTexture8_SetPrivateData(p,a,b,c,d)
(p)->lpVtbl->SetPrivateData(
p,a,b,c,d)
#define IDirect3DCubeTexture8_GetPrivateData(p,a,b,c)
(p)->lpVtbl->GetPrivateData(
p,a,b,c)
#define IDirect3DCubeTexture8_FreePrivateData(p,a)
(p)->lpVtbl->FreePrivateData(
p,a)
#define IDirect3DCubeTexture8_SetPriority(p,a)
(p)->lpVtbl->SetPriority(
p,a)
#define IDirect3DCubeTexture8_GetPriority(p)
(p)->lpVtbl->GetPriority(
p)
#define IDirect3DCubeTexture8_PreLoad(p)
(p)->lpVtbl->PreLoad(
p)
#define IDirect3DCubeTexture8_GetType(p)
(p)->lpVtbl->GetType(
p)
/*** IDirect3DCubeTexture8 methods: IDirect3DBaseTexture8 ***/
#define IDirect3DCubeTexture8_SetLOD(p,a)
ICOM_CALL1(SetLOD,
p,a)
#define IDirect3DCubeTexture8_GetLOD(p)
ICOM_CALL (GetLOD,
p)
#define IDirect3DCubeTexture8_GetLevelCount(p)
ICOM_CALL (GetLevelCount,
p)
#define IDirect3DCubeTexture8_SetLOD(p,a)
(p)->lpVtbl->SetLOD(
p,a)
#define IDirect3DCubeTexture8_GetLOD(p)
(p)->lpVtbl->GetLOD(
p)
#define IDirect3DCubeTexture8_GetLevelCount(p)
(p)->lpVtbl->GetLevelCount(
p)
/*** IDirect3DCubeTexture8 methods ***/
#define IDirect3DCubeTexture8_GetLevelDesc(p,a,b) ICOM_CALL2(GetLevelDesc,p,a,b)
#define IDirect3DCubeTexture8_GetCubeMapSurface(p,a,b,c) ICOM_CALL3(GetCubeMapSurface,p,a,b,c)
#define IDirect3DCubeTexture8_LockRect(p,a,b,c,d,e) ICOM_CALL5(LockRect,p,a,b,c,d,e)
#define IDirect3DCubeTexture8_UnlockRect(p,a,b) ICOM_CALL2(UnlockRect,p,a,b)
#define IDirect3DCubeTexture8_AddDirtyRect(p,a,b) ICOM_CALL2(AddDirtyRect,p,a,b)
#define IDirect3DCubeTexture8_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b)
#define IDirect3DCubeTexture8_GetCubeMapSurface(p,a,b,c) (p)->lpVtbl->GetCubeMapSurface(p,a,b,c)
#define IDirect3DCubeTexture8_LockRect(p,a,b,c,d,e) (p)->lpVtbl->LockRect(p,a,b,c,d,e)
#define IDirect3DCubeTexture8_UnlockRect(p,a,b) (p)->lpVtbl->UnlockRect(p,a,b)
#define IDirect3DCubeTexture8_AddDirtyRect(p,a,b) (p)->lpVtbl->AddDirtyRect(p,a,b)
#endif
/*****************************************************************************
* IDirect3DTexture8 interface
...
...
@@ -659,29 +679,31 @@ ICOM_DEFINE(IDirect3DCubeTexture8,IDirect3DBaseTexture8)
ICOM_DEFINE
(
IDirect3DTexture8
,
IDirect3DBaseTexture8
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DTexture8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DTexture8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DTexture8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DTexture8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DTexture8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DTexture8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DTexture8 methods: IDirect3DResource8 ***/
#define IDirect3DTexture8_GetDevice(p,a)
ICOM_CALL1(GetDevice,
p,a)
#define IDirect3DTexture8_SetPrivateData(p,a,b,c,d)
ICOM_CALL4(SetPrivateData,
p,a,b,c,d)
#define IDirect3DTexture8_GetPrivateData(p,a,b,c)
ICOM_CALL3(GetPrivateData,
p,a,b,c)
#define IDirect3DTexture8_FreePrivateData(p,a)
ICOM_CALL1(FreePrivateData,
p,a)
#define IDirect3DTexture8_SetPriority(p,a)
ICOM_CALL1(SetPriority,
p,a)
#define IDirect3DTexture8_GetPriority(p)
ICOM_CALL (GetPriority,
p)
#define IDirect3DTexture8_PreLoad(p)
ICOM_CALL (PreLoad,
p)
#define IDirect3DTexture8_GetType(p)
ICOM_CALL (GetType,
p)
#define IDirect3DTexture8_GetDevice(p,a)
(p)->lpVtbl->GetDevice(
p,a)
#define IDirect3DTexture8_SetPrivateData(p,a,b,c,d)
(p)->lpVtbl->SetPrivateData(
p,a,b,c,d)
#define IDirect3DTexture8_GetPrivateData(p,a,b,c)
(p)->lpVtbl->GetPrivateData(
p,a,b,c)
#define IDirect3DTexture8_FreePrivateData(p,a)
(p)->lpVtbl->FreePrivateData(
p,a)
#define IDirect3DTexture8_SetPriority(p,a)
(p)->lpVtbl->SetPriority(
p,a)
#define IDirect3DTexture8_GetPriority(p)
(p)->lpVtbl->GetPriority(
p)
#define IDirect3DTexture8_PreLoad(p)
(p)->lpVtbl->PreLoad(
p)
#define IDirect3DTexture8_GetType(p)
(p)->lpVtbl->GetType(
p)
/*** IDirect3DTexture8 methods: IDirect3DBaseTexture8 ***/
#define IDirect3DTexture8_SetLOD(p,a)
ICOM_CALL1(SetLOD,
p,a)
#define IDirect3DTexture8_GetLOD(p)
ICOM_CALL (GetLOD,
p)
#define IDirect3DTexture8_GetLevelCount(p)
ICOM_CALL (GetLevelCount,
p)
#define IDirect3DTexture8_SetLOD(p,a)
(p)->lpVtbl->SetLOD(
p,a)
#define IDirect3DTexture8_GetLOD(p)
(p)->lpVtbl->GetLOD(
p)
#define IDirect3DTexture8_GetLevelCount(p)
(p)->lpVtbl->GetLevelCount(
p)
/*** IDirect3DTexture8 methods ***/
#define IDirect3DTexture8_GetLevelDesc(p,a,b) ICOM_CALL2(GetLevelDesc,p,a,b)
#define IDirect3DTexture8_GetSurfaceLevel(p,a,b) ICOM_CALL2(GetSurfaceLevel,p,a,b)
#define IDirect3DTexture8_LockRect(p,a,b,c,d) ICOM_CALL4(LockRect,p,a,b,c,d)
#define IDirect3DTexture8_UnlockRect(p,a) ICOM_CALL1(UnlockRect,p,a)
#define IDirect3DTexture8_AddDirtyRect(p,a) ICOM_CALL1(AddDirtyRect,p,a)
#define IDirect3DTexture8_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b)
#define IDirect3DTexture8_GetSurfaceLevel(p,a,b) (p)->lpVtbl->GetSurfaceLevel(p,a,b)
#define IDirect3DTexture8_LockRect(p,a,b,c,d) (p)->lpVtbl->LockRect(p,a,b,c,d)
#define IDirect3DTexture8_UnlockRect(p,a) (p)->lpVtbl->UnlockRect(p,a)
#define IDirect3DTexture8_AddDirtyRect(p,a) (p)->lpVtbl->AddDirtyRect(p,a)
#endif
/*****************************************************************************
* IDirect3DVolumeTexture8 interface
...
...
@@ -704,29 +726,31 @@ ICOM_DEFINE(IDirect3DTexture8,IDirect3DBaseTexture8)
ICOM_DEFINE
(
IDirect3DVolumeTexture8
,
IDirect3DBaseTexture8
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirect3DVolumeTexture8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirect3DVolumeTexture8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirect3DVolumeTexture8_Release(p)
ICOM_CALL (Release,
p)
#define IDirect3DVolumeTexture8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirect3DVolumeTexture8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirect3DVolumeTexture8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirect3DVolumeTexture8 methods: IDirect3DResource8 ***/
#define IDirect3DVolumeTexture8_GetDevice(p,a)
ICOM_CALL1(GetDevice,
p,a)
#define IDirect3DVolumeTexture8_SetPrivateData(p,a,b,c,d)
ICOM_CALL4(SetPrivateData,
p,a,b,c,d)
#define IDirect3DVolumeTexture8_GetPrivateData(p,a,b,c)
ICOM_CALL3(GetPrivateData,
p,a,b,c)
#define IDirect3DVolumeTexture8_FreePrivateData(p,a)
ICOM_CALL1(FreePrivateData,
p,a)
#define IDirect3DVolumeTexture8_SetPriority(p,a)
ICOM_CALL1(SetPriority,
p,a)
#define IDirect3DVolumeTexture8_GetPriority(p)
ICOM_CALL (GetPriority,
p)
#define IDirect3DVolumeTexture8_PreLoad(p)
ICOM_CALL (PreLoad,
p)
#define IDirect3DVolumeTexture8_GetType(p)
ICOM_CALL (GetType,
p)
#define IDirect3DVolumeTexture8_GetDevice(p,a)
(p)->lpVtbl->GetDevice(
p,a)
#define IDirect3DVolumeTexture8_SetPrivateData(p,a,b,c,d)
(p)->lpVtbl->SetPrivateData(
p,a,b,c,d)
#define IDirect3DVolumeTexture8_GetPrivateData(p,a,b,c)
(p)->lpVtbl->GetPrivateData(
p,a,b,c)
#define IDirect3DVolumeTexture8_FreePrivateData(p,a)
(p)->lpVtbl->FreePrivateData(
p,a)
#define IDirect3DVolumeTexture8_SetPriority(p,a)
(p)->lpVtbl->SetPriority(
p,a)
#define IDirect3DVolumeTexture8_GetPriority(p)
(p)->lpVtbl->GetPriority(
p)
#define IDirect3DVolumeTexture8_PreLoad(p)
(p)->lpVtbl->PreLoad(
p)
#define IDirect3DVolumeTexture8_GetType(p)
(p)->lpVtbl->GetType(
p)
/*** IDirect3DVolumeTexture8 methods: IDirect3DBaseTexture8 ***/
#define IDirect3DVolumeTexture8_SetLOD(p,a)
ICOM_CALL1(SetLOD,
p,a)
#define IDirect3DVolumeTexture8_GetLOD(p)
ICOM_CALL (GetLOD,
p)
#define IDirect3DVolumeTexture8_GetLevelCount(p)
ICOM_CALL (GetLevelCount,
p)
#define IDirect3DVolumeTexture8_SetLOD(p,a)
(p)->lpVtbl->SetLOD(
p,a)
#define IDirect3DVolumeTexture8_GetLOD(p)
(p)->lpVtbl->GetLOD(
p)
#define IDirect3DVolumeTexture8_GetLevelCount(p)
(p)->lpVtbl->GetLevelCount(
p)
/*** IDirect3DVolumeTexture8 methods ***/
#define IDirect3DVolumeTexture8_GetLevelDesc(p,a,b) ICOM_CALL2(GetLevelDesc,p,a,b)
#define IDirect3DVolumeTexture8_GetVolumeLevel(p,a,b) ICOM_CALL2(GetVolumeLevel,p,a,b)
#define IDirect3DVolumeTexture8_LockBox(p,a,b,c,d) ICOM_CALL4(LockBox,p,a,b,c,d)
#define IDirect3DVolumeTexture8_UnlockBox(p,a) ICOM_CALL1(UnlockBox,p,a)
#define IDirect3DVolumeTexture8_AddDirtyBox(p,a) ICOM_CALL1(AddDirtyBox,p,a)
#define IDirect3DVolumeTexture8_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b)
#define IDirect3DVolumeTexture8_GetVolumeLevel(p,a,b) (p)->lpVtbl->GetVolumeLevel(p,a,b)
#define IDirect3DVolumeTexture8_LockBox(p,a,b,c,d) (p)->lpVtbl->LockBox(p,a,b,c,d)
#define IDirect3DVolumeTexture8_UnlockBox(p,a) (p)->lpVtbl->UnlockBox(p,a)
#define IDirect3DVolumeTexture8_AddDirtyBox(p,a) (p)->lpVtbl->AddDirtyBox(p,a)
#endif
#ifdef __cplusplus
extern
"C"
{
...
...
include/d3dx8core.h
View file @
55379110
...
...
@@ -69,13 +69,15 @@ typedef struct ID3DXFont ID3DXFont, *LPD3DXFONT;
ICOM_DEFINE
(
ID3DXBuffer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define ID3DXBuffer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define ID3DXBuffer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define ID3DXBuffer_Release(p)
ICOM_CALL (Release,
p)
#define ID3DXBuffer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define ID3DXBuffer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define ID3DXBuffer_Release(p)
(p)->lpVtbl->Release(
p)
/*** ID3DXBuffer methods ***/
#define ID3DXBuffer_GetBufferPointer(p) ICOM_CALL (GetBufferPointer,p)
#define ID3DXBuffer_GetBufferSize(p) ICOM_CALL (GetBufferSize,p)
#define ID3DXBuffer_GetBufferPointer(p) (p)->lpVtbl->GetBufferPointer(p)
#define ID3DXBuffer_GetBufferSize(p) (p)->lpVtbl->GetBufferSize(p)
#endif
/*****************************************************************************
* ID3DXFont interface
...
...
@@ -95,14 +97,16 @@ ICOM_DEFINE(ID3DXBuffer,IUnknown)
ICOM_DEFINE
(
ID3DXFont
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define ID3DXFont_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define ID3DXFont_AddRef(p)
ICOM_CALL (AddRef,
p)
#define ID3DXFont_Release(p)
ICOM_CALL (Release,
p)
#define ID3DXFont_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define ID3DXFont_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define ID3DXFont_Release(p)
(p)->lpVtbl->Release(
p)
/*** ID3DXFont methods ***/
#define ID3DXFont_Begin(p) ICOM_CALL (Begin,p)
#define ID3DXFont_DrawTextA(p,a,b,c,d,e)ICOM_CALL5(DrawText,p,a,b,c,d,e)
#define ID3DXFont_End(p) ICOM_CALL (End,p)
#define ID3DXFont_Begin(p) (p)->lpVtbl->Begin(p)
#define ID3DXFont_DrawTextA(p,a,b,c,d,e)(p)->lpVtbl->DrawText(p,a,b,c,d,e)
#define ID3DXFont_End(p) (p)->lpVtbl->End(p)
#endif
/*************************************************************************************
* Define entrypoints
...
...
include/ddraw.h
View file @
55379110
...
...
@@ -1213,15 +1213,17 @@ typedef struct tagDDDEVICEIDENTIFIER2 {
ICOM_DEFINE
(
IDirectDrawPalette
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawPalette_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawPalette_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawPalette_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawPalette_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawPalette_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawPalette_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawPalette methods ***/
#define IDirectDrawPalette_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectDrawPalette_GetEntries(p,a,b,c,d) ICOM_CALL4(GetEntries,p,a,b,c,d)
#define IDirectDrawPalette_Initialize(p,a,b,c) ICOM_CALL3(Initialize,p,a,b,c)
#define IDirectDrawPalette_SetEntries(p,a,b,c,d) ICOM_CALL4(SetEntries,p,a,b,c,d)
#define IDirectDrawPalette_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectDrawPalette_GetEntries(p,a,b,c,d) (p)->lpVtbl->GetEntries(p,a,b,c,d)
#define IDirectDrawPalette_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
#define IDirectDrawPalette_SetEntries(p,a,b,c,d) (p)->lpVtbl->SetEntries(p,a,b,c,d)
#endif
/*****************************************************************************
...
...
@@ -1241,17 +1243,19 @@ ICOM_DEFINE(IDirectDrawPalette,IUnknown)
ICOM_DEFINE
(
IDirectDrawClipper
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawClipper_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawClipper_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawClipper_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawClipper_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawClipper_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawClipper_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawClipper methods ***/
#define IDirectDrawClipper_GetClipList(p,a,b,c) ICOM_CALL3(GetClipList,p,a,b,c)
#define IDirectDrawClipper_GetHWnd(p,a) ICOM_CALL1(GetHWnd,p,a)
#define IDirectDrawClipper_Initialize(p,a,b) ICOM_CALL2(Initialize,p,a,b)
#define IDirectDrawClipper_IsClipListChanged(p,a) ICOM_CALL1(IsClipListChanged,p,a)
#define IDirectDrawClipper_SetClipList(p,a,b) ICOM_CALL2(SetClipList,p,a,b)
#define IDirectDrawClipper_SetHWnd(p,a,b) ICOM_CALL2(SetHWnd,p,a,b)
#define IDirectDrawClipper_GetClipList(p,a,b,c) (p)->lpVtbl->GetClipList(p,a,b,c)
#define IDirectDrawClipper_GetHWnd(p,a) (p)->lpVtbl->GetHWnd(p,a)
#define IDirectDrawClipper_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
#define IDirectDrawClipper_IsClipListChanged(p,a) (p)->lpVtbl->IsClipListChanged(p,a)
#define IDirectDrawClipper_SetClipList(p,a,b) (p)->lpVtbl->SetClipList(p,a,b)
#define IDirectDrawClipper_SetHWnd(p,a,b) (p)->lpVtbl->SetHWnd(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -1285,31 +1289,33 @@ ICOM_DEFINE(IDirectDrawClipper,IUnknown)
ICOM_DEFINE
(
IDirectDraw
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDraw_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDraw_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDraw_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDraw_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDraw_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDraw_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDraw methods ***/
#define IDirectDraw_Compact(p) ICOM_CALL (Compact,p)
#define IDirectDraw_CreateClipper(p,a,b,c) ICOM_CALL3(CreateClipper,p,a,b,c)
#define IDirectDraw_CreatePalette(p,a,b,c,d) ICOM_CALL4(CreatePalette,p,a,b,c,d)
#define IDirectDraw_CreateSurface(p,a,b,c) ICOM_CALL3(CreateSurface,p,a,b,c)
#define IDirectDraw_DuplicateSurface(p,a,b) ICOM_CALL2(DuplicateSurface,p,a,b)
#define IDirectDraw_EnumDisplayModes(p,a,b,c,d) ICOM_CALL4(EnumDisplayModes,p,a,b,c,d)
#define IDirectDraw_EnumSurfaces(p,a,b,c,d) ICOM_CALL4(EnumSurfaces,p,a,b,c,d)
#define IDirectDraw_FlipToGDISurface(p) ICOM_CALL (FlipToGDISurface,p)
#define IDirectDraw_GetCaps(p,a,b) ICOM_CALL2(GetCaps,p,a,b)
#define IDirectDraw_GetDisplayMode(p,a) ICOM_CALL1(GetDisplayMode,p,a)
#define IDirectDraw_GetFourCCCodes(p,a,b) ICOM_CALL2(GetFourCCCodes,p,a,b)
#define IDirectDraw_GetGDISurface(p,a) ICOM_CALL1(GetGDISurface,p,a)
#define IDirectDraw_GetMonitorFrequency(p,a) ICOM_CALL1(GetMonitorFrequency,p,a)
#define IDirectDraw_GetScanLine(p,a) ICOM_CALL1(GetScanLine,p,a)
#define IDirectDraw_GetVerticalBlankStatus(p,a) ICOM_CALL1(GetVerticalBlankStatus,p,a)
#define IDirectDraw_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#define IDirectDraw_RestoreDisplayMode(p) ICOM_CALL (RestoreDisplayMode,p)
#define IDirectDraw_SetCooperativeLevel(p,a,b) ICOM_CALL2(SetCooperativeLevel,p,a,b)
#define IDirectDraw_SetDisplayMode(p,a,b,c) ICOM_CALL3(SetDisplayMode,p,a,b,c)
#define IDirectDraw_WaitForVerticalBlank(p,a,b) ICOM_CALL2(WaitForVerticalBlank,p,a,b)
#define IDirectDraw_Compact(p) (p)->lpVtbl->Compact(p)
#define IDirectDraw_CreateClipper(p,a,b,c) (p)->lpVtbl->CreateClipper(p,a,b,c)
#define IDirectDraw_CreatePalette(p,a,b,c,d) (p)->lpVtbl->CreatePalette(p,a,b,c,d)
#define IDirectDraw_CreateSurface(p,a,b,c) (p)->lpVtbl->CreateSurface(p,a,b,c)
#define IDirectDraw_DuplicateSurface(p,a,b) (p)->lpVtbl->DuplicateSurface(p,a,b)
#define IDirectDraw_EnumDisplayModes(p,a,b,c,d) (p)->lpVtbl->EnumDisplayModes(p,a,b,c,d)
#define IDirectDraw_EnumSurfaces(p,a,b,c,d) (p)->lpVtbl->EnumSurfaces(p,a,b,c,d)
#define IDirectDraw_FlipToGDISurface(p) (p)->lpVtbl->FlipToGDISurface(p)
#define IDirectDraw_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b)
#define IDirectDraw_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a)
#define IDirectDraw_GetFourCCCodes(p,a,b) (p)->lpVtbl->GetFourCCCodes(p,a,b)
#define IDirectDraw_GetGDISurface(p,a) (p)->lpVtbl->GetGDISurface(p,a)
#define IDirectDraw_GetMonitorFrequency(p,a) (p)->lpVtbl->GetMonitorFrequency(p,a)
#define IDirectDraw_GetScanLine(p,a) (p)->lpVtbl->GetScanLine(p,a)
#define IDirectDraw_GetVerticalBlankStatus(p,a) (p)->lpVtbl->GetVerticalBlankStatus(p,a)
#define IDirectDraw_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#define IDirectDraw_RestoreDisplayMode(p) (p)->lpVtbl->RestoreDisplayMode(p)
#define IDirectDraw_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b)
#define IDirectDraw_SetDisplayMode(p,a,b,c) (p)->lpVtbl->SetDisplayMode(p,a,b,c)
#define IDirectDraw_WaitForVerticalBlank(p,a,b) (p)->lpVtbl->WaitForVerticalBlank(p,a,b)
#endif
/* flags for Lock() */
...
...
@@ -1359,33 +1365,35 @@ ICOM_DEFINE(IDirectDraw,IUnknown)
ICOM_DEFINE
(
IDirectDraw2
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDraw2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDraw2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDraw2_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDraw2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDraw2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDraw2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDraw methods ***/
#define IDirectDraw2_Compact(p)
ICOM_CALL (Compact,
p)
#define IDirectDraw2_CreateClipper(p,a,b,c)
ICOM_CALL3(CreateClipper,
p,a,b,c)
#define IDirectDraw2_CreatePalette(p,a,b,c,d)
ICOM_CALL4(CreatePalette,
p,a,b,c,d)
#define IDirectDraw2_CreateSurface(p,a,b,c)
ICOM_CALL3(CreateSurface,
p,a,b,c)
#define IDirectDraw2_DuplicateSurface(p,a,b)
ICOM_CALL2(DuplicateSurface,
p,a,b)
#define IDirectDraw2_EnumDisplayModes(p,a,b,c,d)
ICOM_CALL4(EnumDisplayModes,
p,a,b,c,d)
#define IDirectDraw2_EnumSurfaces(p,a,b,c,d)
ICOM_CALL4(EnumSurfaces,
p,a,b,c,d)
#define IDirectDraw2_FlipToGDISurface(p)
ICOM_CALL (FlipToGDISurface,
p)
#define IDirectDraw2_GetCaps(p,a,b)
ICOM_CALL2(GetCaps,
p,a,b)
#define IDirectDraw2_GetDisplayMode(p,a)
ICOM_CALL1(GetDisplayMode,
p,a)
#define IDirectDraw2_GetFourCCCodes(p,a,b)
ICOM_CALL2(GetFourCCCodes,
p,a,b)
#define IDirectDraw2_GetGDISurface(p,a)
ICOM_CALL1(GetGDISurface,
p,a)
#define IDirectDraw2_GetMonitorFrequency(p,a)
ICOM_CALL1(GetMonitorFrequency,
p,a)
#define IDirectDraw2_GetScanLine(p,a)
ICOM_CALL1(GetScanLine,
p,a)
#define IDirectDraw2_GetVerticalBlankStatus(p,a)
ICOM_CALL1(GetVerticalBlankStatus,
p,a)
#define IDirectDraw2_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IDirectDraw2_RestoreDisplayMode(p)
ICOM_CALL (RestoreDisplayMode,
p)
#define IDirectDraw2_SetCooperativeLevel(p,a,b)
ICOM_CALL2(SetCooperativeLevel,
p,a,b)
#define IDirectDraw2_SetDisplayMode(p,a,b,c,d,e)
ICOM_CALL5(SetDisplayMode,
p,a,b,c,d,e)
#define IDirectDraw2_WaitForVerticalBlank(p,a,b)
ICOM_CALL2(WaitForVerticalBlank,
p,a,b)
#define IDirectDraw2_Compact(p)
(p)->lpVtbl->Compact(
p)
#define IDirectDraw2_CreateClipper(p,a,b,c)
(p)->lpVtbl->CreateClipper(
p,a,b,c)
#define IDirectDraw2_CreatePalette(p,a,b,c,d)
(p)->lpVtbl->CreatePalette(
p,a,b,c,d)
#define IDirectDraw2_CreateSurface(p,a,b,c)
(p)->lpVtbl->CreateSurface(
p,a,b,c)
#define IDirectDraw2_DuplicateSurface(p,a,b)
(p)->lpVtbl->DuplicateSurface(
p,a,b)
#define IDirectDraw2_EnumDisplayModes(p,a,b,c,d)
(p)->lpVtbl->EnumDisplayModes(
p,a,b,c,d)
#define IDirectDraw2_EnumSurfaces(p,a,b,c,d)
(p)->lpVtbl->EnumSurfaces(
p,a,b,c,d)
#define IDirectDraw2_FlipToGDISurface(p)
(p)->lpVtbl->FlipToGDISurface(
p)
#define IDirectDraw2_GetCaps(p,a,b)
(p)->lpVtbl->GetCaps(
p,a,b)
#define IDirectDraw2_GetDisplayMode(p,a)
(p)->lpVtbl->GetDisplayMode(
p,a)
#define IDirectDraw2_GetFourCCCodes(p,a,b)
(p)->lpVtbl->GetFourCCCodes(
p,a,b)
#define IDirectDraw2_GetGDISurface(p,a)
(p)->lpVtbl->GetGDISurface(
p,a)
#define IDirectDraw2_GetMonitorFrequency(p,a)
(p)->lpVtbl->GetMonitorFrequency(
p,a)
#define IDirectDraw2_GetScanLine(p,a)
(p)->lpVtbl->GetScanLine(
p,a)
#define IDirectDraw2_GetVerticalBlankStatus(p,a)
(p)->lpVtbl->GetVerticalBlankStatus(
p,a)
#define IDirectDraw2_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
#define IDirectDraw2_RestoreDisplayMode(p)
(p)->lpVtbl->RestoreDisplayMode(
p)
#define IDirectDraw2_SetCooperativeLevel(p,a,b)
(p)->lpVtbl->SetCooperativeLevel(
p,a,b)
#define IDirectDraw2_SetDisplayMode(p,a,b,c,d,e)
(p)->lpVtbl->SetDisplayMode(
p,a,b,c,d,e)
#define IDirectDraw2_WaitForVerticalBlank(p,a,b)
(p)->lpVtbl->WaitForVerticalBlank(
p,a,b)
/*** IDirectDraw2 methods ***/
#define IDirectDraw2_GetAvailableVidMem(p,a,b,c) ICOM_CALL3(GetAvailableVidMem,p,a,b,c)
#define IDirectDraw2_GetAvailableVidMem(p,a,b,c) (p)->lpVtbl->GetAvailableVidMem(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -1426,38 +1434,40 @@ ICOM_DEFINE(IDirectDraw2,IUnknown)
ICOM_DEFINE
(
IDirectDraw4
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDraw4_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDraw4_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDraw4_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDraw4_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDraw4_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDraw4_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDraw methods ***/
#define IDirectDraw4_Compact(p)
ICOM_CALL (Compact,
p)
#define IDirectDraw4_CreateClipper(p,a,b,c)
ICOM_CALL3(CreateClipper,
p,a,b,c)
#define IDirectDraw4_CreatePalette(p,a,b,c,d)
ICOM_CALL4(CreatePalette,
p,a,b,c,d)
#define IDirectDraw4_CreateSurface(p,a,b,c)
ICOM_CALL3(CreateSurface,
p,a,b,c)
#define IDirectDraw4_DuplicateSurface(p,a,b)
ICOM_CALL2(DuplicateSurface,
p,a,b)
#define IDirectDraw4_EnumDisplayModes(p,a,b,c,d)
ICOM_CALL4(EnumDisplayModes,
p,a,b,c,d)
#define IDirectDraw4_EnumSurfaces(p,a,b,c,d)
ICOM_CALL4(EnumSurfaces,
p,a,b,c,d)
#define IDirectDraw4_FlipToGDISurface(p)
ICOM_CALL (FlipToGDISurface,
p)
#define IDirectDraw4_GetCaps(p,a,b)
ICOM_CALL2(GetCaps,
p,a,b)
#define IDirectDraw4_GetDisplayMode(p,a)
ICOM_CALL1(GetDisplayMode,
p,a)
#define IDirectDraw4_GetFourCCCodes(p,a,b)
ICOM_CALL2(GetFourCCCodes,
p,a,b)
#define IDirectDraw4_GetGDISurface(p,a)
ICOM_CALL1(GetGDISurface,
p,a)
#define IDirectDraw4_GetMonitorFrequency(p,a)
ICOM_CALL1(GetMonitorFrequency,
p,a)
#define IDirectDraw4_GetScanLine(p,a)
ICOM_CALL1(GetScanLine,
p,a)
#define IDirectDraw4_GetVerticalBlankStatus(p,a)
ICOM_CALL1(GetVerticalBlankStatus,
p,a)
#define IDirectDraw4_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IDirectDraw4_RestoreDisplayMode(p)
ICOM_CALL (RestoreDisplayMode,
p)
#define IDirectDraw4_SetCooperativeLevel(p,a,b)
ICOM_CALL2(SetCooperativeLevel,
p,a,b)
#define IDirectDraw4_SetDisplayMode(p,a,b,c,d,e)
ICOM_CALL5(SetDisplayMode,
p,a,b,c,d,e)
#define IDirectDraw4_WaitForVerticalBlank(p,a,b)
ICOM_CALL2(WaitForVerticalBlank,
p,a,b)
#define IDirectDraw4_Compact(p)
(p)->lpVtbl->Compact(
p)
#define IDirectDraw4_CreateClipper(p,a,b,c)
(p)->lpVtbl->CreateClipper(
p,a,b,c)
#define IDirectDraw4_CreatePalette(p,a,b,c,d)
(p)->lpVtbl->CreatePalette(
p,a,b,c,d)
#define IDirectDraw4_CreateSurface(p,a,b,c)
(p)->lpVtbl->CreateSurface(
p,a,b,c)
#define IDirectDraw4_DuplicateSurface(p,a,b)
(p)->lpVtbl->DuplicateSurface(
p,a,b)
#define IDirectDraw4_EnumDisplayModes(p,a,b,c,d)
(p)->lpVtbl->EnumDisplayModes(
p,a,b,c,d)
#define IDirectDraw4_EnumSurfaces(p,a,b,c,d)
(p)->lpVtbl->EnumSurfaces(
p,a,b,c,d)
#define IDirectDraw4_FlipToGDISurface(p)
(p)->lpVtbl->FlipToGDISurface(
p)
#define IDirectDraw4_GetCaps(p,a,b)
(p)->lpVtbl->GetCaps(
p,a,b)
#define IDirectDraw4_GetDisplayMode(p,a)
(p)->lpVtbl->GetDisplayMode(
p,a)
#define IDirectDraw4_GetFourCCCodes(p,a,b)
(p)->lpVtbl->GetFourCCCodes(
p,a,b)
#define IDirectDraw4_GetGDISurface(p,a)
(p)->lpVtbl->GetGDISurface(
p,a)
#define IDirectDraw4_GetMonitorFrequency(p,a)
(p)->lpVtbl->GetMonitorFrequency(
p,a)
#define IDirectDraw4_GetScanLine(p,a)
(p)->lpVtbl->GetScanLine(
p,a)
#define IDirectDraw4_GetVerticalBlankStatus(p,a)
(p)->lpVtbl->GetVerticalBlankStatus(
p,a)
#define IDirectDraw4_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
#define IDirectDraw4_RestoreDisplayMode(p)
(p)->lpVtbl->RestoreDisplayMode(
p)
#define IDirectDraw4_SetCooperativeLevel(p,a,b)
(p)->lpVtbl->SetCooperativeLevel(
p,a,b)
#define IDirectDraw4_SetDisplayMode(p,a,b,c,d,e)
(p)->lpVtbl->SetDisplayMode(
p,a,b,c,d,e)
#define IDirectDraw4_WaitForVerticalBlank(p,a,b)
(p)->lpVtbl->WaitForVerticalBlank(
p,a,b)
/*** IDirectDraw2 methods ***/
#define IDirectDraw4_GetAvailableVidMem(p,a,b,c)
ICOM_CALL3(GetAvailableVidMem,
p,a,b,c)
#define IDirectDraw4_GetAvailableVidMem(p,a,b,c)
(p)->lpVtbl->GetAvailableVidMem(
p,a,b,c)
/*** IDirectDraw4 methods ***/
#define IDirectDraw4_GetSurfaceFromDC(p,a,b) ICOM_CALL2(GetSurfaceFromDC,p,a,b)
#define IDirectDraw4_RestoreAllSurfaces(pc) ICOM_CALL (RestoreAllSurfaces,p)
#define IDirectDraw4_TestCooperativeLevel(p) ICOM_CALL (TestCooperativeLevel,p)
#define IDirectDraw4_GetDeviceIdentifier(p,a,b) ICOM_CALL2(GetDeviceIdentifier,p,a,b)
#define IDirectDraw4_GetSurfaceFromDC(p,a,b) (p)->lpVtbl->GetSurfaceFromDC(p,a,b)
#define IDirectDraw4_RestoreAllSurfaces(pc) (p)->lpVtbl->RestoreAllSurfaces(p)
#define IDirectDraw4_TestCooperativeLevel(p) (p)->lpVtbl->TestCooperativeLevel(p)
#define IDirectDraw4_GetDeviceIdentifier(p,a,b) (p)->lpVtbl->GetDeviceIdentifier(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -1504,41 +1514,43 @@ ICOM_DEFINE(IDirectDraw4,IUnknown)
ICOM_DEFINE
(
IDirectDraw7
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDraw7_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDraw7_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDraw7_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDraw7_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDraw7_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDraw7_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDraw methods ***/
#define IDirectDraw7_Compact(p)
ICOM_CALL (Compact,
p)
#define IDirectDraw7_CreateClipper(p,a,b,c)
ICOM_CALL3(CreateClipper,
p,a,b,c)
#define IDirectDraw7_CreatePalette(p,a,b,c,d)
ICOM_CALL4(CreatePalette,
p,a,b,c,d)
#define IDirectDraw7_CreateSurface(p,a,b,c)
ICOM_CALL3(CreateSurface,
p,a,b,c)
#define IDirectDraw7_DuplicateSurface(p,a,b)
ICOM_CALL2(DuplicateSurface,
p,a,b)
#define IDirectDraw7_EnumDisplayModes(p,a,b,c,d)
ICOM_CALL4(EnumDisplayModes,
p,a,b,c,d)
#define IDirectDraw7_EnumSurfaces(p,a,b,c,d)
ICOM_CALL4(EnumSurfaces,
p,a,b,c,d)
#define IDirectDraw7_FlipToGDISurface(p)
ICOM_CALL (FlipToGDISurface,
p)
#define IDirectDraw7_GetCaps(p,a,b)
ICOM_CALL2(GetCaps,
p,a,b)
#define IDirectDraw7_GetDisplayMode(p,a)
ICOM_CALL1(GetDisplayMode,
p,a)
#define IDirectDraw7_GetFourCCCodes(p,a,b)
ICOM_CALL2(GetFourCCCodes,
p,a,b)
#define IDirectDraw7_GetGDISurface(p,a)
ICOM_CALL1(GetGDISurface,
p,a)
#define IDirectDraw7_GetMonitorFrequency(p,a)
ICOM_CALL1(GetMonitorFrequency,
p,a)
#define IDirectDraw7_GetScanLine(p,a)
ICOM_CALL1(GetScanLine,
p,a)
#define IDirectDraw7_GetVerticalBlankStatus(p,a)
ICOM_CALL1(GetVerticalBlankStatus,
p,a)
#define IDirectDraw7_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IDirectDraw7_RestoreDisplayMode(p)
ICOM_CALL (RestoreDisplayMode,
p)
#define IDirectDraw7_SetCooperativeLevel(p,a,b)
ICOM_CALL2(SetCooperativeLevel,
p,a,b)
#define IDirectDraw7_SetDisplayMode(p,a,b,c,d,e)
ICOM_CALL5(SetDisplayMode,
p,a,b,c,d,e)
#define IDirectDraw7_WaitForVerticalBlank(p,a,b)
ICOM_CALL2(WaitForVerticalBlank,
p,a,b)
#define IDirectDraw7_Compact(p)
(p)->lpVtbl->Compact(
p)
#define IDirectDraw7_CreateClipper(p,a,b,c)
(p)->lpVtbl->CreateClipper(
p,a,b,c)
#define IDirectDraw7_CreatePalette(p,a,b,c,d)
(p)->lpVtbl->CreatePalette(
p,a,b,c,d)
#define IDirectDraw7_CreateSurface(p,a,b,c)
(p)->lpVtbl->CreateSurface(
p,a,b,c)
#define IDirectDraw7_DuplicateSurface(p,a,b)
(p)->lpVtbl->DuplicateSurface(
p,a,b)
#define IDirectDraw7_EnumDisplayModes(p,a,b,c,d)
(p)->lpVtbl->EnumDisplayModes(
p,a,b,c,d)
#define IDirectDraw7_EnumSurfaces(p,a,b,c,d)
(p)->lpVtbl->EnumSurfaces(
p,a,b,c,d)
#define IDirectDraw7_FlipToGDISurface(p)
(p)->lpVtbl->FlipToGDISurface(
p)
#define IDirectDraw7_GetCaps(p,a,b)
(p)->lpVtbl->GetCaps(
p,a,b)
#define IDirectDraw7_GetDisplayMode(p,a)
(p)->lpVtbl->GetDisplayMode(
p,a)
#define IDirectDraw7_GetFourCCCodes(p,a,b)
(p)->lpVtbl->GetFourCCCodes(
p,a,b)
#define IDirectDraw7_GetGDISurface(p,a)
(p)->lpVtbl->GetGDISurface(
p,a)
#define IDirectDraw7_GetMonitorFrequency(p,a)
(p)->lpVtbl->GetMonitorFrequency(
p,a)
#define IDirectDraw7_GetScanLine(p,a)
(p)->lpVtbl->GetScanLine(
p,a)
#define IDirectDraw7_GetVerticalBlankStatus(p,a)
(p)->lpVtbl->GetVerticalBlankStatus(
p,a)
#define IDirectDraw7_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
#define IDirectDraw7_RestoreDisplayMode(p)
(p)->lpVtbl->RestoreDisplayMode(
p)
#define IDirectDraw7_SetCooperativeLevel(p,a,b)
(p)->lpVtbl->SetCooperativeLevel(
p,a,b)
#define IDirectDraw7_SetDisplayMode(p,a,b,c,d,e)
(p)->lpVtbl->SetDisplayMode(
p,a,b,c,d,e)
#define IDirectDraw7_WaitForVerticalBlank(p,a,b)
(p)->lpVtbl->WaitForVerticalBlank(
p,a,b)
/*** added in IDirectDraw2 ***/
#define IDirectDraw7_GetAvailableVidMem(p,a,b,c)
ICOM_CALL3(GetAvailableVidMem,
p,a,b,c)
#define IDirectDraw7_GetAvailableVidMem(p,a,b,c)
(p)->lpVtbl->GetAvailableVidMem(
p,a,b,c)
/*** added in IDirectDraw4 ***/
#define IDirectDraw7_GetSurfaceFromDC(p,a,b)
ICOM_CALL2(GetSurfaceFromDC,
p,a,b)
#define IDirectDraw7_RestoreAllSurfaces(p)
ICOM_CALL (RestoreAllSurfaces,
p)
#define IDirectDraw7_TestCooperativeLevel(p)
ICOM_CALL (TestCooperativeLevel,
p)
#define IDirectDraw7_GetDeviceIdentifier(p,a,b)
ICOM_CALL2(GetDeviceIdentifier,
p,a,b)
#define IDirectDraw7_GetSurfaceFromDC(p,a,b)
(p)->lpVtbl->GetSurfaceFromDC(
p,a,b)
#define IDirectDraw7_RestoreAllSurfaces(p)
(p)->lpVtbl->RestoreAllSurfaces(
p)
#define IDirectDraw7_TestCooperativeLevel(p)
(p)->lpVtbl->TestCooperativeLevel(
p)
#define IDirectDraw7_GetDeviceIdentifier(p,a,b)
(p)->lpVtbl->GetDeviceIdentifier(
p,a,b)
/*** added in IDirectDraw 7 ***/
#define IDirectDraw7_StartModeTest(p,a,b,c) ICOM_CALL3(StartModeTest,p,a,b,c)
#define IDirectDraw7_EvaluateMode(p,a,b) ICOM_CALL2(EvaluateMode,p,a,b)
#define IDirectDraw7_StartModeTest(p,a,b,c) (p)->lpVtbl->StartModeTest(p,a,b,c)
#define IDirectDraw7_EvaluateMode(p,a,b) (p)->lpVtbl->EvaluateMode(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -1585,44 +1597,46 @@ ICOM_DEFINE(IDirectDraw7,IUnknown)
ICOM_DEFINE
(
IDirectDrawSurface
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawSurface_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawSurface_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawSurface_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawSurface_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawSurface_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawSurface_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawSurface methods ***/
#define IDirectDrawSurface_AddAttachedSurface(p,a) ICOM_CALL1(AddAttachedSurface,p,a)
#define IDirectDrawSurface_AddOverlayDirtyRect(p,a) ICOM_CALL1(AddOverlayDirtyRect,p,a)
#define IDirectDrawSurface_Blt(p,a,b,c,d,e) ICOM_CALL5(Blt,p,a,b,c,d,e)
#define IDirectDrawSurface_BltBatch(p,a,b,c) ICOM_CALL3(BltBatch,p,a,b,c)
#define IDirectDrawSurface_BltFast(p,a,b,c,d,e) ICOM_CALL5(BltFast,p,a,b,c,d,e)
#define IDirectDrawSurface_DeleteAttachedSurface(p,a,b) ICOM_CALL2(DeleteAttachedSurface,p,a,b)
#define IDirectDrawSurface_EnumAttachedSurfaces(p,a,b) ICOM_CALL2(EnumAttachedSurfaces,p,a,b)
#define IDirectDrawSurface_EnumOverlayZOrders(p,a,b,c) ICOM_CALL3(EnumOverlayZOrders,p,a,b,c)
#define IDirectDrawSurface_Flip(p,a,b) ICOM_CALL2(Flip,p,a,b)
#define IDirectDrawSurface_GetAttachedSurface(p,a,b) ICOM_CALL2(GetAttachedSurface,p,a,b)
#define IDirectDrawSurface_GetBltStatus(p,a) ICOM_CALL1(GetBltStatus,p,a)
#define IDirectDrawSurface_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectDrawSurface_GetClipper(p,a) ICOM_CALL1(GetClipper,p,a)
#define IDirectDrawSurface_GetColorKey(p,a,b) ICOM_CALL2(GetColorKey,p,a,b)
#define IDirectDrawSurface_GetDC(p,a) ICOM_CALL1(GetDC,p,a)
#define IDirectDrawSurface_GetFlipStatus(p,a) ICOM_CALL1(GetFlipStatus,p,a)
#define IDirectDrawSurface_GetOverlayPosition(p,a,b) ICOM_CALL2(GetOverlayPosition,p,a,b)
#define IDirectDrawSurface_GetPalette(p,a) ICOM_CALL1(GetPalette,p,a)
#define IDirectDrawSurface_GetPixelFormat(p,a) ICOM_CALL1(GetPixelFormat,p,a)
#define IDirectDrawSurface_GetSurfaceDesc(p,a) ICOM_CALL1(GetSurfaceDesc,p,a)
#define IDirectDrawSurface_Initialize(p,a,b) ICOM_CALL2(Initialize,p,a,b)
#define IDirectDrawSurface_IsLost(p) ICOM_CALL (IsLost,p)
#define IDirectDrawSurface_Lock(p,a,b,c,d) ICOM_CALL4(Lock,p,a,b,c,d)
#define IDirectDrawSurface_ReleaseDC(p,a) ICOM_CALL1(ReleaseDC,p,a)
#define IDirectDrawSurface_Restore(p) ICOM_CALL (Restore,p)
#define IDirectDrawSurface_SetClipper(p,a) ICOM_CALL1(SetClipper,p,a)
#define IDirectDrawSurface_SetColorKey(p,a,b) ICOM_CALL2(SetColorKey,p,a,b)
#define IDirectDrawSurface_SetOverlayPosition(p,a,b) ICOM_CALL2(SetOverlayPosition,p,a,b)
#define IDirectDrawSurface_SetPalette(p,a) ICOM_CALL1(SetPalette,p,a)
#define IDirectDrawSurface_Unlock(p,a) ICOM_CALL1(Unlock,p,a)
#define IDirectDrawSurface_UpdateOverlay(p,a,b,c,d,e) ICOM_CALL5(UpdateOverlay,p,a,b,c,d,e)
#define IDirectDrawSurface_UpdateOverlayDisplay(p,a) ICOM_CALL1(UpdateOverlayDisplay,p,a)
#define IDirectDrawSurface_UpdateOverlayZOrder(p,a,b) ICOM_CALL2(UpdateOverlayZOrder,p,a,b)
#define IDirectDrawSurface_AddAttachedSurface(p,a) (p)->lpVtbl->AddAttachedSurface(p,a)
#define IDirectDrawSurface_AddOverlayDirtyRect(p,a) (p)->lpVtbl->AddOverlayDirtyRect(p,a)
#define IDirectDrawSurface_Blt(p,a,b,c,d,e) (p)->lpVtbl->Blt(p,a,b,c,d,e)
#define IDirectDrawSurface_BltBatch(p,a,b,c) (p)->lpVtbl->BltBatch(p,a,b,c)
#define IDirectDrawSurface_BltFast(p,a,b,c,d,e) (p)->lpVtbl->BltFast(p,a,b,c,d,e)
#define IDirectDrawSurface_DeleteAttachedSurface(p,a,b) (p)->lpVtbl->DeleteAttachedSurface(p,a,b)
#define IDirectDrawSurface_EnumAttachedSurfaces(p,a,b) (p)->lpVtbl->EnumAttachedSurfaces(p,a,b)
#define IDirectDrawSurface_EnumOverlayZOrders(p,a,b,c) (p)->lpVtbl->EnumOverlayZOrders(p,a,b,c)
#define IDirectDrawSurface_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b)
#define IDirectDrawSurface_GetAttachedSurface(p,a,b) (p)->lpVtbl->GetAttachedSurface(p,a,b)
#define IDirectDrawSurface_GetBltStatus(p,a) (p)->lpVtbl->GetBltStatus(p,a)
#define IDirectDrawSurface_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectDrawSurface_GetClipper(p,a) (p)->lpVtbl->GetClipper(p,a)
#define IDirectDrawSurface_GetColorKey(p,a,b) (p)->lpVtbl->GetColorKey(p,a,b)
#define IDirectDrawSurface_GetDC(p,a) (p)->lpVtbl->GetDC(p,a)
#define IDirectDrawSurface_GetFlipStatus(p,a) (p)->lpVtbl->GetFlipStatus(p,a)
#define IDirectDrawSurface_GetOverlayPosition(p,a,b) (p)->lpVtbl->GetOverlayPosition(p,a,b)
#define IDirectDrawSurface_GetPalette(p,a) (p)->lpVtbl->GetPalette(p,a)
#define IDirectDrawSurface_GetPixelFormat(p,a) (p)->lpVtbl->GetPixelFormat(p,a)
#define IDirectDrawSurface_GetSurfaceDesc(p,a) (p)->lpVtbl->GetSurfaceDesc(p,a)
#define IDirectDrawSurface_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
#define IDirectDrawSurface_IsLost(p) (p)->lpVtbl->IsLost(p)
#define IDirectDrawSurface_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d)
#define IDirectDrawSurface_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a)
#define IDirectDrawSurface_Restore(p) (p)->lpVtbl->Restore(p)
#define IDirectDrawSurface_SetClipper(p,a) (p)->lpVtbl->SetClipper(p,a)
#define IDirectDrawSurface_SetColorKey(p,a,b) (p)->lpVtbl->SetColorKey(p,a,b)
#define IDirectDrawSurface_SetOverlayPosition(p,a,b) (p)->lpVtbl->SetOverlayPosition(p,a,b)
#define IDirectDrawSurface_SetPalette(p,a) (p)->lpVtbl->SetPalette(p,a)
#define IDirectDrawSurface_Unlock(p,a) (p)->lpVtbl->Unlock(p,a)
#define IDirectDrawSurface_UpdateOverlay(p,a,b,c,d,e) (p)->lpVtbl->UpdateOverlay(p,a,b,c,d,e)
#define IDirectDrawSurface_UpdateOverlayDisplay(p,a) (p)->lpVtbl->UpdateOverlayDisplay(p,a)
#define IDirectDrawSurface_UpdateOverlayZOrder(p,a,b) (p)->lpVtbl->UpdateOverlayZOrder(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -1676,48 +1690,50 @@ ICOM_DEFINE(IDirectDrawSurface,IUnknown)
ICOM_DEFINE
(
IDirectDrawSurface2
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawSurface2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawSurface2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawSurface2_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawSurface2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawSurface2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawSurface2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawSurface methods (almost) ***/
#define IDirectDrawSurface2_AddAttachedSurface(p,a)
ICOM_CALL1(AddAttachedSurface,
p,a)
#define IDirectDrawSurface2_AddOverlayDirtyRect(p,a)
ICOM_CALL1(AddOverlayDirtyRect,
p,a)
#define IDirectDrawSurface2_Blt(p,a,b,c,d,e)
ICOM_CALL5(Blt,
p,a,b,c,d,e)
#define IDirectDrawSurface2_BltBatch(p,a,b,c)
ICOM_CALL3(BltBatch,
p,a,b,c)
#define IDirectDrawSurface2_BltFast(p,a,b,c,d,e)
ICOM_CALL5(BltFast,
p,a,b,c,d,e)
#define IDirectDrawSurface2_DeleteAttachedSurface(p,a,b)
ICOM_CALL2(DeleteAttachedSurface,
p,a,b)
#define IDirectDrawSurface2_EnumAttachedSurfaces(p,a,b)
ICOM_CALL2(EnumAttachedSurfaces,
p,a,b)
#define IDirectDrawSurface2_EnumOverlayZOrders(p,a,b,c)
ICOM_CALL3(EnumOverlayZOrders,
p,a,b,c)
#define IDirectDrawSurface2_Flip(p,a,b)
ICOM_CALL2(Flip,
p,a,b)
#define IDirectDrawSurface2_GetAttachedSurface(p,a,b)
ICOM_CALL2(GetAttachedSurface,
p,a,b)
#define IDirectDrawSurface2_GetBltStatus(p,a)
ICOM_CALL1(GetBltStatus,
p,a)
#define IDirectDrawSurface2_GetCaps(p,a)
ICOM_CALL1(GetCaps,
p,a)
#define IDirectDrawSurface2_GetClipper(p,a)
ICOM_CALL1(GetClipper,
p,a)
#define IDirectDrawSurface2_GetColorKey(p,a,b)
ICOM_CALL2(GetColorKey,
p,a,b)
#define IDirectDrawSurface2_GetDC(p,a)
ICOM_CALL1(GetDC,
p,a)
#define IDirectDrawSurface2_GetFlipStatus(p,a)
ICOM_CALL1(GetFlipStatus,
p,a)
#define IDirectDrawSurface2_GetOverlayPosition(p,a,b)
ICOM_CALL2(GetOverlayPosition,
p,a,b)
#define IDirectDrawSurface2_GetPalette(p,a)
ICOM_CALL1(GetPalette,
p,a)
#define IDirectDrawSurface2_GetPixelFormat(p,a)
ICOM_CALL1(GetPixelFormat,
p,a)
#define IDirectDrawSurface2_GetSurfaceDesc(p,a)
ICOM_CALL1(GetSurfaceDesc,
p,a)
#define IDirectDrawSurface2_Initialize(p,a,b)
ICOM_CALL2(Initialize,
p,a,b)
#define IDirectDrawSurface2_IsLost(p)
ICOM_CALL (IsLost,
p)
#define IDirectDrawSurface2_Lock(p,a,b,c,d)
ICOM_CALL4(Lock,
p,a,b,c,d)
#define IDirectDrawSurface2_ReleaseDC(p,a)
ICOM_CALL1(ReleaseDC,
p,a)
#define IDirectDrawSurface2_Restore(p)
ICOM_CALL (Restore,
p)
#define IDirectDrawSurface2_SetClipper(p,a)
ICOM_CALL1(SetClipper,
p,a)
#define IDirectDrawSurface2_SetColorKey(p,a,b)
ICOM_CALL2(SetColorKey,
p,a,b)
#define IDirectDrawSurface2_SetOverlayPosition(p,a,b)
ICOM_CALL2(SetOverlayPosition,
p,a,b)
#define IDirectDrawSurface2_SetPalette(p,a)
ICOM_CALL1(SetPalette,
p,a)
#define IDirectDrawSurface2_Unlock(p,a)
ICOM_CALL1(Unlock,
p,a)
#define IDirectDrawSurface2_UpdateOverlay(p,a,b,c,d,e)
ICOM_CALL5(UpdateOverlay,
p,a,b,c,d,e)
#define IDirectDrawSurface2_UpdateOverlayDisplay(p,a)
ICOM_CALL1(UpdateOverlayDisplay,
p,a)
#define IDirectDrawSurface2_UpdateOverlayZOrder(p,a,b)
ICOM_CALL2(UpdateOverlayZOrder,
p,a,b)
#define IDirectDrawSurface2_AddAttachedSurface(p,a)
(p)->lpVtbl->AddAttachedSurface(
p,a)
#define IDirectDrawSurface2_AddOverlayDirtyRect(p,a)
(p)->lpVtbl->AddOverlayDirtyRect(
p,a)
#define IDirectDrawSurface2_Blt(p,a,b,c,d,e)
(p)->lpVtbl->Blt(
p,a,b,c,d,e)
#define IDirectDrawSurface2_BltBatch(p,a,b,c)
(p)->lpVtbl->BltBatch(
p,a,b,c)
#define IDirectDrawSurface2_BltFast(p,a,b,c,d,e)
(p)->lpVtbl->BltFast(
p,a,b,c,d,e)
#define IDirectDrawSurface2_DeleteAttachedSurface(p,a,b)
(p)->lpVtbl->DeleteAttachedSurface(
p,a,b)
#define IDirectDrawSurface2_EnumAttachedSurfaces(p,a,b)
(p)->lpVtbl->EnumAttachedSurfaces(
p,a,b)
#define IDirectDrawSurface2_EnumOverlayZOrders(p,a,b,c)
(p)->lpVtbl->EnumOverlayZOrders(
p,a,b,c)
#define IDirectDrawSurface2_Flip(p,a,b)
(p)->lpVtbl->Flip(
p,a,b)
#define IDirectDrawSurface2_GetAttachedSurface(p,a,b)
(p)->lpVtbl->GetAttachedSurface(
p,a,b)
#define IDirectDrawSurface2_GetBltStatus(p,a)
(p)->lpVtbl->GetBltStatus(
p,a)
#define IDirectDrawSurface2_GetCaps(p,a)
(p)->lpVtbl->GetCaps(
p,a)
#define IDirectDrawSurface2_GetClipper(p,a)
(p)->lpVtbl->GetClipper(
p,a)
#define IDirectDrawSurface2_GetColorKey(p,a,b)
(p)->lpVtbl->GetColorKey(
p,a,b)
#define IDirectDrawSurface2_GetDC(p,a)
(p)->lpVtbl->GetDC(
p,a)
#define IDirectDrawSurface2_GetFlipStatus(p,a)
(p)->lpVtbl->GetFlipStatus(
p,a)
#define IDirectDrawSurface2_GetOverlayPosition(p,a,b)
(p)->lpVtbl->GetOverlayPosition(
p,a,b)
#define IDirectDrawSurface2_GetPalette(p,a)
(p)->lpVtbl->GetPalette(
p,a)
#define IDirectDrawSurface2_GetPixelFormat(p,a)
(p)->lpVtbl->GetPixelFormat(
p,a)
#define IDirectDrawSurface2_GetSurfaceDesc(p,a)
(p)->lpVtbl->GetSurfaceDesc(
p,a)
#define IDirectDrawSurface2_Initialize(p,a,b)
(p)->lpVtbl->Initialize(
p,a,b)
#define IDirectDrawSurface2_IsLost(p)
(p)->lpVtbl->IsLost(
p)
#define IDirectDrawSurface2_Lock(p,a,b,c,d)
(p)->lpVtbl->Lock(
p,a,b,c,d)
#define IDirectDrawSurface2_ReleaseDC(p,a)
(p)->lpVtbl->ReleaseDC(
p,a)
#define IDirectDrawSurface2_Restore(p)
(p)->lpVtbl->Restore(
p)
#define IDirectDrawSurface2_SetClipper(p,a)
(p)->lpVtbl->SetClipper(
p,a)
#define IDirectDrawSurface2_SetColorKey(p,a,b)
(p)->lpVtbl->SetColorKey(
p,a,b)
#define IDirectDrawSurface2_SetOverlayPosition(p,a,b)
(p)->lpVtbl->SetOverlayPosition(
p,a,b)
#define IDirectDrawSurface2_SetPalette(p,a)
(p)->lpVtbl->SetPalette(
p,a)
#define IDirectDrawSurface2_Unlock(p,a)
(p)->lpVtbl->Unlock(
p,a)
#define IDirectDrawSurface2_UpdateOverlay(p,a,b,c,d,e)
(p)->lpVtbl->UpdateOverlay(
p,a,b,c,d,e)
#define IDirectDrawSurface2_UpdateOverlayDisplay(p,a)
(p)->lpVtbl->UpdateOverlayDisplay(
p,a)
#define IDirectDrawSurface2_UpdateOverlayZOrder(p,a,b)
(p)->lpVtbl->UpdateOverlayZOrder(
p,a,b)
/*** IDirectDrawSurface2 methods ***/
#define IDirectDrawSurface2_GetDDInterface(p,a) ICOM_CALL1(GetDDInterface,p,a)
#define IDirectDrawSurface2_PageLock(p,a) ICOM_CALL1(PageLock,p,a)
#define IDirectDrawSurface2_PageUnlock(p,a) ICOM_CALL1(PageUnlock,p,a)
#define IDirectDrawSurface2_GetDDInterface(p,a) (p)->lpVtbl->GetDDInterface(p,a)
#define IDirectDrawSurface2_PageLock(p,a) (p)->lpVtbl->PageLock(p,a)
#define IDirectDrawSurface2_PageUnlock(p,a) (p)->lpVtbl->PageUnlock(p,a)
#endif
/*****************************************************************************
...
...
@@ -1773,50 +1789,52 @@ ICOM_DEFINE(IDirectDrawSurface2,IUnknown)
ICOM_DEFINE
(
IDirectDrawSurface3
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawSurface3_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawSurface3_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawSurface3_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawSurface3_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawSurface3_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawSurface3_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawSurface methods (almost) ***/
#define IDirectDrawSurface3_AddAttachedSurface(p,a)
ICOM_CALL1(AddAttachedSurface,
p,a)
#define IDirectDrawSurface3_AddOverlayDirtyRect(p,a)
ICOM_CALL1(AddOverlayDirtyRect,
p,a)
#define IDirectDrawSurface3_Blt(p,a,b,c,d,e)
ICOM_CALL5(Blt,
p,a,b,c,d,e)
#define IDirectDrawSurface3_BltBatch(p,a,b,c)
ICOM_CALL3(BltBatch,
p,a,b,c)
#define IDirectDrawSurface3_BltFast(p,a,b,c,d,e)
ICOM_CALL5(BltFast,
p,a,b,c,d,e)
#define IDirectDrawSurface3_DeleteAttachedSurface(p,a,b)
ICOM_CALL2(DeleteAttachedSurface,
p,a,b)
#define IDirectDrawSurface3_EnumAttachedSurfaces(p,a,b)
ICOM_CALL2(EnumAttachedSurfaces,
p,a,b)
#define IDirectDrawSurface3_EnumOverlayZOrders(p,a,b,c)
ICOM_CALL3(EnumOverlayZOrders,
p,a,b,c)
#define IDirectDrawSurface3_Flip(p,a,b)
ICOM_CALL2(Flip,
p,a,b)
#define IDirectDrawSurface3_GetAttachedSurface(p,a,b)
ICOM_CALL2(GetAttachedSurface,
p,a,b)
#define IDirectDrawSurface3_GetBltStatus(p,a)
ICOM_CALL1(GetBltStatus,
p,a)
#define IDirectDrawSurface3_GetCaps(p,a)
ICOM_CALL1(GetCaps,
p,a)
#define IDirectDrawSurface3_GetClipper(p,a)
ICOM_CALL1(GetClipper,
p,a)
#define IDirectDrawSurface3_GetColorKey(p,a,b)
ICOM_CALL2(GetColorKey,
p,a,b)
#define IDirectDrawSurface3_GetDC(p,a)
ICOM_CALL1(GetDC,
p,a)
#define IDirectDrawSurface3_GetFlipStatus(p,a)
ICOM_CALL1(GetFlipStatus,
p,a)
#define IDirectDrawSurface3_GetOverlayPosition(p,a,b)
ICOM_CALL2(GetOverlayPosition,
p,a,b)
#define IDirectDrawSurface3_GetPalette(p,a)
ICOM_CALL1(GetPalette,
p,a)
#define IDirectDrawSurface3_GetPixelFormat(p,a)
ICOM_CALL1(GetPixelFormat,
p,a)
#define IDirectDrawSurface3_GetSurfaceDesc(p,a)
ICOM_CALL1(GetSurfaceDesc,
p,a)
#define IDirectDrawSurface3_Initialize(p,a,b)
ICOM_CALL2(Initialize,
p,a,b)
#define IDirectDrawSurface3_IsLost(p)
ICOM_CALL (IsLost,
p)
#define IDirectDrawSurface3_Lock(p,a,b,c,d)
ICOM_CALL4(Lock,
p,a,b,c,d)
#define IDirectDrawSurface3_ReleaseDC(p,a)
ICOM_CALL1(ReleaseDC,
p,a)
#define IDirectDrawSurface3_Restore(p)
ICOM_CALL (Restore,
p)
#define IDirectDrawSurface3_SetClipper(p,a)
ICOM_CALL1(SetClipper,
p,a)
#define IDirectDrawSurface3_SetColorKey(p,a,b)
ICOM_CALL2(SetColorKey,
p,a,b)
#define IDirectDrawSurface3_SetOverlayPosition(p,a,b)
ICOM_CALL2(SetOverlayPosition,
p,a,b)
#define IDirectDrawSurface3_SetPalette(p,a)
ICOM_CALL1(SetPalette,
p,a)
#define IDirectDrawSurface3_Unlock(p,a)
ICOM_CALL1(Unlock,
p,a)
#define IDirectDrawSurface3_UpdateOverlay(p,a,b,c,d,e)
ICOM_CALL5(UpdateOverlay,
p,a,b,c,d,e)
#define IDirectDrawSurface3_UpdateOverlayDisplay(p,a)
ICOM_CALL1(UpdateOverlayDisplay,
p,a)
#define IDirectDrawSurface3_UpdateOverlayZOrder(p,a,b)
ICOM_CALL2(UpdateOverlayZOrder,
p,a,b)
#define IDirectDrawSurface3_AddAttachedSurface(p,a)
(p)->lpVtbl->AddAttachedSurface(
p,a)
#define IDirectDrawSurface3_AddOverlayDirtyRect(p,a)
(p)->lpVtbl->AddOverlayDirtyRect(
p,a)
#define IDirectDrawSurface3_Blt(p,a,b,c,d,e)
(p)->lpVtbl->Blt(
p,a,b,c,d,e)
#define IDirectDrawSurface3_BltBatch(p,a,b,c)
(p)->lpVtbl->BltBatch(
p,a,b,c)
#define IDirectDrawSurface3_BltFast(p,a,b,c,d,e)
(p)->lpVtbl->BltFast(
p,a,b,c,d,e)
#define IDirectDrawSurface3_DeleteAttachedSurface(p,a,b)
(p)->lpVtbl->DeleteAttachedSurface(
p,a,b)
#define IDirectDrawSurface3_EnumAttachedSurfaces(p,a,b)
(p)->lpVtbl->EnumAttachedSurfaces(
p,a,b)
#define IDirectDrawSurface3_EnumOverlayZOrders(p,a,b,c)
(p)->lpVtbl->EnumOverlayZOrders(
p,a,b,c)
#define IDirectDrawSurface3_Flip(p,a,b)
(p)->lpVtbl->Flip(
p,a,b)
#define IDirectDrawSurface3_GetAttachedSurface(p,a,b)
(p)->lpVtbl->GetAttachedSurface(
p,a,b)
#define IDirectDrawSurface3_GetBltStatus(p,a)
(p)->lpVtbl->GetBltStatus(
p,a)
#define IDirectDrawSurface3_GetCaps(p,a)
(p)->lpVtbl->GetCaps(
p,a)
#define IDirectDrawSurface3_GetClipper(p,a)
(p)->lpVtbl->GetClipper(
p,a)
#define IDirectDrawSurface3_GetColorKey(p,a,b)
(p)->lpVtbl->GetColorKey(
p,a,b)
#define IDirectDrawSurface3_GetDC(p,a)
(p)->lpVtbl->GetDC(
p,a)
#define IDirectDrawSurface3_GetFlipStatus(p,a)
(p)->lpVtbl->GetFlipStatus(
p,a)
#define IDirectDrawSurface3_GetOverlayPosition(p,a,b)
(p)->lpVtbl->GetOverlayPosition(
p,a,b)
#define IDirectDrawSurface3_GetPalette(p,a)
(p)->lpVtbl->GetPalette(
p,a)
#define IDirectDrawSurface3_GetPixelFormat(p,a)
(p)->lpVtbl->GetPixelFormat(
p,a)
#define IDirectDrawSurface3_GetSurfaceDesc(p,a)
(p)->lpVtbl->GetSurfaceDesc(
p,a)
#define IDirectDrawSurface3_Initialize(p,a,b)
(p)->lpVtbl->Initialize(
p,a,b)
#define IDirectDrawSurface3_IsLost(p)
(p)->lpVtbl->IsLost(
p)
#define IDirectDrawSurface3_Lock(p,a,b,c,d)
(p)->lpVtbl->Lock(
p,a,b,c,d)
#define IDirectDrawSurface3_ReleaseDC(p,a)
(p)->lpVtbl->ReleaseDC(
p,a)
#define IDirectDrawSurface3_Restore(p)
(p)->lpVtbl->Restore(
p)
#define IDirectDrawSurface3_SetClipper(p,a)
(p)->lpVtbl->SetClipper(
p,a)
#define IDirectDrawSurface3_SetColorKey(p,a,b)
(p)->lpVtbl->SetColorKey(
p,a,b)
#define IDirectDrawSurface3_SetOverlayPosition(p,a,b)
(p)->lpVtbl->SetOverlayPosition(
p,a,b)
#define IDirectDrawSurface3_SetPalette(p,a)
(p)->lpVtbl->SetPalette(
p,a)
#define IDirectDrawSurface3_Unlock(p,a)
(p)->lpVtbl->Unlock(
p,a)
#define IDirectDrawSurface3_UpdateOverlay(p,a,b,c,d,e)
(p)->lpVtbl->UpdateOverlay(
p,a,b,c,d,e)
#define IDirectDrawSurface3_UpdateOverlayDisplay(p,a)
(p)->lpVtbl->UpdateOverlayDisplay(
p,a)
#define IDirectDrawSurface3_UpdateOverlayZOrder(p,a,b)
(p)->lpVtbl->UpdateOverlayZOrder(
p,a,b)
/*** IDirectDrawSurface2 methods ***/
#define IDirectDrawSurface3_GetDDInterface(p,a)
ICOM_CALL1(GetDDInterface,
p,a)
#define IDirectDrawSurface3_PageLock(p,a)
ICOM_CALL1(PageLock,
p,a)
#define IDirectDrawSurface3_PageUnlock(p,a)
ICOM_CALL1(PageUnlock,
p,a)
#define IDirectDrawSurface3_GetDDInterface(p,a)
(p)->lpVtbl->GetDDInterface(
p,a)
#define IDirectDrawSurface3_PageLock(p,a)
(p)->lpVtbl->PageLock(
p,a)
#define IDirectDrawSurface3_PageUnlock(p,a)
(p)->lpVtbl->PageUnlock(
p,a)
/*** IDirectDrawSurface3 methods ***/
#define IDirectDrawSurface3_SetSurfaceDesc(p,a,b) ICOM_CALL2(SetSurfaceDesc,p,a,b)
#define IDirectDrawSurface3_SetSurfaceDesc(p,a,b) (p)->lpVtbl->SetSurfaceDesc(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -1877,56 +1895,58 @@ ICOM_DEFINE(IDirectDrawSurface3,IUnknown)
ICOM_DEFINE
(
IDirectDrawSurface4
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawSurface4_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawSurface4_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawSurface4_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawSurface4_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawSurface4_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawSurface4_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawSurface (almost) methods ***/
#define IDirectDrawSurface4_AddAttachedSurface(p,a)
ICOM_CALL1(AddAttachedSurface,
p,a)
#define IDirectDrawSurface4_AddOverlayDirtyRect(p,a)
ICOM_CALL1(AddOverlayDirtyRect,
p,a)
#define IDirectDrawSurface4_Blt(p,a,b,c,d,e)
ICOM_CALL5(Blt,
p,a,b,c,d,e)
#define IDirectDrawSurface4_BltBatch(p,a,b,c)
ICOM_CALL3(BltBatch,
p,a,b,c)
#define IDirectDrawSurface4_BltFast(p,a,b,c,d,e)
ICOM_CALL5(BltFast,
p,a,b,c,d,e)
#define IDirectDrawSurface4_DeleteAttachedSurface(p,a,b)
ICOM_CALL2(DeleteAttachedSurface,
p,a,b)
#define IDirectDrawSurface4_EnumAttachedSurfaces(p,a,b)
ICOM_CALL2(EnumAttachedSurfaces,
p,a,b)
#define IDirectDrawSurface4_EnumOverlayZOrders(p,a,b,c)
ICOM_CALL3(EnumOverlayZOrders,
p,a,b,c)
#define IDirectDrawSurface4_Flip(p,a,b)
ICOM_CALL2(Flip,
p,a,b)
#define IDirectDrawSurface4_GetAttachedSurface(p,a,b)
ICOM_CALL2(GetAttachedSurface,
p,a,b)
#define IDirectDrawSurface4_GetBltStatus(p,a)
ICOM_CALL1(GetBltStatus,
p,a)
#define IDirectDrawSurface4_GetCaps(p,a)
ICOM_CALL1(GetCaps,
p,a)
#define IDirectDrawSurface4_GetClipper(p,a)
ICOM_CALL1(GetClipper,
p,a)
#define IDirectDrawSurface4_GetColorKey(p,a,b)
ICOM_CALL2(GetColorKey,
p,a,b)
#define IDirectDrawSurface4_GetDC(p,a)
ICOM_CALL1(GetDC,
p,a)
#define IDirectDrawSurface4_GetFlipStatus(p,a)
ICOM_CALL1(GetFlipStatus,
p,a)
#define IDirectDrawSurface4_GetOverlayPosition(p,a,b)
ICOM_CALL2(GetOverlayPosition,
p,a,b)
#define IDirectDrawSurface4_GetPalette(p,a)
ICOM_CALL1(GetPalette,
p,a)
#define IDirectDrawSurface4_GetPixelFormat(p,a)
ICOM_CALL1(GetPixelFormat,
p,a)
#define IDirectDrawSurface4_GetSurfaceDesc(p,a)
ICOM_CALL1(GetSurfaceDesc,
p,a)
#define IDirectDrawSurface4_Initialize(p,a,b)
ICOM_CALL2(Initialize,
p,a,b)
#define IDirectDrawSurface4_IsLost(p)
ICOM_CALL (IsLost,
p)
#define IDirectDrawSurface4_Lock(p,a,b,c,d)
ICOM_CALL4(Lock,
p,a,b,c,d)
#define IDirectDrawSurface4_ReleaseDC(p,a)
ICOM_CALL1(ReleaseDC,
p,a)
#define IDirectDrawSurface4_Restore(p)
ICOM_CALL (Restore,
p)
#define IDirectDrawSurface4_SetClipper(p,a)
ICOM_CALL1(SetClipper,
p,a)
#define IDirectDrawSurface4_SetColorKey(p,a,b)
ICOM_CALL2(SetColorKey,
p,a,b)
#define IDirectDrawSurface4_SetOverlayPosition(p,a,b)
ICOM_CALL2(SetOverlayPosition,
p,a,b)
#define IDirectDrawSurface4_SetPalette(p,a)
ICOM_CALL1(SetPalette,
p,a)
#define IDirectDrawSurface4_Unlock(p,a)
ICOM_CALL1(Unlock,
p,a)
#define IDirectDrawSurface4_UpdateOverlay(p,a,b,c,d,e)
ICOM_CALL5(UpdateOverlay,
p,a,b,c,d,e)
#define IDirectDrawSurface4_UpdateOverlayDisplay(p,a)
ICOM_CALL1(UpdateOverlayDisplay,
p,a)
#define IDirectDrawSurface4_UpdateOverlayZOrder(p,a,b)
ICOM_CALL2(UpdateOverlayZOrder,
p,a,b)
#define IDirectDrawSurface4_AddAttachedSurface(p,a)
(p)->lpVtbl->AddAttachedSurface(
p,a)
#define IDirectDrawSurface4_AddOverlayDirtyRect(p,a)
(p)->lpVtbl->AddOverlayDirtyRect(
p,a)
#define IDirectDrawSurface4_Blt(p,a,b,c,d,e)
(p)->lpVtbl->Blt(
p,a,b,c,d,e)
#define IDirectDrawSurface4_BltBatch(p,a,b,c)
(p)->lpVtbl->BltBatch(
p,a,b,c)
#define IDirectDrawSurface4_BltFast(p,a,b,c,d,e)
(p)->lpVtbl->BltFast(
p,a,b,c,d,e)
#define IDirectDrawSurface4_DeleteAttachedSurface(p,a,b)
(p)->lpVtbl->DeleteAttachedSurface(
p,a,b)
#define IDirectDrawSurface4_EnumAttachedSurfaces(p,a,b)
(p)->lpVtbl->EnumAttachedSurfaces(
p,a,b)
#define IDirectDrawSurface4_EnumOverlayZOrders(p,a,b,c)
(p)->lpVtbl->EnumOverlayZOrders(
p,a,b,c)
#define IDirectDrawSurface4_Flip(p,a,b)
(p)->lpVtbl->Flip(
p,a,b)
#define IDirectDrawSurface4_GetAttachedSurface(p,a,b)
(p)->lpVtbl->GetAttachedSurface(
p,a,b)
#define IDirectDrawSurface4_GetBltStatus(p,a)
(p)->lpVtbl->GetBltStatus(
p,a)
#define IDirectDrawSurface4_GetCaps(p,a)
(p)->lpVtbl->GetCaps(
p,a)
#define IDirectDrawSurface4_GetClipper(p,a)
(p)->lpVtbl->GetClipper(
p,a)
#define IDirectDrawSurface4_GetColorKey(p,a,b)
(p)->lpVtbl->GetColorKey(
p,a,b)
#define IDirectDrawSurface4_GetDC(p,a)
(p)->lpVtbl->GetDC(
p,a)
#define IDirectDrawSurface4_GetFlipStatus(p,a)
(p)->lpVtbl->GetFlipStatus(
p,a)
#define IDirectDrawSurface4_GetOverlayPosition(p,a,b)
(p)->lpVtbl->GetOverlayPosition(
p,a,b)
#define IDirectDrawSurface4_GetPalette(p,a)
(p)->lpVtbl->GetPalette(
p,a)
#define IDirectDrawSurface4_GetPixelFormat(p,a)
(p)->lpVtbl->GetPixelFormat(
p,a)
#define IDirectDrawSurface4_GetSurfaceDesc(p,a)
(p)->lpVtbl->GetSurfaceDesc(
p,a)
#define IDirectDrawSurface4_Initialize(p,a,b)
(p)->lpVtbl->Initialize(
p,a,b)
#define IDirectDrawSurface4_IsLost(p)
(p)->lpVtbl->IsLost(
p)
#define IDirectDrawSurface4_Lock(p,a,b,c,d)
(p)->lpVtbl->Lock(
p,a,b,c,d)
#define IDirectDrawSurface4_ReleaseDC(p,a)
(p)->lpVtbl->ReleaseDC(
p,a)
#define IDirectDrawSurface4_Restore(p)
(p)->lpVtbl->Restore(
p)
#define IDirectDrawSurface4_SetClipper(p,a)
(p)->lpVtbl->SetClipper(
p,a)
#define IDirectDrawSurface4_SetColorKey(p,a,b)
(p)->lpVtbl->SetColorKey(
p,a,b)
#define IDirectDrawSurface4_SetOverlayPosition(p,a,b)
(p)->lpVtbl->SetOverlayPosition(
p,a,b)
#define IDirectDrawSurface4_SetPalette(p,a)
(p)->lpVtbl->SetPalette(
p,a)
#define IDirectDrawSurface4_Unlock(p,a)
(p)->lpVtbl->Unlock(
p,a)
#define IDirectDrawSurface4_UpdateOverlay(p,a,b,c,d,e)
(p)->lpVtbl->UpdateOverlay(
p,a,b,c,d,e)
#define IDirectDrawSurface4_UpdateOverlayDisplay(p,a)
(p)->lpVtbl->UpdateOverlayDisplay(
p,a)
#define IDirectDrawSurface4_UpdateOverlayZOrder(p,a,b)
(p)->lpVtbl->UpdateOverlayZOrder(
p,a,b)
/*** IDirectDrawSurface2 methods ***/
#define IDirectDrawSurface4_GetDDInterface(p,a)
ICOM_CALL1(GetDDInterface,
p,a)
#define IDirectDrawSurface4_PageLock(p,a)
ICOM_CALL1(PageLock,
p,a)
#define IDirectDrawSurface4_PageUnlock(p,a)
ICOM_CALL1(PageUnlock,
p,a)
#define IDirectDrawSurface4_GetDDInterface(p,a)
(p)->lpVtbl->GetDDInterface(
p,a)
#define IDirectDrawSurface4_PageLock(p,a)
(p)->lpVtbl->PageLock(
p,a)
#define IDirectDrawSurface4_PageUnlock(p,a)
(p)->lpVtbl->PageUnlock(
p,a)
/*** IDirectDrawSurface3 methods ***/
#define IDirectDrawSurface4_SetSurfaceDesc(p,a,b)
ICOM_CALL2(SetSurfaceDesc,
p,a,b)
#define IDirectDrawSurface4_SetSurfaceDesc(p,a,b)
(p)->lpVtbl->SetSurfaceDesc(
p,a,b)
/*** IDirectDrawSurface4 methods ***/
#define IDirectDrawSurface4_SetPrivateData(p,a,b,c,d) ICOM_CALL4(SetPrivateData,p,a,b,c,d)
#define IDirectDrawSurface4_GetPrivateData(p,a,b,c) ICOM_CALL3(GetPrivateData,p,a,b,c)
#define IDirectDrawSurface4_FreePrivateData(p,a) ICOM_CALL1(FreePrivateData,p,a)
#define IDirectDrawSurface4_GetUniquenessValue(p,a) ICOM_CALL1(GetUniquenessValue,p,a)
#define IDirectDrawSurface4_ChangeUniquenessValue(p) ICOM_CALL (ChangeUniquenessValue,p)
#define IDirectDrawSurface4_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
#define IDirectDrawSurface4_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
#define IDirectDrawSurface4_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
#define IDirectDrawSurface4_GetUniquenessValue(p,a) (p)->lpVtbl->GetUniquenessValue(p,a)
#define IDirectDrawSurface4_ChangeUniquenessValue(p) (p)->lpVtbl->ChangeUniquenessValue(p)
#endif
/*****************************************************************************
...
...
@@ -1990,61 +2010,63 @@ ICOM_DEFINE(IDirectDrawSurface4,IUnknown)
ICOM_DEFINE
(
IDirectDrawSurface7
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawSurface7_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawSurface7_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawSurface7_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawSurface7_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawSurface7_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawSurface7_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawSurface (almost) methods ***/
#define IDirectDrawSurface7_AddAttachedSurface(p,a)
ICOM_CALL1(AddAttachedSurface,
p,a)
#define IDirectDrawSurface7_AddOverlayDirtyRect(p,a)
ICOM_CALL1(AddOverlayDirtyRect,
p,a)
#define IDirectDrawSurface7_Blt(p,a,b,c,d,e)
ICOM_CALL5(Blt,
p,a,b,c,d,e)
#define IDirectDrawSurface7_BltBatch(p,a,b,c)
ICOM_CALL3(BltBatch,
p,a,b,c)
#define IDirectDrawSurface7_BltFast(p,a,b,c,d,e)
ICOM_CALL5(BltFast,
p,a,b,c,d,e)
#define IDirectDrawSurface7_DeleteAttachedSurface(p,a,b)
ICOM_CALL2(DeleteAttachedSurface,
p,a,b)
#define IDirectDrawSurface7_EnumAttachedSurfaces(p,a,b)
ICOM_CALL2(EnumAttachedSurfaces,
p,a,b)
#define IDirectDrawSurface7_EnumOverlayZOrders(p,a,b,c)
ICOM_CALL3(EnumOverlayZOrders,
p,a,b,c)
#define IDirectDrawSurface7_Flip(p,a,b)
ICOM_CALL2(Flip,
p,a,b)
#define IDirectDrawSurface7_GetAttachedSurface(p,a,b)
ICOM_CALL2(GetAttachedSurface,
p,a,b)
#define IDirectDrawSurface7_GetBltStatus(p,a)
ICOM_CALL1(GetBltStatus,
p,a)
#define IDirectDrawSurface7_GetCaps(p,a)
ICOM_CALL1(GetCaps,
p,a)
#define IDirectDrawSurface7_GetClipper(p,a)
ICOM_CALL1(GetClipper,
p,a)
#define IDirectDrawSurface7_GetColorKey(p,a,b)
ICOM_CALL2(GetColorKey,
p,a,b)
#define IDirectDrawSurface7_GetDC(p,a)
ICOM_CALL1(GetDC,
p,a)
#define IDirectDrawSurface7_GetFlipStatus(p,a)
ICOM_CALL1(GetFlipStatus,
p,a)
#define IDirectDrawSurface7_GetOverlayPosition(p,a,b)
ICOM_CALL2(GetOverlayPosition,
p,a,b)
#define IDirectDrawSurface7_GetPalette(p,a)
ICOM_CALL1(GetPalette,
p,a)
#define IDirectDrawSurface7_GetPixelFormat(p,a)
ICOM_CALL1(GetPixelFormat,
p,a)
#define IDirectDrawSurface7_GetSurfaceDesc(p,a)
ICOM_CALL1(GetSurfaceDesc,
p,a)
#define IDirectDrawSurface7_Initialize(p,a,b)
ICOM_CALL2(Initialize,
p,a,b)
#define IDirectDrawSurface7_IsLost(p)
ICOM_CALL (IsLost,
p)
#define IDirectDrawSurface7_Lock(p,a,b,c,d)
ICOM_CALL4(Lock,
p,a,b,c,d)
#define IDirectDrawSurface7_ReleaseDC(p,a)
ICOM_CALL1(ReleaseDC,
p,a)
#define IDirectDrawSurface7_Restore(p)
ICOM_CALL (Restore,
p)
#define IDirectDrawSurface7_SetClipper(p,a)
ICOM_CALL1(SetClipper,
p,a)
#define IDirectDrawSurface7_SetColorKey(p,a,b)
ICOM_CALL2(SetColorKey,
p,a,b)
#define IDirectDrawSurface7_SetOverlayPosition(p,a,b)
ICOM_CALL2(SetOverlayPosition,
p,a,b)
#define IDirectDrawSurface7_SetPalette(p,a)
ICOM_CALL1(SetPalette,
p,a)
#define IDirectDrawSurface7_Unlock(p,a)
ICOM_CALL1(Unlock,
p,a)
#define IDirectDrawSurface7_UpdateOverlay(p,a,b,c,d,e)
ICOM_CALL5(UpdateOverlay,
p,a,b,c,d,e)
#define IDirectDrawSurface7_UpdateOverlayDisplay(p,a)
ICOM_CALL1(UpdateOverlayDisplay,
p,a)
#define IDirectDrawSurface7_UpdateOverlayZOrder(p,a,b)
ICOM_CALL2(UpdateOverlayZOrder,
p,a,b)
#define IDirectDrawSurface7_AddAttachedSurface(p,a)
(p)->lpVtbl->AddAttachedSurface(
p,a)
#define IDirectDrawSurface7_AddOverlayDirtyRect(p,a)
(p)->lpVtbl->AddOverlayDirtyRect(
p,a)
#define IDirectDrawSurface7_Blt(p,a,b,c,d,e)
(p)->lpVtbl->Blt(
p,a,b,c,d,e)
#define IDirectDrawSurface7_BltBatch(p,a,b,c)
(p)->lpVtbl->BltBatch(
p,a,b,c)
#define IDirectDrawSurface7_BltFast(p,a,b,c,d,e)
(p)->lpVtbl->BltFast(
p,a,b,c,d,e)
#define IDirectDrawSurface7_DeleteAttachedSurface(p,a,b)
(p)->lpVtbl->DeleteAttachedSurface(
p,a,b)
#define IDirectDrawSurface7_EnumAttachedSurfaces(p,a,b)
(p)->lpVtbl->EnumAttachedSurfaces(
p,a,b)
#define IDirectDrawSurface7_EnumOverlayZOrders(p,a,b,c)
(p)->lpVtbl->EnumOverlayZOrders(
p,a,b,c)
#define IDirectDrawSurface7_Flip(p,a,b)
(p)->lpVtbl->Flip(
p,a,b)
#define IDirectDrawSurface7_GetAttachedSurface(p,a,b)
(p)->lpVtbl->GetAttachedSurface(
p,a,b)
#define IDirectDrawSurface7_GetBltStatus(p,a)
(p)->lpVtbl->GetBltStatus(
p,a)
#define IDirectDrawSurface7_GetCaps(p,a)
(p)->lpVtbl->GetCaps(
p,a)
#define IDirectDrawSurface7_GetClipper(p,a)
(p)->lpVtbl->GetClipper(
p,a)
#define IDirectDrawSurface7_GetColorKey(p,a,b)
(p)->lpVtbl->GetColorKey(
p,a,b)
#define IDirectDrawSurface7_GetDC(p,a)
(p)->lpVtbl->GetDC(
p,a)
#define IDirectDrawSurface7_GetFlipStatus(p,a)
(p)->lpVtbl->GetFlipStatus(
p,a)
#define IDirectDrawSurface7_GetOverlayPosition(p,a,b)
(p)->lpVtbl->GetOverlayPosition(
p,a,b)
#define IDirectDrawSurface7_GetPalette(p,a)
(p)->lpVtbl->GetPalette(
p,a)
#define IDirectDrawSurface7_GetPixelFormat(p,a)
(p)->lpVtbl->GetPixelFormat(
p,a)
#define IDirectDrawSurface7_GetSurfaceDesc(p,a)
(p)->lpVtbl->GetSurfaceDesc(
p,a)
#define IDirectDrawSurface7_Initialize(p,a,b)
(p)->lpVtbl->Initialize(
p,a,b)
#define IDirectDrawSurface7_IsLost(p)
(p)->lpVtbl->IsLost(
p)
#define IDirectDrawSurface7_Lock(p,a,b,c,d)
(p)->lpVtbl->Lock(
p,a,b,c,d)
#define IDirectDrawSurface7_ReleaseDC(p,a)
(p)->lpVtbl->ReleaseDC(
p,a)
#define IDirectDrawSurface7_Restore(p)
(p)->lpVtbl->Restore(
p)
#define IDirectDrawSurface7_SetClipper(p,a)
(p)->lpVtbl->SetClipper(
p,a)
#define IDirectDrawSurface7_SetColorKey(p,a,b)
(p)->lpVtbl->SetColorKey(
p,a,b)
#define IDirectDrawSurface7_SetOverlayPosition(p,a,b)
(p)->lpVtbl->SetOverlayPosition(
p,a,b)
#define IDirectDrawSurface7_SetPalette(p,a)
(p)->lpVtbl->SetPalette(
p,a)
#define IDirectDrawSurface7_Unlock(p,a)
(p)->lpVtbl->Unlock(
p,a)
#define IDirectDrawSurface7_UpdateOverlay(p,a,b,c,d,e)
(p)->lpVtbl->UpdateOverlay(
p,a,b,c,d,e)
#define IDirectDrawSurface7_UpdateOverlayDisplay(p,a)
(p)->lpVtbl->UpdateOverlayDisplay(
p,a)
#define IDirectDrawSurface7_UpdateOverlayZOrder(p,a,b)
(p)->lpVtbl->UpdateOverlayZOrder(
p,a,b)
/*** IDirectDrawSurface2 methods ***/
#define IDirectDrawSurface7_GetDDInterface(p,a)
ICOM_CALL1(GetDDInterface,
p,a)
#define IDirectDrawSurface7_PageLock(p,a)
ICOM_CALL1(PageLock,
p,a)
#define IDirectDrawSurface7_PageUnlock(p,a)
ICOM_CALL1(PageUnlock,
p,a)
#define IDirectDrawSurface7_GetDDInterface(p,a)
(p)->lpVtbl->GetDDInterface(
p,a)
#define IDirectDrawSurface7_PageLock(p,a)
(p)->lpVtbl->PageLock(
p,a)
#define IDirectDrawSurface7_PageUnlock(p,a)
(p)->lpVtbl->PageUnlock(
p,a)
/*** IDirectDrawSurface3 methods ***/
#define IDirectDrawSurface7_SetSurfaceDesc(p,a,b)
ICOM_CALL2(SetSurfaceDesc,
p,a,b)
#define IDirectDrawSurface7_SetSurfaceDesc(p,a,b)
(p)->lpVtbl->SetSurfaceDesc(
p,a,b)
/*** IDirectDrawSurface4 methods ***/
#define IDirectDrawSurface7_SetPrivateData(p,a,b,c,d)
ICOM_CALL4(SetPrivateData,
p,a,b,c,d)
#define IDirectDrawSurface7_GetPrivateData(p,a,b,c)
ICOM_CALL3(GetPrivateData,
p,a,b,c)
#define IDirectDrawSurface7_FreePrivateData(p,a)
ICOM_CALL1(FreePrivateData,
p,a)
#define IDirectDrawSurface7_GetUniquenessValue(p,a)
ICOM_CALL1(GetUniquenessValue,
p,a)
#define IDirectDrawSurface7_ChangeUniquenessValue(p)
ICOM_CALL (ChangeUniquenessValue,
p)
#define IDirectDrawSurface7_SetPrivateData(p,a,b,c,d)
(p)->lpVtbl->SetPrivateData(
p,a,b,c,d)
#define IDirectDrawSurface7_GetPrivateData(p,a,b,c)
(p)->lpVtbl->GetPrivateData(
p,a,b,c)
#define IDirectDrawSurface7_FreePrivateData(p,a)
(p)->lpVtbl->FreePrivateData(
p,a)
#define IDirectDrawSurface7_GetUniquenessValue(p,a)
(p)->lpVtbl->GetUniquenessValue(
p,a)
#define IDirectDrawSurface7_ChangeUniquenessValue(p)
(p)->lpVtbl->ChangeUniquenessValue(
p)
/*** IDirectDrawSurface7 methods ***/
#define IDirectDrawSurface7_SetPriority(p,a) ICOM_CALL1(SetPriority,p,a)
#define IDirectDrawSurface7_GetPriority(p,a) ICOM_CALL1(GetPriority,p,a)
#define IDirectDrawSurface7_SetLOD(p,a) ICOM_CALL1(SetLOD,p,a)
#define IDirectDrawSurface7_GetLOD(p,a) ICOM_CALL1(GetLOD,p,a)
#define IDirectDrawSurface7_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IDirectDrawSurface7_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
#define IDirectDrawSurface7_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
#define IDirectDrawSurface7_GetLOD(p,a) (p)->lpVtbl->GetLOD(p,a)
#endif
/*****************************************************************************
* IDirectDrawColorControl interface
...
...
@@ -2059,13 +2081,15 @@ ICOM_DEFINE(IDirectDrawSurface7,IUnknown)
ICOM_DEFINE
(
IDirectDrawColorControl
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawColorControl_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawColorControl_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawColorControl_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawColorControl_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawColorControl_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawColorControl_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawColorControl methods ***/
#define IDirectDrawColorControl_GetColorControls(p,a) ICOM_CALL(GetColorControls,p,a)
#define IDirectDrawColorControl_SetColorControls(p,a) ICOM_CALL(SetColorControls,p,a)
#define IDirectDrawColorControl_GetColorControls(p,a) (p)->lpVtbl->GetColorControls(p,a)
#define IDirectDrawColorControl_SetColorControls(p,a) (p)->lpVtbl->SetColorControls(p,a)
#endif
/*****************************************************************************
* IDirectDrawGammaControl interface
...
...
@@ -2080,13 +2104,15 @@ ICOM_DEFINE(IDirectDrawColorControl,IUnknown)
ICOM_DEFINE
(
IDirectDrawGammaControl
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawGammaControl_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectDrawGammaControl_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectDrawGammaControl_Release(p)
ICOM_CALL (Release,
p)
#define IDirectDrawGammaControl_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectDrawGammaControl_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectDrawGammaControl_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectDrawGammaControl methods ***/
#define IDirectDrawGammaControl_GetGammaRamp(p,a,b) ICOM_CALL(GetGammaRamp,p,a,b)
#define IDirectDrawGammaControl_SetGammaRamp(p,a,b) ICOM_CALL(SetGammaRamp,p,a,b)
#define IDirectDrawGammaControl_GetGammaRamp(p,a,b) (p)->lpVtbl->GetGammaRamp(p,a,b)
#define IDirectDrawGammaControl_SetGammaRamp(p,a,b) (p)->lpVtbl->SetGammaRamp(p,a,b)
#endif
HRESULT
WINAPI
DirectDrawCreate
(
LPGUID
,
LPDIRECTDRAW
*
,
LPUNKNOWN
);
...
...
include/dinput.h
View file @
55379110
...
...
@@ -1066,21 +1066,23 @@ DECL_WINELIB_TYPE_AW(LPCDIDEVICEIMAGEINFOHEADER)
ICOM_DEFINE
(
IDirectInputEffect
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInputEffect_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInputEffect_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInputEffect_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInputEffect_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInputEffect_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInputEffect_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInputEffect methods ***/
#define IDirectInputEffect_Initialize(p,a,b,c) ICOM_CALL3(Initialize,p,a,b,c)
#define IDirectInputEffect_GetEffectGuid(p,a) ICOM_CALL1(GetEffectGuid,p,a)
#define IDirectInputEffect_GetParameters(p,a,b) ICOM_CALL2(GetParameters,p,a,b)
#define IDirectInputEffect_SetParameters(p,a,b) ICOM_CALL2(SetParameters,p,a,b)
#define IDirectInputEffect_Start(p,a,b) ICOM_CALL2(Start,p,a,b)
#define IDirectInputEffect_Stop(p) ICOM_CALL (Stop,p)
#define IDirectInputEffect_GetEffectStatus(p,a,b) ICOM_CALL1(GetEffectStatus,p,a)
#define IDirectInputEffect_Download(p) ICOM_CALL (Download,p)
#define IDirectInputEffect_Unload(p) ICOM_CALL (Unload,p)
#define IDirectInputEffect_Escape(p,a) ICOM_CALL1(Escape,p,a)
#define IDirectInputEffect_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
#define IDirectInputEffect_GetEffectGuid(p,a) (p)->lpVtbl->GetEffectGuid(p,a)
#define IDirectInputEffect_GetParameters(p,a,b) (p)->lpVtbl->GetParameters(p,a,b)
#define IDirectInputEffect_SetParameters(p,a,b) (p)->lpVtbl->SetParameters(p,a,b)
#define IDirectInputEffect_Start(p,a,b) (p)->lpVtbl->Start(p,a,b)
#define IDirectInputEffect_Stop(p) (p)->lpVtbl->Stop(p)
#define IDirectInputEffect_GetEffectStatus(p,a,b) (p)->lpVtbl->GetEffectStatus(p,a)
#define IDirectInputEffect_Download(p) (p)->lpVtbl->Download(p)
#define IDirectInputEffect_Unload(p) (p)->lpVtbl->Unload(p)
#define IDirectInputEffect_Escape(p,a) (p)->lpVtbl->Escape(p,a)
#endif
/*****************************************************************************
...
...
@@ -1109,26 +1111,28 @@ ICOM_DEFINE(IDirectInputEffect,IUnknown)
ICOM_DEFINE
(
IDirectInputDeviceA
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInputDevice_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInputDevice_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInputDevice_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInputDevice_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInputDevice_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInputDevice_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInputDevice methods ***/
#define IDirectInputDevice_GetCapabilities(p,a) ICOM_CALL1(GetCapabilities,p,a)
#define IDirectInputDevice_EnumObjects(p,a,b,c) ICOM_CALL3(EnumObjects,p,a,b,c)
#define IDirectInputDevice_GetProperty(p,a,b) ICOM_CALL2(GetProperty,p,a,b)
#define IDirectInputDevice_SetProperty(p,a,b) ICOM_CALL2(SetProperty,p,a,b)
#define IDirectInputDevice_Acquire(p) ICOM_CALL (Acquire,p)
#define IDirectInputDevice_Unacquire(p) ICOM_CALL (Unacquire,p)
#define IDirectInputDevice_GetDeviceState(p,a,b) ICOM_CALL2(GetDeviceState,p,a,b)
#define IDirectInputDevice_GetDeviceData(p,a,b,c,d) ICOM_CALL4(GetDeviceData,p,a,b,c,d)
#define IDirectInputDevice_SetDataFormat(p,a) ICOM_CALL1(SetDataFormat,p,a)
#define IDirectInputDevice_SetEventNotification(p,a) ICOM_CALL1(SetEventNotification,p,a)
#define IDirectInputDevice_SetCooperativeLevel(p,a,b) ICOM_CALL2(SetCooperativeLevel,p,a,b)
#define IDirectInputDevice_GetObjectInfo(p,a,b,c) ICOM_CALL3(GetObjectInfo,p,a,b,c)
#define IDirectInputDevice_GetDeviceInfo(p,a) ICOM_CALL1(GetDeviceInfo,p,a)
#define IDirectInputDevice_RunControlPanel(p,a,b) ICOM_CALL2(RunControlPanel,p,a,b)
#define IDirectInputDevice_Initialize(p,a,b,c) ICOM_CALL3(Initialize,p,a,b,c)
#define IDirectInputDevice_GetCapabilities(p,a) (p)->lpVtbl->GetCapabilities(p,a)
#define IDirectInputDevice_EnumObjects(p,a,b,c) (p)->lpVtbl->EnumObjects(p,a,b,c)
#define IDirectInputDevice_GetProperty(p,a,b) (p)->lpVtbl->GetProperty(p,a,b)
#define IDirectInputDevice_SetProperty(p,a,b) (p)->lpVtbl->SetProperty(p,a,b)
#define IDirectInputDevice_Acquire(p) (p)->lpVtbl->Acquire(p)
#define IDirectInputDevice_Unacquire(p) (p)->lpVtbl->Unacquire(p)
#define IDirectInputDevice_GetDeviceState(p,a,b) (p)->lpVtbl->GetDeviceState(p,a,b)
#define IDirectInputDevice_GetDeviceData(p,a,b,c,d) (p)->lpVtbl->GetDeviceData(p,a,b,c,d)
#define IDirectInputDevice_SetDataFormat(p,a) (p)->lpVtbl->SetDataFormat(p,a)
#define IDirectInputDevice_SetEventNotification(p,a) (p)->lpVtbl->SetEventNotification(p,a)
#define IDirectInputDevice_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b)
#define IDirectInputDevice_GetObjectInfo(p,a,b,c) (p)->lpVtbl->GetObjectInfo(p,a,b,c)
#define IDirectInputDevice_GetDeviceInfo(p,a) (p)->lpVtbl->GetDeviceInfo(p,a)
#define IDirectInputDevice_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b)
#define IDirectInputDevice_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -1151,36 +1155,38 @@ ICOM_DEFINE(IDirectInputDeviceA,IUnknown)
ICOM_DEFINE
(
IDirectInputDevice2A
,
IDirectInputDeviceA
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInputDevice2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInputDevice2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInputDevice2_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInputDevice2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInputDevice2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInputDevice2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInputDevice methods ***/
#define IDirectInputDevice2_GetCapabilities(p,a)
ICOM_CALL1(GetCapabilities,
p,a)
#define IDirectInputDevice2_EnumObjects(p,a,b,c)
ICOM_CALL3(EnumObjects,
p,a,b,c)
#define IDirectInputDevice2_GetProperty(p,a,b)
ICOM_CALL2(GetProperty,
p,a,b)
#define IDirectInputDevice2_SetProperty(p,a,b)
ICOM_CALL2(SetProperty,
p,a,b)
#define IDirectInputDevice2_Acquire(p)
ICOM_CALL (Acquire,
p)
#define IDirectInputDevice2_Unacquire(p)
ICOM_CALL (Unacquire,
p)
#define IDirectInputDevice2_GetDeviceState(p,a,b)
ICOM_CALL2(GetDeviceState,
p,a,b)
#define IDirectInputDevice2_GetDeviceData(p,a,b,c,d)
ICOM_CALL4(GetDeviceData,
p,a,b,c,d)
#define IDirectInputDevice2_SetDataFormat(p,a)
ICOM_CALL1(SetDataFormat,
p,a)
#define IDirectInputDevice2_SetEventNotification(p,a)
ICOM_CALL1(SetEventNotification,
p,a)
#define IDirectInputDevice2_SetCooperativeLevel(p,a,b)
ICOM_CALL2(SetCooperativeLevel,
p,a,b)
#define IDirectInputDevice2_GetObjectInfo(p,a,b,c)
ICOM_CALL3(GetObjectInfo,
p,a,b,c)
#define IDirectInputDevice2_GetDeviceInfo(p,a)
ICOM_CALL1(GetDeviceInfo,
p,a)
#define IDirectInputDevice2_RunControlPanel(p,a,b)
ICOM_CALL2(RunControlPanel,
p,a,b)
#define IDirectInputDevice2_Initialize(p,a,b,c)
ICOM_CALL3(Initialize,
p,a,b,c)
#define IDirectInputDevice2_GetCapabilities(p,a)
(p)->lpVtbl->GetCapabilities(
p,a)
#define IDirectInputDevice2_EnumObjects(p,a,b,c)
(p)->lpVtbl->EnumObjects(
p,a,b,c)
#define IDirectInputDevice2_GetProperty(p,a,b)
(p)->lpVtbl->GetProperty(
p,a,b)
#define IDirectInputDevice2_SetProperty(p,a,b)
(p)->lpVtbl->SetProperty(
p,a,b)
#define IDirectInputDevice2_Acquire(p)
(p)->lpVtbl->Acquire(
p)
#define IDirectInputDevice2_Unacquire(p)
(p)->lpVtbl->Unacquire(
p)
#define IDirectInputDevice2_GetDeviceState(p,a,b)
(p)->lpVtbl->GetDeviceState(
p,a,b)
#define IDirectInputDevice2_GetDeviceData(p,a,b,c,d)
(p)->lpVtbl->GetDeviceData(
p,a,b,c,d)
#define IDirectInputDevice2_SetDataFormat(p,a)
(p)->lpVtbl->SetDataFormat(
p,a)
#define IDirectInputDevice2_SetEventNotification(p,a)
(p)->lpVtbl->SetEventNotification(
p,a)
#define IDirectInputDevice2_SetCooperativeLevel(p,a,b)
(p)->lpVtbl->SetCooperativeLevel(
p,a,b)
#define IDirectInputDevice2_GetObjectInfo(p,a,b,c)
(p)->lpVtbl->GetObjectInfo(
p,a,b,c)
#define IDirectInputDevice2_GetDeviceInfo(p,a)
(p)->lpVtbl->GetDeviceInfo(
p,a)
#define IDirectInputDevice2_RunControlPanel(p,a,b)
(p)->lpVtbl->RunControlPanel(
p,a,b)
#define IDirectInputDevice2_Initialize(p,a,b,c)
(p)->lpVtbl->Initialize(
p,a,b,c)
/*** IDirectInputDevice2 methods ***/
#define IDirectInputDevice2_CreateEffect(p,a,b,c,d) ICOM_CALL4(CreateEffect,p,a,b,c,d)
#define IDirectInputDevice2_EnumEffects(p,a,b,c) ICOM_CALL3(EnumEffects,p,a,b,c)
#define IDirectInputDevice2_GetEffectInfo(p,a,b) ICOM_CALL2(GetEffectInfo,p,a,b)
#define IDirectInputDevice2_GetForceFeedbackState(p,a) ICOM_CALL1(GetForceFeedbackState,p,a)
#define IDirectInputDevice2_SendForceFeedbackCommand(p,a) ICOM_CALL1(SendForceFeedbackCommand,p,a)
#define IDirectInputDevice2_EnumCreatedEffectObjects(p,a,b,c) ICOM_CALL3(EnumCreatedEffectObjects,p,a,b,c)
#define IDirectInputDevice2_Escape(p,a) ICOM_CALL1(Escape,p,a)
#define IDirectInputDevice2_Poll(p) ICOM_CALL (Poll,p)
#define IDirectInputDevice2_SendDeviceData(p,a,b,c,d) ICOM_CALL4(SendDeviceData,p,a,b,c,d)
#define IDirectInputDevice2_CreateEffect(p,a,b,c,d) (p)->lpVtbl->CreateEffect(p,a,b,c,d)
#define IDirectInputDevice2_EnumEffects(p,a,b,c) (p)->lpVtbl->EnumEffects(p,a,b,c)
#define IDirectInputDevice2_GetEffectInfo(p,a,b) (p)->lpVtbl->GetEffectInfo(p,a,b)
#define IDirectInputDevice2_GetForceFeedbackState(p,a) (p)->lpVtbl->GetForceFeedbackState(p,a)
#define IDirectInputDevice2_SendForceFeedbackCommand(p,a) (p)->lpVtbl->SendForceFeedbackCommand(p,a)
#define IDirectInputDevice2_EnumCreatedEffectObjects(p,a,b,c) (p)->lpVtbl->EnumCreatedEffectObjects(p,a,b,c)
#define IDirectInputDevice2_Escape(p,a) (p)->lpVtbl->Escape(p,a)
#define IDirectInputDevice2_Poll(p) (p)->lpVtbl->Poll(p)
#define IDirectInputDevice2_SendDeviceData(p,a,b,c,d) (p)->lpVtbl->SendDeviceData(p,a,b,c,d)
#endif
#if DIRECTINPUT_VERSION >= 0x0700
/*****************************************************************************
...
...
@@ -1196,39 +1202,42 @@ ICOM_DEFINE(IDirectInputDevice2A,IDirectInputDeviceA)
ICOM_DEFINE
(
IDirectInputDevice7A
,
IDirectInputDevice2A
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInputDevice7_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInputDevice7_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInputDevice7_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInputDevice7_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInputDevice7_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInputDevice7_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInputDevice methods ***/
#define IDirectInputDevice7_GetCapabilities(p,a)
ICOM_CALL1(GetCapabilities,
p,a)
#define IDirectInputDevice7_EnumObjects(p,a,b,c)
ICOM_CALL3(EnumObjects,
p,a,b,c)
#define IDirectInputDevice7_GetProperty(p,a,b)
ICOM_CALL2(GetProperty,
p,a,b)
#define IDirectInputDevice7_SetProperty(p,a,b)
ICOM_CALL2(SetProperty,
p,a,b)
#define IDirectInputDevice7_Acquire(p)
ICOM_CALL (Acquire,
p)
#define IDirectInputDevice7_Unacquire(p)
ICOM_CALL (Unacquire,
p)
#define IDirectInputDevice7_GetDeviceState(p,a,b)
ICOM_CALL2(GetDeviceState,
p,a,b)
#define IDirectInputDevice7_GetDeviceData(p,a,b,c,d)
ICOM_CALL4(GetDeviceData,
p,a,b,c,d)
#define IDirectInputDevice7_SetDataFormat(p,a)
ICOM_CALL1(SetDataFormat,
p,a)
#define IDirectInputDevice7_SetEventNotification(p,a)
ICOM_CALL1(SetEventNotification,
p,a)
#define IDirectInputDevice7_SetCooperativeLevel(p,a,b)
ICOM_CALL2(SetCooperativeLevel,
p,a,b)
#define IDirectInputDevice7_GetObjectInfo(p,a,b,c)
ICOM_CALL3(GetObjectInfo,
p,a,b,c)
#define IDirectInputDevice7_GetDeviceInfo(p,a)
ICOM_CALL1(GetDeviceInfo,
p,a)
#define IDirectInputDevice7_RunControlPanel(p,a,b)
ICOM_CALL2(RunControlPanel,
p,a,b)
#define IDirectInputDevice7_Initialize(p,a,b,c)
ICOM_CALL3(Initialize,
p,a,b,c)
#define IDirectInputDevice7_GetCapabilities(p,a)
(p)->lpVtbl->GetCapabilities(
p,a)
#define IDirectInputDevice7_EnumObjects(p,a,b,c)
(p)->lpVtbl->EnumObjects(
p,a,b,c)
#define IDirectInputDevice7_GetProperty(p,a,b)
(p)->lpVtbl->GetProperty(
p,a,b)
#define IDirectInputDevice7_SetProperty(p,a,b)
(p)->lpVtbl->SetProperty(
p,a,b)
#define IDirectInputDevice7_Acquire(p)
(p)->lpVtbl->Acquire(
p)
#define IDirectInputDevice7_Unacquire(p)
(p)->lpVtbl->Unacquire(
p)
#define IDirectInputDevice7_GetDeviceState(p,a,b)
(p)->lpVtbl->GetDeviceState(
p,a,b)
#define IDirectInputDevice7_GetDeviceData(p,a,b,c,d)
(p)->lpVtbl->GetDeviceData(
p,a,b,c,d)
#define IDirectInputDevice7_SetDataFormat(p,a)
(p)->lpVtbl->SetDataFormat(
p,a)
#define IDirectInputDevice7_SetEventNotification(p,a)
(p)->lpVtbl->SetEventNotification(
p,a)
#define IDirectInputDevice7_SetCooperativeLevel(p,a,b)
(p)->lpVtbl->SetCooperativeLevel(
p,a,b)
#define IDirectInputDevice7_GetObjectInfo(p,a,b,c)
(p)->lpVtbl->GetObjectInfo(
p,a,b,c)
#define IDirectInputDevice7_GetDeviceInfo(p,a)
(p)->lpVtbl->GetDeviceInfo(
p,a)
#define IDirectInputDevice7_RunControlPanel(p,a,b)
(p)->lpVtbl->RunControlPanel(
p,a,b)
#define IDirectInputDevice7_Initialize(p,a,b,c)
(p)->lpVtbl->Initialize(
p,a,b,c)
/*** IDirectInputDevice2 methods ***/
#define IDirectInputDevice7_CreateEffect(p,a,b,c,d)
ICOM_CALL4(CreateEffect,
p,a,b,c,d)
#define IDirectInputDevice7_EnumEffects(p,a,b,c)
ICOM_CALL3(EnumEffects,
p,a,b,c)
#define IDirectInputDevice7_GetEffectInfo(p,a,b)
ICOM_CALL2(GetEffectInfo,
p,a,b)
#define IDirectInputDevice7_GetForceFeedbackState(p,a)
ICOM_CALL1(GetForceFeedbackState,
p,a)
#define IDirectInputDevice7_SendForceFeedbackCommand(p,a)
ICOM_CALL1(SendForceFeedbackCommand,
p,a)
#define IDirectInputDevice7_EnumCreatedEffectObjects(p,a,b,c)
ICOM_CALL3(EnumCreatedEffectObjects,
p,a,b,c)
#define IDirectInputDevice7_Escape(p,a)
ICOM_CALL1(Escape,
p,a)
#define IDirectInputDevice7_Poll(p)
ICOM_CALL (Poll,
p)
#define IDirectInputDevice7_SendDeviceData(p,a,b,c,d)
ICOM_CALL4(SendDeviceData,
p,a,b,c,d)
#define IDirectInputDevice7_CreateEffect(p,a,b,c,d)
(p)->lpVtbl->CreateEffect(
p,a,b,c,d)
#define IDirectInputDevice7_EnumEffects(p,a,b,c)
(p)->lpVtbl->EnumEffects(
p,a,b,c)
#define IDirectInputDevice7_GetEffectInfo(p,a,b)
(p)->lpVtbl->GetEffectInfo(
p,a,b)
#define IDirectInputDevice7_GetForceFeedbackState(p,a)
(p)->lpVtbl->GetForceFeedbackState(
p,a)
#define IDirectInputDevice7_SendForceFeedbackCommand(p,a)
(p)->lpVtbl->SendForceFeedbackCommand(
p,a)
#define IDirectInputDevice7_EnumCreatedEffectObjects(p,a,b,c)
(p)->lpVtbl->EnumCreatedEffectObjects(
p,a,b,c)
#define IDirectInputDevice7_Escape(p,a)
(p)->lpVtbl->Escape(
p,a)
#define IDirectInputDevice7_Poll(p)
(p)->lpVtbl->Poll(
p)
#define IDirectInputDevice7_SendDeviceData(p,a,b,c,d)
(p)->lpVtbl->SendDeviceData(
p,a,b,c,d)
/*** IDirectInputDevice7 methods ***/
#define IDirectInputDevice7_EnumEffectsInFile(p,a,b,c,d) ICOM_CALL4(EnumEffectsInFile,p,a,b,c,d)
#define IDirectInputDevice7_WriteEffectToFile(p,a,b,c,d) ICOM_CALL4(WriteEffectToFile,p,a,b,c,d)
#define IDirectInputDevice7_EnumEffectsInFile(p,a,b,c,d) (p)->lpVtbl->EnumEffectsInFile(p,a,b,c,d)
#define IDirectInputDevice7_WriteEffectToFile(p,a,b,c,d) (p)->lpVtbl->WriteEffectToFile(p,a,b,c,d)
#endif
#endif
/* DI7 */
#if DIRECTINPUT_VERSION >= 0x0800
...
...
@@ -1246,43 +1255,46 @@ ICOM_DEFINE(IDirectInputDevice7A,IDirectInputDevice2A)
ICOM_DEFINE
(
IDirectInputDevice8A
,
IDirectInputDevice7A
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInputDevice8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInputDevice8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInputDevice8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInputDevice8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInputDevice8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInputDevice8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInputDevice methods ***/
#define IDirectInputDevice8_GetCapabilities(p,a)
ICOM_CALL1(GetCapabilities,
p,a)
#define IDirectInputDevice8_EnumObjects(p,a,b,c)
ICOM_CALL3(EnumObjects,
p,a,b,c)
#define IDirectInputDevice8_GetProperty(p,a,b)
ICOM_CALL2(GetProperty,
p,a,b)
#define IDirectInputDevice8_SetProperty(p,a,b)
ICOM_CALL2(SetProperty,
p,a,b)
#define IDirectInputDevice8_Acquire(p)
ICOM_CALL (Acquire,
p)
#define IDirectInputDevice8_Unacquire(p)
ICOM_CALL (Unacquire,
p)
#define IDirectInputDevice8_GetDeviceState(p,a,b)
ICOM_CALL2(GetDeviceState,
p,a,b)
#define IDirectInputDevice8_GetDeviceData(p,a,b,c,d)
ICOM_CALL4(GetDeviceData,
p,a,b,c,d)
#define IDirectInputDevice8_SetDataFormat(p,a)
ICOM_CALL1(SetDataFormat,
p,a)
#define IDirectInputDevice8_SetEventNotification(p,a)
ICOM_CALL1(SetEventNotification,
p,a)
#define IDirectInputDevice8_SetCooperativeLevel(p,a,b)
ICOM_CALL2(SetCooperativeLevel,
p,a,b)
#define IDirectInputDevice8_GetObjectInfo(p,a,b,c)
ICOM_CALL3(GetObjectInfo,
p,a,b,c)
#define IDirectInputDevice8_GetDeviceInfo(p,a)
ICOM_CALL1(GetDeviceInfo,
p,a)
#define IDirectInputDevice8_RunControlPanel(p,a,b)
ICOM_CALL2(RunControlPanel,
p,a,b)
#define IDirectInputDevice8_Initialize(p,a,b,c)
ICOM_CALL3(Initialize,
p,a,b,c)
#define IDirectInputDevice8_GetCapabilities(p,a)
(p)->lpVtbl->GetCapabilities(
p,a)
#define IDirectInputDevice8_EnumObjects(p,a,b,c)
(p)->lpVtbl->EnumObjects(
p,a,b,c)
#define IDirectInputDevice8_GetProperty(p,a,b)
(p)->lpVtbl->GetProperty(
p,a,b)
#define IDirectInputDevice8_SetProperty(p,a,b)
(p)->lpVtbl->SetProperty(
p,a,b)
#define IDirectInputDevice8_Acquire(p)
(p)->lpVtbl->Acquire(
p)
#define IDirectInputDevice8_Unacquire(p)
(p)->lpVtbl->Unacquire(
p)
#define IDirectInputDevice8_GetDeviceState(p,a,b)
(p)->lpVtbl->GetDeviceState(
p,a,b)
#define IDirectInputDevice8_GetDeviceData(p,a,b,c,d)
(p)->lpVtbl->GetDeviceData(
p,a,b,c,d)
#define IDirectInputDevice8_SetDataFormat(p,a)
(p)->lpVtbl->SetDataFormat(
p,a)
#define IDirectInputDevice8_SetEventNotification(p,a)
(p)->lpVtbl->SetEventNotification(
p,a)
#define IDirectInputDevice8_SetCooperativeLevel(p,a,b)
(p)->lpVtbl->SetCooperativeLevel(
p,a,b)
#define IDirectInputDevice8_GetObjectInfo(p,a,b,c)
(p)->lpVtbl->GetObjectInfo(
p,a,b,c)
#define IDirectInputDevice8_GetDeviceInfo(p,a)
(p)->lpVtbl->GetDeviceInfo(
p,a)
#define IDirectInputDevice8_RunControlPanel(p,a,b)
(p)->lpVtbl->RunControlPanel(
p,a,b)
#define IDirectInputDevice8_Initialize(p,a,b,c)
(p)->lpVtbl->Initialize(
p,a,b,c)
/*** IDirectInputDevice2 methods ***/
#define IDirectInputDevice8_CreateEffect(p,a,b,c,d)
ICOM_CALL4(CreateEffect,
p,a,b,c,d)
#define IDirectInputDevice8_EnumEffects(p,a,b,c)
ICOM_CALL3(EnumEffects,
p,a,b,c)
#define IDirectInputDevice8_GetEffectInfo(p,a,b)
ICOM_CALL2(GetEffectInfo,
p,a,b)
#define IDirectInputDevice8_GetForceFeedbackState(p,a)
ICOM_CALL1(GetForceFeedbackState,
p,a)
#define IDirectInputDevice8_SendForceFeedbackCommand(p,a)
ICOM_CALL1(SendForceFeedbackCommand,
p,a)
#define IDirectInputDevice8_EnumCreatedEffectObjects(p,a,b,c)
ICOM_CALL3(EnumCreatedEffectObjects,
p,a,b,c)
#define IDirectInputDevice8_Escape(p,a)
ICOM_CALL1(Escape,
p,a)
#define IDirectInputDevice8_Poll(p)
ICOM_CALL (Poll,
p)
#define IDirectInputDevice8_SendDeviceData(p,a,b,c,d)
ICOM_CALL4(SendDeviceData,
p,a,b,c,d)
#define IDirectInputDevice8_CreateEffect(p,a,b,c,d)
(p)->lpVtbl->CreateEffect(
p,a,b,c,d)
#define IDirectInputDevice8_EnumEffects(p,a,b,c)
(p)->lpVtbl->EnumEffects(
p,a,b,c)
#define IDirectInputDevice8_GetEffectInfo(p,a,b)
(p)->lpVtbl->GetEffectInfo(
p,a,b)
#define IDirectInputDevice8_GetForceFeedbackState(p,a)
(p)->lpVtbl->GetForceFeedbackState(
p,a)
#define IDirectInputDevice8_SendForceFeedbackCommand(p,a)
(p)->lpVtbl->SendForceFeedbackCommand(
p,a)
#define IDirectInputDevice8_EnumCreatedEffectObjects(p,a,b,c)
(p)->lpVtbl->EnumCreatedEffectObjects(
p,a,b,c)
#define IDirectInputDevice8_Escape(p,a)
(p)->lpVtbl->Escape(
p,a)
#define IDirectInputDevice8_Poll(p)
(p)->lpVtbl->Poll(
p)
#define IDirectInputDevice8_SendDeviceData(p,a,b,c,d)
(p)->lpVtbl->SendDeviceData(
p,a,b,c,d)
/*** IDirectInputDevice7 methods ***/
#define IDirectInputDevice8_EnumEffectsInFile(p,a,b,c,d)
ICOM_CALL4(EnumEffectsInFile,
p,a,b,c,d)
#define IDirectInputDevice8_WriteEffectToFile(p,a,b,c,d)
ICOM_CALL4(WriteEffectToFile,
p,a,b,c,d)
#define IDirectInputDevice8_EnumEffectsInFile(p,a,b,c,d)
(p)->lpVtbl->EnumEffectsInFile(
p,a,b,c,d)
#define IDirectInputDevice8_WriteEffectToFile(p,a,b,c,d)
(p)->lpVtbl->WriteEffectToFile(
p,a,b,c,d)
/*** IDirectInputDevice8 methods ***/
#define IDirectInputDevice8_BuildActionMap(p,a,b,c) ICOM_CALL3(BuildActionMap,p,a,b,c)
#define IDirectInputDevice8_SetActionMap(p,a,b,c) ICOM_CALL3(SetActionMap,p,a,b,c)
#define IDirectInputDevice8_GetImageInfo(p,a) ICOM_CALL1(GetImageInfo,p,a)
#define IDirectInputDevice8_BuildActionMap(p,a,b,c) (p)->lpVtbl->BuildActionMap(p,a,b,c)
#define IDirectInputDevice8_SetActionMap(p,a,b,c) (p)->lpVtbl->SetActionMap(p,a,b,c)
#define IDirectInputDevice8_GetImageInfo(p,a) (p)->lpVtbl->GetImageInfo(p,a)
#endif
#endif
/* DI8 */
/* "Standard" Mouse report... */
...
...
@@ -1337,16 +1349,18 @@ extern const DIDATAFORMAT c_dfDIJoystick2;
ICOM_DEFINE
(
IDirectInputA
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInputA_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInputA_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInputA_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInputA_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInputA_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInputA_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInputA methods ***/
#define IDirectInputA_CreateDevice(p,a,b,c) ICOM_CALL3(CreateDevice,p,a,b,c)
#define IDirectInputA_EnumDevices(p,a,b,c,d) ICOM_CALL4(EnumDevices,p,a,b,c,d)
#define IDirectInputA_GetDeviceStatus(p,a) ICOM_CALL1(GetDeviceStatus,p,a)
#define IDirectInputA_RunControlPanel(p,a,b) ICOM_CALL2(RunControlPanel,p,a,b)
#define IDirectInputA_Initialize(p,a,b) ICOM_CALL2(Initialize,p,a,b)
#define IDirectInputA_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
#define IDirectInputA_EnumDevices(p,a,b,c,d) (p)->lpVtbl->EnumDevices(p,a,b,c,d)
#define IDirectInputA_GetDeviceStatus(p,a) (p)->lpVtbl->GetDeviceStatus(p,a)
#define IDirectInputA_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b)
#define IDirectInputA_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
#endif
/*****************************************************************************
* IDirectInput2A interface
...
...
@@ -1360,18 +1374,20 @@ ICOM_DEFINE(IDirectInputA,IUnknown)
ICOM_DEFINE
(
IDirectInput2A
,
IDirectInputA
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInput2A_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInput2A_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInput2A_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInput2A_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInput2A_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInput2A_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInputA methods ***/
#define IDirectInput2A_CreateDevice(p,a,b,c)
ICOM_CALL3(CreateDevice,
p,a,b,c)
#define IDirectInput2A_EnumDevices(p,a,b,c,d)
ICOM_CALL4(EnumDevices,
p,a,b,c,d)
#define IDirectInput2A_GetDeviceStatus(p,a)
ICOM_CALL1(GetDeviceStatus,
p,a)
#define IDirectInput2A_RunControlPanel(p,a,b)
ICOM_CALL2(RunControlPanel,
p,a,b)
#define IDirectInput2A_Initialize(p,a,b)
ICOM_CALL2(Initialize,
p,a,b)
#define IDirectInput2A_CreateDevice(p,a,b,c)
(p)->lpVtbl->CreateDevice(
p,a,b,c)
#define IDirectInput2A_EnumDevices(p,a,b,c,d)
(p)->lpVtbl->EnumDevices(
p,a,b,c,d)
#define IDirectInput2A_GetDeviceStatus(p,a)
(p)->lpVtbl->GetDeviceStatus(
p,a)
#define IDirectInput2A_RunControlPanel(p,a,b)
(p)->lpVtbl->RunControlPanel(
p,a,b)
#define IDirectInput2A_Initialize(p,a,b)
(p)->lpVtbl->Initialize(
p,a,b)
/*** IDirectInput2A methods ***/
#define IDirectInput2A_FindDevice(p,a,b,c) ICOM_CALL3(FindDevice,p,a,b,c)
#define IDirectInput2A_FindDevice(p,a,b,c) (p)->lpVtbl->FindDevice(p,a,b,c)
#endif
#if DIRECTINPUT_VERSION >= 0x0700
/*****************************************************************************
...
...
@@ -1386,20 +1402,23 @@ ICOM_DEFINE(IDirectInput2A,IDirectInputA)
ICOM_DEFINE
(
IDirectInput7A
,
IDirectInput2A
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInput7A_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInput7A_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInput7A_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInput7A_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInput7A_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInput7A_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInputA methods ***/
#define IDirectInput7A_CreateDevice(p,a,b,c)
ICOM_CALL3(CreateDevice,
p,a,b,c)
#define IDirectInput7A_EnumDevices(p,a,b,c,d)
ICOM_CALL4(EnumDevices,
p,a,b,c,d)
#define IDirectInput7A_GetDeviceStatus(p,a)
ICOM_CALL1(GetDeviceStatus,
p,a)
#define IDirectInput7A_RunControlPanel(p,a,b)
ICOM_CALL2(RunControlPanel,
p,a,b)
#define IDirectInput7A_Initialize(p,a,b)
ICOM_CALL2(Initialize,
p,a,b)
#define IDirectInput7A_CreateDevice(p,a,b,c)
(p)->lpVtbl->CreateDevice(
p,a,b,c)
#define IDirectInput7A_EnumDevices(p,a,b,c,d)
(p)->lpVtbl->EnumDevices(
p,a,b,c,d)
#define IDirectInput7A_GetDeviceStatus(p,a)
(p)->lpVtbl->GetDeviceStatus(
p,a)
#define IDirectInput7A_RunControlPanel(p,a,b)
(p)->lpVtbl->RunControlPanel(
p,a,b)
#define IDirectInput7A_Initialize(p,a,b)
(p)->lpVtbl->Initialize(
p,a,b)
/*** IDirectInput2A methods ***/
#define IDirectInput7A_FindDevice(p,a,b,c)
ICOM_CALL3(FindDevice,
p,a,b,c)
#define IDirectInput7A_FindDevice(p,a,b,c)
(p)->lpVtbl->FindDevice(
p,a,b,c)
/*** IDirectInput7A methods ***/
#define IDirectInput7A_CreateDeviceEx(p,a,b,c,d) ICOM_CALL4(CreateDeviceEx,p,a,b,c,d)
#define IDirectInput7A_CreateDeviceEx(p,a,b,c,d) (p)->lpVtbl->CreateDeviceEx(p,a,b,c,d)
#endif
#endif
/* DI7 */
#if DIRECTINPUT_VERSION >= 0x0800
...
...
@@ -1422,19 +1441,22 @@ ICOM_DEFINE(IDirectInput7A,IDirectInput2A)
ICOM_DEFINE
(
IDirectInput8A
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectInput8A_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectInput8A_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectInput8A_Release(p)
ICOM_CALL (Release,
p)
#define IDirectInput8A_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectInput8A_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectInput8A_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectInput8A methods ***/
#define IDirectInput8A_CreateDevice(p,a,b,c) ICOM_CALL3(CreateDevice,p,a,b,c)
#define IDirectInput8A_EnumDevices(p,a,b,c,d) ICOM_CALL4(EnumDevices,p,a,b,c,d)
#define IDirectInput8A_GetDeviceStatus(p,a) ICOM_CALL1(GetDeviceStatus,p,a)
#define IDirectInput8A_RunControlPanel(p,a,b) ICOM_CALL2(RunControlPanel,p,a,b)
#define IDirectInput8A_Initialize(p,a,b) ICOM_CALL2(Initialize,p,a,b)
#define IDirectInput8A_FindDevice(p,a,b,c) ICOM_CALL3(FindDevice,p,a,b,c)
#define IDirectInput8A_EnumDevicesBySemantics(p,a,b,c,d,e) ICOM_CALL5(EnumDevicesBySemantics,p,a,b,c,d,e)
#define IDirectInput8A_ConfigureDevices(p,a,b,c,d) ICOM_CALL4(ConfigureDevices,p,a,b,c,d)
#define IDirectInput8A_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
#define IDirectInput8A_EnumDevices(p,a,b,c,d) (p)->lpVtbl->EnumDevices(p,a,b,c,d)
#define IDirectInput8A_GetDeviceStatus(p,a) (p)->lpVtbl->GetDeviceStatus(p,a)
#define IDirectInput8A_RunControlPanel(p,a,b) (p)->lpVtbl->RunControlPanel(p,a,b)
#define IDirectInput8A_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
#define IDirectInput8A_FindDevice(p,a,b,c) (p)->lpVtbl->FindDevice(p,a,b,c)
#define IDirectInput8A_EnumDevicesBySemantics(p,a,b,c,d,e) (p)->lpVtbl->EnumDevicesBySemantics(p,a,b,c,d,e)
#define IDirectInput8A_ConfigureDevices(p,a,b,c,d) (p)->lpVtbl->ConfigureDevices(p,a,b,c,d)
#endif
#endif
/* DI8 */
/* Export functions */
...
...
include/dmplugin.h
View file @
55379110
...
...
@@ -82,17 +82,19 @@ DEFINE_GUID(CLSID_DirectMusicWaveTrack, 0xeed36461,0x9ea5,0x11d3,0x9b,0xd1,
ICOM_DEFINE
(
IDirectMusicTool
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicTool_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicTool_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicTool_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicTool_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicTool_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicTool_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicTool methods ***/
#define IDirectMusicTool_Init(p,a) ICOM_CALL1(Init,p,a)
#define IDirectMusicTool_GetMsgDeliveryType(p,a) ICOM_CALL1(GetMsgDeliveryType,p,a)
#define IDirectMusicTool_GetMediaTypeArraySize(p,a) ICOM_CALL1(GetMediaTypeArraySize,p,a)
#define IDirectMusicTool_GetMediaTypes(p,a,b) ICOM_CALL2(GetMediaTypes,p,a,b)
#define IDirectMusicTool_ProcessPMsg(p,a,b) ICOM_CALL2(ProcessPMsg,p,a,b)
#define IDirectMusicTool_Flush(p,a,b,c) ICOM_CALL3(Flush,p,a,b,c)
#define IDirectMusicTool_Init(p,a) (p)->lpVtbl->Init(p,a)
#define IDirectMusicTool_GetMsgDeliveryType(p,a) (p)->lpVtbl->GetMsgDeliveryType(p,a)
#define IDirectMusicTool_GetMediaTypeArraySize(p,a) (p)->lpVtbl->GetMediaTypeArraySize(p,a)
#define IDirectMusicTool_GetMediaTypes(p,a,b) (p)->lpVtbl->GetMediaTypes(p,a,b)
#define IDirectMusicTool_ProcessPMsg(p,a,b) (p)->lpVtbl->ProcessPMsg(p,a,b)
#define IDirectMusicTool_Flush(p,a,b,c) (p)->lpVtbl->Flush(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -112,19 +114,21 @@ ICOM_DEFINE(IDirectMusicTool,IUnknown)
ICOM_DEFINE
(
IDirectMusicTool8
,
IDirectMusicTool
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicTool8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicTool8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicTool8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicTool8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicTool8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicTool8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicTool methods ***/
#define IDirectMusicTool8_Init(p,a)
ICOM_CALL1(Init,
p,a)
#define IDirectMusicTool8_GetMsgDeliveryType(p,a)
ICOM_CALL1(GetMsgDeliveryType,
p,a)
#define IDirectMusicTool8_GetMediaTypeArraySize(p,a)
ICOM_CALL1(GetMediaTypeArraySize,
p,a)
#define IDirectMusicTool8_GetMediaTypes(p,a,b)
ICOM_CALL2(GetMediaTypes,
p,a,b)
#define IDirectMusicTool8_ProcessPMsg(p,a,b)
ICOM_CALL2(ProcessPMsg,
p,a,b)
#define IDirectMusicTool8_Flush(p,a,b)
ICOM_CALL2(Flush,
p,a,b)
#define IDirectMusicTool8_Init(p,a)
(p)->lpVtbl->Init(
p,a)
#define IDirectMusicTool8_GetMsgDeliveryType(p,a)
(p)->lpVtbl->GetMsgDeliveryType(
p,a)
#define IDirectMusicTool8_GetMediaTypeArraySize(p,a)
(p)->lpVtbl->GetMediaTypeArraySize(
p,a)
#define IDirectMusicTool8_GetMediaTypes(p,a,b)
(p)->lpVtbl->GetMediaTypes(
p,a,b)
#define IDirectMusicTool8_ProcessPMsg(p,a,b)
(p)->lpVtbl->ProcessPMsg(
p,a,b)
#define IDirectMusicTool8_Flush(p,a,b)
(p)->lpVtbl->Flush(
p,a,b)
/*** IDirectMusicTool8 methods ***/
#define IDirectMusicTool8_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IDirectMusicTool8_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#endif
typedef
enum
enumDMUS_TRACKF_FLAGS
...
...
@@ -171,21 +175,23 @@ typedef enum enumDMUS_TRACKF_FLAGS
ICOM_DEFINE
(
IDirectMusicTrack
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicTrack_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicTrack_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicTrack_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicTrack_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicTrack_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicTrack_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicTrack methods ***/
#define IDirectMusicTrack_Init(p,a) ICOM_CALL1(Init,p,a)
#define IDirectMusicTrack_InitPlay(p,a,b,c,d,e) ICOM_CALL5(InitPlay,p,a,b,c,d,e)
#define IDirectMusicTrack_EndPlay(p,a) ICOM_CALL1(EndPlay,p,a)
#define IDirectMusicTrack_Play(p,a,b,c,d,e,f,g,h) ICOM_CALL8(Play,p,a,b,c,d,e,f,g,h)
#define IDirectMusicTrack_GetParam(p,a,b,c,d) ICOM_CALL4(GetParam,p,a,b,c,d)
#define IDirectMusicTrack_SetParam(p,a,b,c) ICOM_CALL3(SetParam,p,a,b,c)
#define IDirectMusicTrack_IsParamSupported(p,a) ICOM_CALL1(IsParamSupported,p,a)
#define IDirectMusicTrack_AddNotificationType(p,a) ICOM_CALL1(AddNotificationType,p,a)
#define IDirectMusicTrack_RemoveNotificationType(p,a) ICOM_CALL1(RemoveNotificationType,p,a)
#define IDirectMusicTrack_Clone(p,a,b,c) ICOM_CALL3(Clone,p,a,b,c)
#define IDirectMusicTrack_Init(p,a) (p)->lpVtbl->Init(p,a)
#define IDirectMusicTrack_InitPlay(p,a,b,c,d,e) (p)->lpVtbl->InitPlay(p,a,b,c,d,e)
#define IDirectMusicTrack_EndPlay(p,a) (p)->lpVtbl->EndPlay(p,a)
#define IDirectMusicTrack_Play(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Play(p,a,b,c,d,e,f,g,h)
#define IDirectMusicTrack_GetParam(p,a,b,c,d) (p)->lpVtbl->GetParam(p,a,b,c,d)
#define IDirectMusicTrack_SetParam(p,a,b,c) (p)->lpVtbl->SetParam(p,a,b,c)
#define IDirectMusicTrack_IsParamSupported(p,a) (p)->lpVtbl->IsParamSupported(p,a)
#define IDirectMusicTrack_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a)
#define IDirectMusicTrack_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a)
#define IDirectMusicTrack_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -210,27 +216,29 @@ ICOM_DEFINE(IDirectMusicTrack,IUnknown)
ICOM_DEFINE
(
IDirectMusicTrack8
,
IDirectMusicTrack
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicTrack8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicTrack8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicTrack8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicTrack8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicTrack8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicTrack8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicTrack methods ***/
#define IDirectMusicTrack8_Init(p,a)
ICOM_CALL1(Init,
p,a)
#define IDirectMusicTrack8_InitPlay(p,a,b,c,d,e)
ICOM_CALL5(InitPlay,
p,a,b,c,d,e)
#define IDirectMusicTrack8_EndPlay(p,a)
ICOM_CALL1(EndPlay,
p,a)
#define IDirectMusicTrack8_Play(p,a,b,c,d,e,f,g,h)
ICOM_CALL8(Play,
p,a,b,c,d,e,f,g,h)
#define IDirectMusicTrack8_GetParam(p,a,b,c,d)
ICOM_CALL4(GetParam,
p,a,b,c,d)
#define IDirectMusicTrack8_SetParam(p,a,b,c)
ICOM_CALL3(SetParam,
p,a,b,c)
#define IDirectMusicTrack8_IsParamSupported(p,a)
ICOM_CALL1(IsParamSupported,
p,a)
#define IDirectMusicTrack8_AddNotificationType(p,a)
ICOM_CALL1(AddNotificationType,
p,a)
#define IDirectMusicTrack8_RemoveNotificationType(p,a)
ICOM_CALL1(RemoveNotificationType,
p,a)
#define IDirectMusicTrack8_Clone(p,a,b,c)
ICOM_CALL3(Clone,
p,a,b,c)
#define IDirectMusicTrack8_Init(p,a)
(p)->lpVtbl->Init(
p,a)
#define IDirectMusicTrack8_InitPlay(p,a,b,c,d,e)
(p)->lpVtbl->InitPlay(
p,a,b,c,d,e)
#define IDirectMusicTrack8_EndPlay(p,a)
(p)->lpVtbl->EndPlay(
p,a)
#define IDirectMusicTrack8_Play(p,a,b,c,d,e,f,g,h)
(p)->lpVtbl->Play(
p,a,b,c,d,e,f,g,h)
#define IDirectMusicTrack8_GetParam(p,a,b,c,d)
(p)->lpVtbl->GetParam(
p,a,b,c,d)
#define IDirectMusicTrack8_SetParam(p,a,b,c)
(p)->lpVtbl->SetParam(
p,a,b,c)
#define IDirectMusicTrack8_IsParamSupported(p,a)
(p)->lpVtbl->IsParamSupported(
p,a)
#define IDirectMusicTrack8_AddNotificationType(p,a)
(p)->lpVtbl->AddNotificationType(
p,a)
#define IDirectMusicTrack8_RemoveNotificationType(p,a)
(p)->lpVtbl->RemoveNotificationType(
p,a)
#define IDirectMusicTrack8_Clone(p,a,b,c)
(p)->lpVtbl->Clone(
p,a,b,c)
/*** IDirectMusicTrack8 methods ***/
#define IDirectMusicTrack8_PlayEx(p,a,b,c,d,e,f,g,h) ICOM_CALL8(PlayEx,p,a,b,c,d,e,f,g,h)
#define IDirectMusicTrack8_GetParamEx(p,a,b,c,d,e,f) ICOM_CALL6(GetParamEx,p,a,b,c,d,e,f)
#define IDirectMusicTrack8_SetParamEx(p,a,b,c,d,e) ICOM_CALL5(SetParamEx,p,a,b,c,d,e)
#define IDirectMusicTrack8_Compose(p,a,b,c) ICOM_CALL3(Compose,p,a,b,c)
#define IDirectMusicTrack8_Join(p,a,b,c,d,e) ICOM_CALL5(Join,p,a,b,c,d,e)
#define IDirectMusicTrack8_PlayEx(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->PlayEx(p,a,b,c,d,e,f,g,h)
#define IDirectMusicTrack8_GetParamEx(p,a,b,c,d,e,f) (p)->lpVtbl->GetParamEx(p,a,b,c,d,e,f)
#define IDirectMusicTrack8_SetParamEx(p,a,b,c,d,e) (p)->lpVtbl->SetParamEx(p,a,b,c,d,e)
#define IDirectMusicTrack8_Compose(p,a,b,c) (p)->lpVtbl->Compose(p,a,b,c)
#define IDirectMusicTrack8_Join(p,a,b,c,d,e) (p)->lpVtbl->Join(p,a,b,c,d,e)
#endif
#ifdef __cplusplus
...
...
include/dmusicc.h
View file @
55379110
...
...
@@ -306,20 +306,22 @@ typedef struct _DMUS_CLOCKINFO8
ICOM_DEFINE
(
IDirectMusic
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusic_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusic_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusic_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusic_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusic_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusic_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusic methods ***/
#define IDirectMusic_EnumPort(p,a,b) ICOM_CALL2(EnumPort,p,a,b)
#define IDirectMusic_CreateMusicBuffer(p,a,b,c) ICOM_CALL3(CreateMusicBuffer,p,a,b,c)
#define IDirectMusic_CreatePort(p,a,b,c,d) ICOM_CALL4(CreatePort,p,a,b,c,d)
#define IDirectMusic_EnumMasterClock(p,a,b) ICOM_CALL2(EnumMasterClock,p,a,b)
#define IDirectMusic_GetMasterClock(p,a,b) ICOM_CALL2(GetMasterClock,p,a,b)
#define IDirectMusic_SetMasterClock(p,a) ICOM_CALL1(SetMasterClock,p,a)
#define IDirectMusic_Activate(p,a) ICOM_CALL1(Activate,p,a)
#define IDirectMusic_GetDefaultPort(p,a) ICOM_CALL1(GetDefaultPort,p,a)
#define IDirectMusic_SetDirectSound(p,a,b) ICOM_CALL2(SetDirectSound,p,a,b)
#define IDirectMusic_EnumPort(p,a,b) (p)->lpVtbl->EnumPort(p,a,b)
#define IDirectMusic_CreateMusicBuffer(p,a,b,c) (p)->lpVtbl->CreateMusicBuffer(p,a,b,c)
#define IDirectMusic_CreatePort(p,a,b,c,d) (p)->lpVtbl->CreatePort(p,a,b,c,d)
#define IDirectMusic_EnumMasterClock(p,a,b) (p)->lpVtbl->EnumMasterClock(p,a,b)
#define IDirectMusic_GetMasterClock(p,a,b) (p)->lpVtbl->GetMasterClock(p,a,b)
#define IDirectMusic_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a)
#define IDirectMusic_Activate(p,a) (p)->lpVtbl->Activate(p,a)
#define IDirectMusic_GetDefaultPort(p,a) (p)->lpVtbl->GetDefaultPort(p,a)
#define IDirectMusic_SetDirectSound(p,a,b) (p)->lpVtbl->SetDirectSound(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -339,22 +341,24 @@ ICOM_DEFINE(IDirectMusic,IUnknown)
ICOM_DEFINE
(
IDirectMusic8
,
IDirectMusic
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusic8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusic8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusic8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusic8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusic8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusic8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusic methods ***/
#define IDirectMusic8_EnumPort(p,a,b)
ICOM_CALL2(EnumPort,
p,a,b)
#define IDirectMusic8_CreateMusicBuffer(p,a,b,c)
ICOM_CALL3(CreateMusicBuffer,
p,a,b,c)
#define IDirectMusic8_CreatePort(p,a,b,c,d)
ICOM_CALL4(CreatePort,
p,a,b,c,d)
#define IDirectMusic8_EnumMasterClock(p,a,b)
ICOM_CALL2(EnumMasterClock,
p,a,b)
#define IDirectMusic8_GetMasterClock(p,a,b)
ICOM_CALL2(GetMasterClock,
p,a,b)
#define IDirectMusic8_SetMasterClock(p,a)
ICOM_CALL1(SetMasterClock,
p,a)
#define IDirectMusic8_Activate(p,a)
ICOM_CALL1(Activate,
p,a)
#define IDirectMusic8_GetDefaultPort(p,a)
ICOM_CALL1(GetDefaultPort,
p,a)
#define IDirectMusic8_SetDirectSound(p,a,b)
ICOM_CALL2(SetDirectSound,
p,a,b)
#define IDirectMusic8_EnumPort(p,a,b)
(p)->lpVtbl->EnumPort(
p,a,b)
#define IDirectMusic8_CreateMusicBuffer(p,a,b,c)
(p)->lpVtbl->CreateMusicBuffer(
p,a,b,c)
#define IDirectMusic8_CreatePort(p,a,b,c,d)
(p)->lpVtbl->CreatePort(
p,a,b,c,d)
#define IDirectMusic8_EnumMasterClock(p,a,b)
(p)->lpVtbl->EnumMasterClock(
p,a,b)
#define IDirectMusic8_GetMasterClock(p,a,b)
(p)->lpVtbl->GetMasterClock(
p,a,b)
#define IDirectMusic8_SetMasterClock(p,a)
(p)->lpVtbl->SetMasterClock(
p,a)
#define IDirectMusic8_Activate(p,a)
(p)->lpVtbl->Activate(
p,a)
#define IDirectMusic8_GetDefaultPort(p,a)
(p)->lpVtbl->GetDefaultPort(
p,a)
#define IDirectMusic8_SetDirectSound(p,a,b)
(p)->lpVtbl->SetDirectSound(
p,a,b)
/*** IDirectMusic8 methods ***/
#define IDirectMusic8_SetExternalMasterClock(p,a) ICOM_CALL1(SetExternalMasterClock,p,a)
#define IDirectMusic8_SetExternalMasterClock(p,a) (p)->lpVtbl->SetExternalMasterClock(p,a)
#endif
/*****************************************************************************
...
...
@@ -385,25 +389,27 @@ ICOM_DEFINE(IDirectMusic8,IDirectMusic)
ICOM_DEFINE
(
IDirectMusicBuffer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicBuffer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicBuffer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicBuffer_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicBuffer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicBuffer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicBuffer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicBuffer methods ***/
#define IDirectMusicBuffer_Flush(p) ICOM_CALL (Flush,p)
#define IDirectMusicBuffer_TotalTime(p,a) ICOM_CALL1(TotalTime,p,a)
#define IDirectMusicBuffer_PackStructured(p,a,b,c) ICOM_CALL3(PackStructured,p,a,b,c)
#define IDirectMusicBuffer_PackUnstructured(p,a,b,c,d) ICOM_CALL4(PackUnstructured,p,a,b,c,d)
#define IDirectMusicBuffer_ResetReadPtr(p) ICOM_CALL (ResetReadPtr,p)
#define IDirectMusicBuffer_GetNextEvent(p,a,b,c,d) ICOM_CALL4(GetNextEvent,p,a,b,c,d)
#define IDirectMusicBuffer_GetRawBufferPtr(p,a) ICOM_CALL1(GetRawBufferPtr,p,a)
#define IDirectMusicBuffer_GetStartTime(p,a) ICOM_CALL1(GetStartTime,p,a)
#define IDirectMusicBuffer_GetUsedBytes(p,a) ICOM_CALL1(GetUsedBytes,p,a)
#define IDirectMusicBuffer_GetMaxBytes(p,a) ICOM_CALL1(GetMaxBytes,p,a)
#define IDirectMusicBuffer_GetBufferFormat(p,a) ICOM_CALL1(GetBufferFormat,p,a)
#define IDirectMusicBuffer_SetStartTime(p,a) ICOM_CALL1(SetStartTime,p,a)
#define IDirectMusicBuffer_SetUsedBytes(p,a) ICOM_CALL1(SetUsedBytes,p,a)
#define IDirectMusicBuffer_Flush(p) (p)->lpVtbl->Flush(p)
#define IDirectMusicBuffer_TotalTime(p,a) (p)->lpVtbl->TotalTime(p,a)
#define IDirectMusicBuffer_PackStructured(p,a,b,c) (p)->lpVtbl->PackStructured(p,a,b,c)
#define IDirectMusicBuffer_PackUnstructured(p,a,b,c,d) (p)->lpVtbl->PackUnstructured(p,a,b,c,d)
#define IDirectMusicBuffer_ResetReadPtr(p) (p)->lpVtbl->ResetReadPtr(p)
#define IDirectMusicBuffer_GetNextEvent(p,a,b,c,d) (p)->lpVtbl->GetNextEvent(p,a,b,c,d)
#define IDirectMusicBuffer_GetRawBufferPtr(p,a) (p)->lpVtbl->GetRawBufferPtr(p,a)
#define IDirectMusicBuffer_GetStartTime(p,a) (p)->lpVtbl->GetStartTime(p,a)
#define IDirectMusicBuffer_GetUsedBytes(p,a) (p)->lpVtbl->GetUsedBytes(p,a)
#define IDirectMusicBuffer_GetMaxBytes(p,a) (p)->lpVtbl->GetMaxBytes(p,a)
#define IDirectMusicBuffer_GetBufferFormat(p,a) (p)->lpVtbl->GetBufferFormat(p,a)
#define IDirectMusicBuffer_SetStartTime(p,a) (p)->lpVtbl->SetStartTime(p,a)
#define IDirectMusicBuffer_SetUsedBytes(p,a) (p)->lpVtbl->SetUsedBytes(p,a)
#endif
/*****************************************************************************
* IDirectMusicInstrument interface
*/
...
...
@@ -421,13 +427,15 @@ ICOM_DEFINE(IDirectMusicBuffer,IUnknown)
ICOM_DEFINE
(
IDirectMusicInstrument
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicInstrument_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicInstrument_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicInstrument_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicInstrument_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicInstrument_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicInstrument_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicInstrument methods ***/
#define IDirectMusicInstrument_GetPatch(p,a) ICOM_CALL1(GetPatch,p,a)
#define IDirectMusicInstrument_SetPatch(p,a) ICOM_CALL1(SetPatch,p,a)
#define IDirectMusicInstrument_GetPatch(p,a) (p)->lpVtbl->GetPatch(p,a)
#define IDirectMusicInstrument_SetPatch(p,a) (p)->lpVtbl->SetPatch(p,a)
#endif
/*****************************************************************************
...
...
@@ -446,12 +454,14 @@ ICOM_DEFINE(IDirectMusicInstrument,IUnknown)
ICOM_DEFINE
(
IDirectMusicDownloadedInstrument
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicDownloadedInstrument_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicDownloadedInstrument_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicDownloadedInstrument_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicDownloadedInstrument_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicDownloadedInstrument_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicDownloadedInstrument_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicDownloadedInstrument methods ***/
/* none at this time */
#endif
/*****************************************************************************
...
...
@@ -471,13 +481,15 @@ ICOM_DEFINE(IDirectMusicDownloadedInstrument,IUnknown)
ICOM_DEFINE
(
IDirectMusicCollection
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicCollection_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicCollection_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicCollection_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicCollection_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicCollection_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicCollection_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicCollection methods ***/
#define IDirectMusicCollection_GetInstrument(p,a,b) ICOM_CALL2(GetInstrument,p,a,b)
#define IDirectMusicCollection_EnumInstrument(p,a,b,c) ICOM_CALL3(EnumInstrument,p,a,b,c)
#define IDirectMusicCollection_GetInstrument(p,a,b) (p)->lpVtbl->GetInstrument(p,a,b)
#define IDirectMusicCollection_EnumInstrument(p,a,b,c) (p)->lpVtbl->EnumInstrument(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -496,12 +508,14 @@ ICOM_DEFINE(IDirectMusicCollection,IUnknown)
ICOM_DEFINE
(
IDirectMusicDownload
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicDownload_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicDownload_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicDownload_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicDownload_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicDownload_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicDownload_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicDownload methods ***/
#define IDirectMusicDownload_GetBuffer(p,a,b) ICOM_CALL2(GetBuffer,p,a,b)
#define IDirectMusicDownload_GetBuffer(p,a,b) (p)->lpVtbl->GetBuffer(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -518,24 +532,26 @@ ICOM_DEFINE(IDirectMusicDownload,IUnknown)
STDMETHOD(Download)(THIS_ IDirectMusicDownload *pIDMDownload) PURE; \
STDMETHOD(Unload)(THIS_ IDirectMusicDownload *pIDMDownload) PURE;
/*** IDirectMusicPortDownload methods ***/
/*** IDirectMusicPortDownload methods ***/
#define IDirectMusicPortDownload_IMETHODS \
IUnknown_IMETHODS \
IDirectMusicPortDownload_METHODS
ICOM_DEFINE
(
IDirectMusicPortDownload
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicPortDownload_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicPortDownload_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicPortDownload_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicPortDownload_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicPortDownload_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicPortDownload_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicPortDownload methods ***/
#define IDirectMusicPortDownload_GetBuffer(p,a,b) ICOM_CALL2(GetBuffer,p,a,b)
#define IDirectMusicPortDownload_AllocateBuffer(p,a,b) ICOM_CALL2(AllocateBuffer,p,a,b)
#define IDirectMusicPortDownload_GetDLId(p,a,b) ICOM_CALL2(GetDLId,p,a,b)
#define IDirectMusicPortDownload_GetAppend(p,a) ICOM_CALL1(GetAppend,p,a)
#define IDirectMusicPortDownload_Download(p,a) ICOM_CALL1(Download,p,a)
#define IDirectMusicPortDownload_Unload(p,a) ICOM_CALL1(GetBuffer,p,a)
#define IDirectMusicPortDownload_GetBuffer(p,a,b) (p)->lpVtbl->GetBuffer(p,a,b)
#define IDirectMusicPortDownload_AllocateBuffer(p,a,b) (p)->lpVtbl->AllocateBuffer(p,a,b)
#define IDirectMusicPortDownload_GetDLId(p,a,b) (p)->lpVtbl->GetDLId(p,a,b)
#define IDirectMusicPortDownload_GetAppend(p,a) (p)->lpVtbl->GetAppend(p,a)
#define IDirectMusicPortDownload_Download(p,a) (p)->lpVtbl->Download(p,a)
#define IDirectMusicPortDownload_Unload(p,a) (p)->lpVtbl->GetBuffer(p,a)
#endif
#ifndef __WINE_DIRECTAUDIO_PRIORITIES_DEFINED
...
...
@@ -615,27 +631,29 @@ ICOM_DEFINE(IDirectMusicPortDownload,IUnknown)
ICOM_DEFINE
(
IDirectMusicPort
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicPort_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicPort_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicPort_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicPort_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicPort_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicPort_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicPort methods ***/
#define IDirectMusicPort_PlayBuffer(p,a) ICOM_CALL1(PlayBuffer,p,a)
#define IDirectMusicPort_SetReadNotificationHandle(p,a) ICOM_CALL1(SetReadNotificationHandle,p,a)
#define IDirectMusicPort_Read(p,a) ICOM_CALL1(Read,p,a)
#define IDirectMusicPort_DownloadInstrument(p,a,b,c,d) ICOM_CALL4(DownloadInstrument,p,a,b,c,d)
#define IDirectMusicPort_UnloadInstrument(p,a) ICOM_CALL1(UnloadInstrument,p,a)
#define IDirectMusicPort_GetLatencyClock(p,a) ICOM_CALL1(GetLatencyClock,p,a)
#define IDirectMusicPort_GetRunningStats(p,a) ICOM_CALL1(GetRunningStats,p,a)
#define IDirectMusicPort_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectMusicPort_DeviceIoControl(p,a,b,c,d,e,f,g) ICOM_CALL7(DeviceIoControl,p,a,b,c,d,e,f,g)
#define IDirectMusicPort_SetNumChannelGroups(p,a) ICOM_CALL1(SetNumChannelGroups,p,a)
#define IDirectMusicPort_GetNumChannelGroups(p,a) ICOM_CALL1(GetNumChannelGroups,p,a)
#define IDirectMusicPort_Activate(p,a) ICOM_CALL1(Activate,p,a)
#define IDirectMusicPort_SetChannelPriority(p,a,b,c) ICOM_CALL3(SetChannelPriority,p,a,b,c)
#define IDirectMusicPort_GetChannelPriority(p,a,b,c) ICOM_CALL3(GetChannelPriority,p,a,b,c)
#define IDirectMusicPort_SetDirectSound(p,a,b) ICOM_CALL2(SetDirectSound,p,a,b)
#define IDirectMusicPort_GetFormat(p,a,b,c) ICOM_CALL3(GetFormat,p,a,b,c)
#define IDirectMusicPort_PlayBuffer(p,a) (p)->lpVtbl->PlayBuffer(p,a)
#define IDirectMusicPort_SetReadNotificationHandle(p,a) (p)->lpVtbl->SetReadNotificationHandle(p,a)
#define IDirectMusicPort_Read(p,a) (p)->lpVtbl->Read(p,a)
#define IDirectMusicPort_DownloadInstrument(p,a,b,c,d) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d)
#define IDirectMusicPort_UnloadInstrument(p,a) (p)->lpVtbl->UnloadInstrument(p,a)
#define IDirectMusicPort_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a)
#define IDirectMusicPort_GetRunningStats(p,a) (p)->lpVtbl->GetRunningStats(p,a)
#define IDirectMusicPort_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectMusicPort_DeviceIoControl(p,a,b,c,d,e,f,g) (p)->lpVtbl->DeviceIoControl(p,a,b,c,d,e,f,g)
#define IDirectMusicPort_SetNumChannelGroups(p,a) (p)->lpVtbl->SetNumChannelGroups(p,a)
#define IDirectMusicPort_GetNumChannelGroups(p,a) (p)->lpVtbl->GetNumChannelGroups(p,a)
#define IDirectMusicPort_Activate(p,a) (p)->lpVtbl->Activate(p,a)
#define IDirectMusicPort_SetChannelPriority(p,a,b,c) (p)->lpVtbl->SetChannelPriority(p,a,b,c)
#define IDirectMusicPort_GetChannelPriority(p,a,b,c) (p)->lpVtbl->GetChannelPriority(p,a,b,c)
#define IDirectMusicPort_SetDirectSound(p,a,b) (p)->lpVtbl->SetDirectSound(p,a,b)
#define IDirectMusicPort_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -654,12 +672,14 @@ ICOM_DEFINE(IDirectMusicPort,IUnknown)
ICOM_DEFINE
(
IDirectMusicThru
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicThru_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicThru_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicThru_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicThru_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicThru_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicThru_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicThru methods ***/
#define IDirectMusicThru_ThruChannel(p,a,b,c,d,e) ICOM_CALL5(ThruChannel,p,a,b,c,d,e)
#define IDirectMusicThru_ThruChannel(p,a,b,c,d,e) (p)->lpVtbl->ThruChannel(p,a,b,c,d,e)
#endif
/* this one should be defined in dsound.h too, but it's ok if it's here */
...
...
@@ -678,22 +698,24 @@ ICOM_DEFINE(IDirectMusicThru,IUnknown)
STDMETHOD(AdvisePeriodic)(THIS_ REFERENCE_TIME startTime, REFERENCE_TIME periodTime, HANDLE hSemaphore, DWORD *pdwAdviseCookie) PURE; \
STDMETHOD(Unadvise)(THIS_ DWORD dwAdviseCookie) PURE;
/*** IReferenceClock methods ***/
/*** IReferenceClock methods ***/
#define IReferenceClock_IMETHODS \
IUnknown_IMETHODS \
IReferenceClock_METHODS
ICOM_DEFINE
(
IReferenceClock
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IReferenceClock_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IReferenceClock_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IReferenceClock_Release(p)
ICOM_CALL (Release,
p)
#define IReferenceClock_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IReferenceClock_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IReferenceClock_Release(p)
(p)->lpVtbl->Release(
p)
/*** IReferenceClock methods ***/
#define IReferenceClock_GetTime(p,a) ICOM_CALL1(GetTime,p,a)
#define IReferenceClock_AdviseTime(p,a,b,c,d) ICOM_CALL4(AdviseTime,p,a,b,c,d)
#define IReferenceClock_AdvisePeriodic(p,a,b,c,d) ICOM_CALL4(AdvisePeriodic,p,a,b,c,d)
#define IReferenceClock_Unadvise(p,a) ICOM_CALL1(Unadvise,p,a)
#define IReferenceClock_GetTime(p,a) (p)->lpVtbl->GetTime(p,a)
#define IReferenceClock_AdviseTime(p,a,b,c,d) (p)->lpVtbl->AdviseTime(p,a,b,c,d)
#define IReferenceClock_AdvisePeriodic(p,a,b,c,d) (p)->lpVtbl->AdvisePeriodic(p,a,b,c,d)
#define IReferenceClock_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a)
#endif
#endif
/* __IReferenceClock_INTERFACE_DEFINED__ */
...
...
include/dmusici.h
View file @
55379110
...
...
@@ -809,14 +809,16 @@ typedef struct _DMUS_VARIATIONS_PARAM
ICOM_DEFINE
(
IDirectMusicBand
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicBand_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicBand_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicBand_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicBand_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicBand_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicBand_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicBand methods ***/
#define IDirectMusicBand_CreateSegment(p,a) ICOM_CALL1(CreateSegment,p,a)
#define IDirectMusicBand_Download(p,a) ICOM_CALL1(Download,p,a)
#define IDirectMusicBand_Unload(p,a) ICOM_CALL1(Unload,p,a)
#define IDirectMusicBand_CreateSegment(p,a) (p)->lpVtbl->CreateSegment(p,a)
#define IDirectMusicBand_Download(p,a) (p)->lpVtbl->Download(p,a)
#define IDirectMusicBand_Unload(p,a) (p)->lpVtbl->Unload(p,a)
#endif
/*****************************************************************************
...
...
@@ -837,14 +839,16 @@ ICOM_DEFINE(IDirectMusicBand,IUnknown)
ICOM_DEFINE
(
IDirectMusicObject
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicObject_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicObject_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicObject_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicObject_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicObject_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicObject_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicObject methods ***/
#define IDirectMusicObject_GetDescriptor(p,a) ICOM_CALL1(GetDescriptor,p,a)
#define IDirectMusicObject_SetDescriptor(p,a) ICOM_CALL1(SetDescriptor,p,a)
#define IDirectMusicObject_ParseDescriptor(p,a,b) ICOM_CALL2(ParseDescriptor,p,a,b)
#define IDirectMusicObject_GetDescriptor(p,a) (p)->lpVtbl->GetDescriptor(p,a)
#define IDirectMusicObject_SetDescriptor(p,a) (p)->lpVtbl->SetDescriptor(p,a)
#define IDirectMusicObject_ParseDescriptor(p,a,b) (p)->lpVtbl->ParseDescriptor(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -871,20 +875,22 @@ ICOM_DEFINE(IDirectMusicObject,IUnknown)
ICOM_DEFINE
(
IDirectMusicLoader
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicLoader_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicLoader_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicLoader_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicLoader_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicLoader_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicLoader_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicLoader methods ***/
#define IDirectMusicLoader_GetObject(p,a,b,c) ICOM_CALL3(_GetObject,p,a,b,c)
#define IDirectMusicLoader_SetObject(p,a) ICOM_CALL1(SetObject,p,a)
#define IDirectMusicLoader_SetSearchDirectory(p,a,b,c) ICOM_CALL3(SetSearchDirectory,p,a,b,c)
#define IDirectMusicLoader_ScanDirectory(p,a,b,c) ICOM_CALL3(ScanDirectory,p,a,b,c)
#define IDirectMusicLoader_CacheObject(p,a) ICOM_CALL1(CacheObject,p,a)
#define IDirectMusicLoader_ReleaseObject(p,a) ICOM_CALL1(ReleaseObject,p,a)
#define IDirectMusicLoader_ClearCache(p,a) ICOM_CALL1(ClearCache,p,a)
#define IDirectMusicLoader_EnableCache(p,a,b) ICOM_CALL2(EnableCache,p,a,b)
#define IDirectMusicLoader_EnumObject(p,a,b,c) ICOM_CALL3(EnumObject,p,a,b,c)
#define IDirectMusicLoader_GetObject(p,a,b,c) (p)->lpVtbl->_GetObject(p,a,b,c)
#define IDirectMusicLoader_SetObject(p,a) (p)->lpVtbl->SetObject(p,a)
#define IDirectMusicLoader_SetSearchDirectory(p,a,b,c) (p)->lpVtbl->SetSearchDirectory(p,a,b,c)
#define IDirectMusicLoader_ScanDirectory(p,a,b,c) (p)->lpVtbl->ScanDirectory(p,a,b,c)
#define IDirectMusicLoader_CacheObject(p,a) (p)->lpVtbl->CacheObject(p,a)
#define IDirectMusicLoader_ReleaseObject(p,a) (p)->lpVtbl->ReleaseObject(p,a)
#define IDirectMusicLoader_ClearCache(p,a) (p)->lpVtbl->ClearCache(p,a)
#define IDirectMusicLoader_EnableCache(p,a,b) (p)->lpVtbl->EnableCache(p,a,b)
#define IDirectMusicLoader_EnumObject(p,a,b,c) (p)->lpVtbl->EnumObject(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -906,24 +912,26 @@ ICOM_DEFINE(IDirectMusicLoader,IUnknown)
ICOM_DEFINE
(
IDirectMusicLoader8
,
IDirectMusicLoader
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicLoader8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicLoader8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicLoader8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicLoader8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicLoader8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicLoader8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicLoader methods ***/
#define IDirectMusicLoader8_GetObject(p,a,b,c)
ICOM_CALL3(_GetObject,
p,a,b,c)
#define IDirectMusicLoader8_SetObject(p,a)
ICOM_CALL1(SetObject,
p,a)
#define IDirectMusicLoader8_SetSearchDirectory(p,a,b,c)
ICOM_CALL3(SetSearchDirectory,
p,a,b,c)
#define IDirectMusicLoader8_ScanDirectory(p,a,b,c)
ICOM_CALL3(ScanDirectory,
p,a,b,c)
#define IDirectMusicLoader8_CacheObject(p,a)
ICOM_CALL1(CacheObject,
p,a)
#define IDirectMusicLoader8_ReleaseObject(p,a)
ICOM_CALL1(ReleaseObject,
p,a)
#define IDirectMusicLoader8_ClearCache(p,a)
ICOM_CALL1(ClearCache,
p,a)
#define IDirectMusicLoader8_EnableCache(p,a,b)
ICOM_CALL2(EnableCache,
p,a,b)
#define IDirectMusicLoader8_EnumObject(p,a,b,c)
ICOM_CALL3(EnumObject,
p,a,b,c)
#define IDirectMusicLoader8_GetObject(p,a,b,c)
(p)->lpVtbl->_GetObject(
p,a,b,c)
#define IDirectMusicLoader8_SetObject(p,a)
(p)->lpVtbl->SetObject(
p,a)
#define IDirectMusicLoader8_SetSearchDirectory(p,a,b,c)
(p)->lpVtbl->SetSearchDirectory(
p,a,b,c)
#define IDirectMusicLoader8_ScanDirectory(p,a,b,c)
(p)->lpVtbl->ScanDirectory(
p,a,b,c)
#define IDirectMusicLoader8_CacheObject(p,a)
(p)->lpVtbl->CacheObject(
p,a)
#define IDirectMusicLoader8_ReleaseObject(p,a)
(p)->lpVtbl->ReleaseObject(
p,a)
#define IDirectMusicLoader8_ClearCache(p,a)
(p)->lpVtbl->ClearCache(
p,a)
#define IDirectMusicLoader8_EnableCache(p,a,b)
(p)->lpVtbl->EnableCache(
p,a,b)
#define IDirectMusicLoader8_EnumObject(p,a,b,c)
(p)->lpVtbl->EnumObject(
p,a,b,c)
/*** IDirectMusicLoader8 methods ***/
#define IDirectMusicLoader8_CollectGarbage(p) ICOM_CALL (CollectGarbage,p)
#define IDirectMusicLoader8_ReleaseObjectByUnknown(p,a) ICOM_CALL1(ReleaseObjectByUnknown,p,a)
#define IDirectMusicLoader8_LoadObjectFromFile(p,a,b,c,d) ICOM_CALL4(LoadObjectFromFile,p,a,b,c,d)
#define IDirectMusicLoader8_CollectGarbage(p) (p)->lpVtbl->CollectGarbage(p)
#define IDirectMusicLoader8_ReleaseObjectByUnknown(p,a) (p)->lpVtbl->ReleaseObjectByUnknown(p,a)
#define IDirectMusicLoader8_LoadObjectFromFile(p,a,b,c,d) (p)->lpVtbl->LoadObjectFromFile(p,a,b,c,d)
#endif
/*****************************************************************************
...
...
@@ -942,12 +950,14 @@ ICOM_DEFINE(IDirectMusicLoader8,IDirectMusicLoader)
ICOM_DEFINE
(
IDirectMusicGetLoader
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicGetLoader_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicGetLoader_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicGetLoader_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicGetLoader_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicGetLoader_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicGetLoader_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicGetLoader methods ***/
#define IDirectMusicGetLoader_GetLoader(p,a) ICOM_CALL1(GetLoader,p,a)
#define IDirectMusicGetLoader_GetLoader(p,a) (p)->lpVtbl->GetLoader(p,a)
#endif
/*****************************************************************************
...
...
@@ -988,34 +998,36 @@ ICOM_DEFINE(IDirectMusicGetLoader,IUnknown)
ICOM_DEFINE
(
IDirectMusicSegment
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicSegment_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicSegment_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicSegment_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicSegment_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicSegment_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicSegment_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicSegment methods ***/
#define IDirectMusicSegment_GetLength(p,a) ICOM_CALL1(GetLength,p,a)
#define IDirectMusicSegment_SetLength(p,a) ICOM_CALL1(SetLength,p,a)
#define IDirectMusicSegment_GetRepeats(p,a) ICOM_CALL1(GetRepeats,p,a)
#define IDirectMusicSegment_SetRepeats(p,a) ICOM_CALL1(SetRepeats,p,a)
#define IDirectMusicSegment_GetDefaultResolution(p,a) ICOM_CALL1(GetDefaultResolution,p,a)
#define IDirectMusicSegment_SetDefaultResolution(p,a) ICOM_CALL1(SetDefaultResolution,p,a)
#define IDirectMusicSegment_GetTrack(p,a,b,c,d) ICOM_CALL4(GetTrack,p,a,b,c,d)
#define IDirectMusicSegment_GetTrackGroup(p,a,b) ICOM_CALL2(GetTrackGroup,p,a,b)
#define IDirectMusicSegment_InsertTrack(p,a,b) ICOM_CALL2(InsertTrack,p,a,b)
#define IDirectMusicSegment_RemoveTrack(p,a) ICOM_CALL1(RemoveTrack,p,a)
#define IDirectMusicSegment_InitPlay(p,a,b,c) ICOM_CALL3(InitPlay,p,a,b,c)
#define IDirectMusicSegment_GetGraph(p,a) ICOM_CALL1(GetGraph,p,a)
#define IDirectMusicSegment_SetGraph(p,a) ICOM_CALL1(SetGraph,p,a)
#define IDirectMusicSegment_AddNotificationType(p,a) ICOM_CALL1(AddNotificationType,p,a)
#define IDirectMusicSegment_RemoveNotificationType(p,a) ICOM_CALL1(RemoveNotificationType,p,a)
#define IDirectMusicSegment_GetParam(p,a,b,c,d,e,f) ICOM_CALL6(GetParam,p,a,b,c,d,e,f)
#define IDirectMusicSegment_SetParam(p,a,b,c,d,e) ICOM_CALL5(SetParam,p,a,b,c,d,e)
#define IDirectMusicSegment_Clone(p,a,b,c) ICOM_CALL3(Clone,p,a,b,c)
#define IDirectMusicSegment_SetStartPoint(p,a) ICOM_CALL1(SetStartPoint,p,a)
#define IDirectMusicSegment_GetStartPoint(p,a) ICOM_CALL1(GetStartPoint,p,a)
#define IDirectMusicSegment_SetLoopPoints(p,a,b) ICOM_CALL2(SetLoopPoints,p,a,b)
#define IDirectMusicSegment_GetLoopPoints(p,a,b) ICOM_CALL2(GetLoopPoints,p,a,b)
#define IDirectMusicSegment_SetPChannelsUsed(p,a,b) ICOM_CALL2(SetPChannelsUsed,p,a,b)
#define IDirectMusicSegment_GetLength(p,a) (p)->lpVtbl->GetLength(p,a)
#define IDirectMusicSegment_SetLength(p,a) (p)->lpVtbl->SetLength(p,a)
#define IDirectMusicSegment_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a)
#define IDirectMusicSegment_SetRepeats(p,a) (p)->lpVtbl->SetRepeats(p,a)
#define IDirectMusicSegment_GetDefaultResolution(p,a) (p)->lpVtbl->GetDefaultResolution(p,a)
#define IDirectMusicSegment_SetDefaultResolution(p,a) (p)->lpVtbl->SetDefaultResolution(p,a)
#define IDirectMusicSegment_GetTrack(p,a,b,c,d) (p)->lpVtbl->GetTrack(p,a,b,c,d)
#define IDirectMusicSegment_GetTrackGroup(p,a,b) (p)->lpVtbl->GetTrackGroup(p,a,b)
#define IDirectMusicSegment_InsertTrack(p,a,b) (p)->lpVtbl->InsertTrack(p,a,b)
#define IDirectMusicSegment_RemoveTrack(p,a) (p)->lpVtbl->RemoveTrack(p,a)
#define IDirectMusicSegment_InitPlay(p,a,b,c) (p)->lpVtbl->InitPlay(p,a,b,c)
#define IDirectMusicSegment_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a)
#define IDirectMusicSegment_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a)
#define IDirectMusicSegment_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a)
#define IDirectMusicSegment_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a)
#define IDirectMusicSegment_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f)
#define IDirectMusicSegment_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e)
#define IDirectMusicSegment_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c)
#define IDirectMusicSegment_SetStartPoint(p,a) (p)->lpVtbl->SetStartPoint(p,a)
#define IDirectMusicSegment_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a)
#define IDirectMusicSegment_SetLoopPoints(p,a,b) (p)->lpVtbl->SetLoopPoints(p,a,b)
#define IDirectMusicSegment_GetLoopPoints(p,a,b) (p)->lpVtbl->GetLoopPoints(p,a,b)
#define IDirectMusicSegment_SetPChannelsUsed(p,a,b) (p)->lpVtbl->SetPChannelsUsed(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -1039,40 +1051,42 @@ ICOM_DEFINE(IDirectMusicSegment,IUnknown)
ICOM_DEFINE
(
IDirectMusicSegment8
,
IDirectMusicSegment
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicSegment8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicSegment8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicSegment8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicSegment8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicSegment8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicSegment8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicSegment methods ***/
#define IDirectMusicSegment8_GetLength(p,a)
ICOM_CALL1(GetLength,
p,a)
#define IDirectMusicSegment8_SetLength(p,a)
ICOM_CALL1(SetLength,
p,a)
#define IDirectMusicSegment8_GetRepeats(p,a)
ICOM_CALL1(GetRepeats,
p,a)
#define IDirectMusicSegment8_SetRepeats(p,a)
ICOM_CALL1(SetRepeats,
p,a)
#define IDirectMusicSegment8_GetDefaultResolution(p,a)
ICOM_CALL1(GetDefaultResolution,
p,a)
#define IDirectMusicSegment8_SetDefaultResolution(p,a)
ICOM_CALL1(SetDefaultResolution,
p,a)
#define IDirectMusicSegment8_GetTrack(p,a,b,c,d)
ICOM_CALL4(GetTrack,
p,a,b,c,d)
#define IDirectMusicSegment8_GetTrackGroup(p,a,b)
ICOM_CALL2(GetTrackGroup,
p,a,b)
#define IDirectMusicSegment8_InsertTrack(p,a,b)
ICOM_CALL2(InsertTrack,
p,a,b)
#define IDirectMusicSegment8_RemoveTrack(p,a)
ICOM_CALL1(RemoveTrack,
p,a)
#define IDirectMusicSegment8_InitPlay(p,a,b,c)
ICOM_CALL3(InitPlay,
p,a,b,c)
#define IDirectMusicSegment8_GetGraph(p,a)
ICOM_CALL1(GetGraph,
p,a)
#define IDirectMusicSegment8_SetGraph(p,a)
ICOM_CALL1(SetGraph,
p,a)
#define IDirectMusicSegment8_AddNotificationType(p,a)
ICOM_CALL1(AddNotificationType,
p,a)
#define IDirectMusicSegment8_RemoveNotificationType(p,a)
ICOM_CALL1(RemoveNotificationType,
p,a)
#define IDirectMusicSegment8_GetParam(p,a,b,c,d,e,f)
ICOM_CALL6(GetParam,
p,a,b,c,d,e,f)
#define IDirectMusicSegment8_SetParam(p,a,b,c,d,e)
ICOM_CALL5(SetParam,
p,a,b,c,d,e)
#define IDirectMusicSegment8_Clone(p,a,b,c)
ICOM_CALL3(Clone,
p,a,b,c)
#define IDirectMusicSegment8_SetStartPoint(p,a)
ICOM_CALL1(SetStartPoint,
p,a)
#define IDirectMusicSegment8_GetStartPoint(p,a)
ICOM_CALL1(GetStartPoint,
p,a)
#define IDirectMusicSegment8_SetLoopPoints(p,a,b)
ICOM_CALL2(SetLoopPoints,
p,a,b)
#define IDirectMusicSegment8_GetLoopPoints(p,a,b)
ICOM_CALL2(GetLoopPoints,
p,a,b)
#define IDirectMusicSegment8_SetPChannelsUsed(p,a,b)
ICOM_CALL2(SetPChannelsUsed,
p,a,b)
#define IDirectMusicSegment8_GetLength(p,a)
(p)->lpVtbl->GetLength(
p,a)
#define IDirectMusicSegment8_SetLength(p,a)
(p)->lpVtbl->SetLength(
p,a)
#define IDirectMusicSegment8_GetRepeats(p,a)
(p)->lpVtbl->GetRepeats(
p,a)
#define IDirectMusicSegment8_SetRepeats(p,a)
(p)->lpVtbl->SetRepeats(
p,a)
#define IDirectMusicSegment8_GetDefaultResolution(p,a)
(p)->lpVtbl->GetDefaultResolution(
p,a)
#define IDirectMusicSegment8_SetDefaultResolution(p,a)
(p)->lpVtbl->SetDefaultResolution(
p,a)
#define IDirectMusicSegment8_GetTrack(p,a,b,c,d)
(p)->lpVtbl->GetTrack(
p,a,b,c,d)
#define IDirectMusicSegment8_GetTrackGroup(p,a,b)
(p)->lpVtbl->GetTrackGroup(
p,a,b)
#define IDirectMusicSegment8_InsertTrack(p,a,b)
(p)->lpVtbl->InsertTrack(
p,a,b)
#define IDirectMusicSegment8_RemoveTrack(p,a)
(p)->lpVtbl->RemoveTrack(
p,a)
#define IDirectMusicSegment8_InitPlay(p,a,b,c)
(p)->lpVtbl->InitPlay(
p,a,b,c)
#define IDirectMusicSegment8_GetGraph(p,a)
(p)->lpVtbl->GetGraph(
p,a)
#define IDirectMusicSegment8_SetGraph(p,a)
(p)->lpVtbl->SetGraph(
p,a)
#define IDirectMusicSegment8_AddNotificationType(p,a)
(p)->lpVtbl->AddNotificationType(
p,a)
#define IDirectMusicSegment8_RemoveNotificationType(p,a)
(p)->lpVtbl->RemoveNotificationType(
p,a)
#define IDirectMusicSegment8_GetParam(p,a,b,c,d,e,f)
(p)->lpVtbl->GetParam(
p,a,b,c,d,e,f)
#define IDirectMusicSegment8_SetParam(p,a,b,c,d,e)
(p)->lpVtbl->SetParam(
p,a,b,c,d,e)
#define IDirectMusicSegment8_Clone(p,a,b,c)
(p)->lpVtbl->Clone(
p,a,b,c)
#define IDirectMusicSegment8_SetStartPoint(p,a)
(p)->lpVtbl->SetStartPoint(
p,a)
#define IDirectMusicSegment8_GetStartPoint(p,a)
(p)->lpVtbl->GetStartPoint(
p,a)
#define IDirectMusicSegment8_SetLoopPoints(p,a,b)
(p)->lpVtbl->SetLoopPoints(
p,a,b)
#define IDirectMusicSegment8_GetLoopPoints(p,a,b)
(p)->lpVtbl->GetLoopPoints(
p,a,b)
#define IDirectMusicSegment8_SetPChannelsUsed(p,a,b)
(p)->lpVtbl->SetPChannelsUsed(
p,a,b)
/*** IDirectMusicSegment8 methods ***/
#define IDirectMusicSegment8_SetTrackConfig(p,a,b,c,d,e) ICOM_CALL5(SetTrackConfig,p,a,b,c,d,e)
#define IDirectMusicSegment8_GetAudioPathConfig(p,a) ICOM_CALL1(GetAudioPathConfig,p,a)
#define IDirectMusicSegment8_Compose(p,a,b,c,d) ICOM_CALL4(Compose,p,a,b,c,d)
#define IDirectMusicSegment8_Download(p,a) ICOM_CALL1(Download,p,a)
#define IDirectMusicSegment8_Unload(p,a) ICOM_CALL1(Unload,p,a)
#define IDirectMusicSegment8_SetTrackConfig(p,a,b,c,d,e) (p)->lpVtbl->SetTrackConfig(p,a,b,c,d,e)
#define IDirectMusicSegment8_GetAudioPathConfig(p,a) (p)->lpVtbl->GetAudioPathConfig(p,a)
#define IDirectMusicSegment8_Compose(p,a,b,c,d) (p)->lpVtbl->Compose(p,a,b,c,d)
#define IDirectMusicSegment8_Download(p,a) (p)->lpVtbl->Download(p,a)
#define IDirectMusicSegment8_Unload(p,a) (p)->lpVtbl->Unload(p,a)
#endif
/*****************************************************************************
...
...
@@ -1095,16 +1109,18 @@ ICOM_DEFINE(IDirectMusicSegment8,IDirectMusicSegment)
ICOM_DEFINE
(
IDirectMusicSegmentState
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicSegmentState_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicSegmentState_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicSegmentState_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicSegmentState_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicSegmentState_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicSegmentState_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicSegmentState methods ***/
#define IDirectMusicSegmentState_GetRepeats(p,a) ICOM_CALL1(GetRepeats,p,a)
#define IDirectMusicSegmentState_GetSegment(p,a) ICOM_CALL1(GetSegment,p,a)
#define IDirectMusicSegmentState_GetStartTime(p,a) ICOM_CALL1(GetStartTime,p,a)
#define IDirectMusicSegmentState_GetSeek(p,a) ICOM_CALL1(GetSeek,p,a)
#define IDirectMusicSegmentState_GetStartPoint(p,a) ICOM_CALL1(GetStartPoint,p,a)
#define IDirectMusicSegmentState_GetRepeats(p,a) (p)->lpVtbl->GetRepeats(p,a)
#define IDirectMusicSegmentState_GetSegment(p,a) (p)->lpVtbl->GetSegment(p,a)
#define IDirectMusicSegmentState_GetStartTime(p,a) (p)->lpVtbl->GetStartTime(p,a)
#define IDirectMusicSegmentState_GetSeek(p,a) (p)->lpVtbl->GetSeek(p,a)
#define IDirectMusicSegmentState_GetStartPoint(p,a) (p)->lpVtbl->GetStartPoint(p,a)
#endif
/*****************************************************************************
...
...
@@ -1125,19 +1141,21 @@ ICOM_DEFINE(IDirectMusicSegmentState,IUnknown)
ICOM_DEFINE
(
IDirectMusicSegmentState8
,
IDirectMusicSegmentState
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicSegmentState8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicSegmentState8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicSegmentState8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicSegmentState8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicSegmentState8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicSegmentState8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicSegmentState methods ***/
#define IDirectMusicSegmentState8_GetRepeats(p,a)
ICOM_CALL1(GetRepeats,
p,a)
#define IDirectMusicSegmentState8_GetSegment(p,a)
ICOM_CALL1(GetSegment,
p,a)
#define IDirectMusicSegmentState8_GetStartTime(p,a)
ICOM_CALL1(GetStartTime,
p,a)
#define IDirectMusicSegmentState8_GetSeek(p,a)
ICOM_CALL1(GetSeek,
p,a)
#define IDirectMusicSegmentState8_GetStartPoint(p,a)
ICOM_CALL1(GetStartPoint,
p,a)
#define IDirectMusicSegmentState8_GetRepeats(p,a)
(p)->lpVtbl->GetRepeats(
p,a)
#define IDirectMusicSegmentState8_GetSegment(p,a)
(p)->lpVtbl->GetSegment(
p,a)
#define IDirectMusicSegmentState8_GetStartTime(p,a)
(p)->lpVtbl->GetStartTime(
p,a)
#define IDirectMusicSegmentState8_GetSeek(p,a)
(p)->lpVtbl->GetSeek(
p,a)
#define IDirectMusicSegmentState8_GetStartPoint(p,a)
(p)->lpVtbl->GetStartPoint(
p,a)
/*** IDirectMusicSegmentState8 methods ***/
#define IDirectMusicSegmentState8_SetTrackConfig(p,a,b,c,d,e) ICOM_CALL5(SetTrackConfig,p,a,b,c,d,e)
#define IDirectMusicSegmentState8_GetObjectInPath(p,a,b,c,d,e,f,g) ICOM_CALL7(GetObjectInPath,p,a,b,c,d,e,f,g)
#define IDirectMusicSegmentState8_SetTrackConfig(p,a,b,c,d,e) (p)->lpVtbl->SetTrackConfig(p,a,b,c,d,e)
#define IDirectMusicSegmentState8_GetObjectInPath(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d,e,f,g)
#endif
/*****************************************************************************
...
...
@@ -1159,15 +1177,17 @@ ICOM_DEFINE(IDirectMusicSegmentState8,IDirectMusicSegmentState)
ICOM_DEFINE
(
IDirectMusicAudioPath
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicAudioPath_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicAudioPath_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicAudioPath_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicAudioPath_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicAudioPath_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicAudioPath_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicAudioPath methods ***/
#define IDirectMusicAudioPath_GetObjectInPath(p,a,b,c,d,e,f,g) ICOM_CALL7(GetObjectInPath,p,a,b,c,d,e,f,g)
#define IDirectMusicAudioPath_Activate(p,a) ICOM_CALL1(Activate,p,a)
#define IDirectMusicAudioPath_SetVolume(p,a,b) ICOM_CALL2(SetVolume,p,a,b)
#define IDirectMusicAudioPath_ConvertPChannel(p,a,b) ICOM_CALL2(ConvertPChannel,p,a,b)
#define IDirectMusicAudioPath_GetObjectInPath(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d,e,f,g)
#define IDirectMusicAudioPath_Activate(p,a) (p)->lpVtbl->Activate(p,a)
#define IDirectMusicAudioPath_SetVolume(p,a,b) (p)->lpVtbl->SetVolume(p,a,b)
#define IDirectMusicAudioPath_ConvertPChannel(p,a,b) (p)->lpVtbl->ConvertPChannel(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -1226,52 +1246,54 @@ ICOM_DEFINE(IDirectMusicAudioPath,IUnknown)
ICOM_DEFINE
(
IDirectMusicPerformance
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicPerformance_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicPerformance_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicPerformance_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicPerformance_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicPerformance_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicPerformance_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicPerformance methods ***/
#define IDirectMusicPerformance_Init(p,a,b,c) ICOM_CALL3(Init,p,a,b,c)
#define IDirectMusicPerformance_PlaySegment(p,a,b,c,d) ICOM_CALL4(PlaySegment,p,a,b,c,d)
#define IDirectMusicPerformance_Stop(p,a,b,c,d) ICOM_CALL4(Stop,p,a,b,c,d)
#define IDirectMusicPerformance_GetSegmentState(p,a,b) ICOM_CALL2(GetSegmentState,p,a,b)
#define IDirectMusicPerformance_SetPrepareTime(p,a) ICOM_CALL1(SetPrepareTime,p,a)
#define IDirectMusicPerformance_GetPrepareTime(p,a) ICOM_CALL1(GetPrepareTime,p,a)
#define IDirectMusicPerformance_SetBumperLength(p,a) ICOM_CALL1(SetBumperLength,p,a)
#define IDirectMusicPerformance_GetBumperLength(p,a) ICOM_CALL1(GetBumperLength,p,a)
#define IDirectMusicPerformance_SendPMsg(p,a) ICOM_CALL1(SendPMsg,p,a)
#define IDirectMusicPerformance_MusicToReferenceTime(p,a,b) ICOM_CALL2(MusicToReferenceTime,p,a,b)
#define IDirectMusicPerformance_ReferenceToMusicTime(p,a,b) ICOM_CALL2(ReferenceToMusicTime,p,a,b)
#define IDirectMusicPerformance_IsPlaying(p,a,b) ICOM_CALL2(IsPlaying,p,a,b)
#define IDirectMusicPerformance_GetTime(p,a,b) ICOM_CALL2(GetTime,p,a,b)
#define IDirectMusicPerformance_AllocPMsg(p,a,b) ICOM_CALL2(AllocPMsg,p,a,b)
#define IDirectMusicPerformance_FreePMsg(p,a) ICOM_CALL1(FreePMsg,p,a)
#define IDirectMusicPerformance_GetGraph(p,a) ICOM_CALL1(GetGraph,p,a)
#define IDirectMusicPerformance_SetGraph(p,a) ICOM_CALL1(SetGraph,p,a)
#define IDirectMusicPerformance_SetNotificationHandle(p,a,b) ICOM_CALL2(SetNotificationHandle,p,a,b)
#define IDirectMusicPerformance_GetNotificationPMsg(p,a) ICOM_CALL1(GetNotificationPMsg,p,a)
#define IDirectMusicPerformance_AddNotificationType(p,a) ICOM_CALL1(AddNotificationType,p,a)
#define IDirectMusicPerformance_RemoveNotificationType(p,a) ICOM_CALL1(RemoveNotificationType,p,a)
#define IDirectMusicPerformance_AddPort(p,a) ICOM_CALL1(AddPort,p,a)
#define IDirectMusicPerformance_RemovePort(p,a) ICOM_CALL1(RemovePort,p,a)
#define IDirectMusicPerformance_AssignPChannelBlock(p,a,b,c) ICOM_CALL3(AssignPChannelBlock,p,a,b,c)
#define IDirectMusicPerformance_AssignPChannel(p,a,b,c,d) ICOM_CALL4(AssignPChannel,p,a,b,c,d)
#define IDirectMusicPerformance_PChannelInfo(p,a,b,c,d) ICOM_CALL4(PChannelInfo,p,a,b,c,d)
#define IDirectMusicPerformance_DownloadInstrument(p,a,b,c,d,e,f,g,h) ICOM_CALL8(DownloadInstrument,p,a,b,c,d,e,f,g,h)
#define IDirectMusicPerformance_Invalidate(p,a,b) ICOM_CALL2(Invalidate,p,a,b)
#define IDirectMusicPerformance_GetParam(p,a,b,c,d,e,f) ICOM_CALL6(GetParam,p,a,b,c,d,e,f)
#define IDirectMusicPerformance_SetParam(p,a,b,c,d,e) ICOM_CALL5(SetParam,p,a,b,c,d,e)
#define IDirectMusicPerformance_GetGlobalParam(p,a,b,c) ICOM_CALL3(GetGlobalParam,p,a,b,c)
#define IDirectMusicPerformance_SetGlobalParam(p,a,b,c) ICOM_CALL3(SetGlobalParam,p,a,b,c)
#define IDirectMusicPerformance_GetLatencyTime(p,a) ICOM_CALL1(GetLatencyTime,p,a)
#define IDirectMusicPerformance_GetQueueTime(p,a) ICOM_CALL1(GetQueueTime,p,a)
#define IDirectMusicPerformance_AdjustTime(p,a) ICOM_CALL1(AdjustTime,p,a)
#define IDirectMusicPerformance_CloseDown(p) ICOM_CALL (CloseDown,p)
#define IDirectMusicPerformance_GetResolvedTime(p,a,b,c) ICOM_CALL3(GetResolvedTime,p,a,b,c)
#define IDirectMusicPerformance_MIDIToMusic(p,a,b,c,d,e) ICOM_CALL5(MIDIToMusic,p,a,b,c,d,e)
#define IDirectMusicPerformance_MusicToMIDI(p,a,b,c,d,e) ICOM_CALL5(MusicToMIDI,p,a,b,c,d,e)
#define IDirectMusicPerformance_TimeToRhythm(p,a,b,c,d,e,f) ICOM_CALL6(TimeToRhythm,p,a,b,c,d,e,f)
#define IDirectMusicPerformance_RhythmToTime(p,a,b,c,d,e,f) ICOM_CALL6(RhythmToTime,p,a,b,c,d,e,f)
#define IDirectMusicPerformance_Init(p,a,b,c) (p)->lpVtbl->Init(p,a,b,c)
#define IDirectMusicPerformance_PlaySegment(p,a,b,c,d) (p)->lpVtbl->PlaySegment(p,a,b,c,d)
#define IDirectMusicPerformance_Stop(p,a,b,c,d) (p)->lpVtbl->Stop(p,a,b,c,d)
#define IDirectMusicPerformance_GetSegmentState(p,a,b) (p)->lpVtbl->GetSegmentState(p,a,b)
#define IDirectMusicPerformance_SetPrepareTime(p,a) (p)->lpVtbl->SetPrepareTime(p,a)
#define IDirectMusicPerformance_GetPrepareTime(p,a) (p)->lpVtbl->GetPrepareTime(p,a)
#define IDirectMusicPerformance_SetBumperLength(p,a) (p)->lpVtbl->SetBumperLength(p,a)
#define IDirectMusicPerformance_GetBumperLength(p,a) (p)->lpVtbl->GetBumperLength(p,a)
#define IDirectMusicPerformance_SendPMsg(p,a) (p)->lpVtbl->SendPMsg(p,a)
#define IDirectMusicPerformance_MusicToReferenceTime(p,a,b) (p)->lpVtbl->MusicToReferenceTime(p,a,b)
#define IDirectMusicPerformance_ReferenceToMusicTime(p,a,b) (p)->lpVtbl->ReferenceToMusicTime(p,a,b)
#define IDirectMusicPerformance_IsPlaying(p,a,b) (p)->lpVtbl->IsPlaying(p,a,b)
#define IDirectMusicPerformance_GetTime(p,a,b) (p)->lpVtbl->GetTime(p,a,b)
#define IDirectMusicPerformance_AllocPMsg(p,a,b) (p)->lpVtbl->AllocPMsg(p,a,b)
#define IDirectMusicPerformance_FreePMsg(p,a) (p)->lpVtbl->FreePMsg(p,a)
#define IDirectMusicPerformance_GetGraph(p,a) (p)->lpVtbl->GetGraph(p,a)
#define IDirectMusicPerformance_SetGraph(p,a) (p)->lpVtbl->SetGraph(p,a)
#define IDirectMusicPerformance_SetNotificationHandle(p,a,b) (p)->lpVtbl->SetNotificationHandle(p,a,b)
#define IDirectMusicPerformance_GetNotificationPMsg(p,a) (p)->lpVtbl->GetNotificationPMsg(p,a)
#define IDirectMusicPerformance_AddNotificationType(p,a) (p)->lpVtbl->AddNotificationType(p,a)
#define IDirectMusicPerformance_RemoveNotificationType(p,a) (p)->lpVtbl->RemoveNotificationType(p,a)
#define IDirectMusicPerformance_AddPort(p,a) (p)->lpVtbl->AddPort(p,a)
#define IDirectMusicPerformance_RemovePort(p,a) (p)->lpVtbl->RemovePort(p,a)
#define IDirectMusicPerformance_AssignPChannelBlock(p,a,b,c) (p)->lpVtbl->AssignPChannelBlock(p,a,b,c)
#define IDirectMusicPerformance_AssignPChannel(p,a,b,c,d) (p)->lpVtbl->AssignPChannel(p,a,b,c,d)
#define IDirectMusicPerformance_PChannelInfo(p,a,b,c,d) (p)->lpVtbl->PChannelInfo(p,a,b,c,d)
#define IDirectMusicPerformance_DownloadInstrument(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DownloadInstrument(p,a,b,c,d,e,f,g,h)
#define IDirectMusicPerformance_Invalidate(p,a,b) (p)->lpVtbl->Invalidate(p,a,b)
#define IDirectMusicPerformance_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f)
#define IDirectMusicPerformance_SetParam(p,a,b,c,d,e) (p)->lpVtbl->SetParam(p,a,b,c,d,e)
#define IDirectMusicPerformance_GetGlobalParam(p,a,b,c) (p)->lpVtbl->GetGlobalParam(p,a,b,c)
#define IDirectMusicPerformance_SetGlobalParam(p,a,b,c) (p)->lpVtbl->SetGlobalParam(p,a,b,c)
#define IDirectMusicPerformance_GetLatencyTime(p,a) (p)->lpVtbl->GetLatencyTime(p,a)
#define IDirectMusicPerformance_GetQueueTime(p,a) (p)->lpVtbl->GetQueueTime(p,a)
#define IDirectMusicPerformance_AdjustTime(p,a) (p)->lpVtbl->AdjustTime(p,a)
#define IDirectMusicPerformance_CloseDown(p) (p)->lpVtbl->CloseDown(p)
#define IDirectMusicPerformance_GetResolvedTime(p,a,b,c) (p)->lpVtbl->GetResolvedTime(p,a,b,c)
#define IDirectMusicPerformance_MIDIToMusic(p,a,b,c,d,e) (p)->lpVtbl->MIDIToMusic(p,a,b,c,d,e)
#define IDirectMusicPerformance_MusicToMIDI(p,a,b,c,d,e) (p)->lpVtbl->MusicToMIDI(p,a,b,c,d,e)
#define IDirectMusicPerformance_TimeToRhythm(p,a,b,c,d,e,f) (p)->lpVtbl->TimeToRhythm(p,a,b,c,d,e,f)
#define IDirectMusicPerformance_RhythmToTime(p,a,b,c,d,e,f) (p)->lpVtbl->RhythmToTime(p,a,b,c,d,e,f)
#endif
/*****************************************************************************
...
...
@@ -1299,62 +1321,64 @@ ICOM_DEFINE(IDirectMusicPerformance,IUnknown)
ICOM_DEFINE
(
IDirectMusicPerformance8
,
IDirectMusicPerformance
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicPerformance8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicPerformance8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicPerformance8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicPerformance8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicPerformance8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicPerformance8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicPerformance methods ***/
#define IDirectMusicPerformance8_Init(p,a,b,c)
ICOM_CALL3(Init,
p,a,b,c)
#define IDirectMusicPerformance8_PlaySegment(p,a,b,c,d)
ICOM_CALL4(PlaySegment,
p,a,b,c,d)
#define IDirectMusicPerformance8_Stop(p,a,b,c,d)
ICOM_CALL4(Stop,
p,a,b,c,d)
#define IDirectMusicPerformance8_GetSegmentState(p,a,b)
ICOM_CALL2(GetSegmentState,
p,a,b)
#define IDirectMusicPerformance8_SetPrepareTime(p,a)
ICOM_CALL1(SetPrepareTime,
p,a)
#define IDirectMusicPerformance8_GetPrepareTime(p,a)
ICOM_CALL1(GetPrepareTime,
p,a)
#define IDirectMusicPerformance8_SetBumperLength(p,a)
ICOM_CALL1(SetBumperLength,
p,a)
#define IDirectMusicPerformance8_GetBumperLength(p,a)
ICOM_CALL1(GetBumperLength,
p,a)
#define IDirectMusicPerformance8_SendPMsg(p,a)
ICOM_CALL1(SendPMsg,
p,a)
#define IDirectMusicPerformance8_MusicToReferenceTime(p,a,b)
ICOM_CALL2(MusicToReferenceTime,
p,a,b)
#define IDirectMusicPerformance8_ReferenceToMusicTime(p,a,b)
ICOM_CALL2(ReferenceToMusicTime,
p,a,b)
#define IDirectMusicPerformance8_IsPlaying(p,a,b)
ICOM_CALL2(IsPlaying,
p,a,b)
#define IDirectMusicPerformance8_GetTime(p,a,b)
ICOM_CALL2(GetTime,
p,a,b)
#define IDirectMusicPerformance8_AllocPMsg(p,a,b)
ICOM_CALL2(AllocPMsg,
p,a,b)
#define IDirectMusicPerformance8_FreePMsg(p,a)
ICOM_CALL1(FreePMsg,
p,a)
#define IDirectMusicPerformance8_GetGraph(p,a)
ICOM_CALL1(GetGraph,
p,a)
#define IDirectMusicPerformance8_SetGraph(p,a)
ICOM_CALL1(SetGraph,
p,a)
#define IDirectMusicPerformance8_SetNotificationHandle(p,a,b)
ICOM_CALL2(SetNotificationHandle,
p,a,b)
#define IDirectMusicPerformance8_GetNotificationPMsg(p,a)
ICOM_CALL1(GetNotificationPMsg,
p,a)
#define IDirectMusicPerformance8_AddNotificationType(p,a)
ICOM_CALL1(AddNotificationType,
p,a)
#define IDirectMusicPerformance8_RemoveNotificationType(p,a)
ICOM_CALL1(RemoveNotificationType,
p,a)
#define IDirectMusicPerformance8_AddPort(p,a)
ICOM_CALL1(AddPort,
p,a)
#define IDirectMusicPerformance8_RemovePort(p,a)
ICOM_CALL1(RemovePort,
p,a)
#define IDirectMusicPerformance8_AssignPChannelBlock(p,a,b,c)
ICOM_CALL3(AssignPChannelBlock,
p,a,b,c)
#define IDirectMusicPerformance8_AssignPChannel(p,a,b,c,d)
ICOM_CALL4(AssignPChannel,
p,a,b,c,d)
#define IDirectMusicPerformance8_PChannelInfo(p,a,b,c,d)
ICOM_CALL4(PChannelInfo,
p,a,b,c,d)
#define IDirectMusicPerformance8_DownloadInstrument(p,a,b,c,d,e,f,g,h)
ICOM_CALL8(DownloadInstrument,
p,a,b,c,d,e,f,g,h)
#define IDirectMusicPerformance8_Invalidate(p,a,b)
ICOM_CALL2(Invalidate,
p,a,b)
#define IDirectMusicPerformance8_GetParam(p,a,b,c,d,e,f)
ICOM_CALL6(GetParam,
p,a,b,c,d,e,f)
#define IDirectMusicPerformance8_SetParam(p,a,b,c,d,e)
ICOM_CALL5(SetParam,
p,a,b,c,d,e)
#define IDirectMusicPerformance8_GetGlobalParam(p,a,b,c)
ICOM_CALL3(GetGlobalParam,
p,a,b,c)
#define IDirectMusicPerformance8_SetGlobalParam(p,a,b,c)
ICOM_CALL3(SetGlobalParam,
p,a,b,c)
#define IDirectMusicPerformance8_GetLatencyTime(p,a)
ICOM_CALL1(GetLatencyTime,
p,a)
#define IDirectMusicPerformance8_GetQueueTime(p,a)
ICOM_CALL1(GetQueueTime,
p,a)
#define IDirectMusicPerformance8_AdjustTime(p,a)
ICOM_CALL1(AdjustTime,
p,a)
#define IDirectMusicPerformance8_CloseDown(p)
ICOM_CALL (CloseDown,
p)
#define IDirectMusicPerformance8_GetResolvedTime(p,a,b,c)
ICOM_CALL3(GetResolvedTime,
p,a,b,c)
#define IDirectMusicPerformance8_MIDIToMusic(p,a,b,c,d,e)
ICOM_CALL5(MIDIToMusic,
p,a,b,c,d,e)
#define IDirectMusicPerformance8_MusicToMIDI(p,a,b,c,d,e)
ICOM_CALL5(MusicToMIDI,
p,a,b,c,d,e)
#define IDirectMusicPerformance8_TimeToRhythm(p,a,b,c,d,e,f)
ICOM_CALL6(TimeToRhythm,
p,a,b,c,d,e,f)
#define IDirectMusicPerformance8_RhythmToTime(p,a,b,c,d,e,f)
ICOM_CALL6(RhythmToTime,
p,a,b,c,d,e,f)
#define IDirectMusicPerformance8_Init(p,a,b,c)
(p)->lpVtbl->Init(
p,a,b,c)
#define IDirectMusicPerformance8_PlaySegment(p,a,b,c,d)
(p)->lpVtbl->PlaySegment(
p,a,b,c,d)
#define IDirectMusicPerformance8_Stop(p,a,b,c,d)
(p)->lpVtbl->Stop(
p,a,b,c,d)
#define IDirectMusicPerformance8_GetSegmentState(p,a,b)
(p)->lpVtbl->GetSegmentState(
p,a,b)
#define IDirectMusicPerformance8_SetPrepareTime(p,a)
(p)->lpVtbl->SetPrepareTime(
p,a)
#define IDirectMusicPerformance8_GetPrepareTime(p,a)
(p)->lpVtbl->GetPrepareTime(
p,a)
#define IDirectMusicPerformance8_SetBumperLength(p,a)
(p)->lpVtbl->SetBumperLength(
p,a)
#define IDirectMusicPerformance8_GetBumperLength(p,a)
(p)->lpVtbl->GetBumperLength(
p,a)
#define IDirectMusicPerformance8_SendPMsg(p,a)
(p)->lpVtbl->SendPMsg(
p,a)
#define IDirectMusicPerformance8_MusicToReferenceTime(p,a,b)
(p)->lpVtbl->MusicToReferenceTime(
p,a,b)
#define IDirectMusicPerformance8_ReferenceToMusicTime(p,a,b)
(p)->lpVtbl->ReferenceToMusicTime(
p,a,b)
#define IDirectMusicPerformance8_IsPlaying(p,a,b)
(p)->lpVtbl->IsPlaying(
p,a,b)
#define IDirectMusicPerformance8_GetTime(p,a,b)
(p)->lpVtbl->GetTime(
p,a,b)
#define IDirectMusicPerformance8_AllocPMsg(p,a,b)
(p)->lpVtbl->AllocPMsg(
p,a,b)
#define IDirectMusicPerformance8_FreePMsg(p,a)
(p)->lpVtbl->FreePMsg(
p,a)
#define IDirectMusicPerformance8_GetGraph(p,a)
(p)->lpVtbl->GetGraph(
p,a)
#define IDirectMusicPerformance8_SetGraph(p,a)
(p)->lpVtbl->SetGraph(
p,a)
#define IDirectMusicPerformance8_SetNotificationHandle(p,a,b)
(p)->lpVtbl->SetNotificationHandle(
p,a,b)
#define IDirectMusicPerformance8_GetNotificationPMsg(p,a)
(p)->lpVtbl->GetNotificationPMsg(
p,a)
#define IDirectMusicPerformance8_AddNotificationType(p,a)
(p)->lpVtbl->AddNotificationType(
p,a)
#define IDirectMusicPerformance8_RemoveNotificationType(p,a)
(p)->lpVtbl->RemoveNotificationType(
p,a)
#define IDirectMusicPerformance8_AddPort(p,a)
(p)->lpVtbl->AddPort(
p,a)
#define IDirectMusicPerformance8_RemovePort(p,a)
(p)->lpVtbl->RemovePort(
p,a)
#define IDirectMusicPerformance8_AssignPChannelBlock(p,a,b,c)
(p)->lpVtbl->AssignPChannelBlock(
p,a,b,c)
#define IDirectMusicPerformance8_AssignPChannel(p,a,b,c,d)
(p)->lpVtbl->AssignPChannel(
p,a,b,c,d)
#define IDirectMusicPerformance8_PChannelInfo(p,a,b,c,d)
(p)->lpVtbl->PChannelInfo(
p,a,b,c,d)
#define IDirectMusicPerformance8_DownloadInstrument(p,a,b,c,d,e,f,g,h)
(p)->lpVtbl->DownloadInstrument(
p,a,b,c,d,e,f,g,h)
#define IDirectMusicPerformance8_Invalidate(p,a,b)
(p)->lpVtbl->Invalidate(
p,a,b)
#define IDirectMusicPerformance8_GetParam(p,a,b,c,d,e,f)
(p)->lpVtbl->GetParam(
p,a,b,c,d,e,f)
#define IDirectMusicPerformance8_SetParam(p,a,b,c,d,e)
(p)->lpVtbl->SetParam(
p,a,b,c,d,e)
#define IDirectMusicPerformance8_GetGlobalParam(p,a,b,c)
(p)->lpVtbl->GetGlobalParam(
p,a,b,c)
#define IDirectMusicPerformance8_SetGlobalParam(p,a,b,c)
(p)->lpVtbl->SetGlobalParam(
p,a,b,c)
#define IDirectMusicPerformance8_GetLatencyTime(p,a)
(p)->lpVtbl->GetLatencyTime(
p,a)
#define IDirectMusicPerformance8_GetQueueTime(p,a)
(p)->lpVtbl->GetQueueTime(
p,a)
#define IDirectMusicPerformance8_AdjustTime(p,a)
(p)->lpVtbl->AdjustTime(
p,a)
#define IDirectMusicPerformance8_CloseDown(p)
(p)->lpVtbl->CloseDown(
p)
#define IDirectMusicPerformance8_GetResolvedTime(p,a,b,c)
(p)->lpVtbl->GetResolvedTime(
p,a,b,c)
#define IDirectMusicPerformance8_MIDIToMusic(p,a,b,c,d,e)
(p)->lpVtbl->MIDIToMusic(
p,a,b,c,d,e)
#define IDirectMusicPerformance8_MusicToMIDI(p,a,b,c,d,e)
(p)->lpVtbl->MusicToMIDI(
p,a,b,c,d,e)
#define IDirectMusicPerformance8_TimeToRhythm(p,a,b,c,d,e,f)
(p)->lpVtbl->TimeToRhythm(
p,a,b,c,d,e,f)
#define IDirectMusicPerformance8_RhythmToTime(p,a,b,c,d,e,f)
(p)->lpVtbl->RhythmToTime(
p,a,b,c,d,e,f)
/* IDirectMusicPerformance8 methods*/
#define IDirectMusicPerformance8_InitAudio(p,a,b,c,d,e,f,g) ICOM_CALL7(InitAudio,p,a,b,c,d,e,f,g)
#define IDirectMusicPerformance8_PlaySegmentEx(p,a,b,c,d,e,f,g,h) ICOM_CALL8(PlaySegmentEx,p,a,b,c,d,e,f,g,h)
#define IDirectMusicPerformance8_StopEx(p,a,b,c) ICOM_CALL3(StopEx,p,a,b,c)
#define IDirectMusicPerformance8_ClonePMsg(p,a,b) ICOM_CALL2(ClonePMsg,p,a,b)
#define IDirectMusicPerformance8_CreateAudioPath(p,a,b,c) ICOM_CALL3(CreateAudioPath,p,a,b,c)
#define IDirectMusicPerformance8_CreateStandardAudioPath(p,a,b,c,d) ICOM_CALL4(CreateStandardAudioPath,p,a,b,c,d)
#define IDirectMusicPerformance8_SetDefaultAudioPath(p,a) ICOM_CALL1(SetDefaultAudioPath,p,a)
#define IDirectMusicPerformance8_GetDefaultAudioPath(p,a) ICOM_CALL1(GetDefaultAudioPath,p,a)
#define IDirectMusicPerformance8_GetParamEx(p,a,b,c,d,e,f,g) ICOM_CALL7(GetParamEx,p,a,b,c,d,e,f,g)
#define IDirectMusicPerformance8_InitAudio(p,a,b,c,d,e,f,g) (p)->lpVtbl->InitAudio(p,a,b,c,d,e,f,g)
#define IDirectMusicPerformance8_PlaySegmentEx(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->PlaySegmentEx(p,a,b,c,d,e,f,g,h)
#define IDirectMusicPerformance8_StopEx(p,a,b,c) (p)->lpVtbl->StopEx(p,a,b,c)
#define IDirectMusicPerformance8_ClonePMsg(p,a,b) (p)->lpVtbl->ClonePMsg(p,a,b)
#define IDirectMusicPerformance8_CreateAudioPath(p,a,b,c) (p)->lpVtbl->CreateAudioPath(p,a,b,c)
#define IDirectMusicPerformance8_CreateStandardAudioPath(p,a,b,c,d) (p)->lpVtbl->CreateStandardAudioPath(p,a,b,c,d)
#define IDirectMusicPerformance8_SetDefaultAudioPath(p,a) (p)->lpVtbl->SetDefaultAudioPath(p,a)
#define IDirectMusicPerformance8_GetDefaultAudioPath(p,a) (p)->lpVtbl->GetDefaultAudioPath(p,a)
#define IDirectMusicPerformance8_GetParamEx(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetParamEx(p,a,b,c,d,e,f,g)
#endif
/*****************************************************************************
...
...
@@ -1376,15 +1400,17 @@ ICOM_DEFINE(IDirectMusicPerformance8,IDirectMusicPerformance)
ICOM_DEFINE
(
IDirectMusicGraph
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicGraph_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicGraph_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicGraph_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicGraph_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicGraph_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicGraph_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicGraph methods ***/
#define IDirectMusicGraph_StampPMsg(p,a) ICOM_CALL1(StampPMsg,p,a)
#define IDirectMusicGraph_InsertTool(p,a,b,c,d) ICOM_CALL4(InsertTool,p,a,b,c,d)
#define IDirectMusicGraph_GetTool(p,a,b) ICOM_CALL2(GetTool,p,a,b)
#define IDirectMusicGraph_RemoveTool(p,a) ICOM_CALL1(RemoveTool,p,a)
#define IDirectMusicGraph_StampPMsg(p,a) (p)->lpVtbl->StampPMsg(p,a)
#define IDirectMusicGraph_InsertTool(p,a,b,c,d) (p)->lpVtbl->InsertTool(p,a,b,c,d)
#define IDirectMusicGraph_GetTool(p,a,b) (p)->lpVtbl->GetTool(p,a,b)
#define IDirectMusicGraph_RemoveTool(p,a) (p)->lpVtbl->RemoveTool(p,a)
#endif
/*****************************************************************************
...
...
@@ -1413,22 +1439,24 @@ ICOM_DEFINE(IDirectMusicGraph,IUnknown)
ICOM_DEFINE
(
IDirectMusicStyle
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicStyle_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicStyle_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicStyle_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicStyle_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicStyle_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicStyle_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicStyle methods ***/
#define IDirectMusicStyle_GetBand(p,a,b) ICOM_CALL2(GetBand,p,a,b)
#define IDirectMusicStyle_EnumBand(p,a,b) ICOM_CALL2(EnumBand,p,a,b)
#define IDirectMusicStyle_GetDefaultBand(p,a) ICOM_CALL1(GetDefaultBand,p,a)
#define IDirectMusicStyle_EnumMotif(p,a,b) ICOM_CALL2(EnumMotif,p,a,b)
#define IDirectMusicStyle_GetMotif(p,a,b) ICOM_CALL2(GetMotif,p,a,b)
#define IDirectMusicStyle_GetDefaultChordMap(p,a) ICOM_CALL1(GetDefaultChordMap,p,a)
#define IDirectMusicStyle_EnumChordMap(p,a,b) ICOM_CALL2(EnumChordMap,p,a,b)
#define IDirectMusicStyle_GetChordMap(p,a,b) ICOM_CALL2(GetChordMap,p,a,b)
#define IDirectMusicStyle_GetTimeSignature(p,a) ICOM_CALL1(GetTimeSignature,p,a)
#define IDirectMusicStyle_GetEmbellishmentLength(p,a,b,c,d) ICOM_CALL4GetEmbellishmentLength(,p,a,b,c,d)
#define IDirectMusicStyle_GetTempo(p,a) ICOM_CALL1(GetTempo,p,a)
#define IDirectMusicStyle_GetBand(p,a,b) (p)->lpVtbl->GetBand(p,a,b)
#define IDirectMusicStyle_EnumBand(p,a,b) (p)->lpVtbl->EnumBand(p,a,b)
#define IDirectMusicStyle_GetDefaultBand(p,a) (p)->lpVtbl->GetDefaultBand(p,a)
#define IDirectMusicStyle_EnumMotif(p,a,b) (p)->lpVtbl->EnumMotif(p,a,b)
#define IDirectMusicStyle_GetMotif(p,a,b) (p)->lpVtbl->GetMotif(p,a,b)
#define IDirectMusicStyle_GetDefaultChordMap(p,a) (p)->lpVtbl->GetDefaultChordMap(p,a)
#define IDirectMusicStyle_EnumChordMap(p,a,b) (p)->lpVtbl->EnumChordMap(p,a,b)
#define IDirectMusicStyle_GetChordMap(p,a,b) (p)->lpVtbl->GetChordMap(p,a,b)
#define IDirectMusicStyle_GetTimeSignature(p,a) (p)->lpVtbl->GetTimeSignature(p,a)
#define IDirectMusicStyle_GetEmbellishmentLength(p,a,b,c,d) (p)->lpVtbl->GetEmbellishmentLength(p,a,b,c,d)
#define IDirectMusicStyle_GetTempo(p,a) (p)->lpVtbl->GetTempo(p,a)
#endif
/*****************************************************************************
...
...
@@ -1448,24 +1476,26 @@ ICOM_DEFINE(IDirectMusicStyle,IUnknown)
ICOM_DEFINE
(
IDirectMusicStyle8
,
IDirectMusicStyle
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicStyle8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicStyle8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicStyle8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicStyle8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicStyle8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicStyle8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicStyle methods ***/
#define IDirectMusicStyle8_GetBand(p,a,b)
ICOM_CALL2(GetBand,
p,a,b)
#define IDirectMusicStyle8_EnumBand(p,a,b)
ICOM_CALL2(EnumBand,
p,a,b)
#define IDirectMusicStyle8_GetDefaultBand(p,a)
ICOM_CALL1(GetDefaultBand,
p,a)
#define IDirectMusicStyle8_EnumMotif(p,a,b)
ICOM_CALL2(EnumMotif,
p,a,b)
#define IDirectMusicStyle8_GetMotif(p,a,b)
ICOM_CALL2(GetMotif,
p,a,b)
#define IDirectMusicStyle8_GetDefaultChordMap(p,a)
ICOM_CALL1(GetDefaultChordMap,
p,a)
#define IDirectMusicStyle8_EnumChordMap(p,a,b)
ICOM_CALL2(EnumChordMap,
p,a,b)
#define IDirectMusicStyle8_GetChordMap(p,a,b)
ICOM_CALL2(GetChordMap,
p,a,b)
#define IDirectMusicStyle8_GetTimeSignature(p,a)
ICOM_CALL1(GetTimeSignature,
p,a)
#define IDirectMusicStyle8_GetEmbellishmentLength(p,a,b,c,d)
ICOM_CALL4GetEmbellishmentLength(,
p,a,b,c,d)
#define IDirectMusicStyle8_GetTempo(p,a)
ICOM_CALL1(GetTempo,
p,a)
#define IDirectMusicStyle8_GetBand(p,a,b)
(p)->lpVtbl->GetBand(
p,a,b)
#define IDirectMusicStyle8_EnumBand(p,a,b)
(p)->lpVtbl->EnumBand(
p,a,b)
#define IDirectMusicStyle8_GetDefaultBand(p,a)
(p)->lpVtbl->GetDefaultBand(
p,a)
#define IDirectMusicStyle8_EnumMotif(p,a,b)
(p)->lpVtbl->EnumMotif(
p,a,b)
#define IDirectMusicStyle8_GetMotif(p,a,b)
(p)->lpVtbl->GetMotif(
p,a,b)
#define IDirectMusicStyle8_GetDefaultChordMap(p,a)
(p)->lpVtbl->GetDefaultChordMap(
p,a)
#define IDirectMusicStyle8_EnumChordMap(p,a,b)
(p)->lpVtbl->EnumChordMap(
p,a,b)
#define IDirectMusicStyle8_GetChordMap(p,a,b)
(p)->lpVtbl->GetChordMap(
p,a,b)
#define IDirectMusicStyle8_GetTimeSignature(p,a)
(p)->lpVtbl->GetTimeSignature(
p,a)
#define IDirectMusicStyle8_GetEmbellishmentLength(p,a,b,c,d)
(p)->lpVtbl->GetEmbellishmentLength(
p,a,b,c,d)
#define IDirectMusicStyle8_GetTempo(p,a)
(p)->lpVtbl->GetTempo(
p,a)
/*** IDirectMusicStyle8 methods ***/
#define IDirectMusicStyle8_EnumPattern(p,a,b,c) ICOM_CALL3(EnumPattern,p,a,b,c)
#define IDirectMusicStyle8_EnumPattern(p,a,b,c) (p)->lpVtbl->EnumPattern(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -1484,12 +1514,14 @@ ICOM_DEFINE(IDirectMusicStyle8,IDirectMusicStyle)
ICOM_DEFINE
(
IDirectMusicChordMap
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicChordMap_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicChordMap_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicChordMap_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicChordMap_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicChordMap_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicChordMap_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicChordMap methods ***/
#define IDirectMusicChordMap_GetScale(p,a) ICOM_CALL1(GetScale,p,a)
#define IDirectMusicChordMap_GetScale(p,a) (p)->lpVtbl->GetScale(p,a)
#endif
/*****************************************************************************
...
...
@@ -1513,17 +1545,19 @@ ICOM_DEFINE(IDirectMusicChordMap,IUnknown)
ICOM_DEFINE
(
IDirectMusicComposer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicComposer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicComposer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicComposer_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicComposer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicComposer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicComposer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicComposer methods ***/
#define IDirectMusicComposer_ComposeSegmentFromTemplate(p,a,b,c,d,e) ICOM_CALL5(ComposeSegmentFromTemplate,p,a,b,c,d,e)
#define IDirectMusicComposer_ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h) ICOM_CALL8(ComposeSegmentFromShape,p,a,b,c,d,e,f,g,h)
#define IDirectMusicComposer_ComposeTransition(p,a,b,c,d,e,f,g) ICOM_CALL7(ComposeTransition,p,a,b,c,d,e,f,g)
#define IDirectMusicComposer_AutoTransition(p,a,b,c,d,e,f,g,h) ICOM_CALL8(AutoTransition,p,a,b,c,d,e,f,g,h)
#define IDirectMusicComposer_ComposeTemplateFromShape(p,a,b,c,d,e,f) ICOM_CALL6(ComposeTemplateFromShape,p,a,b,c,d,e,f)
#define IDirectMusicComposer_ChangeChordMap(p,a,b,c) ICOM_CALL3(ChangeChordMap,p,a,b,c)
#define IDirectMusicComposer_ComposeSegmentFromTemplate(p,a,b,c,d,e) (p)->lpVtbl->ComposeSegmentFromTemplate(p,a,b,c,d,e)
#define IDirectMusicComposer_ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->ComposeSegmentFromShape(p,a,b,c,d,e,f,g,h)
#define IDirectMusicComposer_ComposeTransition(p,a,b,c,d,e,f,g) (p)->lpVtbl->ComposeTransition(p,a,b,c,d,e,f,g)
#define IDirectMusicComposer_AutoTransition(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->AutoTransition(p,a,b,c,d,e,f,g,h)
#define IDirectMusicComposer_ComposeTemplateFromShape(p,a,b,c,d,e,f) (p)->lpVtbl->ComposeTemplateFromShape(p,a,b,c,d,e,f)
#define IDirectMusicComposer_ChangeChordMap(p,a,b,c) (p)->lpVtbl->ChangeChordMap(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -1544,14 +1578,16 @@ ICOM_DEFINE(IDirectMusicComposer,IUnknown)
ICOM_DEFINE
(
IDirectMusicPatternTrack
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicPatternTrack_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicPatternTrack_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicPatternTrack_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicPatternTrack_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicPatternTrack_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicPatternTrack_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicPatternTrack methods ***/
#define IDirectMusicPatternTrack_CreateSegment(p,a,b) ICOM_CALL2(CreateSegment,p,a,b)
#define IDirectMusicPatternTrack_SetVariation(p,a,b,c) ICOM_CALL3(SetVariation,p,a,b,c)
#define IDirectMusicPatternTrack_SetPatternByName(p,a,b,c,d,e) ICOM_CALL5(SetPatternByName,p,a,b,c,d,e)
#define IDirectMusicPatternTrack_CreateSegment(p,a,b) (p)->lpVtbl->CreateSegment(p,a,b)
#define IDirectMusicPatternTrack_SetVariation(p,a,b,c) (p)->lpVtbl->SetVariation(p,a,b,c)
#define IDirectMusicPatternTrack_SetPatternByName(p,a,b,c,d,e) (p)->lpVtbl->SetPatternByName(p,a,b,c,d,e)
#endif
/*****************************************************************************
...
...
@@ -1579,21 +1615,23 @@ ICOM_DEFINE(IDirectMusicPatternTrack,IUnknown)
ICOM_DEFINE
(
IDirectMusicScript
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicScript_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicScript_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicScript_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicScript_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicScript_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicScript_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicScript methods ***/
#define IDirectMusicPatternTrack_Init(p,a,b) ICOM_CALL2(Init,p,a,b)
#define IDirectMusicPatternTrack_CallRoutine(p,a,b) ICOM_CALL2(CallRoutine,p,a,b)
#define IDirectMusicPatternTrack_SetVariableVariant(p,a,b,c,d) ICOM_CALL4(SetVariableVariant,p,a,b,c,d)
#define IDirectMusicPatternTrack_GetVariableVariant(p,a,b,c) ICOM_CALL3(GetVariableVariant,p,a,b,c)
#define IDirectMusicPatternTrack_SetVariableNumber(p,a,b,c) ICOM_CALL3(SetVariableNumber,p,a,b,c)
#define IDirectMusicPatternTrack_GetVariableNumber(p,a,b,c) ICOM_CALL3(GetVariableNumber,p,a,b,c)
#define IDirectMusicPatternTrack_SetVariableObject(p,a,b,c) ICOM_CALL3(SetVariableObject,p,a,b,c)
#define IDirectMusicPatternTrack_GetVariableObject(p,a,b,c,d) ICOM_CALL4(GetVariableObject,p,a,b,c,d)
#define IDirectMusicPatternTrack_EnumRoutine(p,a,b) ICOM_CALL2(EnumRoutine,p,a,b)
#define IDirectMusicPatternTrack_EnumVariable(p,a,b) ICOM_CALL2(EnumVariable,p,a,b)
#define IDirectMusicPatternTrack_Init(p,a,b) (p)->lpVtbl->Init(p,a,b)
#define IDirectMusicPatternTrack_CallRoutine(p,a,b) (p)->lpVtbl->CallRoutine(p,a,b)
#define IDirectMusicPatternTrack_SetVariableVariant(p,a,b,c,d) (p)->lpVtbl->SetVariableVariant(p,a,b,c,d)
#define IDirectMusicPatternTrack_GetVariableVariant(p,a,b,c) (p)->lpVtbl->GetVariableVariant(p,a,b,c)
#define IDirectMusicPatternTrack_SetVariableNumber(p,a,b,c) (p)->lpVtbl->SetVariableNumber(p,a,b,c)
#define IDirectMusicPatternTrack_GetVariableNumber(p,a,b,c) (p)->lpVtbl->GetVariableNumber(p,a,b,c)
#define IDirectMusicPatternTrack_SetVariableObject(p,a,b,c) (p)->lpVtbl->SetVariableObject(p,a,b,c)
#define IDirectMusicPatternTrack_GetVariableObject(p,a,b,c,d) (p)->lpVtbl->GetVariableObject(p,a,b,c,d)
#define IDirectMusicPatternTrack_EnumRoutine(p,a,b) (p)->lpVtbl->EnumRoutine(p,a,b)
#define IDirectMusicPatternTrack_EnumVariable(p,a,b) (p)->lpVtbl->EnumVariable(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -1612,12 +1650,14 @@ ICOM_DEFINE(IDirectMusicScript,IUnknown)
ICOM_DEFINE
(
IDirectMusicContainer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicContainer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicContainer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicContainer_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicContainer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicContainer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicContainer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicContainer methods ***/
#define IDirectMusicContainer_EnumObject(p,a,b,c,d) ICOM_CALL4(EnumObject,p,a,b,c,d)
#define IDirectMusicContainer_EnumObject(p,a,b,c,d) (p)->lpVtbl->EnumObject(p,a,b,c,d)
#endif
/*****************************************************************************
...
...
@@ -1642,18 +1682,20 @@ ICOM_DEFINE(IDirectMusicContainer,IUnknown)
ICOM_DEFINE
(
IDirectMusicSong
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicSong_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicSong_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicSong_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicSong_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicSong_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicSong_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicSong methods ***/
#define IDirectMusicSong_Compose(p) ICOM_CALL (Compose,p)
#define IDirectMusicSong_GetParam(p,a,b,c,d,e,f) ICOM_CALL6(GetParam,p,a,b,c,d,e,f)
#define IDirectMusicSong_GetSegment(p,a,b) ICOM_CALL2(GetSegment,p,a,b)
#define IDirectMusicSong_GetAudioPathConfig(p,a) ICOM_CALL1(GetAudioPathConfig,p,a)
#define IDirectMusicSong_Download(p,a) ICOM_CALL1(Download,p,a)
#define IDirectMusicSong_Unload(p,a) ICOM_CALL1(Unload,p,a)
#define IDirectMusicSong_EnumSegment(p,a,b) ICOM_CALL2(EnumSegment,p,a,b)
#define IDirectMusicSong_Compose(p) (p)->lpVtbl->Compose(p)
#define IDirectMusicSong_GetParam(p,a,b,c,d,e,f) (p)->lpVtbl->GetParam(p,a,b,c,d,e,f)
#define IDirectMusicSong_GetSegment(p,a,b) (p)->lpVtbl->GetSegment(p,a,b)
#define IDirectMusicSong_GetAudioPathConfig(p,a) (p)->lpVtbl->GetAudioPathConfig(p,a)
#define IDirectMusicSong_Download(p,a) (p)->lpVtbl->Download(p,a)
#define IDirectMusicSong_Unload(p,a) (p)->lpVtbl->Unload(p,a)
#define IDirectMusicSong_EnumSegment(p,a,b) (p)->lpVtbl->EnumSegment(p,a,b)
#endif
#ifdef __cplusplus
}
...
...
include/dmusics.h
View file @
55379110
...
...
@@ -92,28 +92,30 @@ typedef struct _DMUS_VOICE_STATE
ICOM_DEFINE
(
IDirectMusicSynth
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicSynth_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicSynth_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicSynth_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicSynth_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicSynth_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicSynth_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicSynth methods ***/
#define IDirectMusicSynth_Open(p,a) ICOM_CALL1(Open,p,a)
#define IDirectMusicSynth_Close(p) ICOM_CALL (Close,p)
#define IDirectMusicSynth_SetNumChannelGroups(p,a) ICOM_CALL1(SetNumChannelGroups,p,a)
#define IDirectMusicSynth_Download(p,a,b,c) ICOM_CALL3(Download,p,a,b,c)
#define IDirectMusicSynth_Unload(p,a,b,c) ICOM_CALL3(Unload,p,a,b,c)
#define IDirectMusicSynth_PlayBuffer(p,a,b,c) ICOM_CALL3(PlayBuffer,p,a,b,c)
#define IDirectMusicSynth_GetRunningStats(p,a) ICOM_CALL1(GetRunningStats,p,a)
#define IDirectMusicSynth_GetPortCaps(p,a) ICOM_CALL1(GetPortCaps,p,a)
#define IDirectMusicSynth_SetMasterClock(p,a) ICOM_CALL1(SetMasterClock,p,a)
#define IDirectMusicSynth_GetLatencyClock(p,a) ICOM_CALL1(GetLatencyClock,p,a)
#define IDirectMusicSynth_Activate(p,a) ICOM_CALL1(Activate,p,a)
#define IDirectMusicSynth_SetSynthSink(p,a) ICOM_CALL1(SetSynthSink,p,a)
#define IDirectMusicSynth_Render(p,a,b,c) ICOM_CALL3(Render,p,a,b,c)
#define IDirectMusicSynth_SetChannelPriority(p,a,b,c) ICOM_CALL3(SetChannelPriority,p,a,b,c)
#define IDirectMusicSynth_GetChannelPriority(p,a,b,c) ICOM_CALL3(GetChannelPriority,p,a,b,c)
#define IDirectMusicSynth_GetFormat(p,a,b) ICOM_CALL2(GetFormat,p,a,b)
#define IDirectMusicSynth_GetAppend(p,a) ICOM_CALL1(GetAppend,p,a)
#define IDirectMusicSynth_Open(p,a) (p)->lpVtbl->Open(p,a)
#define IDirectMusicSynth_Close(p) (p)->lpVtbl->Close(p)
#define IDirectMusicSynth_SetNumChannelGroups(p,a) (p)->lpVtbl->SetNumChannelGroups(p,a)
#define IDirectMusicSynth_Download(p,a,b,c) (p)->lpVtbl->Download(p,a,b,c)
#define IDirectMusicSynth_Unload(p,a,b,c) (p)->lpVtbl->Unload(p,a,b,c)
#define IDirectMusicSynth_PlayBuffer(p,a,b,c) (p)->lpVtbl->PlayBuffer(p,a,b,c)
#define IDirectMusicSynth_GetRunningStats(p,a) (p)->lpVtbl->GetRunningStats(p,a)
#define IDirectMusicSynth_GetPortCaps(p,a) (p)->lpVtbl->GetPortCaps(p,a)
#define IDirectMusicSynth_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a)
#define IDirectMusicSynth_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a)
#define IDirectMusicSynth_Activate(p,a) (p)->lpVtbl->Activate(p,a)
#define IDirectMusicSynth_SetSynthSink(p,a) (p)->lpVtbl->SetSynthSink(p,a)
#define IDirectMusicSynth_Render(p,a,b,c) (p)->lpVtbl->Render(p,a,b,c)
#define IDirectMusicSynth_SetChannelPriority(p,a,b,c) (p)->lpVtbl->SetChannelPriority(p,a,b,c)
#define IDirectMusicSynth_GetChannelPriority(p,a,b,c) (p)->lpVtbl->GetChannelPriority(p,a,b,c)
#define IDirectMusicSynth_GetFormat(p,a,b) (p)->lpVtbl->GetFormat(p,a,b)
#define IDirectMusicSynth_GetAppend(p,a) (p)->lpVtbl->GetAppend(p,a)
#endif
/*****************************************************************************
...
...
@@ -137,34 +139,36 @@ ICOM_DEFINE(IDirectMusicSynth,IUnknown)
ICOM_DEFINE
(
IDirectMusicSynth8
,
IDirectMusicSynth
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicSynth8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicSynth8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicSynth8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicSynth8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicSynth8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicSynth8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicSynth methods ***/
#define IDirectMusicSynth8_Open(p,a)
ICOM_CALL1(Open,
p,a)
#define IDirectMusicSynth8_Close(p)
ICOM_CALL (Close,
p)
#define IDirectMusicSynth8_SetNumChannelGroups(p,a)
ICOM_CALL1(SetNumChannelGroups,
p,a)
#define IDirectMusicSynth8_Download(p,a,b,c)
ICOM_CALL3(Download,
p,a,b,c)
#define IDirectMusicSynth8_Unload(p,a,b,c)
ICOM_CALL3(Unload,
p,a,b,c)
#define IDirectMusicSynth8_PlayBuffer(p,a,b,c)
ICOM_CALL3(PlayBuffer,
p,a,b,c)
#define IDirectMusicSynth8_GetRunningStats(p,a)
ICOM_CALL1(GetRunningStats,
p,a)
#define IDirectMusicSynth8_GetPortCaps(p,a)
ICOM_CALL1(GetPortCaps,
p,a)
#define IDirectMusicSynth8_SetMasterClock(p,a)
ICOM_CALL1(SetMasterClock,
p,a)
#define IDirectMusicSynth8_GetLatencyClock(p,a)
ICOM_CALL1(GetLatencyClock,
p,a)
#define IDirectMusicSynth8_Activate(p,a)
ICOM_CALL1(Activate,
p,a)
#define IDirectMusicSynth8_SetSynthSink(p,a)
ICOM_CALL1(SetSynthSink,
p,a)
#define IDirectMusicSynth8_Render(p,a,b,c)
ICOM_CALL3(Render,
p,a,b,c)
#define IDirectMusicSynth8_SetChannelPriority(p,a,b,c)
ICOM_CALL3(SetChannelPriority,
p,a,b,c)
#define IDirectMusicSynth8_GetChannelPriority(p,a,b,c)
ICOM_CALL3(GetChannelPriority,
p,a,b,c)
#define IDirectMusicSynth8_GetFormat(p,a,b)
ICOM_CALL2(GetFormat,
p,a,b)
#define IDirectMusicSynth8_GetAppend(p,a)
ICOM_CALL1(GetAppend,
p,a)
#define IDirectMusicSynth8_Open(p,a)
(p)->lpVtbl->Open(
p,a)
#define IDirectMusicSynth8_Close(p)
(p)->lpVtbl->Close(
p)
#define IDirectMusicSynth8_SetNumChannelGroups(p,a)
(p)->lpVtbl->SetNumChannelGroups(
p,a)
#define IDirectMusicSynth8_Download(p,a,b,c)
(p)->lpVtbl->Download(
p,a,b,c)
#define IDirectMusicSynth8_Unload(p,a,b,c)
(p)->lpVtbl->Unload(
p,a,b,c)
#define IDirectMusicSynth8_PlayBuffer(p,a,b,c)
(p)->lpVtbl->PlayBuffer(
p,a,b,c)
#define IDirectMusicSynth8_GetRunningStats(p,a)
(p)->lpVtbl->GetRunningStats(
p,a)
#define IDirectMusicSynth8_GetPortCaps(p,a)
(p)->lpVtbl->GetPortCaps(
p,a)
#define IDirectMusicSynth8_SetMasterClock(p,a)
(p)->lpVtbl->SetMasterClock(
p,a)
#define IDirectMusicSynth8_GetLatencyClock(p,a)
(p)->lpVtbl->GetLatencyClock(
p,a)
#define IDirectMusicSynth8_Activate(p,a)
(p)->lpVtbl->Activate(
p,a)
#define IDirectMusicSynth8_SetSynthSink(p,a)
(p)->lpVtbl->SetSynthSink(
p,a)
#define IDirectMusicSynth8_Render(p,a,b,c)
(p)->lpVtbl->Render(
p,a,b,c)
#define IDirectMusicSynth8_SetChannelPriority(p,a,b,c)
(p)->lpVtbl->SetChannelPriority(
p,a,b,c)
#define IDirectMusicSynth8_GetChannelPriority(p,a,b,c)
(p)->lpVtbl->GetChannelPriority(
p,a,b,c)
#define IDirectMusicSynth8_GetFormat(p,a,b)
(p)->lpVtbl->GetFormat(
p,a,b)
#define IDirectMusicSynth8_GetAppend(p,a)
(p)->lpVtbl->GetAppend(
p,a)
/*** IDirectMusicSynth8 methods ***/
#define IDirectMusicSynth8_PlayVoice(p,a,b,c,d,e,f,g,h,i,j) ICOM_CALL10(PlayVoice,p,a,b,c,d,e,f,g,h,i,j)
#define IDirectMusicSynth8_StopVoice(p,a,b) ICOM_CALL2(StopVoice,p,a,b)
#define IDirectMusicSynth8_GetVoiceState(p,a,b,c) ICOM_CALL3(GetVoiceState,p,a,b,c)
#define IDirectMusicSynth8_Refresh(p,a,b) ICOM_CALL2(Refresh,p,a,b)
#define IDirectMusicSynth8_AssignChannelToBuses(p,a,b,c,d) ICOM_CALL4(AssignChannelToBuses,p,a,b,c,d)
#define IDirectMusicSynth8_PlayVoice(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->PlayVoice(p,a,b,c,d,e,f,g,h,i,j)
#define IDirectMusicSynth8_StopVoice(p,a,b) (p)->lpVtbl->StopVoice(p,a,b)
#define IDirectMusicSynth8_GetVoiceState(p,a,b,c) (p)->lpVtbl->GetVoiceState(p,a,b,c)
#define IDirectMusicSynth8_Refresh(p,a,b) (p)->lpVtbl->Refresh(p,a,b)
#define IDirectMusicSynth8_AssignChannelToBuses(p,a,b,c,d) (p)->lpVtbl->AssignChannelToBuses(p,a,b,c,d)
#endif
/*****************************************************************************
...
...
@@ -190,18 +194,20 @@ ICOM_DEFINE(IDirectMusicSynth8,IDirectMusicSynth)
ICOM_DEFINE
(
IDirectMusicSynthSink
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectMusicSynthSink_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectMusicSynthSink_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectMusicSynthSink_Release(p)
ICOM_CALL (Release,
p)
#define IDirectMusicSynthSink_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectMusicSynthSink_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectMusicSynthSink_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectMusicSynth methods ***/
#define IDirectMusicSynthSink_Init(p,a) ICOM_CALL1(Init,p,a)
#define IDirectMusicSynthSink_SetMasterClock(p,a) ICOM_CALL1(SetMasterClock,p,a)
#define IDirectMusicSynthSink_GetLatencyClock(p,a) ICOM_CALL1(GetLatencyClock,p,a)
#define IDirectMusicSynthSink_Activate(p,a) ICOM_CALL1(Activate,p,a)
#define IDirectMusicSynthSink_SampleToRefTime(p,a,b) ICOM_CALL2(SampleToRefTime,p,a,b)
#define IDirectMusicSynthSink_RefTimeToSample(p,a,b) ICOM_CALL2(RefTimeToSample,p,a,b)
#define IDirectMusicSynthSink_SetDirectSound(p,a,b) ICOM_CALL2(SetDirectSound,p,a,b)
#define IDirectMusicSynthSink_GetDesiredBufferSize(p,a) ICOM_CALL1(GetDesiredBufferSize,p,a)
#define IDirectMusicSynthSink_Init(p,a) (p)->lpVtbl->Init(p,a)
#define IDirectMusicSynthSink_SetMasterClock(p,a) (p)->lpVtbl->SetMasterClock(p,a)
#define IDirectMusicSynthSink_GetLatencyClock(p,a) (p)->lpVtbl->GetLatencyClock(p,a)
#define IDirectMusicSynthSink_Activate(p,a) (p)->lpVtbl->Activate(p,a)
#define IDirectMusicSynthSink_SampleToRefTime(p,a,b) (p)->lpVtbl->SampleToRefTime(p,a,b)
#define IDirectMusicSynthSink_RefTimeToSample(p,a,b) (p)->lpVtbl->RefTimeToSample(p,a,b)
#define IDirectMusicSynthSink_SetDirectSound(p,a,b) (p)->lpVtbl->SetDirectSound(p,a,b)
#define IDirectMusicSynthSink_GetDesiredBufferSize(p,a) (p)->lpVtbl->GetDesiredBufferSize(p,a)
#endif
#endif
/* __WINE_DMUSIC_SOFTWARESYNTH_H */
include/docobj.h
View file @
55379110
...
...
@@ -204,14 +204,16 @@ typedef struct IPrint IPrint, *LPPRINT;
ICOM_DEFINE
(
IOleDocument
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleDocument_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleDocument_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleDocument_Release(p)
ICOM_CALL (Release,
p)
#define IOleDocument_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleDocument_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleDocument_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleDocument methods ***/
#define IOleDocument_CreateView(p,a,b,c,d) ICOM_CALL4(CreateView,p,a,b,c,d)
#define IOleDocument_GetDocMiscStatus(p,a) ICOM_CALL1(GetDocMiscStatus,p,a)
#define IOleDocument_EnumViews(p,a,b) ICOM_CALL2(EnumViews,p,a,b)
#define IOleDocument_CreateView(p,a,b,c,d) (p)->lpVtbl->CreateView(p,a,b,c,d)
#define IOleDocument_GetDocMiscStatus(p,a) (p)->lpVtbl->GetDocMiscStatus(p,a)
#define IOleDocument_EnumViews(p,a,b) (p)->lpVtbl->EnumViews(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -226,12 +228,14 @@ ICOM_DEFINE(IOleDocument,IUnknown)
ICOM_DEFINE
(
IOleDocumentSite
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleDocumentSite_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleDocumentSite_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleDocumentSite_Release(p)
ICOM_CALL (Release,
p)
#define IOleDocumentSite_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleDocumentSite_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleDocumentSite_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleDocumentSite methods ***/
#define IOleDocumentSite_ActivateMe(p,a) ICOM_CALL4(ActivateMe,p,a)
#define IOleDocumentSite_ActivateMe(p,a) (p)->lpVtbl->ActivateMe(p,a)
#endif
/*****************************************************************************
...
...
@@ -258,24 +262,26 @@ ICOM_DEFINE(IOleDocumentSite,IUnknown)
ICOM_DEFINE
(
IOleDocumentView
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleDocumentView_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleDocumentView_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleDocumentView_Release(p)
ICOM_CALL (Release,
p)
#define IOleDocumentView_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleDocumentView_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleDocumentView_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleDocumentView methods ***/
#define IOleDocumentView_SetInPlaceSite(p,a) ICOM_CALL1(SetInPlaceSite,p,a)
#define IOleDocumentView_GetInPlaceSite(p,a) ICOM_CALL1(GetInPlaceSite,p,a)
#define IOleDocumentView_GetDocument(p,a) ICOM_CALL1(GetDocument,p,a)
#define IOleDocumentView_SetRect(p,a) ICOM_CALL1(SetRect,p,a)
#define IOleDocumentView_GetRect(p,a) ICOM_CALL1(GetRect,p,a)
#define IOleDocumentView_GetRectComplex(p,a,b,c,d) ICOM_CALL4(GetRectComplex,p,a,b,c,d)
#define IOleDocumentView_Show(p,a) ICOM_CALL1(Show,p,a)
#define IOleDocumentView_UIActivate(p,a) ICOM_CALL1(UIActivate,p,a)
#define IOleDocumentView_Open(p) ICOM_CALL (Open,p)
#define IOleDocumentView_CloseView(p,a) ICOM_CALL1(CloseView,p,a)
#define IOleDocumentView_SaveViewState(p,a) ICOM_CALL1(SaveViewState,p,a)
#define IOleDocumentView_ApplyViewState(p,a) ICOM_CALL1(ApplyViewState,p,a)
#define IOleDocumentView_Clone(p,a,b) ICOM_CALL2(Clone,p,a,b)
#define IOleDocumentView_SetInPlaceSite(p,a) (p)->lpVtbl->SetInPlaceSite(p,a)
#define IOleDocumentView_GetInPlaceSite(p,a) (p)->lpVtbl->GetInPlaceSite(p,a)
#define IOleDocumentView_GetDocument(p,a) (p)->lpVtbl->GetDocument(p,a)
#define IOleDocumentView_SetRect(p,a) (p)->lpVtbl->SetRect(p,a)
#define IOleDocumentView_GetRect(p,a) (p)->lpVtbl->GetRect(p,a)
#define IOleDocumentView_GetRectComplex(p,a,b,c,d) (p)->lpVtbl->GetRectComplex(p,a,b,c,d)
#define IOleDocumentView_Show(p,a) (p)->lpVtbl->Show(p,a)
#define IOleDocumentView_UIActivate(p,a) (p)->lpVtbl->UIActivate(p,a)
#define IOleDocumentView_Open(p) (p)->lpVtbl->Open(p)
#define IOleDocumentView_CloseView(p,a) (p)->lpVtbl->CloseView(p,a)
#define IOleDocumentView_SaveViewState(p,a) (p)->lpVtbl->SaveViewState(p,a)
#define IOleDocumentView_ApplyViewState(p,a) (p)->lpVtbl->ApplyViewState(p,a)
#define IOleDocumentView_Clone(p,a,b) (p)->lpVtbl->Clone(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -293,15 +299,17 @@ ICOM_DEFINE(IOleDocumentView,IUnknown)
ICOM_DEFINE
(
IEnumOleDocumentViews
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IEnumOleDocumentViews_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IEnumOleDocumentViews_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IEnumOleDocumentViews_Release(p)
ICOM_CALL (Release,
p)
#define IEnumOleDocumentViews_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumOleDocumentViews_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumOleDocumentViews_Release(p)
(p)->lpVtbl->Release(
p)
/*** IEnumOleDocumentViews methods ***/
#define IEnumOleDocumentViews_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
#define IEnumOleDocumentViews_Skip(p,a) ICOM_CALL1(Skip,p,a)
#define IEnumOleDocumentViews_Reset(p) ICOM_CALL (Reset,p)
#define IEnumOleDocumentViews_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IEnumOleDocumentViews_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
#define IEnumOleDocumentViews_Skip(p,a) (p)->lpVtbl->Skip(p,a)
#define IEnumOleDocumentViews_Reset(p) (p)->lpVtbl->Reset(p)
#define IEnumOleDocumentViews_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#endif
/*****************************************************************************
...
...
@@ -317,13 +325,15 @@ ICOM_DEFINE(IEnumOleDocumentViews,IUnknown)
ICOM_DEFINE
(
IOleCommandTarget
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleCommandTarget_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleCommandTarget_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleCommandTarget_Release(p)
ICOM_CALL (Release,
p)
#define IOleCommandTarget_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleCommandTarget_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleCommandTarget_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleCommandTarget methods ***/
#define IOleCommandTarget_QueryStatus(p,a,b,c,d) ICOM_CALL4(QueryStatus,p,a,b,c,d)
#define IOleCommandTarget_Exec(p,a,b,c,d,e) ICOM_CALL5(Exec,p,a,b,c,d,e)
#define IOleCommandTarget_QueryStatus(p,a,b,c,d) (p)->lpVtbl->QueryStatus(p,a,b,c,d)
#define IOleCommandTarget_Exec(p,a,b,c,d,e) (p)->lpVtbl->Exec(p,a,b,c,d,e)
#endif
/*****************************************************************************
...
...
@@ -339,13 +349,15 @@ ICOM_DEFINE(IOleCommandTarget,IUnknown)
ICOM_DEFINE
(
IContinueCallback
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IContinueCallback_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IContinueCallback_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IContinueCallback_Release(p)
ICOM_CALL (Release,
p)
#define IContinueCallback_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IContinueCallback_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IContinueCallback_Release(p)
(p)->lpVtbl->Release(
p)
/*** IContinueCallback methods ***/
#define IContinueCallback_FContinue(p) ICOM_CALL (FContinue,p)
#define IContinueCallback_FContinuePrinting(p,a,b,c) ICOM_CALL3(FContinuePrinting,p,a,b,c)
#define IContinueCallback_FContinue(p) (p)->lpVtbl->FContinue(p)
#define IContinueCallback_FContinuePrinting(p,a,b,c) (p)->lpVtbl->FContinuePrinting(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -362,14 +374,16 @@ ICOM_DEFINE(IContinueCallback,IUnknown)
ICOM_DEFINE
(
IPrint
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPrint_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPrint_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPrint_Release(p)
ICOM_CALL (Release,
p)
#define IPrint_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPrint_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPrint_Release(p)
(p)->lpVtbl->Release(
p)
/*** Iprint methods ***/
#define IPrint_SetInitialPageNum(p,a) ICOM_CALL1(SetInitialPageNum,p,a)
#define IPrint_GetPageInfo(p,a,b) ICOM_CALL2(GetPageInfo,p,a,b)
#define IPrint_Print(p,a,b,c,d,e,f,g) ICOM_CALL7(Print,p,a,b,c,d,e,f,g)
#define IPrint_SetInitialPageNum(p,a) (p)->lpVtbl->SetInitialPageNum(p,a)
#define IPrint_GetPageInfo(p,a,b) (p)->lpVtbl->GetPageInfo(p,a,b)
#define IPrint_Print(p,a,b,c,d,e,f,g) (p)->lpVtbl->Print(p,a,b,c,d,e,f,g)
#endif
#define LPMSODOCUMENT LPOLEDOCUMENT
...
...
include/dplay.h
View file @
55379110
...
...
@@ -449,33 +449,35 @@ typedef BOOL (CALLBACK *LPDPENUMSESSIONSCALLBACK2)(
ICOM_DEFINE
(
IDirectPlay
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectPlay_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectPlay_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectPlay_Release(p)
ICOM_CALL (Release,
p)
#define IDirectPlay_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectPlay_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectPlay_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectPlay methods ***/
#define IDirectPlay_AddPlayerToGroup(p,a,b) ICOM_CALL2(AddPlayerToGroup,p,a,b)
#define IDirectPlay_Close(p) ICOM_CALL (Close,p)
#define IDirectPlay_CreatePlayer(p,a,b,c,d) ICOM_CALL4(CreatePlayer,p,a,b,c,d)
#define IDirectPlay_CreateGroup(p,a,b,c) ICOM_CALL3(CreateGroup,p,a,b,c)
#define IDirectPlay_DeletePlayerFromGroup(p,a,b) ICOM_CALL2(DeletePlayerFromGroup,p,a,b)
#define IDirectPlay_DestroyPlayer(p,a) ICOM_CALL1(DestroyPlayer,p,a)
#define IDirectPlay_DestroyGroup(p,a) ICOM_CALL1(DestroyGroup,p,a)
#define IDirectPlay_EnableNewPlayers(p,a) ICOM_CALL1(EnableNewPlayers,p,a)
#define IDirectPlay_EnumGroupPlayers(p,a,b,c,d) ICOM_CALL4(EnumGroupPlayers,p,a,b,c,d)
#define IDirectPlay_EnumGroups(p,a,b,c,d) ICOM_CALL4(EnumGroups,p,a,b,c,d)
#define IDirectPlay_EnumPlayers(p,a,b,c,d) ICOM_CALL4(EnumPlayers,p,a,b,c,d)
#define IDirectPlay_EnumSessions(p,a,b,c,d,e) ICOM_CALL5(EnumSessions,p,a,b,c,d,e)
#define IDirectPlay_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectPlay_GetMessageCount(p,a,b) ICOM_CALL2(GetMessageCount,p,a,b)
#define IDirectPlay_GetPlayerCaps(p,a,b) ICOM_CALL2(GetPlayerCaps,p,a,b)
#define IDirectPlay_GetPlayerName(p,a,b,c,d,e) ICOM_CALL5(GetPlayerName,p,a,b,c,d,e)
#define IDirectPlay_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#define IDirectPlay_Open(p,a) ICOM_CALL1(Open,p,a)
#define IDirectPlay_Receive(p,a,b,c,d,e) ICOM_CALL5(Receive,p,a,b,c,d,e)
#define IDirectPlay_SaveSession(p,a) ICOM_CALL1(SaveSession,p,a)
#define IDirectPlay_Send(p,a,b,c,d,e) ICOM_CALL5(Send,p,a,b,c,d,e)
#define IDirectPlay_SetPlayerName(p,a,b,c) ICOM_CALL3(SetPlayerName,p,a,b,c)
#define IDirectPlay_AddPlayerToGroup(p,a,b) (p)->lpVtbl->AddPlayerToGroup(p,a,b)
#define IDirectPlay_Close(p) (p)->lpVtbl->Close(p)
#define IDirectPlay_CreatePlayer(p,a,b,c,d) (p)->lpVtbl->CreatePlayer(p,a,b,c,d)
#define IDirectPlay_CreateGroup(p,a,b,c) (p)->lpVtbl->CreateGroup(p,a,b,c)
#define IDirectPlay_DeletePlayerFromGroup(p,a,b) (p)->lpVtbl->DeletePlayerFromGroup(p,a,b)
#define IDirectPlay_DestroyPlayer(p,a) (p)->lpVtbl->DestroyPlayer(p,a)
#define IDirectPlay_DestroyGroup(p,a) (p)->lpVtbl->DestroyGroup(p,a)
#define IDirectPlay_EnableNewPlayers(p,a) (p)->lpVtbl->EnableNewPlayers(p,a)
#define IDirectPlay_EnumGroupPlayers(p,a,b,c,d) (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d)
#define IDirectPlay_EnumGroups(p,a,b,c,d) (p)->lpVtbl->EnumGroups(p,a,b,c,d)
#define IDirectPlay_EnumPlayers(p,a,b,c,d) (p)->lpVtbl->EnumPlayers(p,a,b,c,d)
#define IDirectPlay_EnumSessions(p,a,b,c,d,e) (p)->lpVtbl->EnumSessions(p,a,b,c,d,e)
#define IDirectPlay_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectPlay_GetMessageCount(p,a,b) (p)->lpVtbl->GetMessageCount(p,a,b)
#define IDirectPlay_GetPlayerCaps(p,a,b) (p)->lpVtbl->GetPlayerCaps(p,a,b)
#define IDirectPlay_GetPlayerName(p,a,b,c,d,e) (p)->lpVtbl->GetPlayerName(p,a,b,c,d,e)
#define IDirectPlay_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#define IDirectPlay_Open(p,a) (p)->lpVtbl->Open(p,a)
#define IDirectPlay_Receive(p,a,b,c,d,e) (p)->lpVtbl->Receive(p,a,b,c,d,e)
#define IDirectPlay_SaveSession(p,a) (p)->lpVtbl->SaveSession(p,a)
#define IDirectPlay_Send(p,a,b,c,d,e) (p)->lpVtbl->Send(p,a,b,c,d,e)
#define IDirectPlay_SetPlayerName(p,a,b,c) (p)->lpVtbl->SetPlayerName(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -518,40 +520,42 @@ ICOM_DEFINE(IDirectPlay,IUnknown)
ICOM_DEFINE
(
IDirectPlay2
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectPlay2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectPlay2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectPlay2_Release(p)
ICOM_CALL (Release,
p)
#define IDirectPlay2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectPlay2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectPlay2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectPlay2 methods ***/
#define IDirectPlay2_AddPlayerToGroup(p,a,b) ICOM_CALL2(AddPlayerToGroup,p,a,b)
#define IDirectPlay2_Close(p) ICOM_CALL (Close,p)
#define IDirectPlay2_CreateGroup(p,a,b,c,d,e) ICOM_CALL5(CreateGroup,p,a,b,c,d,e)
#define IDirectPlay2_CreatePlayer(p,a,b,c,d,e,f) ICOM_CALL6(CreatePlayer,p,a,b,c,d,e,f)
#define IDirectPlay2_DeletePlayerFromGroup(p,a,b) ICOM_CALL2(DeletePlayerFromGroup,p,a,b)
#define IDirectPlay2_DestroyGroup(p,a) ICOM_CALL1(DestroyGroup,p,a)
#define IDirectPlay2_DestroyPlayer(p,a) ICOM_CALL1(DestroyPlayer,p,a)
#define IDirectPlay2_EnumGroupPlayers(p,a,b,c,d,e) ICOM_CALL5(EnumGroupPlayers,p,a,b,c,d,e)
#define IDirectPlay2_EnumGroups(p,a,b,c,d) ICOM_CALL4(EnumGroups,p,a,b,c,d)
#define IDirectPlay2_EnumPlayers(p,a,b,c,d) ICOM_CALL4(EnumPlayers,p,a,b,c,d)
#define IDirectPlay2_EnumSessions(p,a,b,c,d,e) ICOM_CALL5(EnumSessions,p,a,b,c,d,e)
#define IDirectPlay2_GetCaps(p,a,b) ICOM_CALL2(GetCaps,p,a,b)
#define IDirectPlay2_GetGroupData(p,a,b,c,d) ICOM_CALL4(GetGroupData,p,a,b,c,d)
#define IDirectPlay2_GetGroupName(p,a,b,c) ICOM_CALL3(GetGroupName,p,a,b,c)
#define IDirectPlay2_GetMessageCount(p,a,b) ICOM_CALL2(GetMessageCount,p,a,b)
#define IDirectPlay2_GetPlayerAddress(p,a,b,c) ICOM_CALL3(GetPlayerAddress,p,a,b,c)
#define IDirectPlay2_GetPlayerCaps(p,a,b,c) ICOM_CALL3(GetPlayerCaps,p,a,b,c)
#define IDirectPlay2_GetPlayerData(p,a,b,c,d) ICOM_CALL4(GetPlayerData,p,a,b,c,d)
#define IDirectPlay2_GetPlayerName(p,a,b,c) ICOM_CALL3(GetPlayerName,p,a,b,c)
#define IDirectPlay2_GetSessionDesc(p,a,b) ICOM_CALL2(GetSessionDesc,p,a,b)
#define IDirectPlay2_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#define IDirectPlay2_Open(p,a,b) ICOM_CALL2(Open,p,a,b)
#define IDirectPlay2_Receive(p,a,b,c,d,e) ICOM_CALL5(Receive,p,a,b,c,d,e)
#define IDirectPlay2_Send(p,a,b,c,d,e) ICOM_CALL5(Send,p,a,b,c,d,e)
#define IDirectPlay2_SetGroupData(p,a,b,c,d) ICOM_CALL4(SetGroupData,p,a,b,c,d)
#define IDirectPlay2_SetGroupName(p,a,b,c) ICOM_CALL3(SetGroupName,p,a,b,c)
#define IDirectPlay2_SetPlayerData(p,a,b,c,d) ICOM_CALL4(SetPlayerData,p,a,b,c,d)
#define IDirectPlay2_SetPlayerName(p,a,b,c) ICOM_CALL3(SetPlayerName,p,a,b,c)
#define IDirectPlay2_SetSessionDesc(p,a,b) ICOM_CALL2(SetSessionDesc,p,a,b)
#define IDirectPlay2_AddPlayerToGroup(p,a,b) (p)->lpVtbl->AddPlayerToGroup(p,a,b)
#define IDirectPlay2_Close(p) (p)->lpVtbl->Close(p)
#define IDirectPlay2_CreateGroup(p,a,b,c,d,e) (p)->lpVtbl->CreateGroup(p,a,b,c,d,e)
#define IDirectPlay2_CreatePlayer(p,a,b,c,d,e,f) (p)->lpVtbl->CreatePlayer(p,a,b,c,d,e,f)
#define IDirectPlay2_DeletePlayerFromGroup(p,a,b) (p)->lpVtbl->DeletePlayerFromGroup(p,a,b)
#define IDirectPlay2_DestroyGroup(p,a) (p)->lpVtbl->DestroyGroup(p,a)
#define IDirectPlay2_DestroyPlayer(p,a) (p)->lpVtbl->DestroyPlayer(p,a)
#define IDirectPlay2_EnumGroupPlayers(p,a,b,c,d,e) (p)->lpVtbl->EnumGroupPlayers(p,a,b,c,d,e)
#define IDirectPlay2_EnumGroups(p,a,b,c,d) (p)->lpVtbl->EnumGroups(p,a,b,c,d)
#define IDirectPlay2_EnumPlayers(p,a,b,c,d) (p)->lpVtbl->EnumPlayers(p,a,b,c,d)
#define IDirectPlay2_EnumSessions(p,a,b,c,d,e) (p)->lpVtbl->EnumSessions(p,a,b,c,d,e)
#define IDirectPlay2_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b)
#define IDirectPlay2_GetGroupData(p,a,b,c,d) (p)->lpVtbl->GetGroupData(p,a,b,c,d)
#define IDirectPlay2_GetGroupName(p,a,b,c) (p)->lpVtbl->GetGroupName(p,a,b,c)
#define IDirectPlay2_GetMessageCount(p,a,b) (p)->lpVtbl->GetMessageCount(p,a,b)
#define IDirectPlay2_GetPlayerAddress(p,a,b,c) (p)->lpVtbl->GetPlayerAddress(p,a,b,c)
#define IDirectPlay2_GetPlayerCaps(p,a,b,c) (p)->lpVtbl->GetPlayerCaps(p,a,b,c)
#define IDirectPlay2_GetPlayerData(p,a,b,c,d) (p)->lpVtbl->GetPlayerData(p,a,b,c,d)
#define IDirectPlay2_GetPlayerName(p,a,b,c) (p)->lpVtbl->GetPlayerName(p,a,b,c)
#define IDirectPlay2_GetSessionDesc(p,a,b) (p)->lpVtbl->GetSessionDesc(p,a,b)
#define IDirectPlay2_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#define IDirectPlay2_Open(p,a,b) (p)->lpVtbl->Open(p,a,b)
#define IDirectPlay2_Receive(p,a,b,c,d,e) (p)->lpVtbl->Receive(p,a,b,c,d,e)
#define IDirectPlay2_Send(p,a,b,c,d,e) (p)->lpVtbl->Send(p,a,b,c,d,e)
#define IDirectPlay2_SetGroupData(p,a,b,c,d) (p)->lpVtbl->SetGroupData(p,a,b,c,d)
#define IDirectPlay2_SetGroupName(p,a,b,c) (p)->lpVtbl->SetGroupName(p,a,b,c)
#define IDirectPlay2_SetPlayerData(p,a,b,c,d) (p)->lpVtbl->SetPlayerData(p,a,b,c,d)
#define IDirectPlay2_SetPlayerName(p,a,b,c) (p)->lpVtbl->SetPlayerName(p,a,b,c)
#define IDirectPlay2_SetSessionDesc(p,a,b) (p)->lpVtbl->SetSessionDesc(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -580,56 +584,58 @@ ICOM_DEFINE(IDirectPlay2,IUnknown)
ICOM_DEFINE
(
IDirectPlay3
,
IDirectPlay2
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectPlay3_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectPlay3_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectPlay3_Release(p)
ICOM_CALL (Release,
p)
#define IDirectPlay3_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectPlay3_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectPlay3_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectPlay2 methods ***/
#define IDirectPlay3_AddPlayerToGroup(p,a,b)
ICOM_CALL2(AddPlayerToGroup,
p,a,b)
#define IDirectPlay3_Close(p)
ICOM_CALL (Close,
p)
#define IDirectPlay3_CreateGroup(p,a,b,c,d,e)
ICOM_CALL5(CreateGroup,
p,a,b,c,d,e)
#define IDirectPlay3_CreatePlayer(p,a,b,c,d,e,f)
ICOM_CALL6(CreatePlayer,
p,a,b,c,d,e,f)
#define IDirectPlay3_DeletePlayerFromGroup(p,a,b)
ICOM_CALL2(DeletePlayerFromGroup,
p,a,b)
#define IDirectPlay3_DestroyGroup(p,a)
ICOM_CALL1(DestroyGroup,
p,a)
#define IDirectPlay3_DestroyPlayer(p,a)
ICOM_CALL1(DestroyPlayer,
p,a)
#define IDirectPlay3_EnumGroupPlayers(p,a,b,c,d,e)
ICOM_CALL5(EnumGroupPlayers,
p,a,b,c,d,e)
#define IDirectPlay3_EnumGroups(p,a,b,c,d)
ICOM_CALL4(EnumGroups,
p,a,b,c,d)
#define IDirectPlay3_EnumPlayers(p,a,b,c,d)
ICOM_CALL4(EnumPlayers,
p,a,b,c,d)
#define IDirectPlay3_EnumSessions(p,a,b,c,d,e)
ICOM_CALL5(EnumSessions,
p,a,b,c,d,e)
#define IDirectPlay3_GetCaps(p,a,b)
ICOM_CALL2(GetCaps,
p,a,b)
#define IDirectPlay3_GetGroupData(p,a,b,c,d)
ICOM_CALL4(GetGroupData,
p,a,b,c,d)
#define IDirectPlay3_GetGroupName(p,a,b,c)
ICOM_CALL3(GetGroupName,
p,a,b,c)
#define IDirectPlay3_GetMessageCount(p,a,b)
ICOM_CALL2(GetMessageCount,
p,a,b)
#define IDirectPlay3_GetPlayerAddress(p,a,b,c)
ICOM_CALL3(GetPlayerAddress,
p,a,b,c)
#define IDirectPlay3_GetPlayerCaps(p,a,b,c)
ICOM_CALL3(GetPlayerCaps,
p,a,b,c)
#define IDirectPlay3_GetPlayerData(p,a,b,c,d)
ICOM_CALL4(GetPlayerData,
p,a,b,c,d)
#define IDirectPlay3_GetPlayerName(p,a,b,c)
ICOM_CALL3(GetPlayerName,
p,a,b,c)
#define IDirectPlay3_GetSessionDesc(p,a,b)
ICOM_CALL2(GetSessionDesc,
p,a,b)
#define IDirectPlay3_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IDirectPlay3_Open(p,a,b)
ICOM_CALL2(Open,
p,a,b)
#define IDirectPlay3_Receive(p,a,b,c,d,e)
ICOM_CALL5(Receive,
p,a,b,c,d,e)
#define IDirectPlay3_Send(p,a,b,c,d,e)
ICOM_CALL5(Send,
p,a,b,c,d,e)
#define IDirectPlay3_SetGroupData(p,a,b,c,d)
ICOM_CALL4(SetGroupData,
p,a,b,c,d)
#define IDirectPlay3_SetGroupName(p,a,b,c)
ICOM_CALL3(SetGroupName,
p,a,b,c)
#define IDirectPlay3_SetPlayerData(p,a,b,c,d)
ICOM_CALL4(SetPlayerData,
p,a,b,c,d)
#define IDirectPlay3_SetPlayerName(p,a,b,c)
ICOM_CALL3(SetPlayerName,
p,a,b,c)
#define IDirectPlay3_SetSessionDesc(p,a,b)
ICOM_CALL2(SetSessionDesc,
p,a,b)
#define IDirectPlay3_AddPlayerToGroup(p,a,b)
(p)->lpVtbl->AddPlayerToGroup(
p,a,b)
#define IDirectPlay3_Close(p)
(p)->lpVtbl->Close(
p)
#define IDirectPlay3_CreateGroup(p,a,b,c,d,e)
(p)->lpVtbl->CreateGroup(
p,a,b,c,d,e)
#define IDirectPlay3_CreatePlayer(p,a,b,c,d,e,f)
(p)->lpVtbl->CreatePlayer(
p,a,b,c,d,e,f)
#define IDirectPlay3_DeletePlayerFromGroup(p,a,b)
(p)->lpVtbl->DeletePlayerFromGroup(
p,a,b)
#define IDirectPlay3_DestroyGroup(p,a)
(p)->lpVtbl->DestroyGroup(
p,a)
#define IDirectPlay3_DestroyPlayer(p,a)
(p)->lpVtbl->DestroyPlayer(
p,a)
#define IDirectPlay3_EnumGroupPlayers(p,a,b,c,d,e)
(p)->lpVtbl->EnumGroupPlayers(
p,a,b,c,d,e)
#define IDirectPlay3_EnumGroups(p,a,b,c,d)
(p)->lpVtbl->EnumGroups(
p,a,b,c,d)
#define IDirectPlay3_EnumPlayers(p,a,b,c,d)
(p)->lpVtbl->EnumPlayers(
p,a,b,c,d)
#define IDirectPlay3_EnumSessions(p,a,b,c,d,e)
(p)->lpVtbl->EnumSessions(
p,a,b,c,d,e)
#define IDirectPlay3_GetCaps(p,a,b)
(p)->lpVtbl->GetCaps(
p,a,b)
#define IDirectPlay3_GetGroupData(p,a,b,c,d)
(p)->lpVtbl->GetGroupData(
p,a,b,c,d)
#define IDirectPlay3_GetGroupName(p,a,b,c)
(p)->lpVtbl->GetGroupName(
p,a,b,c)
#define IDirectPlay3_GetMessageCount(p,a,b)
(p)->lpVtbl->GetMessageCount(
p,a,b)
#define IDirectPlay3_GetPlayerAddress(p,a,b,c)
(p)->lpVtbl->GetPlayerAddress(
p,a,b,c)
#define IDirectPlay3_GetPlayerCaps(p,a,b,c)
(p)->lpVtbl->GetPlayerCaps(
p,a,b,c)
#define IDirectPlay3_GetPlayerData(p,a,b,c,d)
(p)->lpVtbl->GetPlayerData(
p,a,b,c,d)
#define IDirectPlay3_GetPlayerName(p,a,b,c)
(p)->lpVtbl->GetPlayerName(
p,a,b,c)
#define IDirectPlay3_GetSessionDesc(p,a,b)
(p)->lpVtbl->GetSessionDesc(
p,a,b)
#define IDirectPlay3_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
#define IDirectPlay3_Open(p,a,b)
(p)->lpVtbl->Open(
p,a,b)
#define IDirectPlay3_Receive(p,a,b,c,d,e)
(p)->lpVtbl->Receive(
p,a,b,c,d,e)
#define IDirectPlay3_Send(p,a,b,c,d,e)
(p)->lpVtbl->Send(
p,a,b,c,d,e)
#define IDirectPlay3_SetGroupData(p,a,b,c,d)
(p)->lpVtbl->SetGroupData(
p,a,b,c,d)
#define IDirectPlay3_SetGroupName(p,a,b,c)
(p)->lpVtbl->SetGroupName(
p,a,b,c)
#define IDirectPlay3_SetPlayerData(p,a,b,c,d)
(p)->lpVtbl->SetPlayerData(
p,a,b,c,d)
#define IDirectPlay3_SetPlayerName(p,a,b,c)
(p)->lpVtbl->SetPlayerName(
p,a,b,c)
#define IDirectPlay3_SetSessionDesc(p,a,b)
(p)->lpVtbl->SetSessionDesc(
p,a,b)
/*** IDirectPlay3 methods ***/
#define IDirectPlay3_AddGroupToGroup(p,a,b) ICOM_CALL2(AddGroupToGroup,p,a,b)
#define IDirectPlay3_CreateGroupInGroup(p,a,b,c,d,e,f) ICOM_CALL6(CreateGroupInGroup,p,a,b,c,d,e,f)
#define IDirectPlay3_DeleteGroupFromGroup(p,a,b) ICOM_CALL2(DeleteGroupFromGroup,p,a,b)
#define IDirectPlay3_EnumConnections(p,a,b,c,d) ICOM_CALL4(EnumConnections,p,a,b,c,d)
#define IDirectPlay3_EnumGroupsInGroup(p,a,b,c,d,e) ICOM_CALL5(EnumGroupsInGroup,p,a,b,c,d,e)
#define IDirectPlay3_GetGroupConnectionSettings(p,a,b,c,d) ICOM_CALL4(GetGroupConnectionSettings,p,a,b,c,d)
#define IDirectPlay3_InitializeConnection(p,a,b) ICOM_CALL2(InitializeConnection,p,a,b)
#define IDirectPlay3_SecureOpen(p,a,b,c,d) ICOM_CALL4(SecureOpen,p,a,b,c,d)
#define IDirectPlay3_SendChatMessage(p,a,b,c,d) ICOM_CALL4(SendChatMessage,p,a,b,c,d)
#define IDirectPlay3_SetGroupConnectionSettings(p,a,b,c) ICOM_CALL3(SetGroupConnectionSettings,p,a,b,c)
#define IDirectPlay3_StartSession(p,a,b) ICOM_CALL2(StartSession,p,a,b)
#define IDirectPlay3_GetGroupFlags(p,a,b) ICOM_CALL2(GetGroupFlags,p,a,b)
#define IDirectPlay3_GetGroupParent(p,a,b) ICOM_CALL2(GetGroupParent,p,a,b)
#define IDirectPlay3_GetPlayerAccount(p,a,b,c,d) ICOM_CALL4(GetPlayerAccount,p,a,b,c,d)
#define IDirectPlay3_GetPlayerFlags(p,a,b) ICOM_CALL2(GetPlayerFlags,p,a,b)
#define IDirectPlay3_AddGroupToGroup(p,a,b) (p)->lpVtbl->AddGroupToGroup(p,a,b)
#define IDirectPlay3_CreateGroupInGroup(p,a,b,c,d,e,f) (p)->lpVtbl->CreateGroupInGroup(p,a,b,c,d,e,f)
#define IDirectPlay3_DeleteGroupFromGroup(p,a,b) (p)->lpVtbl->DeleteGroupFromGroup(p,a,b)
#define IDirectPlay3_EnumConnections(p,a,b,c,d) (p)->lpVtbl->EnumConnections(p,a,b,c,d)
#define IDirectPlay3_EnumGroupsInGroup(p,a,b,c,d,e) (p)->lpVtbl->EnumGroupsInGroup(p,a,b,c,d,e)
#define IDirectPlay3_GetGroupConnectionSettings(p,a,b,c,d) (p)->lpVtbl->GetGroupConnectionSettings(p,a,b,c,d)
#define IDirectPlay3_InitializeConnection(p,a,b) (p)->lpVtbl->InitializeConnection(p,a,b)
#define IDirectPlay3_SecureOpen(p,a,b,c,d) (p)->lpVtbl->SecureOpen(p,a,b,c,d)
#define IDirectPlay3_SendChatMessage(p,a,b,c,d) (p)->lpVtbl->SendChatMessage(p,a,b,c,d)
#define IDirectPlay3_SetGroupConnectionSettings(p,a,b,c) (p)->lpVtbl->SetGroupConnectionSettings(p,a,b,c)
#define IDirectPlay3_StartSession(p,a,b) (p)->lpVtbl->StartSession(p,a,b)
#define IDirectPlay3_GetGroupFlags(p,a,b) (p)->lpVtbl->GetGroupFlags(p,a,b)
#define IDirectPlay3_GetGroupParent(p,a,b) (p)->lpVtbl->GetGroupParent(p,a,b)
#define IDirectPlay3_GetPlayerAccount(p,a,b,c,d) (p)->lpVtbl->GetPlayerAccount(p,a,b,c,d)
#define IDirectPlay3_GetPlayerFlags(p,a,b) (p)->lpVtbl->GetPlayerFlags(p,a,b)
#endif
/*****************************************************************************
* IDirectPlay4 and IDirectPlay4A interface
...
...
@@ -649,63 +655,65 @@ ICOM_DEFINE(IDirectPlay3,IDirectPlay2)
ICOM_DEFINE
(
IDirectPlay4
,
IDirectPlay3
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectPlayX_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectPlayX_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectPlayX_Release(p)
ICOM_CALL (Release,
p)
#define IDirectPlayX_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectPlayX_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectPlayX_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectPlay2 methods ***/
#define IDirectPlayX_AddPlayerToGroup(p,a,b)
ICOM_CALL2(AddPlayerToGroup,
p,a,b)
#define IDirectPlayX_Close(p)
ICOM_CALL (Close,
p)
#define IDirectPlayX_CreateGroup(p,a,b,c,d,e)
ICOM_CALL5(CreateGroup,
p,a,b,c,d,e)
#define IDirectPlayX_CreatePlayer(p,a,b,c,d,e,f)
ICOM_CALL6(CreatePlayer,
p,a,b,c,d,e,f)
#define IDirectPlayX_DeletePlayerFromGroup(p,a,b)
ICOM_CALL2(DeletePlayerFromGroup,
p,a,b)
#define IDirectPlayX_DestroyGroup(p,a)
ICOM_CALL1(DestroyGroup,
p,a)
#define IDirectPlayX_DestroyPlayer(p,a)
ICOM_CALL1(DestroyPlayer,
p,a)
#define IDirectPlayX_EnumGroupPlayers(p,a,b,c,d,e)
ICOM_CALL5(EnumGroupPlayers,
p,a,b,c,d,e)
#define IDirectPlayX_EnumGroups(p,a,b,c,d)
ICOM_CALL4(EnumGroups,
p,a,b,c,d)
#define IDirectPlayX_EnumPlayers(p,a,b,c,d)
ICOM_CALL4(EnumPlayers,
p,a,b,c,d)
#define IDirectPlayX_EnumSessions(p,a,b,c,d,e)
ICOM_CALL5(EnumSessions,
p,a,b,c,d,e)
#define IDirectPlayX_GetCaps(p,a,b)
ICOM_CALL2(GetCaps,
p,a,b)
#define IDirectPlayX_GetGroupData(p,a,b,c,d)
ICOM_CALL4(GetGroupData,
p,a,b,c,d)
#define IDirectPlayX_GetGroupName(p,a,b,c)
ICOM_CALL3(GetGroupName,
p,a,b,c)
#define IDirectPlayX_GetMessageCount(p,a,b)
ICOM_CALL2(GetMessageCount,
p,a,b)
#define IDirectPlayX_GetPlayerAddress(p,a,b,c)
ICOM_CALL3(GetPlayerAddress,
p,a,b,c)
#define IDirectPlayX_GetPlayerCaps(p,a,b,c)
ICOM_CALL3(GetPlayerCaps,
p,a,b,c)
#define IDirectPlayX_GetPlayerData(p,a,b,c,d)
ICOM_CALL4(GetPlayerData,
p,a,b,c,d)
#define IDirectPlayX_GetPlayerName(p,a,b,c)
ICOM_CALL3(GetPlayerName,
p,a,b,c)
#define IDirectPlayX_GetSessionDesc(p,a,b)
ICOM_CALL2(GetSessionDesc,
p,a,b)
#define IDirectPlayX_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IDirectPlayX_Open(p,a,b)
ICOM_CALL2(Open,
p,a,b)
#define IDirectPlayX_Receive(p,a,b,c,d,e)
ICOM_CALL5(Receive,
p,a,b,c,d,e)
#define IDirectPlayX_Send(p,a,b,c,d,e)
ICOM_CALL5(Send,
p,a,b,c,d,e)
#define IDirectPlayX_SetGroupData(p,a,b,c,d)
ICOM_CALL4(SetGroupData,
p,a,b,c,d)
#define IDirectPlayX_SetGroupName(p,a,b,c)
ICOM_CALL3(SetGroupName,
p,a,b,c)
#define IDirectPlayX_SetPlayerData(p,a,b,c,d)
ICOM_CALL4(SetPlayerData,
p,a,b,c,d)
#define IDirectPlayX_SetPlayerName(p,a,b,c)
ICOM_CALL3(SetPlayerName,
p,a,b,c)
#define IDirectPlayX_SetSessionDesc(p,a,b)
ICOM_CALL2(SetSessionDesc,
p,a,b)
#define IDirectPlayX_AddPlayerToGroup(p,a,b)
(p)->lpVtbl->AddPlayerToGroup(
p,a,b)
#define IDirectPlayX_Close(p)
(p)->lpVtbl->Close(
p)
#define IDirectPlayX_CreateGroup(p,a,b,c,d,e)
(p)->lpVtbl->CreateGroup(
p,a,b,c,d,e)
#define IDirectPlayX_CreatePlayer(p,a,b,c,d,e,f)
(p)->lpVtbl->CreatePlayer(
p,a,b,c,d,e,f)
#define IDirectPlayX_DeletePlayerFromGroup(p,a,b)
(p)->lpVtbl->DeletePlayerFromGroup(
p,a,b)
#define IDirectPlayX_DestroyGroup(p,a)
(p)->lpVtbl->DestroyGroup(
p,a)
#define IDirectPlayX_DestroyPlayer(p,a)
(p)->lpVtbl->DestroyPlayer(
p,a)
#define IDirectPlayX_EnumGroupPlayers(p,a,b,c,d,e)
(p)->lpVtbl->EnumGroupPlayers(
p,a,b,c,d,e)
#define IDirectPlayX_EnumGroups(p,a,b,c,d)
(p)->lpVtbl->EnumGroups(
p,a,b,c,d)
#define IDirectPlayX_EnumPlayers(p,a,b,c,d)
(p)->lpVtbl->EnumPlayers(
p,a,b,c,d)
#define IDirectPlayX_EnumSessions(p,a,b,c,d,e)
(p)->lpVtbl->EnumSessions(
p,a,b,c,d,e)
#define IDirectPlayX_GetCaps(p,a,b)
(p)->lpVtbl->GetCaps(
p,a,b)
#define IDirectPlayX_GetGroupData(p,a,b,c,d)
(p)->lpVtbl->GetGroupData(
p,a,b,c,d)
#define IDirectPlayX_GetGroupName(p,a,b,c)
(p)->lpVtbl->GetGroupName(
p,a,b,c)
#define IDirectPlayX_GetMessageCount(p,a,b)
(p)->lpVtbl->GetMessageCount(
p,a,b)
#define IDirectPlayX_GetPlayerAddress(p,a,b,c)
(p)->lpVtbl->GetPlayerAddress(
p,a,b,c)
#define IDirectPlayX_GetPlayerCaps(p,a,b,c)
(p)->lpVtbl->GetPlayerCaps(
p,a,b,c)
#define IDirectPlayX_GetPlayerData(p,a,b,c,d)
(p)->lpVtbl->GetPlayerData(
p,a,b,c,d)
#define IDirectPlayX_GetPlayerName(p,a,b,c)
(p)->lpVtbl->GetPlayerName(
p,a,b,c)
#define IDirectPlayX_GetSessionDesc(p,a,b)
(p)->lpVtbl->GetSessionDesc(
p,a,b)
#define IDirectPlayX_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
#define IDirectPlayX_Open(p,a,b)
(p)->lpVtbl->Open(
p,a,b)
#define IDirectPlayX_Receive(p,a,b,c,d,e)
(p)->lpVtbl->Receive(
p,a,b,c,d,e)
#define IDirectPlayX_Send(p,a,b,c,d,e)
(p)->lpVtbl->Send(
p,a,b,c,d,e)
#define IDirectPlayX_SetGroupData(p,a,b,c,d)
(p)->lpVtbl->SetGroupData(
p,a,b,c,d)
#define IDirectPlayX_SetGroupName(p,a,b,c)
(p)->lpVtbl->SetGroupName(
p,a,b,c)
#define IDirectPlayX_SetPlayerData(p,a,b,c,d)
(p)->lpVtbl->SetPlayerData(
p,a,b,c,d)
#define IDirectPlayX_SetPlayerName(p,a,b,c)
(p)->lpVtbl->SetPlayerName(
p,a,b,c)
#define IDirectPlayX_SetSessionDesc(p,a,b)
(p)->lpVtbl->SetSessionDesc(
p,a,b)
/*** IDirectPlay3 methods ***/
#define IDirectPlayX_AddGroupToGroup(p,a,b)
ICOM_CALL2(AddGroupToGroup,
p,a,b)
#define IDirectPlayX_CreateGroupInGroup(p,a,b,c,d,e,f)
ICOM_CALL6(CreateGroupInGroup,
p,a,b,c,d,e,f)
#define IDirectPlayX_DeleteGroupFromGroup(p,a,b)
ICOM_CALL2(DeleteGroupFromGroup,
p,a,b)
#define IDirectPlayX_EnumConnections(p,a,b,c,d)
ICOM_CALL4(EnumConnections,
p,a,b,c,d)
#define IDirectPlayX_EnumGroupsInGroup(p,a,b,c,d,e)
ICOM_CALL5(EnumGroupsInGroup,
p,a,b,c,d,e)
#define IDirectPlayX_GetGroupConnectionSettings(p,a,b,c,d)
ICOM_CALL4(GetGroupConnectionSettings,
p,a,b,c,d)
#define IDirectPlayX_InitializeConnection(p,a,b)
ICOM_CALL2(InitializeConnection,
p,a,b)
#define IDirectPlayX_SecureOpen(p,a,b,c,d)
ICOM_CALL4(SecureOpen,
p,a,b,c,d)
#define IDirectPlayX_SendChatMessage(p,a,b,c,d)
ICOM_CALL4(SendChatMessage,
p,a,b,c,d)
#define IDirectPlayX_SetGroupConnectionSettings(p,a,b,c)
ICOM_CALL3(SetGroupConnectionSettings,
p,a,b,c)
#define IDirectPlayX_StartSession(p,a,b)
ICOM_CALL2(StartSession,
p,a,b)
#define IDirectPlayX_GetGroupFlags(p,a,b)
ICOM_CALL2(GetGroupFlags,
p,a,b)
#define IDirectPlayX_GetGroupParent(p,a,b)
ICOM_CALL2(GetGroupParent,
p,a,b)
#define IDirectPlayX_GetPlayerAccount(p,a,b,c,d)
ICOM_CALL4(GetPlayerAccount,
p,a,b,c,d)
#define IDirectPlayX_GetPlayerFlags(p,a,b)
ICOM_CALL2(GetPlayerFlags,
p,a,b)
#define IDirectPlayX_AddGroupToGroup(p,a,b)
(p)->lpVtbl->AddGroupToGroup(
p,a,b)
#define IDirectPlayX_CreateGroupInGroup(p,a,b,c,d,e,f)
(p)->lpVtbl->CreateGroupInGroup(
p,a,b,c,d,e,f)
#define IDirectPlayX_DeleteGroupFromGroup(p,a,b)
(p)->lpVtbl->DeleteGroupFromGroup(
p,a,b)
#define IDirectPlayX_EnumConnections(p,a,b,c,d)
(p)->lpVtbl->EnumConnections(
p,a,b,c,d)
#define IDirectPlayX_EnumGroupsInGroup(p,a,b,c,d,e)
(p)->lpVtbl->EnumGroupsInGroup(
p,a,b,c,d,e)
#define IDirectPlayX_GetGroupConnectionSettings(p,a,b,c,d)
(p)->lpVtbl->GetGroupConnectionSettings(
p,a,b,c,d)
#define IDirectPlayX_InitializeConnection(p,a,b)
(p)->lpVtbl->InitializeConnection(
p,a,b)
#define IDirectPlayX_SecureOpen(p,a,b,c,d)
(p)->lpVtbl->SecureOpen(
p,a,b,c,d)
#define IDirectPlayX_SendChatMessage(p,a,b,c,d)
(p)->lpVtbl->SendChatMessage(
p,a,b,c,d)
#define IDirectPlayX_SetGroupConnectionSettings(p,a,b,c)
(p)->lpVtbl->SetGroupConnectionSettings(
p,a,b,c)
#define IDirectPlayX_StartSession(p,a,b)
(p)->lpVtbl->StartSession(
p,a,b)
#define IDirectPlayX_GetGroupFlags(p,a,b)
(p)->lpVtbl->GetGroupFlags(
p,a,b)
#define IDirectPlayX_GetGroupParent(p,a,b)
(p)->lpVtbl->GetGroupParent(
p,a,b)
#define IDirectPlayX_GetPlayerAccount(p,a,b,c,d)
(p)->lpVtbl->GetPlayerAccount(
p,a,b,c,d)
#define IDirectPlayX_GetPlayerFlags(p,a,b)
(p)->lpVtbl->GetPlayerFlags(
p,a,b)
/*** IDirectPlay4 methods ***/
#define IDirectPlayX_GetGroupOwner(p,a,b) ICOM_CALL2(GetGroupOwner,p,a,b)
#define IDirectPlayX_SetGroupOwner(p,a,b) ICOM_CALL2(SetGroupOwner,p,a,b)
#define IDirectPlayX_SendEx(p,a,b,c,d,e,f,g,h,i) ICOM_CALL9(SendEx,a,b,c,d,e,f,g,h,i)
#define IDirectPlayX_GetMessageQueue(p,a,b,c,d,e) ICOM_CALL5(GetMessageQueue,a,b,c,d,e)
#define IDirectPlayX_CancelMessage(p,a,b) ICOM_CALL2(CancelMessage,a,b)
#define IDirectPlayX_CancelPriority(p,a,b,c) ICOM_CALL3(CancelPriority,a,b,c)
#define IDirectPlayX_GetGroupOwner(p,a,b) (p)->lpVtbl->GetGroupOwner(p,a,b)
#define IDirectPlayX_SetGroupOwner(p,a,b) (p)->lpVtbl->SetGroupOwner(p,a,b)
#define IDirectPlayX_SendEx(p,a,b,c,d,e,f,g,h,i) (a)->lpVtbl->SendEx(a,b,c,d,e,f,g,h,i)
#define IDirectPlayX_GetMessageQueue(p,a,b,c,d,e) (a)->lpVtbl->GetMessageQueue(a,b,c,d,e)
#define IDirectPlayX_CancelMessage(p,a,b) (a)->lpVtbl->CancelMessage(a,b)
#define IDirectPlayX_CancelPriority(p,a,b,c) (a)->lpVtbl->CancelPriority(a,b,c)
#endif
/* For DirectPlay::EnumConnections */
...
...
include/dplobby.h
View file @
55379110
...
...
@@ -415,25 +415,27 @@ ICOM_DEFINE(IDirectPlayLobby2,IDirectPlayLobby)
ICOM_DEFINE
(
IDirectPlayLobby3
,
IDirectPlayLobby2
)
#undef INTERFACE
#define IDirectPlayLobby_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IDirectPlayLobby_AddRef(p) ICOM_CALL (AddRef,p)
#define IDirectPlayLobby_Release(p) ICOM_CALL (Release,p)
#define IDirectPlayLobby_Connect(p,a,b,c) ICOM_CALL3(Connect,p,a,b,c)
#define IDirectPlayLobby_ConnectEx(p,a,b,c,d) ICOM_CALL4(ConnectEx,p,a,b,c,d)
#define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) ICOM_CALL6(CreateAddress,p,a,b,c,d,e,f)
#define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) ICOM_CALL4(CreateCompoundAddress,p,a,b,c,d)
#define IDirectPlayLobby_EnumAddress(p,a,b,c,d) ICOM_CALL4(EnumAddress,p,a,b,c,d)
#define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) ICOM_CALL4(EnumAddressTypes,p,a,b,c,d)
#define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) ICOM_CALL3(EnumLocalApplications,p,a,b,c)
#define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) ICOM_CALL3(GetConnectionSettings,p,a,b,c)
#define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) ICOM_CALL5(ReceiveLobbyMessage,p,a,b,c,d,e)
#define IDirectPlayLobby_RegisterApplication(p,a,b) ICOM_CALL2(RegisterApplication,p,a,b)
#define IDirectPlayLobby_RunApplication(p,a,b,c,d) ICOM_CALL4(RunApplication,p,a,b,c,d)
#define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) ICOM_CALL4(SendLobbyMessage,p,a,b,c,d)
#define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) ICOM_CALL3(SetConnectionSettings,p,a,b,c)
#define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) ICOM_CALL3(SetLobbyMessageEvent,p,a,b,c)
#define IDirectPlayLobby_UnregisterApplication(p,a,b) ICOM_CALL2(UnregisterApplication,p,a,b)
#define IDirectPlayLobby_WaitForConnectionSettings(p,a) ICOM_CALL1(WaitForConnectionSettings,p,a)
#ifdef COBJMACROS
#define IDirectPlayLobby_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IDirectPlayLobby_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IDirectPlayLobby_Release(p) (p)->lpVtbl->Release(p)
#define IDirectPlayLobby_Connect(p,a,b,c) (p)->lpVtbl->Connect(p,a,b,c)
#define IDirectPlayLobby_ConnectEx(p,a,b,c,d) (p)->lpVtbl->ConnectEx(p,a,b,c,d)
#define IDirectPlayLobby_CreateAddress(p,a,b,c,d,e,f) (p)->lpVtbl->CreateAddress(p,a,b,c,d,e,f)
#define IDirectPlayLobby_CreateCompoundAddress(p,a,b,c,d) (p)->lpVtbl->CreateCompoundAddress(p,a,b,c,d)
#define IDirectPlayLobby_EnumAddress(p,a,b,c,d) (p)->lpVtbl->EnumAddress(p,a,b,c,d)
#define IDirectPlayLobby_EnumAddressTypes(p,a,b,c,d) (p)->lpVtbl->EnumAddressTypes(p,a,b,c,d)
#define IDirectPlayLobby_EnumLocalApplications(p,a,b,c) (p)->lpVtbl->EnumLocalApplications(p,a,b,c)
#define IDirectPlayLobby_GetConnectionSettings(p,a,b,c) (p)->lpVtbl->GetConnectionSettings(p,a,b,c)
#define IDirectPlayLobby_ReceiveLobbyMessage(p,a,b,c,d,e) (p)->lpVtbl->ReceiveLobbyMessage(p,a,b,c,d,e)
#define IDirectPlayLobby_RegisterApplication(p,a,b) (p)->lpVtbl->RegisterApplication(p,a,b)
#define IDirectPlayLobby_RunApplication(p,a,b,c,d) (p)->lpVtbl->RunApplication(p,a,b,c,d)
#define IDirectPlayLobby_SendLobbyMessage(p,a,b,c,d) (p)->lpVtbl->SendLobbyMessage(p,a,b,c,d)
#define IDirectPlayLobby_SetConnectionSettings(p,a,b,c) (p)->lpVtbl->SetConnectionSettings(p,a,b,c)
#define IDirectPlayLobby_SetLobbyMessageEvent(p,a,b,c) (p)->lpVtbl->SetLobbyMessageEvent(p,a,b,c)
#define IDirectPlayLobby_UnregisterApplication(p,a,b) (p)->lpVtbl->UnregisterApplication(p,a,b)
#define IDirectPlayLobby_WaitForConnectionSettings(p,a) (p)->lpVtbl->WaitForConnectionSettings(p,a)
#endif
/* Used for WaitForConnectionSettings */
#define DPLWAIT_CANCEL 0x00000001
...
...
include/dsdriver.h
View file @
55379110
...
...
@@ -146,17 +146,19 @@ typedef struct _DSCDRIVERCAPS
ICOM_DEFINE
(
IDsDriver
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDsDriver_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDsDriver_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDsDriver_Release(p)
ICOM_CALL (Release,
p)
#define IDsDriver_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDsDriver_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDsDriver_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDsDriver methods ***/
#define IDsDriver_GetDriverDesc(p,a) ICOM_CALL1(GetDriverDesc,p,a)
#define IDsDriver_Open(p) ICOM_CALL (Open,p)
#define IDsDriver_Close(p) ICOM_CALL (Close,p)
#define IDsDriver_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDsDriver_CreateSoundBuffer(p,a,b,c,d,e,f) ICOM_CALL6(CreateSoundBuffer,p,a,b,c,d,e,f)
#define IDsDriver_DuplicateSoundBuffer(p,a,b) ICOM_CALL2(DuplicateSoundBuffer,p,a,b)
#define IDsDriver_GetDriverDesc(p,a) (p)->lpVtbl->GetDriverDesc(p,a)
#define IDsDriver_Open(p) (p)->lpVtbl->Open(p)
#define IDsDriver_Close(p) (p)->lpVtbl->Close(p)
#define IDsDriver_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDsDriver_CreateSoundBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateSoundBuffer(p,a,b,c,d,e,f)
#define IDsDriver_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)
#endif
/*****************************************************************************
* IDsDriverBuffer interface
...
...
@@ -178,20 +180,22 @@ ICOM_DEFINE(IDsDriver,IUnknown)
ICOM_DEFINE
(
IDsDriverBuffer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDsDriverBuffer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDsDriverBuffer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDsDriverBuffer_Release(p)
ICOM_CALL (Release,
p)
#define IDsDriverBuffer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDsDriverBuffer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDsDriverBuffer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDsDriverBuffer methods ***/
#define IDsDriverBuffer_Lock(p,a,b,c,d,e,f,g) ICOM_CALL7(Lock,p,a,b,c,d,e,f,g)
#define IDsDriverBuffer_Unlock(p,a,b,c,d) ICOM_CALL4(Unlock,p,a,b,c,d)
#define IDsDriverBuffer_SetFormat(p,a) ICOM_CALL1(SetFormat,p,a)
#define IDsDriverBuffer_SetFrequency(p,a) ICOM_CALL1(SetFrequency,p,a)
#define IDsDriverBuffer_SetVolumePan(p,a) ICOM_CALL1(SetVolumePan,p,a)
#define IDsDriverBuffer_SetPosition(p,a) ICOM_CALL1(SetPosition,p,a)
#define IDsDriverBuffer_GetPosition(p,a,b) ICOM_CALL2(GetPosition,p,a,b)
#define IDsDriverBuffer_Play(p,a,b,c) ICOM_CALL3(Play,p,a,b,c)
#define IDsDriverBuffer_Stop(p) ICOM_CALL (Stop,p)
#define IDsDriverBuffer_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
#define IDsDriverBuffer_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
#define IDsDriverBuffer_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a)
#define IDsDriverBuffer_SetFrequency(p,a) (p)->lpVtbl->SetFrequency(p,a)
#define IDsDriverBuffer_SetVolumePan(p,a) (p)->lpVtbl->SetVolumePan(p,a)
#define IDsDriverBuffer_SetPosition(p,a) (p)->lpVtbl->SetPosition(p,a)
#define IDsDriverBuffer_GetPosition(p,a,b) (p)->lpVtbl->GetPosition(p,a,b)
#define IDsDriverBuffer_Play(p,a,b,c) (p)->lpVtbl->Play(p,a,b,c)
#define IDsDriverBuffer_Stop(p) (p)->lpVtbl->Stop(p)
#endif
/*****************************************************************************
* IDsDriverPropertySet interface
...
...
@@ -207,14 +211,16 @@ ICOM_DEFINE(IDsDriverBuffer,IUnknown)
ICOM_DEFINE
(
IDsDriverPropertySet
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDsDriverPropertySet_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDsDriverPropertySet_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDsDriverPropertySet_Release(p)
ICOM_CALL (Release,
p)
#define IDsDriverPropertySet_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDsDriverPropertySet_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDsDriverPropertySet_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDsDriverPropertySet methods ***/
#define IDsDriverPropertySet_Get(p,a,b,c,d,e,f) ICOM_CALL6(Get,p,a,b,c,d,e,f)
#define IDsDriverPropertySet_Set(p,a,b,c,d,e) ICOM_CALL5(Set,p,a,b,c,d,e)
#define IDsDriverPropertySet_QuerySupport(p,a,b,c) ICOM_CALL3(QuerySupport,p,a,b,c)
#define IDsDriverPropertySet_Get(p,a,b,c,d,e,f) (p)->lpVtbl->Get(p,a,b,c,d,e,f)
#define IDsDriverPropertySet_Set(p,a,b,c,d,e) (p)->lpVtbl->Set(p,a,b,c,d,e)
#define IDsDriverPropertySet_QuerySupport(p,a,b,c) (p)->lpVtbl->QuerySupport(p,a,b,c)
#endif
/* Defined property sets */
DEFINE_GUID
(
DSPROPSETID_DirectSound3DListener
,
0x6D047B40
,
0x7AF9
,
0x11D0
,
0x92
,
0x94
,
0x44
,
0x45
,
0x53
,
0x54
,
0x0
,
0x0
);
...
...
@@ -263,12 +269,14 @@ typedef enum
ICOM_DEFINE
(
IDsDriverNotify
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDsDriverNotify_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDsDriverNotify_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDsDriverNotify_Release(p)
ICOM_CALL (Release,
p)
#define IDsDriverNotify_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDsDriverNotify_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDsDriverNotify_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDsDriverNotify methods ***/
#define IDsDriverNotify_SetNotificationPositions(p,a,b) ICOM_CALL2(SetNotificationPositions,p,a,b)
#define IDsDriverNotify_SetNotificationPositions(p,a,b) (p)->lpVtbl->SetNotificationPositions(p,a,b)
#endif
/*****************************************************************************
* IDsCaptureDriver interface
...
...
@@ -286,16 +294,18 @@ ICOM_DEFINE(IDsDriverNotify,IUnknown)
ICOM_DEFINE
(
IDsCaptureDriver
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDsCaptureDriver_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDsCaptureDriver_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDsCaptureDriver_Release(p)
ICOM_CALL (Release,
p)
#define IDsCaptureDriver_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDsCaptureDriver_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDsCaptureDriver_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDsCaptureDriver methods ***/
#define IDsCaptureDriver_GetDriverDesc(p,a) ICOM_CALL1(GetDriverDesc,p,a)
#define IDsCaptureDriver_Open(p) ICOM_CALL (Open,p)
#define IDsCaptureDriver_Close(p) ICOM_CALL (Close,p)
#define IDsCaptureDriver_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDsCaptureDriver_CreateCaptureBuffer(p,a,b,c,d,e,f) ICOM_CALL6(CreateCaptureBuffer,p,a,b,c,d,e,f)
#define IDsCaptureDriver_GetDriverDesc(p,a) (p)->lpVtbl->GetDriverDesc(p,a)
#define IDsCaptureDriver_Open(p) (p)->lpVtbl->Open(p)
#define IDsCaptureDriver_Close(p) (p)->lpVtbl->Close(p)
#define IDsCaptureDriver_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDsCaptureDriver_CreateCaptureBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateCaptureBuffer(p,a,b,c,d,e,f)
#endif
/*****************************************************************************
* IDsCaptureDriverBuffer interface
...
...
@@ -315,18 +325,20 @@ ICOM_DEFINE(IDsCaptureDriver,IUnknown)
ICOM_DEFINE
(
IDsCaptureDriverBuffer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDsCaptureDriverBuffer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDsCaptureDriverBuffer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDsCaptureDriverBuffer_Release(p)
ICOM_CALL (Release,
p)
#define IDsCaptureDriverBuffer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDsCaptureDriverBuffer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDsCaptureDriverBuffer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDsCaptureDriverBuffer methods ***/
#define IDsCaptureDriverBuffer_Lock(p,a,b,c,d,e,f,g) ICOM_CALL7(Lock,p,a,b,c,d,e,f,g)
#define IDsCaptureDriverBuffer_Unlock(p,a,b,c,d) ICOM_CALL4(Unlock,p,a,b,c,d)
#define IDsCaptureDriverBuffer_SetFormat(p,a) ICOM_CALL1(SetFormat,p,a)
#define IDsCaptureDriverBuffer_GetPosition(p,a,b) ICOM_CALL2(GetPosition,p,a,b)
#define IDsCaptureDriverBuffer_GetStatus(p,a) ICOM_CALL1(GetStatus,p,a)
#define IDsCaptureDriverBuffer_Start(p,a) ICOM_CALL1(Start,p,a)
#define IDsCaptureDriverBuffer_Stop(p) ICOM_CALL (Stop,p)
#define IDsCaptureDriverBuffer_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
#define IDsCaptureDriverBuffer_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
#define IDsCaptureDriverBuffer_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a)
#define IDsCaptureDriverBuffer_GetPosition(p,a,b) (p)->lpVtbl->GetPosition(p,a,b)
#define IDsCaptureDriverBuffer_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a)
#define IDsCaptureDriverBuffer_Start(p,a) (p)->lpVtbl->Start(p,a)
#define IDsCaptureDriverBuffer_Stop(p) (p)->lpVtbl->Stop(p)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/dsound.h
View file @
55379110
...
...
@@ -346,19 +346,21 @@ extern HRESULT WINAPI GetDeviceID(LPCGUID lpGuidSrc, LPGUID lpGuidDest);
ICOM_DEFINE
(
IDirectSound
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectSound_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectSound_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectSound_Release(p)
ICOM_CALL (Release,
p)
#define IDirectSound_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectSound_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectSound_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectSound methods ***/
#define IDirectSound_CreateSoundBuffer(p,a,b,c) ICOM_CALL3(CreateSoundBuffer,p,a,b,c)
#define IDirectSound_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectSound_DuplicateSoundBuffer(p,a,b) ICOM_CALL2(DuplicateSoundBuffer,p,a,b)
#define IDirectSound_SetCooperativeLevel(p,a,b) ICOM_CALL2(SetCooperativeLevel,p,a,b)
#define IDirectSound_Compact(p) ICOM_CALL (Compact,p)
#define IDirectSound_GetSpeakerConfig(p,a) ICOM_CALL1(GetSpeakerConfig,p,a)
#define IDirectSound_SetSpeakerConfig(p,a) ICOM_CALL1(SetSpeakerConfig,p,a)
#define IDirectSound_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#define IDirectSound_CreateSoundBuffer(p,a,b,c) (p)->lpVtbl->CreateSoundBuffer(p,a,b,c)
#define IDirectSound_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectSound_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)
#define IDirectSound_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b)
#define IDirectSound_Compact(p) (p)->lpVtbl->Compact(p)
#define IDirectSound_GetSpeakerConfig(p,a) (p)->lpVtbl->GetSpeakerConfig(p,a)
#define IDirectSound_SetSpeakerConfig(p,a) (p)->lpVtbl->SetSpeakerConfig(p,a)
#define IDirectSound_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#endif
/*****************************************************************************
...
...
@@ -381,21 +383,23 @@ ICOM_DEFINE(IDirectSound,IUnknown)
ICOM_DEFINE
(
IDirectSound8
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectSound8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectSound8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectSound8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectSound8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectSound8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectSound8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectSound methods ***/
#define IDirectSound8_CreateSoundBuffer(p,a,b,c)
ICOM_CALL3(CreateSoundBuffer,
p,a,b,c)
#define IDirectSound8_GetCaps(p,a)
ICOM_CALL1(GetCaps,
p,a)
#define IDirectSound8_DuplicateSoundBuffer(p,a,b)
ICOM_CALL2(DuplicateSoundBuffer,
p,a,b)
#define IDirectSound8_SetCooperativeLevel(p,a,b)
ICOM_CALL2(SetCooperativeLevel,
p,a,b)
#define IDirectSound8_Compact(p)
ICOM_CALL (Compact,
p)
#define IDirectSound8_GetSpeakerConfig(p,a)
ICOM_CALL1(GetSpeakerConfig,
p,a)
#define IDirectSound8_SetSpeakerConfig(p,a)
ICOM_CALL1(SetSpeakerConfig,
p,a)
#define IDirectSound8_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IDirectSound8_CreateSoundBuffer(p,a,b,c)
(p)->lpVtbl->CreateSoundBuffer(
p,a,b,c)
#define IDirectSound8_GetCaps(p,a)
(p)->lpVtbl->GetCaps(
p,a)
#define IDirectSound8_DuplicateSoundBuffer(p,a,b)
(p)->lpVtbl->DuplicateSoundBuffer(
p,a,b)
#define IDirectSound8_SetCooperativeLevel(p,a,b)
(p)->lpVtbl->SetCooperativeLevel(
p,a,b)
#define IDirectSound8_Compact(p)
(p)->lpVtbl->Compact(
p)
#define IDirectSound8_GetSpeakerConfig(p,a)
(p)->lpVtbl->GetSpeakerConfig(
p,a)
#define IDirectSound8_SetSpeakerConfig(p,a)
(p)->lpVtbl->SetSpeakerConfig(
p,a)
#define IDirectSound8_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
/*** IDirectSound8 methods ***/
#define IDirectSound8_VerifyCertification(p,a) ICOM_CALL1(VerifyCertification,p,a)
#define IDirectSound8_VerifyCertification(p,a) (p)->lpVtbl->VerifyCertification(p,a)
#endif
/*****************************************************************************
...
...
@@ -427,29 +431,31 @@ ICOM_DEFINE(IDirectSound8,IUnknown)
ICOM_DEFINE
(
IDirectSoundBuffer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectSoundBuffer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectSoundBuffer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectSoundBuffer_Release(p)
ICOM_CALL (Release,
p)
#define IDirectSoundBuffer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectSoundBuffer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectSoundBuffer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectSoundBuffer methods ***/
#define IDirectSoundBuffer_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectSoundBuffer_GetCurrentPosition(p,a,b) ICOM_CALL2(GetCurrentPosition,p,a,b)
#define IDirectSoundBuffer_GetFormat(p,a,b,c) ICOM_CALL3(GetFormat,p,a,b,c)
#define IDirectSoundBuffer_GetVolume(p,a) ICOM_CALL1(GetVolume,p,a)
#define IDirectSoundBuffer_GetPan(p,a) ICOM_CALL1(GetPan,p,a)
#define IDirectSoundBuffer_GetFrequency(p,a) ICOM_CALL1(GetFrequency,p,a)
#define IDirectSoundBuffer_GetStatus(p,a) ICOM_CALL1(GetStatus,p,a)
#define IDirectSoundBuffer_Initialize(p,a,b) ICOM_CALL2(Initialize,p,a,b)
#define IDirectSoundBuffer_Lock(p,a,b,c,d,e,f,g) ICOM_CALL7(Lock,p,a,b,c,d,e,f,g)
#define IDirectSoundBuffer_Play(p,a,b,c) ICOM_CALL3(Play,p,a,b,c)
#define IDirectSoundBuffer_SetCurrentPosition(p,a) ICOM_CALL1(SetCurrentPosition,p,a)
#define IDirectSoundBuffer_SetFormat(p,a) ICOM_CALL1(SetFormat,p,a)
#define IDirectSoundBuffer_SetVolume(p,a) ICOM_CALL1(SetVolume,p,a)
#define IDirectSoundBuffer_SetPan(p,a) ICOM_CALL1(SetPan,p,a)
#define IDirectSoundBuffer_SetFrequency(p,a) ICOM_CALL1(SetFrequency,p,a)
#define IDirectSoundBuffer_Stop(p) ICOM_CALL (Stop,p)
#define IDirectSoundBuffer_Unlock(p,a,b,c,d) ICOM_CALL4(Unlock,p,a,b,c,d)
#define IDirectSoundBuffer_Restore(p) ICOM_CALL (Restore,p)
#define IDirectSoundBuffer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectSoundBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b)
#define IDirectSoundBuffer_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c)
#define IDirectSoundBuffer_GetVolume(p,a) (p)->lpVtbl->GetVolume(p,a)
#define IDirectSoundBuffer_GetPan(p,a) (p)->lpVtbl->GetPan(p,a)
#define IDirectSoundBuffer_GetFrequency(p,a) (p)->lpVtbl->GetFrequency(p,a)
#define IDirectSoundBuffer_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a)
#define IDirectSoundBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
#define IDirectSoundBuffer_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
#define IDirectSoundBuffer_Play(p,a,b,c) (p)->lpVtbl->Play(p,a,b,c)
#define IDirectSoundBuffer_SetCurrentPosition(p,a) (p)->lpVtbl->SetCurrentPosition(p,a)
#define IDirectSoundBuffer_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a)
#define IDirectSoundBuffer_SetVolume(p,a) (p)->lpVtbl->SetVolume(p,a)
#define IDirectSoundBuffer_SetPan(p,a) (p)->lpVtbl->SetPan(p,a)
#define IDirectSoundBuffer_SetFrequency(p,a) (p)->lpVtbl->SetFrequency(p,a)
#define IDirectSoundBuffer_Stop(p) (p)->lpVtbl->Stop(p)
#define IDirectSoundBuffer_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
#define IDirectSoundBuffer_Restore(p) (p)->lpVtbl->Restore(p)
#endif
/*****************************************************************************
...
...
@@ -484,33 +490,35 @@ ICOM_DEFINE(IDirectSoundBuffer,IUnknown)
ICOM_DEFINE
(
IDirectSoundBuffer8
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectSoundBuffer8_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectSoundBuffer8_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectSoundBuffer8_Release(p)
ICOM_CALL (Release,
p)
#define IDirectSoundBuffer8_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectSoundBuffer8_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectSoundBuffer8_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectSoundBuffer methods ***/
#define IDirectSoundBuffer8_GetCaps(p,a)
ICOM_CALL1(GetCaps,
p,a)
#define IDirectSoundBuffer8_GetCurrentPosition(p,a,b)
ICOM_CALL2(GetCurrentPosition,
p,a,b)
#define IDirectSoundBuffer8_GetFormat(p,a,b,c)
ICOM_CALL3(GetFormat,
p,a,b,c)
#define IDirectSoundBuffer8_GetVolume(p,a)
ICOM_CALL1(GetVolume,
p,a)
#define IDirectSoundBuffer8_GetPan(p,a)
ICOM_CALL1(GetPan,
p,a)
#define IDirectSoundBuffer8_GetFrequency(p,a)
ICOM_CALL1(GetFrequency,
p,a)
#define IDirectSoundBuffer8_GetStatus(p,a)
ICOM_CALL1(GetStatus,
p,a)
#define IDirectSoundBuffer8_Initialize(p,a,b)
ICOM_CALL2(Initialize,
p,a,b)
#define IDirectSoundBuffer8_Lock(p,a,b,c,d,e,f,g)
ICOM_CALL7(Lock,
p,a,b,c,d,e,f,g)
#define IDirectSoundBuffer8_Play(p,a,b,c)
ICOM_CALL3(Play,
p,a,b,c)
#define IDirectSoundBuffer8_SetCurrentPosition(p,a)
ICOM_CALL1(SetCurrentPosition,
p,a)
#define IDirectSoundBuffer8_SetFormat(p,a)
ICOM_CALL1(SetFormat,
p,a)
#define IDirectSoundBuffer8_SetVolume(p,a)
ICOM_CALL1(SetVolume,
p,a)
#define IDirectSoundBuffer8_SetPan(p,a)
ICOM_CALL1(SetPan,
p,a)
#define IDirectSoundBuffer8_SetFrequency(p,a)
ICOM_CALL1(SetFrequency,
p,a)
#define IDirectSoundBuffer8_Stop(p)
ICOM_CALL (Stop,
p)
#define IDirectSoundBuffer8_Unlock(p,a,b,c,d)
ICOM_CALL4(Unlock,
p,a,b,c,d)
#define IDirectSoundBuffer8_Restore(p)
ICOM_CALL (Restore,
p)
#define IDirectSoundBuffer8_GetCaps(p,a)
(p)->lpVtbl->GetCaps(
p,a)
#define IDirectSoundBuffer8_GetCurrentPosition(p,a,b)
(p)->lpVtbl->GetCurrentPosition(
p,a,b)
#define IDirectSoundBuffer8_GetFormat(p,a,b,c)
(p)->lpVtbl->GetFormat(
p,a,b,c)
#define IDirectSoundBuffer8_GetVolume(p,a)
(p)->lpVtbl->GetVolume(
p,a)
#define IDirectSoundBuffer8_GetPan(p,a)
(p)->lpVtbl->GetPan(
p,a)
#define IDirectSoundBuffer8_GetFrequency(p,a)
(p)->lpVtbl->GetFrequency(
p,a)
#define IDirectSoundBuffer8_GetStatus(p,a)
(p)->lpVtbl->GetStatus(
p,a)
#define IDirectSoundBuffer8_Initialize(p,a,b)
(p)->lpVtbl->Initialize(
p,a,b)
#define IDirectSoundBuffer8_Lock(p,a,b,c,d,e,f,g)
(p)->lpVtbl->Lock(
p,a,b,c,d,e,f,g)
#define IDirectSoundBuffer8_Play(p,a,b,c)
(p)->lpVtbl->Play(
p,a,b,c)
#define IDirectSoundBuffer8_SetCurrentPosition(p,a)
(p)->lpVtbl->SetCurrentPosition(
p,a)
#define IDirectSoundBuffer8_SetFormat(p,a)
(p)->lpVtbl->SetFormat(
p,a)
#define IDirectSoundBuffer8_SetVolume(p,a)
(p)->lpVtbl->SetVolume(
p,a)
#define IDirectSoundBuffer8_SetPan(p,a)
(p)->lpVtbl->SetPan(
p,a)
#define IDirectSoundBuffer8_SetFrequency(p,a)
(p)->lpVtbl->SetFrequency(
p,a)
#define IDirectSoundBuffer8_Stop(p)
(p)->lpVtbl->Stop(
p)
#define IDirectSoundBuffer8_Unlock(p,a,b,c,d)
(p)->lpVtbl->Unlock(
p,a,b,c,d)
#define IDirectSoundBuffer8_Restore(p)
(p)->lpVtbl->Restore(
p)
/*** IDirectSoundBuffer8 methods ***/
#define IDirectSoundBuffer8_SetFX(p,a,b,c) ICOM_CALL3(SetFX,p,a,b,c)
#define IDirectSoundBuffer8_AcquireResources(p,a,b,c) ICOM_CALL3(AcquireResources,p,a,b,c)
#define IDirectSoundBuffer8_GetObjectInPath(p,a,b,c) ICOM_CALL3(GetObjectInPath,p,a,b,c)
#define IDirectSoundBuffer8_SetFX(p,a,b,c) (p)->lpVtbl->SetFX(p,a,b,c)
#define IDirectSoundBuffer8_AcquireResources(p,a,b,c) (p)->lpVtbl->AcquireResources(p,a,b,c)
#define IDirectSoundBuffer8_GetObjectInPath(p,a,b,c) (p)->lpVtbl->GetObjectInPath(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -528,12 +536,14 @@ ICOM_DEFINE(IDirectSoundBuffer8,IUnknown)
ICOM_DEFINE
(
IDirectSoundCapture
,
IUnknown
)
#undef INTERFACE
#define IDirectSoundCapture_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IDirectSoundCapture_AddRef(p) ICOM_CALL (AddRef,p)
#define IDirectSoundCapture_Release(p) ICOM_CALL (Release,p)
#define IDirectSoundCapture_CreateCaptureBuffer(p,a,b,c) ICOM_CALL3(CreateCaptureBuffer,p,a,b,c)
#define IDirectSoundCapture_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectSoundCapture_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#ifdef COBJMACROS
#define IDirectSoundCapture_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IDirectSoundCapture_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IDirectSoundCapture_Release(p) (p)->lpVtbl->Release(p)
#define IDirectSoundCapture_CreateCaptureBuffer(p,a,b,c) (p)->lpVtbl->CreateCaptureBuffer(p,a,b,c)
#define IDirectSoundCapture_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectSoundCapture_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#endif
/*****************************************************************************
* IDirectSoundCaptureBuffer interface
...
...
@@ -556,18 +566,20 @@ ICOM_DEFINE(IDirectSoundCapture,IUnknown)
ICOM_DEFINE
(
IDirectSoundCaptureBuffer
,
IUnknown
)
#undef INTERFACE
#define IDirectSoundCaptureBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IDirectSoundCaptureBuffer_AddRef(p) ICOM_CALL (AddRef,p)
#define IDirectSoundCaptureBuffer_Release(p) ICOM_CALL (Release,p)
#define IDirectSoundCaptureBuffer_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectSoundCaptureBuffer_GetCurrentPosition(p,a,b) ICOM_CALL2(GetCurrentPosition,p,a,b)
#define IDirectSoundCaptureBuffer_GetFormat(p,a,b,c) ICOM_CALL3(GetFormat,p,a,b,c)
#define IDirectSoundCaptureBuffer_GetStatus(p,a) ICOM_CALL1(GetStatus,p,a)
#define IDirectSoundCaptureBuffer_Initialize(p,a,b) ICOM_CALL2(Initialize,p,a,b)
#define IDirectSoundCaptureBuffer_Lock(p,a,b,c,d,e,f,g) ICOM_CALL7(Lock,p,a,b,c,d,e,f,g)
#define IDirectSoundCaptureBuffer_Start(p,a) ICOM_CALL1(Start,p,a)
#define IDirectSoundCaptureBuffer_Stop(p) ICOM_CALL (Stop,p)
#define IDirectSoundCaptureBuffer_Unlock(p,a,b,c,d) ICOM_CALL4(Unlock,p,a,b,c,d)
#ifdef COBJMACROS
#define IDirectSoundCaptureBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IDirectSoundCaptureBuffer_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IDirectSoundCaptureBuffer_Release(p) (p)->lpVtbl->Release(p)
#define IDirectSoundCaptureBuffer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectSoundCaptureBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b)
#define IDirectSoundCaptureBuffer_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c)
#define IDirectSoundCaptureBuffer_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a)
#define IDirectSoundCaptureBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
#define IDirectSoundCaptureBuffer_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
#define IDirectSoundCaptureBuffer_Start(p,a) (p)->lpVtbl->Start(p,a)
#define IDirectSoundCaptureBuffer_Stop(p) (p)->lpVtbl->Stop(p)
#define IDirectSoundCaptureBuffer_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
#endif
/*****************************************************************************
* IDirectSoundCaptureBuffer8 interface
...
...
@@ -583,20 +595,22 @@ ICOM_DEFINE(IDirectSoundCaptureBuffer,IUnknown)
ICOM_DEFINE
(
IDirectSoundCaptureBuffer8
,
IDirectSoundCaptureBuffer
)
#undef INTERFACE
#define IDirectSoundCaptureBuffer8_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IDirectSoundCaptureBuffer8_AddRef(p) ICOM_CALL (AddRef,p)
#define IDirectSoundCaptureBuffer8_Release(p) ICOM_CALL (Release,p)
#define IDirectSoundCaptureBuffer8_GetCaps(p,a) ICOM_CALL1(GetCaps,p,a)
#define IDirectSoundCaptureBuffer8_GetCurrentPosition(p,a,b) ICOM_CALL2(GetCurrentPosition,p,a,b)
#define IDirectSoundCaptureBuffer8_GetFormat(p,a,b,c) ICOM_CALL3(GetFormat,p,a,b,c)
#define IDirectSoundCaptureBuffer8_GetStatus(p,a) ICOM_CALL1(GetStatus,p,a)
#define IDirectSoundCaptureBuffer8_Initialize(p,a,b) ICOM_CALL2(Initialize,p,a,b)
#define IDirectSoundCaptureBuffer8_Lock(p,a,b,c,d,e,f,g) ICOM_CALL7(Lock,p,a,b,c,d,e,f,g)
#define IDirectSoundCaptureBuffer8_Start(p,a) ICOM_CALL1(Start,p,a)
#define IDirectSoundCaptureBuffer8_Stop(p) ICOM_CALL (Stop,p)
#define IDirectSoundCaptureBuffer8_Unlock(p,a,b,c,d) ICOM_CALL4(Unlock,p,a,b,c,d)
#define IDirectSoundCaptureBuffer8_GetObjectInPath(p,a,b,c,d) ICOM_CALL4(GetObjectInPath,p,a,b,c,d)
#define IDirectSoundCaptureBuffer8_GetFXStatus(p,a,b) ICOM_CALL2(GetFXStatus,p,a,b)
#ifdef COBJMACROS
#define IDirectSoundCaptureBuffer8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IDirectSoundCaptureBuffer8_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IDirectSoundCaptureBuffer8_Release(p) (p)->lpVtbl->Release(p)
#define IDirectSoundCaptureBuffer8_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectSoundCaptureBuffer8_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b)
#define IDirectSoundCaptureBuffer8_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c)
#define IDirectSoundCaptureBuffer8_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a)
#define IDirectSoundCaptureBuffer8_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
#define IDirectSoundCaptureBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
#define IDirectSoundCaptureBuffer8_Start(p,a) (p)->lpVtbl->Start(p,a)
#define IDirectSoundCaptureBuffer8_Stop(p) (p)->lpVtbl->Stop(p)
#define IDirectSoundCaptureBuffer8_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
#define IDirectSoundCaptureBuffer8_GetObjectInPath(p,a,b,c,d) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d)
#define IDirectSoundCaptureBuffer8_GetFXStatus(p,a,b) (p)->lpVtbl->GetFXStatus(p,a,b)
#endif
/*****************************************************************************
* IDirectSoundNotify interface
...
...
@@ -614,12 +628,14 @@ ICOM_DEFINE(IDirectSoundCaptureBuffer8,IDirectSoundCaptureBuffer)
ICOM_DEFINE
(
IDirectSoundNotify
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectSoundNotify_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectSoundNotify_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectSoundNotify_Release(p)
ICOM_CALL (Release,
p)
#define IDirectSoundNotify_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectSoundNotify_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectSoundNotify_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectSoundNotify methods ***/
#define IDirectSoundNotify_SetNotificationPositions(p,a,b) ICOM_CALL2(SetNotificationPositions,p,a,b)
#define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->lpVtbl->SetNotificationPositions(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -689,26 +705,28 @@ typedef const DS3DLISTENER *LPCDS3DLISTENER;
ICOM_DEFINE
(
IDirectSound3DListener
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectSound3DListener_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectSound3DListener_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectSound3DListener_Release(p)
ICOM_CALL (Release,
p)
#define IDirectSound3DListener_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectSound3DListener_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectSound3DListener_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectSound3DListener methods ***/
#define IDirectSound3DListener_GetAllParameters(p,a) ICOM_CALL1(GetAllParameters,p,a)
#define IDirectSound3DListener_GetDistanceFactor(p,a) ICOM_CALL1(GetDistanceFactor,p,a)
#define IDirectSound3DListener_GetDopplerFactor(p,a) ICOM_CALL1(GetDopplerFactor,p,a)
#define IDirectSound3DListener_GetOrientation(p,a,b) ICOM_CALL2(GetOrientation,p,a,b)
#define IDirectSound3DListener_GetPosition(p,a) ICOM_CALL1(GetPosition,p,a)
#define IDirectSound3DListener_GetRolloffFactor(p,a) ICOM_CALL1(GetRolloffFactor,p,a)
#define IDirectSound3DListener_GetVelocity(p,a) ICOM_CALL1(GetVelocity,p,a)
#define IDirectSound3DListener_SetAllParameters(p,a,b) ICOM_CALL2(SetAllParameters,p,a,b)
#define IDirectSound3DListener_SetDistanceFactor(p,a,b) ICOM_CALL2(SetDistanceFactor,p,a,b)
#define IDirectSound3DListener_SetDopplerFactor(p,a,b) ICOM_CALL2(SetDopplerFactor,p,a,b)
#define IDirectSound3DListener_SetOrientation(p,a,b,c,d,e,f,g) ICOM_CALL7(SetOrientation,p,a,b,c,d,e,f,g)
#define IDirectSound3DListener_SetPosition(p,a,b,c,d) ICOM_CALL4(SetPosition,p,a,b,c,d)
#define IDirectSound3DListener_SetRolloffFactor(p,a,b) ICOM_CALL2(SetRolloffFactor,p,a,b)
#define IDirectSound3DListener_SetVelocity(p,a,b,c,d) ICOM_CALL4(SetVelocity,p,a,b,c,d)
#define IDirectSound3DListener_CommitDeferredSettings(p) ICOM_CALL (CommitDeferredSettings,p)
#define IDirectSound3DListener_GetAllParameters(p,a) (p)->lpVtbl->GetAllParameters(p,a)
#define IDirectSound3DListener_GetDistanceFactor(p,a) (p)->lpVtbl->GetDistanceFactor(p,a)
#define IDirectSound3DListener_GetDopplerFactor(p,a) (p)->lpVtbl->GetDopplerFactor(p,a)
#define IDirectSound3DListener_GetOrientation(p,a,b) (p)->lpVtbl->GetOrientation(p,a,b)
#define IDirectSound3DListener_GetPosition(p,a) (p)->lpVtbl->GetPosition(p,a)
#define IDirectSound3DListener_GetRolloffFactor(p,a) (p)->lpVtbl->GetRolloffFactor(p,a)
#define IDirectSound3DListener_GetVelocity(p,a) (p)->lpVtbl->GetVelocity(p,a)
#define IDirectSound3DListener_SetAllParameters(p,a,b) (p)->lpVtbl->SetAllParameters(p,a,b)
#define IDirectSound3DListener_SetDistanceFactor(p,a,b) (p)->lpVtbl->SetDistanceFactor(p,a,b)
#define IDirectSound3DListener_SetDopplerFactor(p,a,b) (p)->lpVtbl->SetDopplerFactor(p,a,b)
#define IDirectSound3DListener_SetOrientation(p,a,b,c,d,e,f,g) (p)->lpVtbl->SetOrientation(p,a,b,c,d,e,f,g)
#define IDirectSound3DListener_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d)
#define IDirectSound3DListener_SetRolloffFactor(p,a,b) (p)->lpVtbl->SetRolloffFactor(p,a,b)
#define IDirectSound3DListener_SetVelocity(p,a,b,c,d) (p)->lpVtbl->SetVelocity(p,a,b,c,d)
#define IDirectSound3DListener_CommitDeferredSettings(p) (p)->lpVtbl->CommitDeferredSettings(p)
#endif
/*****************************************************************************
...
...
@@ -755,29 +773,31 @@ typedef const DS3DBUFFER *LPCDS3DBUFFER;
ICOM_DEFINE
(
IDirectSound3DBuffer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectSound3DBuffer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDirectSound3DBuffer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDirectSound3DBuffer_Release(p)
ICOM_CALL (Release,
p)
#define IDirectSound3DBuffer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDirectSound3DBuffer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDirectSound3DBuffer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDirectSound3DBuffer methods ***/
#define IDirectSound3DBuffer_GetAllParameters(p,a) ICOM_CALL1(GetAllParameters,p,a)
#define IDirectSound3DBuffer_GetConeAngles(p,a,b) ICOM_CALL2(GetConeAngles,p,a,b)
#define IDirectSound3DBuffer_GetConeOrientation(p,a) ICOM_CALL1(GetConeOrientation,p,a)
#define IDirectSound3DBuffer_GetConeOutsideVolume(p,a) ICOM_CALL1(GetConeOutsideVolume,p,a)
#define IDirectSound3DBuffer_GetMaxDistance(p,a) ICOM_CALL1(GetMaxDistance,p,a)
#define IDirectSound3DBuffer_GetMinDistance(p,a) ICOM_CALL1(GetMinDistance,p,a)
#define IDirectSound3DBuffer_GetMode(p,a) ICOM_CALL1(GetMode,p,a)
#define IDirectSound3DBuffer_GetPosition(p,a) ICOM_CALL1(GetPosition,p,a)
#define IDirectSound3DBuffer_GetVelocity(p,a) ICOM_CALL1(GetVelocity,p,a)
#define IDirectSound3DBuffer_SetAllParameters(p,a,b) ICOM_CALL2(SetAllParameters,p,a,b)
#define IDirectSound3DBuffer_SetConeAngles(p,a,b) ICOM_CALL3(SetConeAngles,p,a,b)
#define IDirectSound3DBuffer_SetConeOrientation(p,a,b,c,d) ICOM_CALL4(SetConeOrientation,p,a,b,c,d)
#define IDirectSound3DBuffer_SetConeOutsideVolume(p,a,b) ICOM_CALL2(SetConeOutsideVolume,p,a,b)
#define IDirectSound3DBuffer_SetMaxDistance(p,a,b) ICOM_CALL2(SetMaxDistance,p,a,b)
#define IDirectSound3DBuffer_SetMinDistance(p,a,b) ICOM_CALL2(SetMinDistance,p,a,b)
#define IDirectSound3DBuffer_SetMode(p,a,b) ICOM_CALL2(SetMode,p,a,b)
#define IDirectSound3DBuffer_SetPosition(p,a,b,c,d) ICOM_CALL4(SetPosition,p,a,b,c,d)
#define IDirectSound3DBuffer_SetVelocity(p,a,b,c,d) ICOM_CALL4(SetVelocity,p,a,b,c,d)
#define IDirectSound3DBuffer_GetAllParameters(p,a) (p)->lpVtbl->GetAllParameters(p,a)
#define IDirectSound3DBuffer_GetConeAngles(p,a,b) (p)->lpVtbl->GetConeAngles(p,a,b)
#define IDirectSound3DBuffer_GetConeOrientation(p,a) (p)->lpVtbl->GetConeOrientation(p,a)
#define IDirectSound3DBuffer_GetConeOutsideVolume(p,a) (p)->lpVtbl->GetConeOutsideVolume(p,a)
#define IDirectSound3DBuffer_GetMaxDistance(p,a) (p)->lpVtbl->GetMaxDistance(p,a)
#define IDirectSound3DBuffer_GetMinDistance(p,a) (p)->lpVtbl->GetMinDistance(p,a)
#define IDirectSound3DBuffer_GetMode(p,a) (p)->lpVtbl->GetMode(p,a)
#define IDirectSound3DBuffer_GetPosition(p,a) (p)->lpVtbl->GetPosition(p,a)
#define IDirectSound3DBuffer_GetVelocity(p,a) (p)->lpVtbl->GetVelocity(p,a)
#define IDirectSound3DBuffer_SetAllParameters(p,a,b) (p)->lpVtbl->SetAllParameters(p,a,b)
#define IDirectSound3DBuffer_SetConeAngles(p,a,b) (p)->lpVtbl->SetConeAngles(p,a,b)
#define IDirectSound3DBuffer_SetConeOrientation(p,a,b,c,d) (p)->lpVtbl->SetConeOrientation(p,a,b,c,d)
#define IDirectSound3DBuffer_SetConeOutsideVolume(p,a,b) (p)->lpVtbl->SetConeOutsideVolume(p,a,b)
#define IDirectSound3DBuffer_SetMaxDistance(p,a,b) (p)->lpVtbl->SetMaxDistance(p,a,b)
#define IDirectSound3DBuffer_SetMinDistance(p,a,b) (p)->lpVtbl->SetMinDistance(p,a,b)
#define IDirectSound3DBuffer_SetMode(p,a,b) (p)->lpVtbl->SetMode(p,a,b)
#define IDirectSound3DBuffer_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d)
#define IDirectSound3DBuffer_SetVelocity(p,a,b,c,d) (p)->lpVtbl->SetVelocity(p,a,b,c,d)
#endif
/*****************************************************************************
* IKsPropertySet interface
...
...
@@ -796,12 +816,14 @@ ICOM_DEFINE(IDirectSound3DBuffer,IUnknown)
ICOM_DEFINE
(
IKsPropertySet
,
IUnknown
)
#undef INTERFACE
#define IKsPropertySet_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IKsPropertySet_AddRef(p) ICOM_CALL (AddRef,p)
#define IKsPropertySet_Release(p) ICOM_CALL (Release,p)
#define IKsPropertySet_Get(p,a,b,c,d,e,f,g) ICOM_CALL7(Get,p,a,b,c,d,e,f,g)
#define IKsPropertySet_Set(p,a,b,c,d,e,f) ICOM_CALL6(Set,p,a,b,c,d,e,f)
#define IKsPropertySet_QuerySupport(p,a,b,c) ICOM_CALL3(QuerySupport,p,a,b,c)
#ifdef COBJMACROS
#define IKsPropertySet_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IKsPropertySet_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IKsPropertySet_Release(p) (p)->lpVtbl->Release(p)
#define IKsPropertySet_Get(p,a,b,c,d,e,f,g) (p)->lpVtbl->Get(p,a,b,c,d,e,f,g)
#define IKsPropertySet_Set(p,a,b,c,d,e,f) (p)->lpVtbl->Set(p,a,b,c,d,e,f)
#define IKsPropertySet_QuerySupport(p,a,b,c) (p)->lpVtbl->QuerySupport(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -816,10 +838,12 @@ ICOM_DEFINE(IKsPropertySet,IUnknown)
ICOM_DEFINE
(
IDirectSoundFullDuplex
,
IUnknown
)
#undef INTERFACE
#define IDirectSoundFullDuplex_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IDirectSoundFullDuplex_AddRef(p) ICOM_CALL (AddRef,p)
#define IDirectSoundFullDuplex_Release(p) ICOM_CALL (Release,p)
#define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) ICOM_CALL8(Initialize,p,a,b,c,d,e,f,g,h)
#ifdef COBJMACROS
#define IDirectSoundFullDuplex_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IDirectSoundFullDuplex_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IDirectSoundFullDuplex_Release(p) (p)->lpVtbl->Release(p)
#define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Initialize(p,a,b,c,d,e,f,g,h)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/objbase.h
View file @
55379110
...
...
@@ -44,225 +44,6 @@
/* #define ICOM_MSVTABLE_COMPAT 1 */
/* #define ICOM_USE_COM_INTERFACE_ATTRIBUTE 1 */
#include "objidl.h"
#ifndef RC_INVOKED
/* For compatibility only, at least for now */
#include <stdlib.h>
#endif
#ifndef INITGUID
#include "cguid.h"
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef NONAMELESSSTRUCT
#define LISet32(li, v) ((li).HighPart = (v) < 0 ? -1 : 0, (li).LowPart = (v))
#define ULISet32(li, v) ((li).HighPart = 0, (li).LowPart = (v))
#else
#define LISet32(li, v) ((li).s.HighPart = (v) < 0 ? -1 : 0, (li).s.LowPart = (v))
#define ULISet32(li, v) ((li).s.HighPart = 0, (li).s.LowPart = (v))
#endif
/*****************************************************************************
* Standard API
*/
DWORD
WINAPI
CoBuildVersion
(
void
);
typedef
enum
tagCOINIT
{
COINIT_APARTMENTTHREADED
=
0x2
,
/* Apartment model */
COINIT_MULTITHREADED
=
0x0
,
/* OLE calls objects on any thread */
COINIT_DISABLE_OLE1DDE
=
0x4
,
/* Don't use DDE for Ole1 support */
COINIT_SPEED_OVER_MEMORY
=
0x8
/* Trade memory for speed */
}
COINIT
;
HRESULT
WINAPI
CoInitialize
(
LPVOID
lpReserved
);
HRESULT
WINAPI
CoInitializeEx
(
LPVOID
lpReserved
,
DWORD
dwCoInit
);
void
WINAPI
CoUninitialize
(
void
);
DWORD
WINAPI
CoGetCurrentProcess
(
void
);
HINSTANCE
WINAPI
CoLoadLibrary
(
LPOLESTR
lpszLibName
,
BOOL
bAutoFree
);
void
WINAPI
CoFreeAllLibraries
(
void
);
void
WINAPI
CoFreeLibrary
(
HINSTANCE
hLibrary
);
void
WINAPI
CoFreeUnusedLibraries
(
void
);
HRESULT
WINAPI
CoCreateInstance
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
DWORD
dwClsContext
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoCreateInstanceEx
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
ULONG
cmq
,
MULTI_QI
*
pResults
);
HRESULT
WINAPI
CoGetInstanceFromFile
(
COSERVERINFO
*
pServerInfo
,
CLSID
*
pClsid
,
IUnknown
*
punkOuter
,
DWORD
dwClsCtx
,
DWORD
grfMode
,
OLECHAR
*
pwszName
,
DWORD
dwCount
,
MULTI_QI
*
pResults
);
HRESULT
WINAPI
CoGetInstanceFromIStorage
(
COSERVERINFO
*
pServerInfo
,
CLSID
*
pClsid
,
IUnknown
*
punkOuter
,
DWORD
dwClsCtx
,
IStorage
*
pstg
,
DWORD
dwCount
,
MULTI_QI
*
pResults
);
HRESULT
WINAPI
CoGetMalloc
(
DWORD
dwMemContext
,
LPMALLOC
*
lpMalloc
);
LPVOID
WINAPI
CoTaskMemAlloc
(
ULONG
size
);
void
WINAPI
CoTaskMemFree
(
LPVOID
ptr
);
LPVOID
WINAPI
CoTaskMemRealloc
(
LPVOID
ptr
,
ULONG
size
);
HRESULT
WINAPI
CoRegisterMallocSpy
(
LPMALLOCSPY
pMallocSpy
);
HRESULT
WINAPI
CoRevokeMallocSpy
(
void
);
/* class registration flags; passed to CoRegisterClassObject */
typedef
enum
tagREGCLS
{
REGCLS_SINGLEUSE
=
0
,
REGCLS_MULTIPLEUSE
=
1
,
REGCLS_MULTI_SEPARATE
=
2
,
REGCLS_SUSPENDED
=
4
}
REGCLS
;
HRESULT
WINAPI
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoRegisterClassObject
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnk
,
DWORD
dwClsContext
,
DWORD
flags
,
LPDWORD
lpdwRegister
);
HRESULT
WINAPI
CoRevokeClassObject
(
DWORD
dwRegister
);
HRESULT
WINAPI
CoGetPSClsid
(
REFIID
riid
,
CLSID
*
pclsid
);
HRESULT
WINAPI
CoRegisterPSClsid
(
REFIID
riid
,
REFCLSID
rclsid
);
HRESULT
WINAPI
CoSuspendClassObjects
(
void
);
HRESULT
WINAPI
CoResumeClassObjects
(
void
);
ULONG
WINAPI
CoAddRefServerProcess
(
void
);
HRESULT
WINAPI
CoReleaseServerProcess
(
void
);
/* marshalling */
HRESULT
WINAPI
CoCreateFreeThreadedMarshaler
(
LPUNKNOWN
punkOuter
,
LPUNKNOWN
*
ppunkMarshal
);
HRESULT
WINAPI
CoGetInterfaceAndReleaseStream
(
LPSTREAM
pStm
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoGetMarshalSizeMax
(
ULONG
*
pulSize
,
REFIID
riid
,
LPUNKNOWN
pUnk
,
DWORD
dwDestContext
,
LPVOID
pvDestContext
,
DWORD
mshlflags
);
HRESULT
WINAPI
CoGetStandardMarshal
(
REFIID
riid
,
LPUNKNOWN
pUnk
,
DWORD
dwDestContext
,
LPVOID
pvDestContext
,
DWORD
mshlflags
,
LPMARSHAL
*
ppMarshal
);
HRESULT
WINAPI
CoMarshalHresult
(
LPSTREAM
pstm
,
HRESULT
hresult
);
HRESULT
WINAPI
CoMarshalInterface
(
LPSTREAM
pStm
,
REFIID
riid
,
LPUNKNOWN
pUnk
,
DWORD
dwDestContext
,
LPVOID
pvDestContext
,
DWORD
mshlflags
);
HRESULT
WINAPI
CoMarshalInterThreadInterfaceInStream
(
REFIID
riid
,
LPUNKNOWN
pUnk
,
LPSTREAM
*
ppStm
);
HRESULT
WINAPI
CoReleaseMarshalData
(
LPSTREAM
pStm
);
HRESULT
WINAPI
CoUnmarshalHresult
(
LPSTREAM
pstm
,
HRESULT
*
phresult
);
HRESULT
WINAPI
CoUnmarshalInterface
(
LPSTREAM
pStm
,
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoLockObjectExternal
(
LPUNKNOWN
pUnk
,
BOOL
fLock
,
BOOL
fLastUnlockReleases
);
BOOL
WINAPI
CoIsHandlerConnected
(
LPUNKNOWN
pUnk
);
/* security */
HRESULT
WINAPI
CoInitializeSecurity
(
PSECURITY_DESCRIPTOR
pSecDesc
,
LONG
cAuthSvc
,
SOLE_AUTHENTICATION_SERVICE
*
asAuthSvc
,
void
*
pReserved1
,
DWORD
dwAuthnLevel
,
DWORD
dwImpLevel
,
void
*
pReserved2
,
DWORD
dwCapabilities
,
void
*
pReserved3
);
HRESULT
WINAPI
CoGetCallContext
(
REFIID
riid
,
void
**
ppInterface
);
HRESULT
WINAPI
CoQueryAuthenticationServices
(
DWORD
*
pcAuthSvc
,
SOLE_AUTHENTICATION_SERVICE
**
asAuthSvc
);
HRESULT
WINAPI
CoQueryProxyBlanket
(
IUnknown
*
pProxy
,
DWORD
*
pwAuthnSvc
,
DWORD
*
pAuthzSvc
,
OLECHAR
**
pServerPrincName
,
DWORD
*
pAuthnLevel
,
DWORD
*
pImpLevel
,
RPC_AUTH_IDENTITY_HANDLE
*
pAuthInfo
,
DWORD
*
pCapabilites
);
HRESULT
WINAPI
CoSetProxyBlanket
(
IUnknown
*
pProxy
,
DWORD
dwAuthnSvc
,
DWORD
dwAuthzSvc
,
OLECHAR
*
pServerPrincName
,
DWORD
dwAuthnLevel
,
DWORD
dwImpLevel
,
RPC_AUTH_IDENTITY_HANDLE
pAuthInfo
,
DWORD
dwCapabilities
);
HRESULT
WINAPI
CoCopyProxy
(
IUnknown
*
pProxy
,
IUnknown
**
ppCopy
);
HRESULT
WINAPI
CoImpersonateClient
(
void
);
HRESULT
WINAPI
CoQueryClientBlanket
(
DWORD
*
pAuthnSvc
,
DWORD
*
pAuthzSvc
,
OLECHAR16
**
pServerPrincName
,
DWORD
*
pAuthnLevel
,
DWORD
*
pImpLevel
,
RPC_AUTHZ_HANDLE
*
pPrivs
,
DWORD
*
pCapabilities
);
HRESULT
WINAPI
CoRevertToSelf
(
void
);
/* misc */
HRESULT
WINAPI
CoGetTreatAsClass
(
REFCLSID
clsidOld
,
LPCLSID
pClsidNew
);
HRESULT
WINAPI
CoTreatAsClass
(
REFCLSID
clsidOld
,
REFCLSID
clsidNew
);
HRESULT
WINAPI
CoCreateGuid
(
GUID
*
pguid
);
BOOL
WINAPI
CoIsOle1Class
(
REFCLSID
rclsid
);
BOOL
WINAPI
CoDosDateTimeToFileTime
(
WORD
nDosDate
,
WORD
nDosTime
,
FILETIME
*
lpFileTime
);
BOOL
WINAPI
CoFileTimeToDosDateTime
(
FILETIME
*
lpFileTime
,
WORD
*
lpDosDate
,
WORD
*
lpDosTime
);
HRESULT
WINAPI
CoFileTimeNow
(
FILETIME
*
lpFileTime
);
/*****************************************************************************
* GUID API
*/
HRESULT
WINAPI
StringFromCLSID16
(
REFCLSID
id
,
LPOLESTR16
*
);
HRESULT
WINAPI
StringFromCLSID
(
REFCLSID
id
,
LPOLESTR
*
);
HRESULT
WINAPI
CLSIDFromString16
(
LPCOLESTR16
,
CLSID
*
);
HRESULT
WINAPI
CLSIDFromString
(
LPCOLESTR
,
CLSID
*
);
HRESULT
WINAPI
CLSIDFromProgID16
(
LPCOLESTR16
progid
,
LPCLSID
riid
);
HRESULT
WINAPI
CLSIDFromProgID
(
LPCOLESTR
progid
,
LPCLSID
riid
);
HRESULT
WINAPI
ProgIDFromCLSID
(
REFCLSID
clsid
,
LPOLESTR
*
lplpszProgID
);
INT
WINAPI
StringFromGUID2
(
REFGUID
id
,
LPOLESTR
str
,
INT
cmax
);
/*****************************************************************************
* COM Server dll - exports
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
DllCanUnloadNow
(
void
);
/*****************************************************************************
* Data Object
*/
HRESULT
WINAPI
CreateDataAdviseHolder
(
LPDATAADVISEHOLDER
*
ppDAHolder
);
HRESULT
WINAPI
CreateDataCache
(
LPUNKNOWN
pUnkOuter
,
REFCLSID
rclsid
,
REFIID
iid
,
LPVOID
*
ppv
);
/*****************************************************************************
* Moniker API
*/
HRESULT
WINAPI
GetClassFile
(
LPCOLESTR
filePathName
,
CLSID
*
pclsid
);
HRESULT
WINAPI
CreateBindCtx16
(
DWORD
reserved
,
LPBC
*
ppbc
);
HRESULT
WINAPI
CreateBindCtx
(
DWORD
reserved
,
LPBC
*
ppbc
);
HRESULT
WINAPI
CreateFileMoniker16
(
LPCOLESTR16
lpszPathName
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateFileMoniker
(
LPCOLESTR
lpszPathName
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateItemMoniker16
(
LPCOLESTR16
lpszDelim
,
LPCOLESTR
lpszItem
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateItemMoniker
(
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszItem
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateAntiMoniker
(
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateGenericComposite
(
LPMONIKER
pmkFirst
,
LPMONIKER
pmkRest
,
LPMONIKER
*
ppmkComposite
);
HRESULT
WINAPI
BindMoniker
(
LPMONIKER
pmk
,
DWORD
grfOpt
,
REFIID
iidResult
,
LPVOID
*
ppvResult
);
HRESULT
WINAPI
CreateClassMoniker
(
REFCLSID
rclsid
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreatePointerMoniker
(
LPUNKNOWN
punk
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
MonikerCommonPrefixWith
(
IMoniker
*
pmkThis
,
IMoniker
*
pmkOther
,
IMoniker
**
ppmkCommon
);
HRESULT
WINAPI
GetRunningObjectTable
(
DWORD
reserved
,
LPRUNNINGOBJECTTABLE
*
pprot
);
HRESULT
WINAPI
GetRunningObjectTable16
(
DWORD
reserved
,
LPRUNNINGOBJECTTABLE
*
pprot
);
/*****************************************************************************
* Storage API
*/
#define STGM_DIRECT 0x00000000
#define STGM_TRANSACTED 0x00010000
#define STGM_SIMPLE 0x08000000
#define STGM_READ 0x00000000
#define STGM_WRITE 0x00000001
#define STGM_READWRITE 0x00000002
#define STGM_SHARE_DENY_NONE 0x00000040
#define STGM_SHARE_DENY_READ 0x00000030
#define STGM_SHARE_DENY_WRITE 0x00000020
#define STGM_SHARE_EXCLUSIVE 0x00000010
#define STGM_PRIORITY 0x00040000
#define STGM_DELETEONRELEASE 0x04000000
#define STGM_CREATE 0x00001000
#define STGM_CONVERT 0x00020000
#define STGM_FAILIFTHERE 0x00000000
#define STGM_NOSCRATCH 0x00100000
#define STGM_NOSNAPSHOT 0x00200000
HRESULT
WINAPI
StgCreateDocFile16
(
LPCOLESTR16
pwcsName
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage16
**
ppstgOpen
);
HRESULT
WINAPI
StgCreateDocfile
(
LPCOLESTR
pwcsName
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
StgIsStorageFile16
(
LPCOLESTR16
fn
);
HRESULT
WINAPI
StgIsStorageFile
(
LPCOLESTR
fn
);
HRESULT
WINAPI
StgIsStorageILockBytes
(
ILockBytes
*
plkbyt
);
HRESULT
WINAPI
StgOpenStorage16
(
const
OLECHAR16
*
pwcsName
,
IStorage16
*
pstgPriority
,
DWORD
grfMode
,
SNB16
snbExclude
,
DWORD
reserved
,
IStorage16
**
ppstgOpen
);
HRESULT
WINAPI
StgOpenStorage
(
const
OLECHAR
*
pwcsName
,
IStorage
*
pstgPriority
,
DWORD
grfMode
,
SNB
snbExclude
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
WriteClassStg
(
IStorage
*
pStg
,
REFCLSID
rclsid
);
HRESULT
WINAPI
ReadClassStg
(
IStorage
*
pstg
,
CLSID
*
pclsid
);
HRESULT
WINAPI
StgCreateDocfileOnILockBytes
(
ILockBytes
*
plkbyt
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
StgOpenStorageOnILockBytes
(
ILockBytes
*
plkbyt
,
IStorage
*
pstgPriority
,
DWORD
grfMode
,
SNB
snbExclude
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
#ifdef __cplusplus
}
#endif
/*****************************************************************************
* Macros to define a COM interface
...
...
@@ -306,18 +87,18 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPrio
* ICOM_DEFINE(IDirect3D,IUnknown)
* #undef INTERFACE
*
* #ifdef
ICOM_CINTERFACE
* #ifdef
COBJMACROS
* // *** IUnknown methods *** //
* #define IDirect3D_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
* #define IDirect3D_AddRef(p)
ICOM_CALL (AddRef,
p)
* #define IDirect3D_Release(p)
ICOM_CALL (Release,
p)
* #define IDirect3D_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
* #define IDirect3D_AddRef(p)
(p)->lpVtbl->AddRef(
p)
* #define IDirect3D_Release(p)
(p)->lpVtbl->Release(
p)
* // *** IDirect3D methods *** //
* #define IDirect3D_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
* #define IDirect3D_EnumDevices(p,a,b)
ICOM_CALL2(EnumDevice,
p,a,b)
* #define IDirect3D_CreateLight(p,a,b)
ICOM_CALL2(CreateLight,
p,a,b)
* #define IDirect3D_CreateMaterial(p,a,b)
ICOM_CALL2(CreateMaterial,
p,a,b)
* #define IDirect3D_CreateViewport(p,a,b)
ICOM_CALL2(CreateViewport,
p,a,b)
* #define IDirect3D_FindDevice(p,a,b)
ICOM_CALL2(FindDevice,
p,a,b)
* #define IDirect3D_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
* #define IDirect3D_EnumDevices(p,a,b)
(p)->lpVtbl->EnumDevice(
p,a,b)
* #define IDirect3D_CreateLight(p,a,b)
(p)->lpVtbl->CreateLight(
p,a,b)
* #define IDirect3D_CreateMaterial(p,a,b)
(p)->lpVtbl->CreateMaterial(
p,a,b)
* #define IDirect3D_CreateViewport(p,a,b)
(p)->lpVtbl->CreateViewport(
p,a,b)
* #define IDirect3D_FindDevice(p,a,b)
(p)->lpVtbl->FindDevice(
p,a,b)
* #endif
*
* Comments:
...
...
@@ -337,8 +118,7 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPrio
* Xxx_IMETHODS macro. In C++ we need only use the IDirect3D_METHODS since method inheritance
* is taken care of by the language.
* - The 'undef INTERFACE' is here to remind you that using INTERFACE in the following macros
* will not work. This time it's because the ICOM_CALL macro expansion is done only once the
* 'IDirect3D_Xxx' macro is expanded. And by that time INTERFACE will be long gone anyway.
* will not work.
* - Finally the set of 'IDirect3D_Xxx' macros is a standard set of macros defined to ease access
* to the interface methods in C. Unfortunately I don't see any way to avoid having to duplicate
* the inherited method definitions there. This time I could have used a trick to use only one
...
...
@@ -367,7 +147,7 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPrio
* HRESULT (*FindDevice)(IDirect3D* me, LPD3DFINDDEVICESEARCH a, LPD3DFINDDEVICERESULT b);
* };
*
* #ifdef
ICOM_CINTERFACE
* #ifdef
COBJMACROS
* // *** IUnknown methods *** //
* #define IDirect3D_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
* #define IDirect3D_AddRef(p) (p)->lpVtbl->AddRef(p)
...
...
@@ -458,13 +238,7 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPrio
* - Finally we initialize the virtual table.
*/
#if !defined(__cplusplus) || defined(CINTERFACE)
#define ICOM_CINTERFACE 1
#endif
#ifndef ICOM_CINTERFACE
#if defined(__cplusplus) && !defined(CINTERFACE)
/* C++ interface */
...
...
@@ -491,12 +265,12 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPrio
iface##_METHODS \
} ICOM_COM_INTERFACE_ATTRIBUTE;
#define ICOM_VTBL(iface) (iface)
#else
/* ICOM_CINTERFACE */
#else
/* __cplusplus && !CINTERFACE */
/* C interface */
#define COBJMACROS
#define STDMETHOD(method) HRESULT (STDMETHODCALLTYPE *method)
#define STDMETHOD_(type,method) type (STDMETHODCALLTYPE *method)
#define STDMETHODV(method) HRESULT (STDMETHODVCALLTYPE *method)
...
...
@@ -539,7 +313,6 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPrio
#define ICOM_VTABLE(iface) iface##Vtbl
#define ICOM_VFIELD(iface) ICOM_VTABLE(iface)* lpVtbl
#define ICOM_VTBL(iface) (iface)->lpVtbl
#define ICOM_THIS(impl,iface) impl* const This=(impl*)(iface)
#define ICOM_CTHIS(impl,iface) const impl* const This=(const impl*)(iface)
...
...
@@ -547,35 +320,227 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPrio
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
#define ICOM_CTHIS_MULTI(impl,field,iface) const impl* const This=(const impl*)((char*)(iface) - offsetof(impl,field))
#endif
/* ICOM_CINTERFACE */
#define ICOM_CALL(xfn, ptr) ICOM_VTBL(ptr)->xfn(ptr)
#define ICOM_CALL1(xfn, ptr,a) ICOM_VTBL(ptr)->xfn(ptr,a)
#define ICOM_CALL2(xfn, ptr,a,b) ICOM_VTBL(ptr)->xfn(ptr,a,b)
#define ICOM_CALL3(xfn, ptr,a,b,c) ICOM_VTBL(ptr)->xfn(ptr,a,b,c)
#define ICOM_CALL4(xfn, ptr,a,b,c,d) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d)
#define ICOM_CALL5(xfn, ptr,a,b,c,d,e) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e)
#define ICOM_CALL6(xfn, ptr,a,b,c,d,e,f) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f)
#define ICOM_CALL7(xfn, ptr,a,b,c,d,e,f,g) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g)
#define ICOM_CALL8(xfn, ptr,a,b,c,d,e,f,g,h) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h)
#define ICOM_CALL9(xfn, ptr,a,b,c,d,e,f,g,h,i) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i)
#define ICOM_CALL10(xfn, ptr,a,b,c,d,e,f,g,h,i,j) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j)
#define ICOM_CALL11(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k)
#define ICOM_CALL12(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l)
#define ICOM_CALL13(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m)
#define ICOM_CALL14(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n)
#define ICOM_CALL15(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)
#define ICOM_CALL16(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)
#define ICOM_CALL17(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)
#define ICOM_CALL18(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)
#define ICOM_CALL19(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)
#define ICOM_CALL20(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)
#define ICOM_CALL21(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u)
#define ICOM_CALL22(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v)
#define ICOM_CALL23(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w)
#define ICOM_CALL24(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x)
#define ICOM_CALL25(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y)
#define ICOM_CALL26(xfn, ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) ICOM_VTBL(ptr)->xfn(ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z)
#endif
/* __cplusplus && !CINTERFACE */
#include "objidl.h"
#ifndef RC_INVOKED
/* For compatibility only, at least for now */
#include <stdlib.h>
#endif
#ifndef INITGUID
#include "cguid.h"
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef NONAMELESSSTRUCT
#define LISet32(li, v) ((li).HighPart = (v) < 0 ? -1 : 0, (li).LowPart = (v))
#define ULISet32(li, v) ((li).HighPart = 0, (li).LowPart = (v))
#else
#define LISet32(li, v) ((li).s.HighPart = (v) < 0 ? -1 : 0, (li).s.LowPart = (v))
#define ULISet32(li, v) ((li).s.HighPart = 0, (li).s.LowPart = (v))
#endif
/*****************************************************************************
* Standard API
*/
DWORD
WINAPI
CoBuildVersion
(
void
);
typedef
enum
tagCOINIT
{
COINIT_APARTMENTTHREADED
=
0x2
,
/* Apartment model */
COINIT_MULTITHREADED
=
0x0
,
/* OLE calls objects on any thread */
COINIT_DISABLE_OLE1DDE
=
0x4
,
/* Don't use DDE for Ole1 support */
COINIT_SPEED_OVER_MEMORY
=
0x8
/* Trade memory for speed */
}
COINIT
;
HRESULT
WINAPI
CoInitialize
(
LPVOID
lpReserved
);
HRESULT
WINAPI
CoInitializeEx
(
LPVOID
lpReserved
,
DWORD
dwCoInit
);
void
WINAPI
CoUninitialize
(
void
);
DWORD
WINAPI
CoGetCurrentProcess
(
void
);
HINSTANCE
WINAPI
CoLoadLibrary
(
LPOLESTR
lpszLibName
,
BOOL
bAutoFree
);
void
WINAPI
CoFreeAllLibraries
(
void
);
void
WINAPI
CoFreeLibrary
(
HINSTANCE
hLibrary
);
void
WINAPI
CoFreeUnusedLibraries
(
void
);
HRESULT
WINAPI
CoCreateInstance
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
DWORD
dwClsContext
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoCreateInstanceEx
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
ULONG
cmq
,
MULTI_QI
*
pResults
);
HRESULT
WINAPI
CoGetInstanceFromFile
(
COSERVERINFO
*
pServerInfo
,
CLSID
*
pClsid
,
IUnknown
*
punkOuter
,
DWORD
dwClsCtx
,
DWORD
grfMode
,
OLECHAR
*
pwszName
,
DWORD
dwCount
,
MULTI_QI
*
pResults
);
HRESULT
WINAPI
CoGetInstanceFromIStorage
(
COSERVERINFO
*
pServerInfo
,
CLSID
*
pClsid
,
IUnknown
*
punkOuter
,
DWORD
dwClsCtx
,
IStorage
*
pstg
,
DWORD
dwCount
,
MULTI_QI
*
pResults
);
HRESULT
WINAPI
CoGetMalloc
(
DWORD
dwMemContext
,
LPMALLOC
*
lpMalloc
);
LPVOID
WINAPI
CoTaskMemAlloc
(
ULONG
size
);
void
WINAPI
CoTaskMemFree
(
LPVOID
ptr
);
LPVOID
WINAPI
CoTaskMemRealloc
(
LPVOID
ptr
,
ULONG
size
);
HRESULT
WINAPI
CoRegisterMallocSpy
(
LPMALLOCSPY
pMallocSpy
);
HRESULT
WINAPI
CoRevokeMallocSpy
(
void
);
/* class registration flags; passed to CoRegisterClassObject */
typedef
enum
tagREGCLS
{
REGCLS_SINGLEUSE
=
0
,
REGCLS_MULTIPLEUSE
=
1
,
REGCLS_MULTI_SEPARATE
=
2
,
REGCLS_SUSPENDED
=
4
}
REGCLS
;
HRESULT
WINAPI
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoRegisterClassObject
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnk
,
DWORD
dwClsContext
,
DWORD
flags
,
LPDWORD
lpdwRegister
);
HRESULT
WINAPI
CoRevokeClassObject
(
DWORD
dwRegister
);
HRESULT
WINAPI
CoGetPSClsid
(
REFIID
riid
,
CLSID
*
pclsid
);
HRESULT
WINAPI
CoRegisterPSClsid
(
REFIID
riid
,
REFCLSID
rclsid
);
HRESULT
WINAPI
CoSuspendClassObjects
(
void
);
HRESULT
WINAPI
CoResumeClassObjects
(
void
);
ULONG
WINAPI
CoAddRefServerProcess
(
void
);
HRESULT
WINAPI
CoReleaseServerProcess
(
void
);
/* marshalling */
HRESULT
WINAPI
CoCreateFreeThreadedMarshaler
(
LPUNKNOWN
punkOuter
,
LPUNKNOWN
*
ppunkMarshal
);
HRESULT
WINAPI
CoGetInterfaceAndReleaseStream
(
LPSTREAM
pStm
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoGetMarshalSizeMax
(
ULONG
*
pulSize
,
REFIID
riid
,
LPUNKNOWN
pUnk
,
DWORD
dwDestContext
,
LPVOID
pvDestContext
,
DWORD
mshlflags
);
HRESULT
WINAPI
CoGetStandardMarshal
(
REFIID
riid
,
LPUNKNOWN
pUnk
,
DWORD
dwDestContext
,
LPVOID
pvDestContext
,
DWORD
mshlflags
,
LPMARSHAL
*
ppMarshal
);
HRESULT
WINAPI
CoMarshalHresult
(
LPSTREAM
pstm
,
HRESULT
hresult
);
HRESULT
WINAPI
CoMarshalInterface
(
LPSTREAM
pStm
,
REFIID
riid
,
LPUNKNOWN
pUnk
,
DWORD
dwDestContext
,
LPVOID
pvDestContext
,
DWORD
mshlflags
);
HRESULT
WINAPI
CoMarshalInterThreadInterfaceInStream
(
REFIID
riid
,
LPUNKNOWN
pUnk
,
LPSTREAM
*
ppStm
);
HRESULT
WINAPI
CoReleaseMarshalData
(
LPSTREAM
pStm
);
HRESULT
WINAPI
CoUnmarshalHresult
(
LPSTREAM
pstm
,
HRESULT
*
phresult
);
HRESULT
WINAPI
CoUnmarshalInterface
(
LPSTREAM
pStm
,
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoLockObjectExternal
(
LPUNKNOWN
pUnk
,
BOOL
fLock
,
BOOL
fLastUnlockReleases
);
BOOL
WINAPI
CoIsHandlerConnected
(
LPUNKNOWN
pUnk
);
/* security */
HRESULT
WINAPI
CoInitializeSecurity
(
PSECURITY_DESCRIPTOR
pSecDesc
,
LONG
cAuthSvc
,
SOLE_AUTHENTICATION_SERVICE
*
asAuthSvc
,
void
*
pReserved1
,
DWORD
dwAuthnLevel
,
DWORD
dwImpLevel
,
void
*
pReserved2
,
DWORD
dwCapabilities
,
void
*
pReserved3
);
HRESULT
WINAPI
CoGetCallContext
(
REFIID
riid
,
void
**
ppInterface
);
HRESULT
WINAPI
CoQueryAuthenticationServices
(
DWORD
*
pcAuthSvc
,
SOLE_AUTHENTICATION_SERVICE
**
asAuthSvc
);
HRESULT
WINAPI
CoQueryProxyBlanket
(
IUnknown
*
pProxy
,
DWORD
*
pwAuthnSvc
,
DWORD
*
pAuthzSvc
,
OLECHAR
**
pServerPrincName
,
DWORD
*
pAuthnLevel
,
DWORD
*
pImpLevel
,
RPC_AUTH_IDENTITY_HANDLE
*
pAuthInfo
,
DWORD
*
pCapabilites
);
HRESULT
WINAPI
CoSetProxyBlanket
(
IUnknown
*
pProxy
,
DWORD
dwAuthnSvc
,
DWORD
dwAuthzSvc
,
OLECHAR
*
pServerPrincName
,
DWORD
dwAuthnLevel
,
DWORD
dwImpLevel
,
RPC_AUTH_IDENTITY_HANDLE
pAuthInfo
,
DWORD
dwCapabilities
);
HRESULT
WINAPI
CoCopyProxy
(
IUnknown
*
pProxy
,
IUnknown
**
ppCopy
);
HRESULT
WINAPI
CoImpersonateClient
(
void
);
HRESULT
WINAPI
CoQueryClientBlanket
(
DWORD
*
pAuthnSvc
,
DWORD
*
pAuthzSvc
,
OLECHAR16
**
pServerPrincName
,
DWORD
*
pAuthnLevel
,
DWORD
*
pImpLevel
,
RPC_AUTHZ_HANDLE
*
pPrivs
,
DWORD
*
pCapabilities
);
HRESULT
WINAPI
CoRevertToSelf
(
void
);
/* misc */
HRESULT
WINAPI
CoGetTreatAsClass
(
REFCLSID
clsidOld
,
LPCLSID
pClsidNew
);
HRESULT
WINAPI
CoTreatAsClass
(
REFCLSID
clsidOld
,
REFCLSID
clsidNew
);
HRESULT
WINAPI
CoCreateGuid
(
GUID
*
pguid
);
BOOL
WINAPI
CoIsOle1Class
(
REFCLSID
rclsid
);
BOOL
WINAPI
CoDosDateTimeToFileTime
(
WORD
nDosDate
,
WORD
nDosTime
,
FILETIME
*
lpFileTime
);
BOOL
WINAPI
CoFileTimeToDosDateTime
(
FILETIME
*
lpFileTime
,
WORD
*
lpDosDate
,
WORD
*
lpDosTime
);
HRESULT
WINAPI
CoFileTimeNow
(
FILETIME
*
lpFileTime
);
/*****************************************************************************
* GUID API
*/
HRESULT
WINAPI
StringFromCLSID16
(
REFCLSID
id
,
LPOLESTR16
*
);
HRESULT
WINAPI
StringFromCLSID
(
REFCLSID
id
,
LPOLESTR
*
);
HRESULT
WINAPI
CLSIDFromString16
(
LPCOLESTR16
,
CLSID
*
);
HRESULT
WINAPI
CLSIDFromString
(
LPCOLESTR
,
CLSID
*
);
HRESULT
WINAPI
CLSIDFromProgID16
(
LPCOLESTR16
progid
,
LPCLSID
riid
);
HRESULT
WINAPI
CLSIDFromProgID
(
LPCOLESTR
progid
,
LPCLSID
riid
);
HRESULT
WINAPI
ProgIDFromCLSID
(
REFCLSID
clsid
,
LPOLESTR
*
lplpszProgID
);
INT
WINAPI
StringFromGUID2
(
REFGUID
id
,
LPOLESTR
str
,
INT
cmax
);
/*****************************************************************************
* COM Server dll - exports
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
DllCanUnloadNow
(
void
);
/*****************************************************************************
* Data Object
*/
HRESULT
WINAPI
CreateDataAdviseHolder
(
LPDATAADVISEHOLDER
*
ppDAHolder
);
HRESULT
WINAPI
CreateDataCache
(
LPUNKNOWN
pUnkOuter
,
REFCLSID
rclsid
,
REFIID
iid
,
LPVOID
*
ppv
);
/*****************************************************************************
* Moniker API
*/
HRESULT
WINAPI
GetClassFile
(
LPCOLESTR
filePathName
,
CLSID
*
pclsid
);
HRESULT
WINAPI
CreateBindCtx16
(
DWORD
reserved
,
LPBC
*
ppbc
);
HRESULT
WINAPI
CreateBindCtx
(
DWORD
reserved
,
LPBC
*
ppbc
);
HRESULT
WINAPI
CreateFileMoniker16
(
LPCOLESTR16
lpszPathName
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateFileMoniker
(
LPCOLESTR
lpszPathName
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateItemMoniker16
(
LPCOLESTR16
lpszDelim
,
LPCOLESTR
lpszItem
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateItemMoniker
(
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszItem
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateAntiMoniker
(
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreateGenericComposite
(
LPMONIKER
pmkFirst
,
LPMONIKER
pmkRest
,
LPMONIKER
*
ppmkComposite
);
HRESULT
WINAPI
BindMoniker
(
LPMONIKER
pmk
,
DWORD
grfOpt
,
REFIID
iidResult
,
LPVOID
*
ppvResult
);
HRESULT
WINAPI
CreateClassMoniker
(
REFCLSID
rclsid
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
CreatePointerMoniker
(
LPUNKNOWN
punk
,
LPMONIKER
*
ppmk
);
HRESULT
WINAPI
MonikerCommonPrefixWith
(
IMoniker
*
pmkThis
,
IMoniker
*
pmkOther
,
IMoniker
**
ppmkCommon
);
HRESULT
WINAPI
GetRunningObjectTable
(
DWORD
reserved
,
LPRUNNINGOBJECTTABLE
*
pprot
);
HRESULT
WINAPI
GetRunningObjectTable16
(
DWORD
reserved
,
LPRUNNINGOBJECTTABLE
*
pprot
);
/*****************************************************************************
* Storage API
*/
#define STGM_DIRECT 0x00000000
#define STGM_TRANSACTED 0x00010000
#define STGM_SIMPLE 0x08000000
#define STGM_READ 0x00000000
#define STGM_WRITE 0x00000001
#define STGM_READWRITE 0x00000002
#define STGM_SHARE_DENY_NONE 0x00000040
#define STGM_SHARE_DENY_READ 0x00000030
#define STGM_SHARE_DENY_WRITE 0x00000020
#define STGM_SHARE_EXCLUSIVE 0x00000010
#define STGM_PRIORITY 0x00040000
#define STGM_DELETEONRELEASE 0x04000000
#define STGM_CREATE 0x00001000
#define STGM_CONVERT 0x00020000
#define STGM_FAILIFTHERE 0x00000000
#define STGM_NOSCRATCH 0x00100000
#define STGM_NOSNAPSHOT 0x00200000
HRESULT
WINAPI
StgCreateDocFile16
(
LPCOLESTR16
pwcsName
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage16
**
ppstgOpen
);
HRESULT
WINAPI
StgCreateDocfile
(
LPCOLESTR
pwcsName
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
StgIsStorageFile16
(
LPCOLESTR16
fn
);
HRESULT
WINAPI
StgIsStorageFile
(
LPCOLESTR
fn
);
HRESULT
WINAPI
StgIsStorageILockBytes
(
ILockBytes
*
plkbyt
);
HRESULT
WINAPI
StgOpenStorage16
(
const
OLECHAR16
*
pwcsName
,
IStorage16
*
pstgPriority
,
DWORD
grfMode
,
SNB16
snbExclude
,
DWORD
reserved
,
IStorage16
**
ppstgOpen
);
HRESULT
WINAPI
StgOpenStorage
(
const
OLECHAR
*
pwcsName
,
IStorage
*
pstgPriority
,
DWORD
grfMode
,
SNB
snbExclude
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
WriteClassStg
(
IStorage
*
pStg
,
REFCLSID
rclsid
);
HRESULT
WINAPI
ReadClassStg
(
IStorage
*
pstg
,
CLSID
*
pclsid
);
HRESULT
WINAPI
StgCreateDocfileOnILockBytes
(
ILockBytes
*
plkbyt
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
StgOpenStorageOnILockBytes
(
ILockBytes
*
plkbyt
,
IStorage
*
pstgPriority
,
DWORD
grfMode
,
SNB
snbExclude
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
#ifdef __cplusplus
}
#endif
#ifndef __WINESRC__
...
...
include/oledlg.h
View file @
55379110
...
...
@@ -682,20 +682,20 @@ DECL_WINELIB_TYPE_AW(IOleUILinkContainer)
DECL_WINELIB_TYPE_AW
(
POLEUILINKCONTAINER
)
DECL_WINELIB_TYPE_AW
(
LPOLEUILINKCONTAINER
)
#if
ICOM_CINTERFACE
#if
def COBJMACROS
/*** IUnknown methods ***/
#define IOleUILinkContainer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleUILinkContainer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleUILinkContainer_Release(p)
ICOM_CALL (Release,
p)
#define IOleUILinkContainer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleUILinkContainer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleUILinkContainer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleUILinkContainer methods ***/
#define IOleUILinkContainer_GetNextLink(p,a)
ICOM_CALL1(GetNextLink,
p,a)
#define IOleUILinkContainer_SetLinkUpdateOptions(p,a,b)
ICOM_CALL2(SetLinkUpdateOptions,
p,a,b)
#define IOleUILinkContainer_GetLinkUpdateOptions(p,a,b)
ICOM_CALL2(GetLinkUpdateOptions,
p,a,b)
#define IOleUILinkContainer_SetLinkSource(p,a,b,c,d,e)
ICOM_CALL5(SetLinkSource,
p,a,b,c,d,e)
#define IOleUILinkContainer_GetLinkSource(p,a,b,c,d,e,f,g)
ICOM_CALL7(GetLinkSource,
p,a,b,c,d,e,f,g)
#define IOleUILinkContainer_OpenLinkSource(p,a)
ICOM_CALL1(OpenLinkSource,
p,a)
#define IOleUILinkContainer_UpdateLink(p,a,b,c)
ICOM_CALL3(UpdateLink,
p,a,b,c)
#define IOleUILinkContainer_CancelLink(p,a)
ICOM_CALL1(CancelLink,
p,a)
#define IOleUILinkContainer_GetNextLink(p,a)
(p)->lpVtbl->GetNextLink(
p,a)
#define IOleUILinkContainer_SetLinkUpdateOptions(p,a,b)
(p)->lpVtbl->SetLinkUpdateOptions(
p,a,b)
#define IOleUILinkContainer_GetLinkUpdateOptions(p,a,b)
(p)->lpVtbl->GetLinkUpdateOptions(
p,a,b)
#define IOleUILinkContainer_SetLinkSource(p,a,b,c,d,e)
(p)->lpVtbl->SetLinkSource(
p,a,b,c,d,e)
#define IOleUILinkContainer_GetLinkSource(p,a,b,c,d,e,f,g)
(p)->lpVtbl->GetLinkSource(
p,a,b,c,d,e,f,g)
#define IOleUILinkContainer_OpenLinkSource(p,a)
(p)->lpVtbl->OpenLinkSource(
p,a)
#define IOleUILinkContainer_UpdateLink(p,a,b,c)
(p)->lpVtbl->UpdateLink(
p,a,b,c)
#define IOleUILinkContainer_CancelLink(p,a)
(p)->lpVtbl->CancelLink(
p,a)
#endif
...
...
@@ -724,21 +724,23 @@ DECL_WINELIB_TYPE_AW(IOleUILinkInfo)
DECL_WINELIB_TYPE_AW
(
POLEUILINKINFO
)
DECL_WINELIB_TYPE_AW
(
LPOLEUILINKINFO
)
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleUILinkInfo_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleUILinkInfo_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleUILinkInfo_Release(p)
ICOM_CALL (Release,
p)
#define IOleUILinkInfo_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleUILinkInfo_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleUILinkInfo_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleUILinkContainer methods ***/
#define IOleUILinkInfo_GetNextLink(p,a)
ICOM_CALL1(GetNextLink,
p,a)
#define IOleUILinkInfo_SetLinkUpdateOptions(p,a,b)
ICOM_CALL2(SetLinkUpdateOptions,
p,a,b)
#define IOleUILinkInfo_GetLinkUpdateOptions(p,a,b)
ICOM_CALL2(GetLinkUpdateOptions,
p,a,b)
#define IOleUILinkInfo_SetLinkSource(p,a,b,c,d,e)
ICOM_CALL5(SetLinkSource,
p,a,b,c,d,e)
#define IOleUILinkInfo_GetLinkSource(p,a,b,c,d,e,f,g)
ICOM_CALL7(GetLinkSource,
p,a,b,c,d,e,f,g)
#define IOleUILinkInfo_OpenLinkSource(p,a)
ICOM_CALL1(OpenLinkSource,
p,a)
#define IOleUILinkInfo_UpdateLink(p,a,b,c)
ICOM_CALL3(UpdateLink,
p,a,b,c)
#define IOleUILinkInfo_CancelLink(p,a)
ICOM_CALL1(CancelLink,
p,a)
#define IOleUILinkInfo_GetNextLink(p,a)
(p)->lpVtbl->GetNextLink(
p,a)
#define IOleUILinkInfo_SetLinkUpdateOptions(p,a,b)
(p)->lpVtbl->SetLinkUpdateOptions(
p,a,b)
#define IOleUILinkInfo_GetLinkUpdateOptions(p,a,b)
(p)->lpVtbl->GetLinkUpdateOptions(
p,a,b)
#define IOleUILinkInfo_SetLinkSource(p,a,b,c,d,e)
(p)->lpVtbl->SetLinkSource(
p,a,b,c,d,e)
#define IOleUILinkInfo_GetLinkSource(p,a,b,c,d,e,f,g)
(p)->lpVtbl->GetLinkSource(
p,a,b,c,d,e,f,g)
#define IOleUILinkInfo_OpenLinkSource(p,a)
(p)->lpVtbl->OpenLinkSource(
p,a)
#define IOleUILinkInfo_UpdateLink(p,a,b,c)
(p)->lpVtbl->UpdateLink(
p,a,b,c)
#define IOleUILinkInfo_CancelLink(p,a)
(p)->lpVtbl->CancelLink(
p,a)
/*** IOleUILinkInfo methods ***/
#define IOleUILinkInfo_GetLastUpdate(p,a,b) ICOM_CALL2(GetLastUpdate,p,a,b)
#define IOleUILinkInfo_GetLastUpdate(p,a,b) (p)->lpVtbl->GetLastUpdate(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -780,16 +782,18 @@ DECL_WINELIB_TYPE_AW(IOleUIObjInfo)
DECL_WINELIB_TYPE_AW
(
POLEUIOBJINFO
)
DECL_WINELIB_TYPE_AW
(
LPOLEUIOBJINFO
)
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleUIObjInfo_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleUIObjInfo_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleUIObjInfo_Release(p)
ICOM_CALL (Release,
p)
#define IOleUIObjInfo_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleUIObjInfo_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleUIObjInfo_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleUIObjInfo methods ***/
#define IOleUIObjInfo_GetObjectInfo(p,a,b,c,d,e,f) ICOM_CALL6(GetObjectInfo,p,a,b,c,d,e,f)
#define IOleUIObjInfo_GetConvertInfo(p,a,b,c,d,e,f) ICOM_CALL6(GetConvertInfo,p,a,b,c,d,e,f)
#define IOleUIObjInfo_ConvertObject(p,a,b) ICOM_CALL2(ConvertObject,p,a,b)
#define IOleUIObjInfo_GetViewInfo(p,a,b,c,d) ICOM_CALL4(GetViewInfo,p,a,b,c,d)
#define IOleUIObjInfo_SetViewInfo(p,a,b,c,d,e) ICOM_CALL5(SetViewInfo,p,a,b,c,d,e)
#define IOleUIObjInfo_GetObjectInfo(p,a,b,c,d,e,f) (p)->lpVtbl->GetObjectInfo(p,a,b,c,d,e,f)
#define IOleUIObjInfo_GetConvertInfo(p,a,b,c,d,e,f) (p)->lpVtbl->GetConvertInfo(p,a,b,c,d,e,f)
#define IOleUIObjInfo_ConvertObject(p,a,b) (p)->lpVtbl->ConvertObject(p,a,b)
#define IOleUIObjInfo_GetViewInfo(p,a,b,c,d) (p)->lpVtbl->GetViewInfo(p,a,b,c,d)
#define IOleUIObjInfo_SetViewInfo(p,a,b,c,d,e) (p)->lpVtbl->SetViewInfo(p,a,b,c,d,e)
#endif
UINT
WINAPI
OleUIInsertObjectW
(
LPOLEUIINSERTOBJECTW
);
UINT
WINAPI
OleUIInsertObjectA
(
LPOLEUIINSERTOBJECTA
);
...
...
include/servprov.h
View file @
55379110
...
...
@@ -49,12 +49,14 @@ typedef struct IServiceProvider IServiceProvider,*LPSERVICEPROVIDER;
ICOM_DEFINE
(
IServiceProvider
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IServiceProvider_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IServiceProvider_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IServiceProvider_Release(p)
ICOM_CALL (Release,
p)
#define IServiceProvider_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IServiceProvider_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IServiceProvider_Release(p)
(p)->lpVtbl->Release(
p)
/*** IServiceProvider methods ***/
#define IServiceProvider_QueryService(p,a,b,c) ICOM_CALL3(QueryService,p,a,b,c)
#define IServiceProvider_QueryService(p,a,b,c) (p)->lpVtbl->QueryService(p,a,b,c)
#endif
#endif
/* __WINE_SERVPROV_H */
include/shlobj.h
View file @
55379110
...
...
@@ -131,12 +131,14 @@ typedef GUID SHELLVIEWID;
ICOM_DEFINE
(
IShellIcon
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IShellIcon_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IShellIcon_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IShellIcon_Release(p)
ICOM_CALL (Release,
p)
#define IShellIcon_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IShellIcon_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IShellIcon_Release(p)
(p)->lpVtbl->Release(
p)
/*** IShellIcon methods ***/
#define IShellIcon_GetIconOf(p,a,b,c) ICOM_CALL3(GetIconOf,p,a,b,c)
#define IShellIcon_GetIconOf(p,a,b,c) (p)->lpVtbl->GetIconOf(p,a,b,c)
#endif
/****************************************************************************
* SHAddToRecentDocs API
...
...
include/shlwapi.h
View file @
55379110
...
...
@@ -256,14 +256,16 @@ typedef struct IQueryAssociations IQueryAssociations,*LPQUERYASSOCIATIONS;
ICOM_DEFINE
(
IQueryAssociations
,
IUnknown
)
#undef INTERFACE
#define IQueryAssociations_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IQueryAssociations_AddRef(p) ICOM_CALL(AddRef,p)
#define IQueryAssociations_Release(p) ICOM_CALL(Release,p)
#define IQueryAssociations_Init(p,a,b,c,d) ICOM_CALL4(Init,p,a,b,c,d)
#define IQueryAssociations_GetString(p,a,b,c,d,e) ICOM_CALL5(GetString,p,a,b,c,d,e)
#define IQueryAssociations_GetKey(p,a,b,c,d) ICOM_CALL4(GetKey,p,a,b,c,d)
#define IQueryAssociations_GetData(p,a,b,c,d,e) ICOM_CALL5(GetData,p,a,b,c,d,e)
#define IQueryAssociations_GetEnum(p,a,b,c,d,e) ICOM_CALL5(GetEnum,p,a,b,c,d,e)
#ifdef COBJMACROS
#define IQueryAssociations_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IQueryAssociations_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IQueryAssociations_Release(p) (p)->lpVtbl->Release(p)
#define IQueryAssociations_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d)
#define IQueryAssociations_GetString(p,a,b,c,d,e) (p)->lpVtbl->GetString(p,a,b,c,d,e)
#define IQueryAssociations_GetKey(p,a,b,c,d) (p)->lpVtbl->GetKey(p,a,b,c,d)
#define IQueryAssociations_GetData(p,a,b,c,d,e) (p)->lpVtbl->GetData(p,a,b,c,d,e)
#define IQueryAssociations_GetEnum(p,a,b,c,d,e) (p)->lpVtbl->GetEnum(p,a,b,c,d,e)
#endif
HRESULT
WINAPI
AssocCreate
(
CLSID
,
REFIID
,
LPVOID
*
);
...
...
include/urlmon.h
View file @
55379110
...
...
@@ -184,17 +184,19 @@ typedef enum BINDSTATUS {
ICOM_DEFINE
(
IBinding
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IBinding_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IBinding_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IBinding_Release(p)
ICOM_CALL (Release,
p)
#define IBinding_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IBinding_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IBinding_Release(p)
(p)->lpVtbl->Release(
p)
/*** IBinding methods ***/
#define IBinding_Abort(p) ICOM_CALL (Abort,p)
#define IBinding_Suspend(p) ICOM_CALL (Suspend,p)
#define IBinding_Resume(p) ICOM_CALL (Resume,p)
#define IBinding_SetPriority(p,a) ICOM_CALL2(SetPriority,p,a)
#define IBinding_GetPriority(p,a) ICOM_CALL2(GetPriority,p,a)
#define IBinding_GetBindResult(p,a,b,c,d) ICOM_CALL4(GetBindResult,p,a,b,c,d)
#define IBinding_Abort(p) (p)->lpVtbl->Abort(p)
#define IBinding_Suspend(p) (p)->lpVtbl->Suspend(p)
#define IBinding_Resume(p) (p)->lpVtbl->Resume(p)
#define IBinding_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
#define IBinding_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
#define IBinding_GetBindResult(p,a,b,c,d) (p)->lpVtbl->GetBindResult(p,a,b,c,d)
#endif
/*****************************************************************************
* IBindStatusCallback interface
...
...
@@ -215,19 +217,21 @@ ICOM_DEFINE(IBinding,IUnknown)
ICOM_DEFINE
(
IBindStatusCallback
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IBindStatusCallback_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IBindStatusCallback_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IBindStatusCallback_Release(p)
ICOM_CALL (Release,
p)
#define IBindStatusCallback_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IBindStatusCallback_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IBindStatusCallback_Release(p)
(p)->lpVtbl->Release(
p)
/*** IBindStatusCallback methods ***/
#define IBindStatusCallback_OnStartBinding(p,a,b) ICOM_CALL2(OnStartBinding,p,a,b)
#define IBindStatusCallback_GetPriority(p,a) ICOM_CALL1(GetPriority,p,a)
#define IBindStatusCallback_OnLowResource(p) ICOM_CALL (OnLowResource,p)
#define IBindStatusCallback_OnProgress(p,a,b,c,d) ICOM_CALL4(OnProgress,p,a,b,c,d)
#define IBindStatusCallback_OnStopBinding(p,a,b) ICOM_CALL2(OnStopBinding,p,a,b)
#define IBindStatusCallback_GetBindInfo(p,a,b) ICOM_CALL2(GetBindInfo,p,a,b)
#define IBindStatusCallback_OnDataAvailable(p,a,b,c,d) ICOM_CALL4(OnDataAvailable,p,a,b,c,d)
#define IBindStatusCallback_OnObjectAvailable(p,a,b) ICOM_CALL2(OnObjectAvailable,p,a,b)
#define IBindStatusCallback_OnStartBinding(p,a,b) (p)->lpVtbl->OnStartBinding(p,a,b)
#define IBindStatusCallback_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
#define IBindStatusCallback_OnLowResource(p) (p)->lpVtbl->OnLowResource(p)
#define IBindStatusCallback_OnProgress(p,a,b,c,d) (p)->lpVtbl->OnProgress(p,a,b,c,d)
#define IBindStatusCallback_OnStopBinding(p,a,b) (p)->lpVtbl->OnStopBinding(p,a,b)
#define IBindStatusCallback_GetBindInfo(p,a,b) (p)->lpVtbl->GetBindInfo(p,a,b)
#define IBindStatusCallback_OnDataAvailable(p,a,b,c,d) (p)->lpVtbl->OnDataAvailable(p,a,b,c,d)
#define IBindStatusCallback_OnObjectAvailable(p,a,b) (p)->lpVtbl->OnObjectAvailable(p,a,b)
#endif
/*****************************************************************************
* IBindHost interface
...
...
@@ -243,14 +247,16 @@ ICOM_DEFINE(IBindStatusCallback,IUnknown)
ICOM_DEFINE
(
IBindHost
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IBindHost_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IBindHost_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IBindHost_Release(p)
ICOM_CALL (Release,
p)
#define IBindHost_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IBindHost_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IBindHost_Release(p)
(p)->lpVtbl->Release(
p)
/*** IBindHost methods ***/
#define IBindHost_CreateMoniker(p,a,b,c,d) ICOM_CALL4(CreateMoniker,p,a,b,c,d)
#define IBindHost_MonikerBindToStorage(p,a,b,c,d,e) ICOM_CALL5(MonikerBindToStorage,p,a,b,c,d,e)
#define IBindHost_MonikerBindToObject(p,a,b,c,d,e) ICOM_CALL5(MonikerBindToObject,p,a,b,c,d,e)
#define IBindHost_CreateMoniker(p,a,b,c,d) (p)->lpVtbl->CreateMoniker(p,a,b,c,d)
#define IBindHost_MonikerBindToStorage(p,a,b,c,d,e) (p)->lpVtbl->MonikerBindToStorage(p,a,b,c,d,e)
#define IBindHost_MonikerBindToObject(p,a,b,c,d,e) (p)->lpVtbl->MonikerBindToObject(p,a,b,c,d,e)
#endif
/*** IUnknown methods ***/
typedef
enum
_tagQUERYOPTION
{
...
...
@@ -282,12 +288,14 @@ typedef enum _tagQUERYOPTION {
ICOM_DEFINE
(
IWinInetInfo
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IWinInetInfo_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IWinInetInfo_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IWinInetInfo_Release(p)
ICOM_CALL (Release,
p)
#define IWinInetInfo_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IWinInetInfo_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IWinInetInfo_Release(p)
(p)->lpVtbl->Release(
p)
/*** IWinInetInfo methods ***/
#define IWinInetInfo_QueryOption(p,a,b,c) ICOM_CALL3(QueryOption,p,a,b,c)
#define IWinInetInfo_QueryOption(p,a,b,c) (p)->lpVtbl->QueryOption(p,a,b,c)
#endif
/*****************************************************************************
* IWinInetHttpInfo interface
...
...
@@ -301,12 +309,14 @@ ICOM_DEFINE(IWinInetInfo,IUnknown)
ICOM_DEFINE
(
IWinInetHttpInfo
,
IWinInetInfo
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IWinInetHttpInfo_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IWinInetHttpInfo_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IWinInetHttpInfo_Release(p)
ICOM_CALL (Release,
p)
#define IWinInetHttpInfo_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IWinInetHttpInfo_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IWinInetHttpInfo_Release(p)
(p)->lpVtbl->Release(
p)
/*** IWinInetHttpInfo methods ***/
#define IWinInetHttpInfo_QueryInfo(p,a,b,c,d,e) ICOM_CALL5(QueryInfo,p,a,b,c,d,e)
#define IWinInetHttpInfo_QueryInfo(p,a,b,c,d,e) (p)->lpVtbl->QueryInfo(p,a,b,c,d,e)
#endif
HRESULT
WINAPI
CreateURLMoniker
(
IMoniker
*
pmkContext
,
LPCWSTR
szURL
,
IMoniker
**
ppmk
);
HRESULT
WINAPI
RegisterBindStatusCallback
(
IBindCtx
*
pbc
,
IBindStatusCallback
*
pbsc
,
IBindStatusCallback
**
ppbsc
,
DWORD
dwReserved
);
...
...
include/vfw.h
View file @
55379110
...
...
@@ -1006,22 +1006,24 @@ DEFINE_AVIGUID(CLSID_AVIFile, 0x00020000, 0, 0);
ICOM_DEFINE
(
IAVIStream
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IAVIStream_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IAVIStream_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IAVIStream_Release(p)
ICOM_CALL (Release,
p)
#define IAVIStream_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IAVIStream_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IAVIStream_Release(p)
(p)->lpVtbl->Release(
p)
/*** IAVIStream methods ***/
#define IAVIStream_Create(p,a,b) ICOM_CALL2(Create,p,a,b)
#define IAVIStream_Info(p,a,b) ICOM_CALL2(Info,p,a,b)
#define IAVIStream_FindSample(p,a,b) ICOM_CALL2(FindSample,p,a,b)
#define IAVIStream_ReadFormat(p,a,b,c) ICOM_CALL3(ReadFormat,p,a,b,c)
#define IAVIStream_SetFormat(p,a,b,c) ICOM_CALL3(SetFormat,p,a,b,c)
#define IAVIStream_Read(p,a,b,c,d,e,f) ICOM_CALL6(Read,p,a,b,c,d,e,f)
#define IAVIStream_Write(p,a,b,c,d,e,f,g) ICOM_CALL7(Write,p,a,b,c,d,e,f,g)
#define IAVIStream_Delete(p,a,b) ICOM_CALL2(Delete,p,a,b)
#define IAVIStream_ReadData(p,a,b,c) ICOM_CALL3(ReadData,p,a,b,c)
#define IAVIStream_WriteData(p,a,b,c) ICOM_CALL3(WriteData,p,a,b,c)
#define IAVIStream_SetInfo(p,a,b) ICOM_CALL2(SetInfo,p,a,b)
#define IAVIStream_Create(p,a,b) (p)->lpVtbl->Create(p,a,b)
#define IAVIStream_Info(p,a,b) (p)->lpVtbl->Info(p,a,b)
#define IAVIStream_FindSample(p,a,b) (p)->lpVtbl->FindSample(p,a,b)
#define IAVIStream_ReadFormat(p,a,b,c) (p)->lpVtbl->ReadFormat(p,a,b,c)
#define IAVIStream_SetFormat(p,a,b,c) (p)->lpVtbl->SetFormat(p,a,b,c)
#define IAVIStream_Read(p,a,b,c,d,e,f) (p)->lpVtbl->Read(p,a,b,c,d,e,f)
#define IAVIStream_Write(p,a,b,c,d,e,f,g) (p)->lpVtbl->Write(p,a,b,c,d,e,f,g)
#define IAVIStream_Delete(p,a,b) (p)->lpVtbl->Delete(p,a,b)
#define IAVIStream_ReadData(p,a,b,c) (p)->lpVtbl->ReadData(p,a,b,c)
#define IAVIStream_WriteData(p,a,b,c) (p)->lpVtbl->WriteData(p,a,b,c)
#define IAVIStream_SetInfo(p,a,b) (p)->lpVtbl->SetInfo(p,a,b)
#endif
ULONG
WINAPI
AVIStreamAddRef
(
PAVISTREAM
iface
);
ULONG
WINAPI
AVIStreamRelease
(
PAVISTREAM
iface
);
...
...
@@ -1102,18 +1104,20 @@ LONG WINAPI AVIStreamTimeToSample(PAVISTREAM pstream, LONG lTime);
ICOM_DEFINE
(
IAVIFile
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IAVIFile_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IAVIFile_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IAVIFile_Release(p)
ICOM_CALL (Release,
p)
#define IAVIFile_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IAVIFile_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IAVIFile_Release(p)
(p)->lpVtbl->Release(
p)
/*** IAVIFile methods ***/
#define IAVIFile_Info(p,a,b) ICOM_CALL2(Info,p,a,b)
#define IAVIFile_GetStream(p,a,b,c) ICOM_CALL3(GetStream,p,a,b,c)
#define IAVIFile_CreateStream(p,a,b) ICOM_CALL2(CreateStream,p,a,b)
#define IAVIFile_WriteData(p,a,b,c) ICOM_CALL3(WriteData,p,a,b,c)
#define IAVIFile_ReadData(p,a,b,c) ICOM_CALL3(ReadData,p,a,b,c)
#define IAVIFile_EndRecord(p) ICOM_CALL (EndRecord,p)
#define IAVIFile_DeleteStream(p,a,b) ICOM_CALL2(DeleteStream,p,a,b)
#define IAVIFile_Info(p,a,b) (p)->lpVtbl->Info(p,a,b)
#define IAVIFile_GetStream(p,a,b,c) (p)->lpVtbl->GetStream(p,a,b,c)
#define IAVIFile_CreateStream(p,a,b) (p)->lpVtbl->CreateStream(p,a,b)
#define IAVIFile_WriteData(p,a,b,c) (p)->lpVtbl->WriteData(p,a,b,c)
#define IAVIFile_ReadData(p,a,b,c) (p)->lpVtbl->ReadData(p,a,b,c)
#define IAVIFile_EndRecord(p) (p)->lpVtbl->EndRecord(p)
#define IAVIFile_DeleteStream(p,a,b) (p)->lpVtbl->DeleteStream(p,a,b)
#endif
void
WINAPI
AVIFileInit
(
void
);
void
WINAPI
AVIFileExit
(
void
);
...
...
@@ -1150,15 +1154,17 @@ HRESULT WINAPI AVIFileEndRecord(PAVIFILE pfile);
ICOM_DEFINE
(
IGetFrame
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IGetFrame_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IGetFrame_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IGetFrame_Release(p)
ICOM_CALL (Release,
p)
#define IGetFrame_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IGetFrame_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IGetFrame_Release(p)
(p)->lpVtbl->Release(
p)
/*** IGetFrame methods ***/
#define IGetFrame_GetFrame(p,a) ICOM_CALL1(GetFrame,p,a)
#define IGetFrame_Begin(p,a,b,c) ICOM_CALL3(Begin,p,a,b,c)
#define IGetFrame_End(p) ICOM_CALL (End,p)
#define IGetFrame_SetFormat(p,a,b,c,d,e,f) ICOM_CALL6(SetFormat,p,a,b,c,d,e,f)
#define IGetFrame_GetFrame(p,a) (p)->lpVtbl->GetFrame(p,a)
#define IGetFrame_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c)
#define IGetFrame_End(p) (p)->lpVtbl->End(p)
#define IGetFrame_SetFormat(p,a,b,c,d,e,f) (p)->lpVtbl->SetFormat(p,a,b,c,d,e,f)
#endif
#define AVIERR_OK 0
#define MAKE_AVIERR(error) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x4000+error)
...
...
include/wine/obj_cache.h
View file @
55379110
...
...
@@ -61,16 +61,18 @@ typedef struct IOleCacheControl IOleCacheControl, *LPOLECACHECONTROL;
ICOM_DEFINE
(
IOleCache
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleCache_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleCache_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleCache_Release(p)
ICOM_CALL (Release,
p)
#define IOleCache_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleCache_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleCache_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleCache methods ***/
#define IOleCache_Cache(p,a,b,c) ICOM_CALL3(Cache,p,a,b,c)
#define IOleCache_Uncache(p,a) ICOM_CALL1(Uncache,p,a)
#define IOleCache_EnumCache(p,a) ICOM_CALL1(EnumCache,p,a)
#define IOleCache_InitCache(p,a) ICOM_CALL1(InitCache,p,a)
#define IOleCache_SetData(p,a,b,c) ICOM_CALL3(SetData,p,a,b,c)
#define IOleCache_Cache(p,a,b,c) (p)->lpVtbl->Cache(p,a,b,c)
#define IOleCache_Uncache(p,a) (p)->lpVtbl->Uncache(p,a)
#define IOleCache_EnumCache(p,a) (p)->lpVtbl->EnumCache(p,a)
#define IOleCache_InitCache(p,a) (p)->lpVtbl->InitCache(p,a)
#define IOleCache_SetData(p,a,b,c) (p)->lpVtbl->SetData(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -86,19 +88,21 @@ ICOM_DEFINE(IOleCache,IUnknown)
ICOM_DEFINE
(
IOleCache2
,
IOleCache
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleCache2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleCache2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleCache2_Release(p)
ICOM_CALL (Release,
p)
#define IOleCache2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleCache2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleCache2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleCache methods ***/
#define IOleCache2_Cache(p,a,b,c)
ICOM_CALL3(Cache,
p,a,b,c)
#define IOleCache2_Uncache(p,a)
ICOM_CALL1(Uncache,
p,a)
#define IOleCache2_EnumCache(p,a)
ICOM_CALL1(EnumCache,
p,a)
#define IOleCache2_InitCache(p,a)
ICOM_CALL1(InitCache,
p,a)
#define IOleCache2_SetData(p,a,b,c)
ICOM_CALL3(SetData,
p,a,b,c)
#define IOleCache2_Cache(p,a,b,c)
(p)->lpVtbl->Cache(
p,a,b,c)
#define IOleCache2_Uncache(p,a)
(p)->lpVtbl->Uncache(
p,a)
#define IOleCache2_EnumCache(p,a)
(p)->lpVtbl->EnumCache(
p,a)
#define IOleCache2_InitCache(p,a)
(p)->lpVtbl->InitCache(
p,a)
#define IOleCache2_SetData(p,a,b,c)
(p)->lpVtbl->SetData(
p,a,b,c)
/*** IOleCache2 methods ***/
#define IOleCache2_UpdateCache(p,a,b,c) ICOM_CALL3(UpdateCache,p,a,b,c)
#define IOleCache2_DiscardCache(p,a) ICOM_CALL1(DiscardCache,p,a)
#define IOleCache2_UpdateCache(p,a,b,c) (p)->lpVtbl->UpdateCache(p,a,b,c)
#define IOleCache2_DiscardCache(p,a) (p)->lpVtbl->DiscardCache(p,a)
#endif
/*****************************************************************************
...
...
@@ -114,13 +118,15 @@ ICOM_DEFINE(IOleCache2,IOleCache)
ICOM_DEFINE
(
IOleCacheControl
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleCacheControl_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleCacheControl_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleCacheControl_Release(p)
ICOM_CALL (Release,
p)
#define IOleCacheControl_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleCacheControl_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleCacheControl_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleCacheControl methods ***/
#define IOleCacheControl_OnRun(p,a) ICOM_CALL1(UpdateCache,p,a)
#define IOleCacheControl_OnStop(p) ICOM_CALL (OnStop,p)
#define IOleCacheControl_OnRun(p,a) (p)->lpVtbl->UpdateCache(p,a)
#define IOleCacheControl_OnStop(p) (p)->lpVtbl->OnStop(p)
#endif
#ifdef __cplusplus
...
...
include/wine/obj_comcat.h
View file @
55379110
...
...
@@ -105,18 +105,18 @@ DEFINE_OLEGUID(CLSID_StdComponentCategoriesMgr, 0x0002E005L, 0, 0);
ICOM_DEFINE
(
ICatInformation
,
IUnknown
)
#undef INTERFACE
#ifdef
ICOM_CINTERFACE
#ifdef
COBJMACROS
/*** IUnknown methods ***/
#define ICatInformation_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define ICatInformation_AddRef(p)
ICOM_CALL (AddRef,
p)
#define ICatInformation_Release(p)
ICOM_CALL (Release,
p)
#define ICatInformation_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define ICatInformation_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define ICatInformation_Release(p)
(p)->lpVtbl->Release(
p)
/*** ICatInformation methods ***/
#define ICatInformation_EnumCategories(p,a,b)
ICOM_CALL2(EnumCategories,
p,a,b)
#define ICatInformation_GetCategoryDesc(p,a,b,c)
ICOM_CALL3(GetCategoryDesc,
p,a,b,c)
#define ICatInformation_EnumClassesOfCategories(p,a,b,c,d,e)
ICOM_CALL5(EnumClassesOfCategories,
p,a,b,c,d,e)
#define ICatInformation_IsClassOfCategories(p,a,b,c,d,e)
ICOM_CALL5(IsClassOfCategories,
p,a,b,c,d,e)
#define ICatInformation_EnumImplCategoriesOfClass(p,a,b)
ICOM_CALL2(EnumImplCategoriesOfClass,
p,a,b)
#define ICatInformation_EnumReqCategoriesOfClass(p,a,b)
ICOM_CALL2(EnumReqCategoriesOfClass,
p,a,b)
#define ICatInformation_EnumCategories(p,a,b)
(p)->lpVtbl->EnumCategories(
p,a,b)
#define ICatInformation_GetCategoryDesc(p,a,b,c)
(p)->lpVtbl->GetCategoryDesc(
p,a,b,c)
#define ICatInformation_EnumClassesOfCategories(p,a,b,c,d,e)
(p)->lpVtbl->EnumClassesOfCategories(
p,a,b,c,d,e)
#define ICatInformation_IsClassOfCategories(p,a,b,c,d,e)
(p)->lpVtbl->IsClassOfCategories(
p,a,b,c,d,e)
#define ICatInformation_EnumImplCategoriesOfClass(p,a,b)
(p)->lpVtbl->EnumImplCategoriesOfClass(
p,a,b)
#define ICatInformation_EnumReqCategoriesOfClass(p,a,b)
(p)->lpVtbl->EnumReqCategoriesOfClass(
p,a,b)
#endif
/*****************************************************************************
...
...
@@ -136,18 +136,18 @@ ICOM_DEFINE(ICatInformation,IUnknown)
ICOM_DEFINE
(
ICatRegister
,
IUnknown
)
#undef INTERFACE
#ifdef
ICOM_CINTERFACE
#ifdef
COBJMACROS
/*** IUnknown methods ***/
#define ICatRegister_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define ICatRegister_AddRef(p)
ICOM_CALL (AddRef,
p)
#define ICatRegister_Release(p)
ICOM_CALL (Release,
p)
#define ICatRegister_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define ICatRegister_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define ICatRegister_Release(p)
(p)->lpVtbl->Release(
p)
/*** ICatRegister methods ***/
#define ICatRegister_RegisterCategories(p,a,b)
ICOM_CALL2(RegisterCategories,
p,a,b)
#define ICatRegister_UnRegisterCategories(p,a,b)
ICOM_CALL2(UnRegisterCategories,
p,a,b)
#define ICatRegister_RegisterClassImplCategories(p,a,b,c)
ICOM_CALL3(RegisterClassImplCategories,
p,a,b,c)
#define ICatRegister_UnRegisterClassImplCategories(p,a,b,c)
ICOM_CALL3(UnRegisterClassImplCategories,
p,a,b,c)
#define ICatRegister_RegisterClassReqCategories(p,a,b,c)
ICOM_CALL3(RegisterClassReqCategories,
p,a,b,c)
#define ICatRegister_UnRegisterClassReqCategories(p,a,b,c)
ICOM_CALL3(UnRegisterClassReqCategories,
p,a,b,c)
#define ICatRegister_RegisterCategories(p,a,b)
(p)->lpVtbl->RegisterCategories(
p,a,b)
#define ICatRegister_UnRegisterCategories(p,a,b)
(p)->lpVtbl->UnRegisterCategories(
p,a,b)
#define ICatRegister_RegisterClassImplCategories(p,a,b,c)
(p)->lpVtbl->RegisterClassImplCategories(
p,a,b,c)
#define ICatRegister_UnRegisterClassImplCategories(p,a,b,c)
(p)->lpVtbl->UnRegisterClassImplCategories(
p,a,b,c)
#define ICatRegister_RegisterClassReqCategories(p,a,b,c)
(p)->lpVtbl->RegisterClassReqCategories(
p,a,b,c)
#define ICatRegister_UnRegisterClassReqCategories(p,a,b,c)
(p)->lpVtbl->UnRegisterClassReqCategories(
p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -165,16 +165,16 @@ ICOM_DEFINE(ICatRegister,IUnknown)
ICOM_DEFINE
(
IEnumCATEGORYINFO
,
IUnknown
)
#undef INTERFACE
#ifdef
ICOM_CINTERFACE
#ifdef
COBJMACROS
/*** IUnknown methods ***/
#define IEnumCATEGORYINFO_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IEnumCATEGORYINFO_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IEnumCATEGORYINFO_Release(p)
ICOM_CALL (Release,
p)
#define IEnumCATEGORYINFO_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumCATEGORYINFO_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumCATEGORYINFO_Release(p)
(p)->lpVtbl->Release(
p)
/*** IEnumCATEGORYINFO methods ***/
#define IEnumCATEGORYINFO_Next(p,a,b,c)
ICOM_CALL3(Next,
p,a,b,c)
#define IEnumCATEGORYINFO_Skip(p,a)
ICOM_CALL1(Skip,
p,a)
#define IEnumCATEGORYINFO_Reset(p)
ICOM_CALL(Reset,
p)
#define IEnumCATEGORYINFO_Clone(p,a)
ICOM_CALL1(Clone,
p,a)
#define IEnumCATEGORYINFO_Next(p,a,b,c)
(p)->lpVtbl->Next(
p,a,b,c)
#define IEnumCATEGORYINFO_Skip(p,a)
(p)->lpVtbl->Skip(
p,a)
#define IEnumCATEGORYINFO_Reset(p)
(p)->lpVtbl->Reset(
p)
#define IEnumCATEGORYINFO_Clone(p,a)
(p)->lpVtbl->Clone(
p,a)
#endif
#ifdef __cplusplus
...
...
include/wine/obj_commdlgbrowser.h
View file @
55379110
...
...
@@ -45,12 +45,14 @@ typedef struct ICommDlgBrowser ICommDlgBrowser, *LPCOMMDLGBROWSER;
ICOM_DEFINE
(
ICommDlgBrowser
,
IUnknown
)
#undef INTERFACE
#define ICommDlgBrowser_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define ICommDlgBrowser_AddRef(p) ICOM_CALL(AddRef,p)
#define ICommDlgBrowser_Release(p) ICOM_CALL(Release,p)
#define ICommDlgBrowser_OnDefaultCommand(p,a) ICOM_CALL1(OnDefaultCommand,p,a)
#define ICommDlgBrowser_OnStateChange(p,a,b) ICOM_CALL2(OnStateChange,p,a,b)
#define ICommDlgBrowser_IncludeObject(p,a,b) ICOM_CALL2(IncludeObject,p,a,b)
#ifdef COBJMACROS
#define ICommDlgBrowser_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define ICommDlgBrowser_AddRef(p) (p)->lpVtbl->AddRef(p)
#define ICommDlgBrowser_Release(p) (p)->lpVtbl->Release(p)
#define ICommDlgBrowser_OnDefaultCommand(p,a) (p)->lpVtbl->OnDefaultCommand(p,a)
#define ICommDlgBrowser_OnStateChange(p,a,b) (p)->lpVtbl->OnStateChange(p,a,b)
#define ICommDlgBrowser_IncludeObject(p,a,b) (p)->lpVtbl->IncludeObject(p,a,b)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_connection.h
View file @
55379110
...
...
@@ -68,16 +68,18 @@ typedef struct IEnumConnectionPoints IEnumConnectionPoints, *LPENUMCONNECTIONPOI
ICOM_DEFINE
(
IConnectionPoint
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IConnectionPoint_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IConnectionPoint_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IConnectionPoint_Release(p)
ICOM_CALL (Release,
p)
#define IConnectionPoint_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IConnectionPoint_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IConnectionPoint_Release(p)
(p)->lpVtbl->Release(
p)
/*** IConnectionPointContainer methods ***/
#define IConnectionPoint_GetConnectionInterface(p,a) ICOM_CALL1(GetConnectionInterface,p,a)
#define IConnectionPoint_GetConnectionPointContainer(p,a) ICOM_CALL1(GetConnectionPointContainer,p,a)
#define IConnectionPoint_Advise(p,a,b) ICOM_CALL2(Advise,p,a,b)
#define IConnectionPoint_Unadvise(p,a) ICOM_CALL1(Unadvise,p,a)
#define IConnectionPoint_EnumConnections(p,a) ICOM_CALL1(EnumConnections,p,a)
#define IConnectionPoint_GetConnectionInterface(p,a) (p)->lpVtbl->GetConnectionInterface(p,a)
#define IConnectionPoint_GetConnectionPointContainer(p,a) (p)->lpVtbl->GetConnectionPointContainer(p,a)
#define IConnectionPoint_Advise(p,a,b) (p)->lpVtbl->Advise(p,a,b)
#define IConnectionPoint_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a)
#define IConnectionPoint_EnumConnections(p,a) (p)->lpVtbl->EnumConnections(p,a)
#endif
/*****************************************************************************
...
...
@@ -93,13 +95,15 @@ ICOM_DEFINE(IConnectionPoint,IUnknown)
ICOM_DEFINE
(
IConnectionPointContainer
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IConnectionPointContainer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IConnectionPointContainer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IConnectionPointContainer_Release(p)
ICOM_CALL (Release,
p)
#define IConnectionPointContainer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IConnectionPointContainer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IConnectionPointContainer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IConnectionPointContainer methods ***/
#define IConnectionPointContainer_EnumConnectionPoints(p,a) ICOM_CALL1(EnumConnectionPoints,p,a)
#define IConnectionPointContainer_FindConnectionPoint(p,a,b) ICOM_CALL2(FindConnectionPoint,p,a,b)
#define IConnectionPointContainer_EnumConnectionPoints(p,a) (p)->lpVtbl->EnumConnectionPoints(p,a)
#define IConnectionPointContainer_FindConnectionPoint(p,a,b) (p)->lpVtbl->FindConnectionPoint(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -117,15 +121,17 @@ ICOM_DEFINE(IConnectionPointContainer,IUnknown)
ICOM_DEFINE
(
IEnumConnections
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IEnumConnections_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IEnumConnections_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IEnumConnections_Release(p)
ICOM_CALL (Release,
p)
#define IEnumConnections_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumConnections_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumConnections_Release(p)
(p)->lpVtbl->Release(
p)
/*** IConnectionPointContainer methods ***/
#define IEnumConnections_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
#define IEnumConnections_Skip(p,a) ICOM_CALL1(Skip,p,a)
#define IEnumConnections_Reset(p) ICOM_CALL (Reset,p)
#define IEnumConnections_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IEnumConnections_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
#define IEnumConnections_Skip(p,a) (p)->lpVtbl->Skip(p,a)
#define IEnumConnections_Reset(p) (p)->lpVtbl->Reset(p)
#define IEnumConnections_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#endif
/*****************************************************************************
* IEnumConnectionPoints interface
...
...
@@ -142,15 +148,17 @@ ICOM_DEFINE(IEnumConnections,IUnknown)
ICOM_DEFINE
(
IEnumConnectionPoints
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IEnumConnectionPoints_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IEnumConnectionPoints_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IEnumConnectionPoints_Release(p)
ICOM_CALL (Release,
p)
#define IEnumConnectionPoints_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumConnectionPoints_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumConnectionPoints_Release(p)
(p)->lpVtbl->Release(
p)
/*** IConnectionPointContainer methods ***/
#define IEnumConnectionPoints_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
#define IEnumConnectionPoints_Skip(p,a) ICOM_CALL1(Skip,p,a)
#define IEnumConnectionPoints_Reset(p) ICOM_CALL (Reset,p)
#define IEnumConnectionPoints_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IEnumConnectionPoints_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
#define IEnumConnectionPoints_Skip(p,a) (p)->lpVtbl->Skip(p,a)
#define IEnumConnectionPoints_Reset(p) (p)->lpVtbl->Reset(p)
#define IEnumConnectionPoints_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_contextmenu.h
View file @
55379110
...
...
@@ -136,13 +136,15 @@ typedef struct tagCMInvokeCommandInfoEx
ICOM_DEFINE
(
IContextMenu
,
IUnknown
)
#undef INTERFACE
#define IContextMenu_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IContextMenu_AddRef(p) ICOM_CALL(AddRef,p)
#define IContextMenu_Release(p) ICOM_CALL(Release,p)
#define IContextMenu_QueryContextMenu(p,a,b,c,d,e) ICOM_CALL5(QueryContextMenu,p,a,b,c,d,e)
#define IContextMenu_InvokeCommand(p,a) ICOM_CALL1(InvokeCommand,p,a)
#define IContextMenu_GetCommandString(p,a,b,c,d,e) ICOM_CALL5(GetCommandString,p,a,b,c,d,e)
#define IContextMenu_HandleMenuMsg(p,a,b,c) ICOM_CALL3(HandleMenuMsg,p,a,b,c)
#ifdef COBJMACROS
#define IContextMenu_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IContextMenu_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IContextMenu_Release(p) (p)->lpVtbl->Release(p)
#define IContextMenu_QueryContextMenu(p,a,b,c,d,e) (p)->lpVtbl->QueryContextMenu(p,a,b,c,d,e)
#define IContextMenu_InvokeCommand(p,a) (p)->lpVtbl->InvokeCommand(p,a)
#define IContextMenu_GetCommandString(p,a,b,c,d,e) (p)->lpVtbl->GetCommandString(p,a,b,c,d,e)
#define IContextMenu_HandleMenuMsg(p,a,b,c) (p)->lpVtbl->HandleMenuMsg(p,a,b,c)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_control.h
View file @
55379110
...
...
@@ -190,15 +190,17 @@ typedef struct IProvideClassInfo2 IProvideClassInfo2, *LPPROVIDECLASSINFO2;
ICOM_DEFINE
(
IOleControl
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleControl_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleControl_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleControl_Release(p)
ICOM_CALL (Release,
p)
#define IOleControl_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleControl_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleControl_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleControl methods ***/
#define IOleControl_GetControlInfo(p,a) ICOM_CALL1(GetControlInfo,p,a)
#define IOleControl_OnMnemonic(p,a) ICOM_CALL1(OnMnemonic,p,a)
#define IOleControl_OnAmbientPropertyChange(p,a) ICOM_CALL1(OnAmbientPropertyChange,p,a)
#define IOleControl_FreezeEvents(p,a) ICOM_CALL1(FreezeEvents,p,a)
#define IOleControl_GetControlInfo(p,a) (p)->lpVtbl->GetControlInfo(p,a)
#define IOleControl_OnMnemonic(p,a) (p)->lpVtbl->OnMnemonic(p,a)
#define IOleControl_OnAmbientPropertyChange(p,a) (p)->lpVtbl->OnAmbientPropertyChange(p,a)
#define IOleControl_FreezeEvents(p,a) (p)->lpVtbl->FreezeEvents(p,a)
#endif
/*****************************************************************************
...
...
@@ -219,18 +221,20 @@ ICOM_DEFINE(IOleControl,IUnknown)
ICOM_DEFINE
(
IOleControlSite
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleControlSite_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleControlSite_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleControlSite_Release(p)
ICOM_CALL (Release,
p)
#define IOleControlSite_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleControlSite_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleControlSite_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleControlSite methods ***/
#define IOleControlSite_OnControlInfoChanged(p) ICOM_CALL1(OnControlInfoChanged,p)
#define IOleControlSite_LockInPlaceActive(p,a) ICOM_CALL1(LockInPlaceActive,p,a)
#define IOleControlSite_GetExtendedControl(p,a) ICOM_CALL1(GetExtendedControl,p,a)
#define IOleControlSite_TransformCoords(p,a,b,c) ICOM_CALL1(TransformCoords,p,a,b,c)
#define IOleControlSite_TranslateAccelerator(p,a,b) ICOM_CALL1(TranslateAccelerator,p,a,b)
#define IOleControlSite_OnFocus(p,a) ICOM_CALL1(OnFocus,p,a)
#define IOleControlSite_ShowPropertyFrame(p) ICOM_CALL1(ShowPropertyFrame,p)
#define IOleControlSite_OnControlInfoChanged(p) (p)->lpVtbl->OnControlInfoChanged(p)
#define IOleControlSite_LockInPlaceActive(p,a) (p)->lpVtbl->LockInPlaceActive(p,a)
#define IOleControlSite_GetExtendedControl(p,a) (p)->lpVtbl->GetExtendedControl(p,a)
#define IOleControlSite_TransformCoords(p,a,b,c) (p)->lpVtbl->TransformCoords(p,a,b,c)
#define IOleControlSite_TranslateAccelerator(p,a,b) (p)->lpVtbl->TranslateAccelerator(p,a,b)
#define IOleControlSite_OnFocus(p,a) (p)->lpVtbl->OnFocus(p,a)
#define IOleControlSite_ShowPropertyFrame(p) (p)->lpVtbl->ShowPropertyFrame(p)
#endif
/*****************************************************************************
...
...
@@ -247,28 +251,30 @@ ICOM_DEFINE(IOleControlSite,IUnknown)
ICOM_DEFINE
(
IOleInPlaceSiteEx
,
IOleInPlaceSite
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleInPlaceSiteEx_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleInPlaceSiteEx_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleInPlaceSiteEx_Release(p)
ICOM_CALL (Release,
p)
#define IOleInPlaceSiteEx_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleInPlaceSiteEx_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleInPlaceSiteEx_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleInPlaceSiteEx_GetWindow(p,a)
ICOM_CALL1(GetWindow,
p,a)
#define IOleInPlaceSiteEx_ContextSensitiveHelp(p,a)
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IOleInPlaceSiteEx_GetWindow(p,a)
(p)->lpVtbl->GetWindow(
p,a)
#define IOleInPlaceSiteEx_ContextSensitiveHelp(p,a)
(p)->lpVtbl->ContextSensitiveHelp(
p,a)
/*** IOleInPlaceSite methods ***/
#define IOleInPlaceSiteEx_CanInPlaceActivate(p)
ICOM_CALL (CanInPlaceActivate,
p)
#define IOleInPlaceSiteEx_OnInPlaceActivate(p)
ICOM_CALL (OnInPlaceActivate,
p)
#define IOleInPlaceSiteEx_OnUIActivate(p)
ICOM_CALL (OnUIActivate,
p)
#define IOleInPlaceSiteEx_GetWindowContext(p,a,b,c,d,e)
ICOM_CALL5(GetWindowContext,
p,a,b,c,d,e)
#define IOleInPlaceSiteEx_Scroll(p,a)
ICOM_CALL1(Scroll,
p,a)
#define IOleInPlaceSiteEx_OnUIDeactivate(p,a)
ICOM_CALL1(OnUIDeactivate,
p,a)
#define IOleInPlaceSiteEx_OnInPlaceDeactivate(p)
ICOM_CALL (OnInPlaceDeactivate,
p)
#define IOleInPlaceSiteEx_DiscardUndoState(p)
ICOM_CALL (DiscardUndoState,
p)
#define IOleInPlaceSiteEx_DeactivateAndUndo(p)
ICOM_CALL (DeactivateAndUndo,
p)
#define IOleInPlaceSiteEx_OnPosRectChange(p,a)
ICOM_CALL1(OnPosRectChange,
p,a)
#define IOleInPlaceSiteEx_CanInPlaceActivate(p)
(p)->lpVtbl->CanInPlaceActivate(
p)
#define IOleInPlaceSiteEx_OnInPlaceActivate(p)
(p)->lpVtbl->OnInPlaceActivate(
p)
#define IOleInPlaceSiteEx_OnUIActivate(p)
(p)->lpVtbl->OnUIActivate(
p)
#define IOleInPlaceSiteEx_GetWindowContext(p,a,b,c,d,e)
(p)->lpVtbl->GetWindowContext(
p,a,b,c,d,e)
#define IOleInPlaceSiteEx_Scroll(p,a)
(p)->lpVtbl->Scroll(
p,a)
#define IOleInPlaceSiteEx_OnUIDeactivate(p,a)
(p)->lpVtbl->OnUIDeactivate(
p,a)
#define IOleInPlaceSiteEx_OnInPlaceDeactivate(p)
(p)->lpVtbl->OnInPlaceDeactivate(
p)
#define IOleInPlaceSiteEx_DiscardUndoState(p)
(p)->lpVtbl->DiscardUndoState(
p)
#define IOleInPlaceSiteEx_DeactivateAndUndo(p)
(p)->lpVtbl->DeactivateAndUndo(
p)
#define IOleInPlaceSiteEx_OnPosRectChange(p,a)
(p)->lpVtbl->OnPosRectChange(
p,a)
/*** IOleInPlaceSiteEx methods ***/
#define IOleInPlaceSiteEx_OnInPlaceActivateEx(p,a,b) ICOM_CALL2(OnInPlaceActivateEx,p,a,b)
#define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(p,a) ICOM_CALL1(OnInPlaceDeactivateEx,p,a)
#define IOleInPlaceSiteEx_RequestUIActivate(p) ICOM_CALL (RequestUIActivate,p)
#define IOleInPlaceSiteEx_OnInPlaceActivateEx(p,a,b) (p)->lpVtbl->OnInPlaceActivateEx(p,a,b)
#define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(p,a) (p)->lpVtbl->OnInPlaceDeactivateEx(p,a)
#define IOleInPlaceSiteEx_RequestUIActivate(p) (p)->lpVtbl->RequestUIActivate(p)
#endif
/*****************************************************************************
...
...
@@ -294,37 +300,39 @@ ICOM_DEFINE(IOleInPlaceSiteEx,IOleInPlaceSite)
ICOM_DEFINE
(
IOleInPlaceSiteWindowless
,
IOleInPlaceSite
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleInPlaceSiteWindowless_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleInPlaceSiteWindowless_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleInPlaceSiteWindowless_Release(p)
ICOM_CALL (Release,
p)
#define IOleInPlaceSiteWindowless_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleInPlaceSiteWindowless_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleInPlaceSiteWindowless_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleInPlaceSiteWindowless_GetWindow(p,a)
ICOM_CALL1(GetWindow,
p,a)
#define IOleInPlaceSiteWindowless_ContextSensitiveHelp(p,a)
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IOleInPlaceSiteWindowless_GetWindow(p,a)
(p)->lpVtbl->GetWindow(
p,a)
#define IOleInPlaceSiteWindowless_ContextSensitiveHelp(p,a)
(p)->lpVtbl->ContextSensitiveHelp(
p,a)
/*** IOleInPlaceSitemethods ***/
#define IOleInPlaceSiteWindowless_CanInPlaceActivate(p)
ICOM_CALL (CanInPlaceActivate,
p)
#define IOleInPlaceSiteWindowless_OnInPlaceActivate(p)
ICOM_CALL (OnInPlaceActivate,
p)
#define IOleInPlaceSiteWindowless_OnUIActivate(p)
ICOM_CALL (OnUIActivate,
p)
#define IOleInPlaceSiteWindowless_GetWindowContext(p,a,b,c,d,e)
ICOM_CALL5(GetWindowContext,
p,a,b,c,d,e)
#define IOleInPlaceSiteWindowless_Scroll(p,a)
ICOM_CALL1(Scroll,
p,a)
#define IOleInPlaceSiteWindowless_OnUIDeactivate(p,a)
ICOM_CALL1(OnUIDeactivate,
p,a)
#define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(p)
ICOM_CALL (OnInPlaceDeactivate,
p)
#define IOleInPlaceSiteWindowless_DiscardUndoState(p)
ICOM_CALL (DiscardUndoState,
p)
#define IOleInPlaceSiteWindowless_DeactivateAndUndo(p)
ICOM_CALL (DeactivateAndUndo,
p)
#define IOleInPlaceSiteWindowless_OnPosRectChange(p,a)
ICOM_CALL1(OnPosRectChange,
p,a)
#define IOleInPlaceSiteWindowless_CanInPlaceActivate(p)
(p)->lpVtbl->CanInPlaceActivate(
p)
#define IOleInPlaceSiteWindowless_OnInPlaceActivate(p)
(p)->lpVtbl->OnInPlaceActivate(
p)
#define IOleInPlaceSiteWindowless_OnUIActivate(p)
(p)->lpVtbl->OnUIActivate(
p)
#define IOleInPlaceSiteWindowless_GetWindowContext(p,a,b,c,d,e)
(p)->lpVtbl->GetWindowContext(
p,a,b,c,d,e)
#define IOleInPlaceSiteWindowless_Scroll(p,a)
(p)->lpVtbl->Scroll(
p,a)
#define IOleInPlaceSiteWindowless_OnUIDeactivate(p,a)
(p)->lpVtbl->OnUIDeactivate(
p,a)
#define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(p)
(p)->lpVtbl->OnInPlaceDeactivate(
p)
#define IOleInPlaceSiteWindowless_DiscardUndoState(p)
(p)->lpVtbl->DiscardUndoState(
p)
#define IOleInPlaceSiteWindowless_DeactivateAndUndo(p)
(p)->lpVtbl->DeactivateAndUndo(
p)
#define IOleInPlaceSiteWindowless_OnPosRectChange(p,a)
(p)->lpVtbl->OnPosRectChange(
p,a)
/*** IOleInPlaceSitemethods ***/
#define IOleInPlaceSiteWindowless_CanWindowlessActivate(p) ICOM_CALL (CanInPlaceActivate,p)
#define IOleInPlaceSiteWindowless_GetCapture(p) ICOM_CALL (OnInPlaceActivate,p)
#define IOleInPlaceSiteWindowless_SetCapture(p,a) ICOM_CALL1(OnUIActivate,p,a)
#define IOleInPlaceSiteWindowless_GetFocus(p) ICOM_CALL (GetWindowContext,p)
#define IOleInPlaceSiteWindowless_SetFocus(p,a) ICOM_CALL1(Scroll,p,a)
#define IOleInPlaceSiteWindowless_GetDC(p,a,b,c) ICOM_CALL3(OnUIDeactivate,p,a,b,c)
#define IOleInPlaceSiteWindowless_ReleaseDC(p,a) ICOM_CALL1(OnInPlaceDeactivate,p,a)
#define IOleInPlaceSiteWindowless_InvalidateRect(p,a,b) ICOM_CALL2(DiscardUndoState,p,a,b)
#define IOleInPlaceSiteWindowless_InvalidateRgn(p,a,b) ICOM_CALL2(DeactivateAndUndo,p,a,b)
#define IOleInPlaceSiteWindowless_ScrollRect(p,a,b,c,d) ICOM_CALL4(OnPosRectChange,p,a,b,c,d)
#define IOleInPlaceSiteWindowless_AdjustRect(p,a) ICOM_CALL1(OnPosRectChange,p,a)
#define IOleInPlaceSiteWindowless_OnDefWindowMessage(p,a,b,c,d) ICOM_CALL4(OnPosRectChange,p,a,b,c,d)
#define IOleInPlaceSiteWindowless_CanWindowlessActivate(p) (p)->lpVtbl->CanInPlaceActivate(p)
#define IOleInPlaceSiteWindowless_GetCapture(p) (p)->lpVtbl->OnInPlaceActivate(p)
#define IOleInPlaceSiteWindowless_SetCapture(p,a) (p)->lpVtbl->OnUIActivate(p,a)
#define IOleInPlaceSiteWindowless_GetFocus(p) (p)->lpVtbl->GetWindowContext(p)
#define IOleInPlaceSiteWindowless_SetFocus(p,a) (p)->lpVtbl->Scroll(p,a)
#define IOleInPlaceSiteWindowless_GetDC(p,a,b,c) (p)->lpVtbl->OnUIDeactivate(p,a,b,c)
#define IOleInPlaceSiteWindowless_ReleaseDC(p,a) (p)->lpVtbl->OnInPlaceDeactivate(p,a)
#define IOleInPlaceSiteWindowless_InvalidateRect(p,a,b) (p)->lpVtbl->DiscardUndoState(p,a,b)
#define IOleInPlaceSiteWindowless_InvalidateRgn(p,a,b) (p)->lpVtbl->DeactivateAndUndo(p,a,b)
#define IOleInPlaceSiteWindowless_ScrollRect(p,a,b,c,d) (p)->lpVtbl->OnPosRectChange(p,a,b,c,d)
#define IOleInPlaceSiteWindowless_AdjustRect(p,a) (p)->lpVtbl->OnPosRectChange(p,a)
#define IOleInPlaceSiteWindowless_OnDefWindowMessage(p,a,b,c,d) (p)->lpVtbl->OnPosRectChange(p,a,b,c,d)
#endif
/*****************************************************************************
...
...
@@ -340,21 +348,23 @@ ICOM_DEFINE(IOleInPlaceSiteWindowless,IOleInPlaceSite)
ICOM_DEFINE
(
IOleInPlaceObjectWindowless
,
IOleInPlaceObject
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleInPlaceObjectWindowless_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleInPlaceObjectWindowless_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleInPlaceObjectWindowless_Release(p)
ICOM_CALL (Release,
p)
#define IOleInPlaceObjectWindowless_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleInPlaceObjectWindowless_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleInPlaceObjectWindowless_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleInPlaceObjectWindowless_GetWindow(p,a)
ICOM_CALL1(GetWindow,
p,a)
#define IOleInPlaceObjectWindowless_ContextSensitiveHelp(p,a)
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IOleInPlaceObjectWindowless_GetWindow(p,a)
(p)->lpVtbl->GetWindow(
p,a)
#define IOleInPlaceObjectWindowless_ContextSensitiveHelp(p,a)
(p)->lpVtbl->ContextSensitiveHelp(
p,a)
/*** IOleInPlaceObject methods ***/
#define IOleInPlaceObjectWindowless_InPlaceDeactivate(p)
ICOM_CALL (InPlaceDeactivate,
p)
#define IOleInPlaceObjectWindowless_UIDeactivate(p)
ICOM_CALL (UIDeactivate,
p)
#define IOleInPlaceObjectWindowless_SetObjectRects(p,a,b)
ICOM_CALL2(SetObjectRects,
p,a,b)
#define IOleInPlaceObjectWindowless_ReactivateAndUndo(p)
ICOM_CALL (ReactivateAndUndo,
p)
#define IOleInPlaceObjectWindowless_InPlaceDeactivate(p)
(p)->lpVtbl->InPlaceDeactivate(
p)
#define IOleInPlaceObjectWindowless_UIDeactivate(p)
(p)->lpVtbl->UIDeactivate(
p)
#define IOleInPlaceObjectWindowless_SetObjectRects(p,a,b)
(p)->lpVtbl->SetObjectRects(
p,a,b)
#define IOleInPlaceObjectWindowless_ReactivateAndUndo(p)
(p)->lpVtbl->ReactivateAndUndo(
p)
/*** IOleInPlaceObjectWindowless methods ***/
#define IOleInPlaceObjectWindowless_OnWindowMessage(p,a,b,c,d) ICOM_CALL4(OnWindowMessage,p,a,b,c,d)
#define IOleInPlaceObjectWindowless_GetDropTarget(p,a) ICOM_CALL1(GetDropTarget,p,a)
#define IOleInPlaceObjectWindowless_OnWindowMessage(p,a,b,c,d) (p)->lpVtbl->OnWindowMessage(p,a,b,c,d)
#define IOleInPlaceObjectWindowless_GetDropTarget(p,a) (p)->lpVtbl->GetDropTarget(p,a)
#endif
/*****************************************************************************
...
...
@@ -371,17 +381,19 @@ ICOM_DEFINE(IOleInPlaceObjectWindowless,IOleInPlaceObject)
ICOM_DEFINE
(
IClassFactory2
,
IClassFactory
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IClassFactory2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IClassFactory2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IClassFactory2_Release(p)
ICOM_CALL (Release,
p)
#define IClassFactory2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IClassFactory2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IClassFactory2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IClassFactory methods ***/
#define IClassFactory2_CreateInstance(p,a,b,c)
ICOM_CALL3(CreateInstance,
p,a,b,c)
#define IClassFactory2_LockServer(p,a)
ICOM_CALL1(LockServer,
p,a)
#define IClassFactory2_CreateInstance(p,a,b,c)
(p)->lpVtbl->CreateInstance(
p,a,b,c)
#define IClassFactory2_LockServer(p,a)
(p)->lpVtbl->LockServer(
p,a)
/*** IClassFactory2 methods ***/
#define IClassFactory2_GetLicInfo(p,a) ICOM_CALL1(GetLicInfo,p,a)
#define IClassFactory2_RequestLicKey(p,a,b) ICOM_CALL2(RequestLicKey,p,a,b)
#define IClassFactory2_CreateInstanceLic(p,a,b,c,d,e) ICOM_CALL5(CreateInstanceLic,p,a,b,c,d,e)
#define IClassFactory2_GetLicInfo(p,a) (p)->lpVtbl->GetLicInfo(p,a)
#define IClassFactory2_RequestLicKey(p,a,b) (p)->lpVtbl->RequestLicKey(p,a,b)
#define IClassFactory2_CreateInstanceLic(p,a,b,c,d,e) (p)->lpVtbl->CreateInstanceLic(p,a,b,c,d,e)
#endif
/*****************************************************************************
...
...
@@ -400,25 +412,27 @@ ICOM_DEFINE(IClassFactory2,IClassFactory)
ICOM_DEFINE
(
IViewObjectEx
,
IViewObject2
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IViewObjectEx_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IViewObjectEx_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IViewObjectEx_Release(p)
ICOM_CALL (Release,
p)
#define IViewObjectEx_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IViewObjectEx_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IViewObjectEx_Release(p)
(p)->lpVtbl->Release(
p)
/*** IViewObject methods ***/
#define IViewObjectEx_Draw(p,a,b,c,d,e,f,g,h,i,j)
ICOM_CALL10(Draw,
p,a,b,c,d,e,f,g,h,i,j)
#define IViewObjectEx_GetColorSet(p,a,b,c,d,e,f)
ICOM_CALL6(GetColorSet,
p,a,b,c,d,e,f)
#define IViewObjectEx_Freeze(p,a,b,c,d)
ICOM_CALL4(Freeze,
p,a,b,c,d)
#define IViewObjectEx_Unfreeze(p,a)
ICOM_CALL1(Unfreeze,
p,a)
#define IViewObjectEx_SetAdvise(p,a,b,c)
ICOM_CALL3(SetAdvise,
p,a,b,c)
#define IViewObjectEx_GetAdvise(p,a,b,c)
ICOM_CALL3(GetAdvise,
p,a,b,c)
#define IViewObjectEx_Draw(p,a,b,c,d,e,f,g,h,i,j)
(p)->lpVtbl->Draw(
p,a,b,c,d,e,f,g,h,i,j)
#define IViewObjectEx_GetColorSet(p,a,b,c,d,e,f)
(p)->lpVtbl->GetColorSet(
p,a,b,c,d,e,f)
#define IViewObjectEx_Freeze(p,a,b,c,d)
(p)->lpVtbl->Freeze(
p,a,b,c,d)
#define IViewObjectEx_Unfreeze(p,a)
(p)->lpVtbl->Unfreeze(
p,a)
#define IViewObjectEx_SetAdvise(p,a,b,c)
(p)->lpVtbl->SetAdvise(
p,a,b,c)
#define IViewObjectEx_GetAdvise(p,a,b,c)
(p)->lpVtbl->GetAdvise(
p,a,b,c)
/*** IViewObject2 methods ***/
#define IViewObjectEx_GetExtent(p,a,b,c,d)
ICOM_CALL4(GetExtent,
p,a,b,c,d)
#define IViewObjectEx_GetExtent(p,a,b,c,d)
(p)->lpVtbl->GetExtent(
p,a,b,c,d)
/*** IViewObjectEx methods ***/
#define IViewObjectEx_GetRect(p,a,b) ICOM_CALL2(GetRect,p,a,b)
#define IViewObjectEx_GetViewStatus(p,a) ICOM_CALL1(GetViewStatus,p,a)
#define IViewObjectEx_QueryHitPoint(p,a,b,c,d,e) ICOM_CALL5(QueryHitPoint,p,a,b,c,d,e)
#define IViewObjectEx_QueryHitRect(p,a,b,c,d,e) ICOM_CALL5(QueryHitRect,p,a,b,c,d,e)
#define IViewObjectEx_GetNaturalExtent(p,a,b,c,d,e,f) ICOM_CALL6(GetNaturalExtent,p,a,b,c,d,e,f)
#define IViewObjectEx_GetRect(p,a,b) (p)->lpVtbl->GetRect(p,a,b)
#define IViewObjectEx_GetViewStatus(p,a) (p)->lpVtbl->GetViewStatus(p,a)
#define IViewObjectEx_QueryHitPoint(p,a,b,c,d,e) (p)->lpVtbl->QueryHitPoint(p,a,b,c,d,e)
#define IViewObjectEx_QueryHitRect(p,a,b,c,d,e) (p)->lpVtbl->QueryHitRect(p,a,b,c,d,e)
#define IViewObjectEx_GetNaturalExtent(p,a,b,c,d,e,f) (p)->lpVtbl->GetNaturalExtent(p,a,b,c,d,e,f)
#endif
/*****************************************************************************
...
...
@@ -437,12 +451,14 @@ ICOM_DEFINE(IViewObjectEx,IViewObject2)
ICOM_DEFINE
(
IProvideClassInfo
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IProvideClassInfo_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IProvideClassInfo_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IProvideClassInfo_Release(p)
ICOM_CALL (Release,
p)
#define IProvideClassInfo_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IProvideClassInfo_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IProvideClassInfo_Release(p)
(p)->lpVtbl->Release(
p)
/*** IProvideClassInfo methods ***/
#define IProvideClassInfo_GetClassInfo(p,a) ICOM_CALL1(GetClassInfo,p,a)
#define IProvideClassInfo_GetClassInfo(p,a) (p)->lpVtbl->GetClassInfo(p,a)
#endif
...
...
@@ -458,14 +474,16 @@ ICOM_DEFINE(IProvideClassInfo,IUnknown)
ICOM_DEFINE
(
IProvideClassInfo2
,
IProvideClassInfo
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IProvideClassInfo2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IProvideClassInfo2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IProvideClassInfo2_Release(p)
ICOM_CALL (Release,
p)
#define IProvideClassInfo2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IProvideClassInfo2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IProvideClassInfo2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IProvideClassInfo methods ***/
#define IProvideClassInfo2_GetClassInfo(p,a)
ICOM_CALL1(GetClassInfo,
p,a)
#define IProvideClassInfo2_GetClassInfo(p,a)
(p)->lpVtbl->GetClassInfo(
p,a)
/*** IProvideClassInfo2 methods ***/
#define IProvideClassInfo2_GetGUID(p,a,b) ICOM_CALL2(GetGUID,p,a,b)
#define IProvideClassInfo2_GetGUID(p,a,b) (p)->lpVtbl->GetGUID(p,a,b)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_dockingwindowframe.h
View file @
55379110
...
...
@@ -43,16 +43,18 @@ DEFINE_GUID (IID_IDockingWindowFrame, 0x47D2657AL, 0x7B27, 0x11D0, 0x8C, 0xA9, 0
ICOM_DEFINE
(
IDockingWindowFrame
,
IOleWindow
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDockingWindowFrame_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDockingWindowFrame_AddRef(p)
ICOM_CALL(AddRef,
p)
#define IDockingWindowFrame_Release(p)
ICOM_CALL(Release,
p)
#define IDockingWindowFrame_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDockingWindowFrame_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDockingWindowFrame_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDockingWindowFrame methods ***/
#define IDockingWindowFrame_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a)
#define IDockingWindowFrame_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a)
#define IDockingWindowFrame_AddToolbar(p,a,b,c) ICOM_CALL3(AddToolbar,p,a,b,c)
#define IDockingWindowFrame_RemoveToolbar(p,a,b) ICOM_CALL2(RemoveToolbar,p,a,b)
#define IDockingWindowFrame_FindToolbar(p,a,b,c) ICOM_CALL3(FindToolbar,p,a,b,c)
#define IDockingWindowFrame_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
#define IDockingWindowFrame_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
#define IDockingWindowFrame_AddToolbar(p,a,b,c) (p)->lpVtbl->AddToolbar(p,a,b,c)
#define IDockingWindowFrame_RemoveToolbar(p,a,b) (p)->lpVtbl->RemoveToolbar(p,a,b)
#define IDockingWindowFrame_FindToolbar(p,a,b,c) (p)->lpVtbl->FindToolbar(p,a,b,c)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_dragdrop.h
View file @
55379110
...
...
@@ -62,13 +62,15 @@ typedef struct IDropTarget IDropTarget,*LPDROPTARGET;
ICOM_DEFINE
(
IDropSource
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDropSource_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDropSource_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDropSource_Release(p)
ICOM_CALL (Release,
p)
#define IDropSource_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDropSource_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDropSource_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDropSource methods ***/
#define IDropSource_QueryContinueDrag(p,a,b) ICOM_CALL2(QueryContinueDrag,p,a,b)
#define IDropSource_GiveFeedback(p,a) ICOM_CALL1(GiveFeedback,p,a)
#define IDropSource_QueryContinueDrag(p,a,b) (p)->lpVtbl->QueryContinueDrag(p,a,b)
#define IDropSource_GiveFeedback(p,a) (p)->lpVtbl->GiveFeedback(p,a)
#endif
/*****************************************************************************
* IDropTarget interface
...
...
@@ -85,15 +87,17 @@ ICOM_DEFINE(IDropSource,IUnknown)
ICOM_DEFINE
(
IDropTarget
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDropTarget_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDropTarget_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDropTarget_Release(p)
ICOM_CALL (Release,
p)
#define IDropTarget_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDropTarget_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDropTarget_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDropTarget methods ***/
#define IDropTarget_DragEnter(p,a,b,c,d) ICOM_CALL4(DragEnter,p,a,b,c,d)
#define IDropTarget_DragOver(p,a,b,c) ICOM_CALL3(DragOver,p,a,b,c)
#define IDropTarget_DragLeave(p) ICOM_CALL(DragLeave,p)
#define IDropTarget_Drop(p,a,b,c,d) ICOM_CALL4(Drop,p,a,b,c,d)
#define IDropTarget_DragEnter(p,a,b,c,d) (p)->lpVtbl->DragEnter(p,a,b,c,d)
#define IDropTarget_DragOver(p,a,b,c) (p)->lpVtbl->DragOver(p,a,b,c)
#define IDropTarget_DragLeave(p) (p)->lpVtbl->DragLeave(p)
#define IDropTarget_Drop(p,a,b,c,d) (p)->lpVtbl->Drop(p,a,b,c,d)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_dragdrophelper.h
View file @
55379110
...
...
@@ -56,13 +56,15 @@ typedef struct {
ICOM_DEFINE
(
IDragSourceHelper
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDragSourceHelper_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDragSourceHelper_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDragSourceHelper_Release(p)
ICOM_CALL (Release,
p)
#define IDragSourceHelper_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDragSourceHelper_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDragSourceHelper_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDropSource methods ***/
#define IDragSourceHelper_InitializeFromBitmap(p,a,b) ICOM_CALL2(InitializeFromBitmap,p,a,b)
#define IDragSourceHelper_InitializeFromWindow(p,a,b,c) ICOM_CALL1(InitializeFromWindow,p,a,b,c)
#define IDragSourceHelper_InitializeFromBitmap(p,a,b) (p)->lpVtbl->InitializeFromBitmap(p,a,b)
#define IDragSourceHelper_InitializeFromWindow(p,a,b,c) (p)->lpVtbl->InitializeFromWindow(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -81,16 +83,18 @@ ICOM_DEFINE(IDragSourceHelper,IUnknown)
ICOM_DEFINE
(
IDropTargetHelper
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDropTargetHelper_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IDropTargetHelper_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IDropTargetHelper_Release(p)
ICOM_CALL (Release,
p)
#define IDropTargetHelper_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IDropTargetHelper_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IDropTargetHelper_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDropTargetHelper methods ***/
#define IDropTargetHelper_DragEnter(p,a,b,c,d) ICOM_CALL4(DragEnter,p,a,b,c,d)
#define IDropTargetHelper_DragLeave(p) ICOM_CALL (DragLeave,p)
#define IDropTargetHelper_DragOver(p,a,b) ICOM_CALL2(DragOver,p,a,b)
#define IDropTargetHelper_Drop(p,a,b,c) ICOM_CALL3(Drop,p,a,b,c)
#define IDropTargetHelper_Show(p,a) ICOM_CALL4(Show,p,a,b,c,d)
#define IDropTargetHelper_DragEnter(p,a,b,c,d) (p)->lpVtbl->DragEnter(p,a,b,c,d)
#define IDropTargetHelper_DragLeave(p) (p)->lpVtbl->DragLeave(p)
#define IDropTargetHelper_DragOver(p,a,b) (p)->lpVtbl->DragOver(p,a,b)
#define IDropTargetHelper_Drop(p,a,b,c) (p)->lpVtbl->Drop(p,a,b,c)
#define IDropTargetHelper_Show(p,a) (p)->lpVtbl->Show(p,a,b,c,d)
#endif
#ifdef __cplusplus
...
...
include/wine/obj_enumguid.h
View file @
55379110
...
...
@@ -48,16 +48,16 @@ typedef struct IEnumGUID IEnumGUID, *LPENUMGUID;
ICOM_DEFINE
(
IEnumGUID
,
IUnknown
)
#undef INTERFACE
#ifdef
ICOM_CINTERFACE
#ifdef
COBJMACROS
/*** IUnknown methods ***/
#define IEnumGUID_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IEnumGUID_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IEnumGUID_Release(p)
ICOM_CALL (Release,
p)
#define IEnumGUID_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumGUID_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumGUID_Release(p)
(p)->lpVtbl->Release(
p)
/*** IEnumGUID methods ***/
#define IEnumGUID_Next(p,a,b,c)
ICOM_CALL3(Next,
p,a,b,c)
#define IEnumGUID_Skip(p,a)
ICOM_CALL1(Skip,
p,a)
#define IEnumGUID_Reset(p)
ICOM_CALL(Reset,
p)
#define IEnumGUID_Clone(p,a)
ICOM_CALL1(Clone,
p,a)
#define IEnumGUID_Next(p,a,b,c)
(p)->lpVtbl->Next(
p,a,b,c)
#define IEnumGUID_Skip(p,a)
(p)->lpVtbl->Skip(
p,a)
#define IEnumGUID_Reset(p)
(p)->lpVtbl->Reset(
p)
#define IEnumGUID_Clone(p,a)
(p)->lpVtbl->Clone(
p,a)
#endif
#ifdef __cplusplus
...
...
include/wine/obj_enumidlist.h
View file @
55379110
...
...
@@ -44,15 +44,17 @@ typedef struct IEnumIDList IEnumIDList, *LPENUMIDLIST;
ICOM_DEFINE
(
IEnumIDList
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IEnumIDList_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IEnumIDList_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IEnumIDList_Release(p)
ICOM_CALL (Release,
p)
#define IEnumIDList_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumIDList_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumIDList_Release(p)
(p)->lpVtbl->Release(
p)
/*** IEnumIDList methods ***/
#define IEnumIDList_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
#define IEnumIDList_Skip(p,a) ICOM_CALL1(Skip,p,a)
#define IEnumIDList_Reset(p) ICOM_CALL(Reset,p)
#define IEnumIDList_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IEnumIDList_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
#define IEnumIDList_Skip(p,a) (p)->lpVtbl->Skip(p,a)
#define IEnumIDList_Reset(p) (p)->lpVtbl->Reset(p)
#define IEnumIDList_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_extracticon.h
View file @
55379110
...
...
@@ -54,11 +54,13 @@ typedef struct IExtractIconW IExtractIconW,*LPEXTRACTICONW;
ICOM_DEFINE
(
IExtractIconA
,
IUnknown
)
#undef INTERFACE
#define IExtractIconA_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IExtractIconA_AddRef(p) ICOM_CALL(AddRef,p)
#define IExtractIconA_Release(p) ICOM_CALL(Release,p)
#define IExtractIconA_GetIconLocation(p,a,b,c,d,e) ICOM_CALL5(GetIconLocation,p,a,b,c,d,e)
#define IExtractIconA_Extract(p,a,b,c,d,e) ICOM_CALL5(Extract,p,a,b,c,d,e)
#ifdef COBJMACROS
#define IExtractIconA_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IExtractIconA_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IExtractIconA_Release(p) (p)->lpVtbl->Release(p)
#define IExtractIconA_GetIconLocation(p,a,b,c,d,e) (p)->lpVtbl->GetIconLocation(p,a,b,c,d,e)
#define IExtractIconA_Extract(p,a,b,c,d,e) (p)->lpVtbl->Extract(p,a,b,c,d,e)
#endif
#define INTERFACE IExtractIconW
...
...
@@ -71,11 +73,13 @@ ICOM_DEFINE(IExtractIconA,IUnknown)
ICOM_DEFINE
(
IExtractIconW
,
IUnknown
)
#undef INTERFACE
#define IExtractIconW_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IExtractIconW_AddRef(p) ICOM_CALL(AddRef,p)
#define IExtractIconW_Release(p) ICOM_CALL(Release,p)
#define IExtractIconW_GetIconLocation(p,a,b,c,d,e) ICOM_CALL5(GetIconLocation,p,a,b,c,d,e)
#define IExtractIconW_Extract(p,a,b,c,d,e) ICOM_CALL5(Extract,p,a,b,c,d,e)
#ifdef COBJMACROS
#define IExtractIconW_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IExtractIconW_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IExtractIconW_Release(p) (p)->lpVtbl->Release(p)
#define IExtractIconW_GetIconLocation(p,a,b,c,d,e) (p)->lpVtbl->GetIconLocation(p,a,b,c,d,e)
#define IExtractIconW_Extract(p,a,b,c,d,e) (p)->lpVtbl->Extract(p,a,b,c,d,e)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_inplace.h
View file @
55379110
...
...
@@ -173,13 +173,15 @@ typedef struct IOleLink IOleLink, *LPOLELINK;
ICOM_DEFINE
(
IOleWindow
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleWindow_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleWindow_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleWindow_Release(p)
ICOM_CALL (Release,
p)
#define IOleWindow_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleWindow_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleWindow_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleWindow_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a)
#define IOleWindow_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a)
#define IOleWindow_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
#define IOleWindow_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
#endif
/*****************************************************************************
...
...
@@ -197,18 +199,20 @@ ICOM_DEFINE(IOleWindow,IUnknown)
ICOM_DEFINE
(
IOleInPlaceObject
,
IOleWindow
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleInPlaceObject_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleInPlaceObject_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleInPlaceObject_Release(p)
ICOM_CALL (Release,
p)
#define IOleInPlaceObject_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleInPlaceObject_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleInPlaceObject_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleInPlaceObject_GetWindow(p,a)
ICOM_CALL1(GetWindow,
p,a)
#define IOleInPlaceObject_ContextSensitiveHelp(p,a)
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IOleInPlaceObject_GetWindow(p,a)
(p)->lpVtbl->GetWindow(
p,a)
#define IOleInPlaceObject_ContextSensitiveHelp(p,a)
(p)->lpVtbl->ContextSensitiveHelp(
p,a)
/*** IOleInPlaceObject methods ***/
#define IOleInPlaceObject_InPlaceDeactivate(p) ICOM_CALL (InPlaceDeactivate,p)
#define IOleInPlaceObject_UIDeactivate(p) ICOM_CALL (UIDeactivate,p)
#define IOleInPlaceObject_SetObjectRects(p,a,b) ICOM_CALL2(SetObjectRects,p,a,b)
#define IOleInPlaceObject_ReactivateAndUndo(p) ICOM_CALL (ReactivateAndUndo,p)
#define IOleInPlaceObject_InPlaceDeactivate(p) (p)->lpVtbl->InPlaceDeactivate(p)
#define IOleInPlaceObject_UIDeactivate(p) (p)->lpVtbl->UIDeactivate(p)
#define IOleInPlaceObject_SetObjectRects(p,a,b) (p)->lpVtbl->SetObjectRects(p,a,b)
#define IOleInPlaceObject_ReactivateAndUndo(p) (p)->lpVtbl->ReactivateAndUndo(p)
#endif
/*****************************************************************************
* IOleInPlaceActiveObject interface
...
...
@@ -226,19 +230,21 @@ ICOM_DEFINE(IOleInPlaceObject,IOleWindow)
ICOM_DEFINE
(
IOleInPlaceActiveObject
,
IOleWindow
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleInPlaceActiveObject_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleInPlaceActiveObject_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleInPlaceActiveObject_Release(p)
ICOM_CALL (Release,
p)
#define IOleInPlaceActiveObject_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleInPlaceActiveObject_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleInPlaceActiveObject_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleInPlaceActiveObject_GetWindow(p,a)
ICOM_CALL1(GetWindow,
p,a)
#define IOleInPlaceActiveObject_ContextSensitiveHelp(p,a)
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IOleInPlaceActiveObject_GetWindow(p,a)
(p)->lpVtbl->GetWindow(
p,a)
#define IOleInPlaceActiveObject_ContextSensitiveHelp(p,a)
(p)->lpVtbl->ContextSensitiveHelp(
p,a)
/*** IOleInPlaceActiveObject methods ***/
#define IOleInPlaceActiveObject_TranslateAccelerator(p,a) ICOM_CALL1(TranslateAccelerator,p,a)
#define IOleInPlaceActiveObject_OnFrameWindowActivate(p,a) ICOM_CALL1(OnFrameWindowActivate,p,a)
#define IOleInPlaceActiveObject_OnDocWindowActivate(p,a) ICOM_CALL1(OnDocWindowActivate,p,a)
#define IOleInPlaceActiveObject_ResizeBorder(p,a,b,c) ICOM_CALL3(ResizeBorder,p,a,b,c)
#define IOleInPlaceActiveObject_EnableModeless(p,a) ICOM_CALL1(EnableModeless,p,a)
#define IOleInPlaceActiveObject_TranslateAccelerator(p,a) (p)->lpVtbl->TranslateAccelerator(p,a)
#define IOleInPlaceActiveObject_OnFrameWindowActivate(p,a) (p)->lpVtbl->OnFrameWindowActivate(p,a)
#define IOleInPlaceActiveObject_OnDocWindowActivate(p,a) (p)->lpVtbl->OnDocWindowActivate(p,a)
#define IOleInPlaceActiveObject_ResizeBorder(p,a,b,c) (p)->lpVtbl->ResizeBorder(p,a,b,c)
#define IOleInPlaceActiveObject_EnableModeless(p,a) (p)->lpVtbl->EnableModeless(p,a)
#endif
/*****************************************************************************
* IOleInPlaceUIWindow interface
...
...
@@ -255,18 +261,20 @@ ICOM_DEFINE(IOleInPlaceActiveObject,IOleWindow)
ICOM_DEFINE
(
IOleInPlaceUIWindow
,
IOleWindow
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleInPlaceUIWindow_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleInPlaceUIWindow_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleInPlaceUIWindow_Release(p)
ICOM_CALL (Release,
p)
#define IOleInPlaceUIWindow_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleInPlaceUIWindow_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleInPlaceUIWindow_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleInPlaceUIWindow_GetWindow(p,a)
ICOM_CALL1(GetWindow,
p,a)
#define IOleInPlaceUIWindow_ContextSensitiveHelp(p,a)
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IOleInPlaceUIWindow_GetWindow(p,a)
(p)->lpVtbl->GetWindow(
p,a)
#define IOleInPlaceUIWindow_ContextSensitiveHelp(p,a)
(p)->lpVtbl->ContextSensitiveHelp(
p,a)
/*** IOleInPlaceUIWindow methods ***/
#define IOleInPlaceUIWindow_GetBorder(p,a) ICOM_CALL1(GetBorder,p,a)
#define IOleInPlaceUIWindow_RequestBorderSpace(p,a) ICOM_CALL1(RequestBorderSpace,p,a)
#define IOleInPlaceUIWindow_SetBorderSpace(p,a) ICOM_CALL1(SetBorderSpace,p,a)
#define IOleInPlaceUIWindow_SetActiveObject(p,a,b) ICOM_CALL2(SetActiveObject,p,a,b)
#define IOleInPlaceUIWindow_GetBorder(p,a) (p)->lpVtbl->GetBorder(p,a)
#define IOleInPlaceUIWindow_RequestBorderSpace(p,a) (p)->lpVtbl->RequestBorderSpace(p,a)
#define IOleInPlaceUIWindow_SetBorderSpace(p,a) (p)->lpVtbl->SetBorderSpace(p,a)
#define IOleInPlaceUIWindow_SetActiveObject(p,a,b) (p)->lpVtbl->SetActiveObject(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -286,25 +294,27 @@ ICOM_DEFINE(IOleInPlaceUIWindow,IOleWindow)
ICOM_DEFINE
(
IOleInPlaceFrame
,
IOleInPlaceUIWindow
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleInPlaceFrame_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleInPlaceFrame_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleInPlaceFrame_Release(p)
ICOM_CALL (Release,
p)
#define IOleInPlaceFrame_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleInPlaceFrame_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleInPlaceFrame_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleInPlaceFrame_GetWindow
ICOM_CALL1(GetWindow,
p,a)
#define IOleInPlaceFrame_ContextSensitiveHelp
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IOleInPlaceFrame_GetWindow
(p,a) (p)->lpVtbl->GetWindow(
p,a)
#define IOleInPlaceFrame_ContextSensitiveHelp
(p,a) (p)->lpVtbl->ContextSensitiveHelp(
p,a)
/*** IOleInPlaceUIWindow methods ***/
#define IOleInPlaceFrame_GetBorder
ICOM_CALL1(GetBorder,
p,a)
#define IOleInPlaceFrame_RequestBorderSpace
ICOM_CALL1(RequestBorderSpace,
p,a)
#define IOleInPlaceFrame_SetBorderSpace
ICOM_CALL1(SetBorderSpace,
p,a)
#define IOleInPlaceFrame_SetActiveObject
ICOM_CALL2(SetActiveObject,
p,a,b)
#define IOleInPlaceFrame_GetBorder
(p,a) (p)->lpVtbl->GetBorder(
p,a)
#define IOleInPlaceFrame_RequestBorderSpace
(p,a) (p)->lpVtbl->RequestBorderSpace(
p,a)
#define IOleInPlaceFrame_SetBorderSpace
(p,a) (p)->lpVtbl->SetBorderSpace(
p,a)
#define IOleInPlaceFrame_SetActiveObject
(p,a,b) (p)->lpVtbl->SetActiveObject(
p,a,b)
/*** IOleInPlaceFrame methods ***/
#define IOleInPlaceFrame_InsertMenus ICOM_CALL2(InsertMenus,p,a,b)
#define IOleInPlaceFrame_SetMenu ICOM_CALL3(SetMenu,p,a,b,c)
#define IOleInPlaceFrame_RemoveMenus ICOM_CALL1(RemoveMenus,p,a)
#define IOleInPlaceFrame_SetStatusText ICOM_CALL1(SetStatusText,p,a)
#define IOleInPlaceFrame_EnableModeless ICOM_CALL1(EnableModeless,p,a)
#define IOleInPlaceFrame_TranslateAccelerator ICOM_CALL2(TranslateAccelerator,p,a,b)
#define IOleInPlaceFrame_InsertMenus(p,a,b) (p)->lpVtbl->InsertMenus(p,a,b)
#define IOleInPlaceFrame_SetMenu(p,a,b,c) (p)->lpVtbl->SetMenu(p,a,b,c)
#define IOleInPlaceFrame_RemoveMenus(p,a) (p)->lpVtbl->RemoveMenus(p,a)
#define IOleInPlaceFrame_SetStatusText(p,a) (p)->lpVtbl->SetStatusText(p,a)
#define IOleInPlaceFrame_EnableModeless(p,a) (p)->lpVtbl->EnableModeless(p,a)
#define IOleInPlaceFrame_TranslateAccelerator(p,a,b) (p)->lpVtbl->TranslateAccelerator(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -328,24 +338,26 @@ ICOM_DEFINE(IOleInPlaceFrame,IOleInPlaceUIWindow)
ICOM_DEFINE
(
IOleInPlaceSite
,
IOleWindow
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleInPlaceSite_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleInPlaceSite_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleInPlaceSite_Release(p)
ICOM_CALL (Release,
p)
#define IOleInPlaceSite_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleInPlaceSite_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleInPlaceSite_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleWindow methods ***/
#define IOleInPlaceSite_GetWindow(p,a)
ICOM_CALL1(GetWindow,
p,a)
#define IOleInPlaceSite_ContextSensitiveHelp(p,a)
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IOleInPlaceSite_GetWindow(p,a)
(p)->lpVtbl->GetWindow(
p,a)
#define IOleInPlaceSite_ContextSensitiveHelp(p,a)
(p)->lpVtbl->ContextSensitiveHelp(
p,a)
/*** IOleInPlaceSite methods ***/
#define IOleInPlaceSite_CanInPlaceActivate(p) ICOM_CALL (CanInPlaceActivate,p)
#define IOleInPlaceSite_OnInPlaceActivate(p) ICOM_CALL (OnInPlaceActivate,p)
#define IOleInPlaceSite_OnUIActivate(p) ICOM_CALL (OnUIActivate,p)
#define IOleInPlaceSite_GetWindowContext(p,a,b,c,d,e) ICOM_CALL5(GetWindowContext,p,a,b,c,d,e)
#define IOleInPlaceSite_Scroll(p,a) ICOM_CALL1(Scroll,p,a)
#define IOleInPlaceSite_OnUIDeactivate(p,a) ICOM_CALL1(OnUIDeactivate,p,a)
#define IOleInPlaceSite_OnInPlaceDeactivate(p) ICOM_CALL (OnInPlaceDeactivate,p)
#define IOleInPlaceSite_DiscardUndoState(p) ICOM_CALL (DiscardUndoState,p)
#define IOleInPlaceSite_DeactivateAndUndo(p) ICOM_CALL (DeactivateAndUndo,p)
#define IOleInPlaceSite_OnPosRectChange(p,a) ICOM_CALL1(OnPosRectChange,p,a)
#define IOleInPlaceSite_CanInPlaceActivate(p) (p)->lpVtbl->CanInPlaceActivate(p)
#define IOleInPlaceSite_OnInPlaceActivate(p) (p)->lpVtbl->OnInPlaceActivate(p)
#define IOleInPlaceSite_OnUIActivate(p) (p)->lpVtbl->OnUIActivate(p)
#define IOleInPlaceSite_GetWindowContext(p,a,b,c,d,e) (p)->lpVtbl->GetWindowContext(p,a,b,c,d,e)
#define IOleInPlaceSite_Scroll(p,a) (p)->lpVtbl->Scroll(p,a)
#define IOleInPlaceSite_OnUIDeactivate(p,a) (p)->lpVtbl->OnUIDeactivate(p,a)
#define IOleInPlaceSite_OnInPlaceDeactivate(p) (p)->lpVtbl->OnInPlaceDeactivate(p)
#define IOleInPlaceSite_DiscardUndoState(p) (p)->lpVtbl->DiscardUndoState(p)
#define IOleInPlaceSite_DeactivateAndUndo(p) (p)->lpVtbl->DeactivateAndUndo(p)
#define IOleInPlaceSite_OnPosRectChange(p,a) (p)->lpVtbl->OnPosRectChange(p,a)
#endif
/*****************************************************************************
...
...
@@ -365,17 +377,19 @@ ICOM_DEFINE(IOleInPlaceSite,IOleWindow)
ICOM_DEFINE
(
IOleClientSite
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleClientSite_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleClientSite_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleClientSite_Release(p)
ICOM_CALL (Release,
p)
#define IOleClientSite_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleClientSite_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleClientSite_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleClientSite methods ***/
#define IOleClientSite_SaveObject(p)
ICOM_CALL (SaveObject,
p)
#define IOleClientSite_GetMoniker(p,a,b,c)
ICOM_CALL3(GetMoniker,
p,a,b,c)
#define IOleClientSite_GetContainer(p,a)
ICOM_CALL1(GetContainer,
p,a)
#define IOleClientSite_ShowObject(p)
ICOM_CALL (ShowObject,
p)
#define IOleClientSite_OnShowWindow(p,a)
ICOM_CALL1(OnShowWindow,
p,a)
#define IOleClientSite_SaveObject(p)
(p)->lpVtbl->SaveObject(
p)
#define IOleClientSite_GetMoniker(p,a,b,c)
(p)->lpVtbl->GetMoniker(
p,a,b,c)
#define IOleClientSite_GetContainer(p,a)
(p)->lpVtbl->GetContainer(
p,a)
#define IOleClientSite_ShowObject(p)
(p)->lpVtbl->ShowObject(
p)
#define IOleClientSite_OnShowWindow(p,a)
(p)->lpVtbl->OnShowWindow(
p,a)
#define IOleClientSite_RequestNewObjectLayout(p) ICOM_CALL (RequestNewObjectLayout(p)
#endif
/*****************************************************************************
...
...
@@ -390,12 +404,14 @@ ICOM_DEFINE(IOleClientSite,IUnknown)
ICOM_DEFINE
(
IParseDisplayName
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IParseDisplayName_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IParseDisplayName_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IParseDisplayName_Release(p)
ICOM_CALL (Release,
p)
#define IParseDisplayName_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IParseDisplayName_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IParseDisplayName_Release(p)
(p)->lpVtbl->Release(
p)
/*** IParseDisplayName methods ***/
#define IParseDisplayName_ParseDisplayName(p,a,b,c,d) ICOM_CALL4(ParseDisplayName,p,a,b,c,d)
#define IParseDisplayName_ParseDisplayName(p,a,b,c,d) (p)->lpVtbl->ParseDisplayName(p,a,b,c,d)
#endif
/*****************************************************************************
...
...
@@ -411,15 +427,17 @@ ICOM_DEFINE(IParseDisplayName,IUnknown)
ICOM_DEFINE
(
IOleContainer
,
IParseDisplayName
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleContainer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleContainer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleContainer_Release(p)
ICOM_CALL (Release,
p)
#define IOleContainer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleContainer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleContainer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IParseDisplayName methods ***/
#define IOleContainer_ParseDisplayName(p,a,b,c,d)
ICOM_CALL4(ParseDisplayName,
p,a,b,c,d)
#define IOleContainer_ParseDisplayName(p,a,b,c,d)
(p)->lpVtbl->ParseDisplayName(
p,a,b,c,d)
/*** IOleClientSite methods ***/
#define IOleContainer_EnumObjects(p,a,b) ICOM_CALL (EnumObjects,p,a,b)
#define IOleContainer_LockContainer(p,a) ICOM_CALL3(LockContainer,p,a)
#define IOleContainer_EnumObjects(p,a,b) (p)->lpVtbl->EnumObjects(p,a,b)
#define IOleContainer_LockContainer(p,a) (p)->lpVtbl->LockContainer(p,a)
#endif
/*****************************************************************************
...
...
@@ -440,14 +458,16 @@ ICOM_DEFINE(IOleContainer,IParseDisplayName)
ICOM_DEFINE
(
IOleItemContainer
,
IOleContainer
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleItemContainer_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleItemContainer_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleItemContainer_Release(p)
ICOM_CALL (Release,
p)
#define IOleItemContainer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleItemContainer_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleItemContainer_Release(p)
(p)->lpVtbl->Release(
p)
/*** IParseDisplayName methods ***/
#define IOleItemContainer_GetObject(p,a,b,c,d,e) ICOM_CALL5(GetObject,p,a,b,c,d,e)
#define IOleItemContainer_GetObjectStorage(p,a,b,c,d) ICOM_CALL4(GetObjectStorage,p,a,b,c,d)
#define IOleItemContainer_IsRunning(p,a) ICOM_CALL1(IsRunning,p,a)
#define IOleItemContainer_GetObject(p,a,b,c,d,e) (p)->lpVtbl->GetObject(p,a,b,c,d,e)
#define IOleItemContainer_GetObjectStorage(p,a,b,c,d) (p)->lpVtbl->GetObjectStorage(p,a,b,c,d)
#define IOleItemContainer_IsRunning(p,a) (p)->lpVtbl->IsRunning(p,a)
#endif
/*****************************************************************************
...
...
@@ -472,22 +492,24 @@ ICOM_DEFINE(IOleItemContainer,IOleContainer)
ICOM_DEFINE
(
IOleLink
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleLink_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleLink_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleLink_Release(p)
ICOM_CALL (Release,
p)
#define IOleLink_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleLink_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleLink_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleLink methods ***/
#define IOleLink_SetUpdateOptions(p,a) ICOM_CALL1(SetUpdateOptions,p,a)
#define IOleLink_GetUpdateOptions(p,a) ICOM_CALL1(GetUpdateOptions,p,a)
#define IOleLink_SetSourceMoniker(p,a,b) ICOM_CALL2(SetSourceMoniker,p,a,b)
#define IOleLink_GetSourceMoniker(p,a) ICOM_CALL1(GetSourceMoniker,p,a)
#define IOleLink_SetSourceDisplayName(p,a) ICOM_CALL1(SetSourceDisplayName,p,a)
#define IOleLink_GetSourceDisplayName(p,a) ICOM_CALL1(GetSourceDisplayName,p,a)
#define IOleLink_BindToSource(p,a,b) ICOM_CALL2(BindToSource,p,a,b)
#define IOleLink_BindIfRunning(p) ICOM_CALL (BindIfRunning,p)
#define IOleLink_GetBoundSource(p,a) ICOM_CALL1(GetBoundSource,p,a)
#define IOleLink_UnBindSource(p) ICOM_CALL (UnBindSource,p)
#define IOleLink_Update(p,a) ICOM_CALL1(Update,p,a)
#define IOleLink_SetUpdateOptions(p,a) (p)->lpVtbl->SetUpdateOptions(p,a)
#define IOleLink_GetUpdateOptions(p,a) (p)->lpVtbl->GetUpdateOptions(p,a)
#define IOleLink_SetSourceMoniker(p,a,b) (p)->lpVtbl->SetSourceMoniker(p,a,b)
#define IOleLink_GetSourceMoniker(p,a) (p)->lpVtbl->GetSourceMoniker(p,a)
#define IOleLink_SetSourceDisplayName(p,a) (p)->lpVtbl->SetSourceDisplayName(p,a)
#define IOleLink_GetSourceDisplayName(p,a) (p)->lpVtbl->GetSourceDisplayName(p,a)
#define IOleLink_BindToSource(p,a,b) (p)->lpVtbl->BindToSource(p,a,b)
#define IOleLink_BindIfRunning(p) (p)->lpVtbl->BindIfRunning(p)
#define IOleLink_GetBoundSource(p,a) (p)->lpVtbl->GetBoundSource(p,a)
#define IOleLink_UnBindSource(p) (p)->lpVtbl->UnBindSource(p)
#define IOleLink_Update(p,a) (p)->lpVtbl->Update(p,a)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_olefont.h
View file @
55379110
...
...
@@ -68,41 +68,43 @@ typedef TEXTMETRICW TEXTMETRICOLE;
STDMETHOD(ReleaseHfont)(THIS_ HFONT hfont) PURE; \
STDMETHOD(SetHdc)(THIS_ HDC hdc) PURE;
#define IFont_IMETHODS \
IUnknown_IME
HT
ODS \
IUnknown_IME
TH
ODS \
IFont_METHODS
ICOM_DEFINE
(
IFont
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IFont_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IFont_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IFont_Release(p)
ICOM_CALL (Release,
p)
#define IFont_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IFont_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IFont_Release(p)
(p)->lpVtbl->Release(
p)
/*** IFont methods ***/
#define IFont_getName(p,a) ICOM_CALL1(get_Name,p,a)
#define IFont_putName(p,a) ICOM_CALL1(put_Name,p,a)
#define IFont_get_Size(p,a) ICOM_CALL1(get_Size,p,a)
#define IFont_put_Size(p,a) ICOM_CALL1(put_Size,p,a)
#define IFont_get_Bold(p,a) ICOM_CALL1(get_Bold,p,a)
#define IFont_put_Bold(p,a) ICOM_CALL1(put_Bold,p,a)
#define IFont_get_Italic(p,a) ICOM_CALL1(get_Italic,p,a)
#define IFont_put_Italic(p,a) ICOM_CALL1(put_Italic,p,a)
#define IFont_get_Underline(p,a) ICOM_CALL1(get_Underline,p,a)
#define IFont_put_Underline(p,a) ICOM_CALL1(put_Underline,p,a)
#define IFont_get_Strikethrough(p,a) ICOM_CALL1(get_Strikethrough,p,a)
#define IFont_put_Strikethrough(p,a) ICOM_CALL1(put_Strikethrough,p,a)
#define IFont_get_Weight(p,a) ICOM_CALL1(get_Weight,p,a)
#define IFont_put_Weight(p,a) ICOM_CALL1(put_Weight,p,a)
#define IFont_get_Charset(p,a) ICOM_CALL1(get_Charset,p,a)
#define IFont_put_Charset(p,a) ICOM_CALL1(put_Charset,p,a)
#define IFont_get_hFont(p,a) ICOM_CALL1(get_hFont,p,a)
#define IFont_put_hFont(p,a) ICOM_CALL1(put_hFont,p,a)
#define IFont_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IFont_IsEqual(p,a) ICOM_CALL1(IsEqual,p,a)
#define IFont_SetRatio(p,a,b) ICOM_CALL2(SetRatio,p,a,b)
#define IFont_QueryTextMetrics(p,a) ICOM_CALL1(QueryTextMetrics,p,a)
#define IFont_AddRefHfont(p,a) ICOM_CALL1(AddRefHfont,p,a)
#define IFont_ReleaseHfont(p,a) ICOM_CALL1(ReleaseHfont,p,a)
#define IFont_SetHdc(p,a) ICOM_CALL1(SetHdc,p,a)
#define IFont_getName(p,a) (p)->lpVtbl->get_Name(p,a)
#define IFont_putName(p,a) (p)->lpVtbl->put_Name(p,a)
#define IFont_get_Size(p,a) (p)->lpVtbl->get_Size(p,a)
#define IFont_put_Size(p,a) (p)->lpVtbl->put_Size(p,a)
#define IFont_get_Bold(p,a) (p)->lpVtbl->get_Bold(p,a)
#define IFont_put_Bold(p,a) (p)->lpVtbl->put_Bold(p,a)
#define IFont_get_Italic(p,a) (p)->lpVtbl->get_Italic(p,a)
#define IFont_put_Italic(p,a) (p)->lpVtbl->put_Italic(p,a)
#define IFont_get_Underline(p,a) (p)->lpVtbl->get_Underline(p,a)
#define IFont_put_Underline(p,a) (p)->lpVtbl->put_Underline(p,a)
#define IFont_get_Strikethrough(p,a) (p)->lpVtbl->get_Strikethrough(p,a)
#define IFont_put_Strikethrough(p,a) (p)->lpVtbl->put_Strikethrough(p,a)
#define IFont_get_Weight(p,a) (p)->lpVtbl->get_Weight(p,a)
#define IFont_put_Weight(p,a) (p)->lpVtbl->put_Weight(p,a)
#define IFont_get_Charset(p,a) (p)->lpVtbl->get_Charset(p,a)
#define IFont_put_Charset(p,a) (p)->lpVtbl->put_Charset(p,a)
#define IFont_get_hFont(p,a) (p)->lpVtbl->get_hFont(p,a)
#define IFont_put_hFont(p,a) (p)->lpVtbl->put_hFont(p,a)
#define IFont_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#define IFont_IsEqual(p,a) (p)->lpVtbl->IsEqual(p,a)
#define IFont_SetRatio(p,a,b) (p)->lpVtbl->SetRatio(p,a,b)
#define IFont_QueryTextMetrics(p,a) (p)->lpVtbl->QueryTextMetrics(p,a)
#define IFont_AddRefHfont(p,a) (p)->lpVtbl->AddRefHfont(p,a)
#define IFont_ReleaseHfont(p,a) (p)->lpVtbl->ReleaseHfont(p,a)
#define IFont_SetHdc(p,a) (p)->lpVtbl->SetHdc(p,a)
#endif
/*****************************************************************************
* IFont interface
...
...
@@ -115,16 +117,18 @@ ICOM_DEFINE(IFont,IUnknown)
ICOM_DEFINE
(
IFontDisp
,
IDispatch
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IFontDisp_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IFontDisp_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IFontDisp_Release(p)
ICOM_CALL (Release,
p)
#define IFontDisp_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IFontDisp_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IFontDisp_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDispatch methods ***/
#define IFontDisp_GetTypeInfoCount(p,a)
ICOM_CALL1 (GetTypeInfoCount,
p,a)
#define IFontDisp_GetTypeInfo(p,a,b,c)
ICOM_CALL3 (GetTypeInfo,
p,a,b,c)
#define IFontDisp_GetIDsOfNames(p,a,b,c,d,e)
ICOM_CALL5 (GetIDsOfNames,
p,a,b,c,d,e)
#define IFontDisp_Invoke(p,a,b,c,d,e,f,g,h)
ICOM_CALL8 (Invoke,
p,a,b,c,d,e,f,g,h)
#define IFontDisp_GetTypeInfoCount(p,a)
(p)->lpVtbl->GetTypeInfoCount(
p,a)
#define IFontDisp_GetTypeInfo(p,a,b,c)
(p)->lpVtbl->GetTypeInfo(
p,a,b,c)
#define IFontDisp_GetIDsOfNames(p,a,b,c,d,e)
(p)->lpVtbl->GetIDsOfNames(
p,a,b,c,d,e)
#define IFontDisp_Invoke(p,a,b,c,d,e,f,g,h)
(p)->lpVtbl->Invoke(
p,a,b,c,d,e,f,g,h)
/*** IFontDisp methods ***/
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_oleobj.h
View file @
55379110
...
...
@@ -121,32 +121,34 @@ typedef struct IEnumOLEVERB IEnumOLEVERB, *LPENUMOLEVERB;
ICOM_DEFINE
(
IOleObject
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleObject_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleObject_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleObject_Release(p)
ICOM_CALL (Release,
p)
#define IOleObject_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleObject_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleObject_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleObject methods ***/
#define IOleObject_SetClientSite(p,a) ICOM_CALL1(SetClientSite,p,a)
#define IOleObject_GetClientSite(p,a,b) ICOM_CALL1(GetClientSite,p,a)
#define IOleObject_SetHostNames(p,a,b) ICOM_CALL2(SetHostNames,p,a,b)
#define IOleObject_Close(p,a,b) ICOM_CALL1(Close,p,a)
#define IOleObject_SetMoniker(p,a,b) ICOM_CALL2(SetMoniker,p,a,b)
#define IOleObject_GetMoniker(p,a,b) ICOM_CALL3(GetMoniker,p,a,b,c)
#define IOleObject_InitFromData(p,a,b) ICOM_CALL3(InitFromData,p,a,b,c)
#define IOleObject_GetClipboardData(p,a,b) ICOM_CALL2(GetClipboardData,p,a,b)
#define IOleObject_DoVerb(p,a,b) ICOM_CALL6(DoVerb,p,a,b,c,d,e,f)
#define IOleObject_EnumVerbs(p,a,b) ICOM_CALL1(EnumVerbs,p,a)
#define IOleObject_Update(p,a,b) ICOM_CALL (Update,p)
#define IOleObject_IsUpToDate(p,a,b) ICOM_CALL (IsUpToDate,p)
#define IOleObject_GetUserClassID(p,a,b) ICOM_CALL1(GetUserClassID,p,a)
#define IOleObject_GetUserType(p,a,b) ICOM_CALL2(GetUserType,p,a,b)
#define IOleObject_SetExtent(p,a,b) ICOM_CALL2(SetExtent,p,a,b)
#define IOleObject_GetExtent(p,a,b) ICOM_CALL2(GetExtent,p,a,b)
#define IOleObject_Advise(p,a,b) ICOM_CALL2(Advise,p,a,b)
#define IOleObject_Unadvise(p,a,b) ICOM_CALL1(Unadvise,p,a)
#define IOleObject_EnumAdvise(p,a,b) ICOM_CALL1(EnumAdvise,p,a)
#define IOleObject_GetMiscStatus(p,a,b) ICOM_CALL2(GetMiscStatus,p,a,b)
#define IOleObject_SetColorScheme(p,a,b) ICOM_CALL1(SetColorScheme,p,a)
#define IOleObject_SetClientSite(p,a) (p)->lpVtbl->SetClientSite(p,a)
#define IOleObject_GetClientSite(p,a,b) (p)->lpVtbl->GetClientSite(p,a)
#define IOleObject_SetHostNames(p,a,b) (p)->lpVtbl->SetHostNames(p,a,b)
#define IOleObject_Close(p,a,b) (p)->lpVtbl->Close(p,a)
#define IOleObject_SetMoniker(p,a,b) (p)->lpVtbl->SetMoniker(p,a,b)
#define IOleObject_GetMoniker(p,a,b) (p)->lpVtbl->GetMoniker(p,a,b,c)
#define IOleObject_InitFromData(p,a,b) (p)->lpVtbl->InitFromData(p,a,b,c)
#define IOleObject_GetClipboardData(p,a,b) (p)->lpVtbl->GetClipboardData(p,a,b)
#define IOleObject_DoVerb(p,a,b) (p)->lpVtbl->DoVerb(p,a,b,c,d,e,f)
#define IOleObject_EnumVerbs(p,a,b) (p)->lpVtbl->EnumVerbs(p,a)
#define IOleObject_Update(p,a,b) (p)->lpVtbl->Update(p)
#define IOleObject_IsUpToDate(p,a,b) (p)->lpVtbl->IsUpToDate(p)
#define IOleObject_GetUserClassID(p,a,b) (p)->lpVtbl->GetUserClassID(p,a)
#define IOleObject_GetUserType(p,a,b) (p)->lpVtbl->GetUserType(p,a,b)
#define IOleObject_SetExtent(p,a,b) (p)->lpVtbl->SetExtent(p,a,b)
#define IOleObject_GetExtent(p,a,b) (p)->lpVtbl->GetExtent(p,a,b)
#define IOleObject_Advise(p,a,b) (p)->lpVtbl->Advise(p,a,b)
#define IOleObject_Unadvise(p,a,b) (p)->lpVtbl->Unadvise(p,a)
#define IOleObject_EnumAdvise(p,a,b) (p)->lpVtbl->EnumAdvise(p,a)
#define IOleObject_GetMiscStatus(p,a,b) (p)->lpVtbl->GetMiscStatus(p,a,b)
#define IOleObject_SetColorScheme(p,a,b) (p)->lpVtbl->SetColorScheme(p,a)
#endif
/*****************************************************************************
...
...
@@ -166,17 +168,19 @@ ICOM_DEFINE(IOleObject,IUnknown)
ICOM_DEFINE
(
IOleAdviseHolder
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleAdviseHolder_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleAdviseHolder_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleAdviseHolder_Release(p)
ICOM_CALL (Release,
p)
#define IOleAdviseHolder_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleAdviseHolder_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleAdviseHolder_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleAdviseHolder methods ***/
#define IOleAdviseHolder_Advise(p,a,b) ICOM_CALL2(Advise,p,a,b)
#define IOleAdviseHolder_Unadvise(p,a) ICOM_CALL1(Unadvise,p,a)
#define IOleAdviseHolder_EnumAdvise(p,a) ICOM_CALL1(EnumAdvise,p,a)
#define IOleAdviseHolder_SendOnRename(p,a) ICOM_CALL1(SendOnRename,p,a)
#define IOleAdviseHolder_SendOnSave(p) ICOM_CALL (SendOnSave,p)
#define IOleAdviseHolder_SendOnClose(p) ICOM_CALL (SendOnClose,p)
#define IOleAdviseHolder_Advise(p,a,b) (p)->lpVtbl->Advise(p,a,b)
#define IOleAdviseHolder_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a)
#define IOleAdviseHolder_EnumAdvise(p,a) (p)->lpVtbl->EnumAdvise(p,a)
#define IOleAdviseHolder_SendOnRename(p,a) (p)->lpVtbl->SendOnRename(p,a)
#define IOleAdviseHolder_SendOnSave(p) (p)->lpVtbl->SendOnSave(p)
#define IOleAdviseHolder_SendOnClose(p) (p)->lpVtbl->SendOnClose(p)
#endif
/*****************************************************************************
...
...
@@ -194,15 +198,17 @@ ICOM_DEFINE(IOleAdviseHolder,IUnknown)
ICOM_DEFINE
(
IEnumOLEVERB
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IEnumOLEVERB_QueryInterface(p,a,b)
ICOM_ICALL2(IUnknown,QueryInterface,
p,a,b)
#define IEnumOLEVERB_AddRef(p)
ICOM_ICALL (IUnknown,AddRef,
p)
#define IEnumOLEVERB_Release(p)
ICOM_ICALL (IUnknown,Release,
p)
#define IEnumOLEVERB_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumOLEVERB_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumOLEVERB_Release(p)
(p)->lpVtbl->Release(
p)
/*** IEnumOLEVERB methods ***/
#define IEnumOLEVERB_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
#define IEnumOLEVERB_Skip(p,a) ICOM_CALL1(Skip,p,a)
#define IEnumOLEVERB_Reset(p,a) ICOM_CALL (Reset,p)
#define IEnumOLEVERB_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IEnumOLEVERB_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
#define IEnumOLEVERB_Skip(p,a) (p)->lpVtbl->Skip(p,a)
#define IEnumOLEVERB_Reset(p,a) (p)->lpVtbl->Reset(p)
#define IEnumOLEVERB_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_oleundo.h
View file @
55379110
...
...
@@ -110,14 +110,16 @@ typedef struct tagQACONTAINER
ICOM_DEFINE
(
IQuickActivate
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IQuickActivate_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IQuickActivate_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IQuickActivate_Release(p)
ICOM_CALL (Release,
p)
#define IQuickActivate_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IQuickActivate_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IQuickActivate_Release(p)
(p)->lpVtbl->Release(
p)
/*** IQuickActivate methods ***/
#define IQuickActivate_QuickActivate(p,a,b) ICOM_CALL2(QuickActivate,p,a,b)
#define IQuickActivate_SetContentExtent(p,a) ICOM_CALL1(SetContentExtent,p,a)
#define IQuickActivate_GetContentExtent(p,a) ICOM_CALL1(GetContentExtent,p,a)
#define IQuickActivate_QuickActivate(p,a,b) (p)->lpVtbl->QuickActivate(p,a,b)
#define IQuickActivate_SetContentExtent(p,a) (p)->lpVtbl->SetContentExtent(p,a)
#define IQuickActivate_GetContentExtent(p,a) (p)->lpVtbl->GetContentExtent(p,a)
#endif
/*****************************************************************************
...
...
@@ -134,14 +136,16 @@ ICOM_DEFINE(IQuickActivate,IUnknown)
ICOM_DEFINE
(
IPointerInactive
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPointerInactive_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPointerInactive_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPointerInactive_Release(p)
ICOM_CALL (Release,
p)
#define IPointerInactive_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPointerInactive_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPointerInactive_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPointerInactive methods ***/
#define IPointerInactive_GetActivationPolicy(p,a) ICOM_CALL1(GetActivationPolicy,p,a)
#define IPointerInactive_OnInactiveMoveMouse(p,a,b,c,d) ICOM_CALL4(OnInactiveMoveMouse,p,a,b,c,d)
#define IPointerInactive_OnInactiveSetCursor(p,a,b,c,d,e) ICOM_CALL5(OnInactiveSetCursor,p,a,b,d,e)
#define IPointerInactive_GetActivationPolicy(p,a) (p)->lpVtbl->GetActivationPolicy(p,a)
#define IPointerInactive_OnInactiveMoveMouse(p,a,b,c,d) (p)->lpVtbl->OnInactiveMoveMouse(p,a,b,c,d)
#define IPointerInactive_OnInactiveSetCursor(p,a,b,c,d,e) (p)->lpVtbl->OnInactiveSetCursor(p,a,b,d,e)
#endif
/*****************************************************************************
...
...
@@ -156,18 +160,20 @@ ICOM_DEFINE(IPointerInactive,IUnknown)
ICOM_DEFINE
(
IAdviseSinkEx
,
IAdviseSink
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IAdviseSinkEx_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IAdviseSinkEx_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IAdviseSinkEx_Release(p)
ICOM_CALL (Release,
p)
#define IAdviseSinkEx_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IAdviseSinkEx_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IAdviseSinkEx_Release(p)
(p)->lpVtbl->Release(
p)
/*** IAdviseSink methods ***/
#define IAdviseSinkEx_OnDataChange(p,a,b)
ICOM_CALL2(OnDataChange,
p,a,b)
#define IAdviseSinkEx_OnViewChange(p,a,b)
ICOM_CALL2(OnViewChange,
p,a,b)
#define IAdviseSinkEx_OnRename(p,a)
ICOM_CALL1(OnRename,
p,a)
#define IAdviseSinkEx_OnSave(p)
ICOM_CALL (OnSave,
p)
#define IAdviseSinkEx_OnClose(p)
ICOM_CALL (OnClose,
p)
#define IAdviseSinkEx_OnDataChange(p,a,b)
(p)->lpVtbl->OnDataChange(
p,a,b)
#define IAdviseSinkEx_OnViewChange(p,a,b)
(p)->lpVtbl->OnViewChange(
p,a,b)
#define IAdviseSinkEx_OnRename(p,a)
(p)->lpVtbl->OnRename(
p,a)
#define IAdviseSinkEx_OnSave(p)
(p)->lpVtbl->OnSave(
p)
#define IAdviseSinkEx_OnClose(p)
(p)->lpVtbl->OnClose(
p)
/*** IAdviseSinkEx methods ***/
#define IAdviseSinkEx_OnViewStatusChange(p,a) ICOM_CALL1(OnViewStatusChange,p,a)
#define IAdviseSinkEx_OnViewStatusChange(p,a) (p)->lpVtbl->OnViewStatusChange(p,a)
#endif
/*****************************************************************************
...
...
@@ -193,23 +199,25 @@ ICOM_DEFINE(IAdviseSinkEx,IAdviseSink)
ICOM_DEFINE
(
IOleUndoManager
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleUndoManager_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleUndoManager_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleUndoManager_Release(p)
ICOM_CALL (Release,
p)
#define IOleUndoManager_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleUndoManager_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleUndoManager_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleUndoManager methods ***/
#define IOleUndoManager_Open(p,a) ICOM_CALL1(Open,p,a)
#define IOleUndoManager_Close(p,a,b) ICOM_CALL2(Close,p,a,b)
#define IOleUndoManager_Add(p,a) ICOM_CALL1(Add,p,a)
#define IOleUndoManager_GetOpenParentState(p,a) ICOM_CALL1(GetOpenParentState,p,a)
#define IOleUndoManager_DiscardFrom(p,a) ICOM_CALL1(DiscardFrom,p,a)
#define IOleUndoManager_UndoTo(p,a) ICOM_CALL1(UndoTo,p,a)
#define IOleUndoManager_RedoTo(p,a) ICOM_CALL1(RedoTo,p,a)
#define IOleUndoManager_EnumUndoable(p,a) ICOM_CALL1(EnumUndoable,p,a)
#define IOleUndoManager_EnumRedoable(p,a) ICOM_CALL1(EnumRedoable,p,a)
#define IOleUndoManager_GetLastUndoDescription(p,a) ICOM_CALL1(GetLastUndoDescription,p,a)
#define IOleUndoManager_GetLastRedoDescription(p,a) ICOM_CALL1(GetLastRedoDescription,p,a)
#define IOleUndoManager_Enable(p,a) ICOM_CALL1(Enable,p,a)
#define IOleUndoManager_Open(p,a) (p)->lpVtbl->Open(p,a)
#define IOleUndoManager_Close(p,a,b) (p)->lpVtbl->Close(p,a,b)
#define IOleUndoManager_Add(p,a) (p)->lpVtbl->Add(p,a)
#define IOleUndoManager_GetOpenParentState(p,a) (p)->lpVtbl->GetOpenParentState(p,a)
#define IOleUndoManager_DiscardFrom(p,a) (p)->lpVtbl->DiscardFrom(p,a)
#define IOleUndoManager_UndoTo(p,a) (p)->lpVtbl->UndoTo(p,a)
#define IOleUndoManager_RedoTo(p,a) (p)->lpVtbl->RedoTo(p,a)
#define IOleUndoManager_EnumUndoable(p,a) (p)->lpVtbl->EnumUndoable(p,a)
#define IOleUndoManager_EnumRedoable(p,a) (p)->lpVtbl->EnumRedoable(p,a)
#define IOleUndoManager_GetLastUndoDescription(p,a) (p)->lpVtbl->GetLastUndoDescription(p,a)
#define IOleUndoManager_GetLastRedoDescription(p,a) (p)->lpVtbl->GetLastRedoDescription(p,a)
#define IOleUndoManager_Enable(p,a) (p)->lpVtbl->Enable(p,a)
#endif
/*****************************************************************************
...
...
@@ -227,15 +235,17 @@ ICOM_DEFINE(IOleUndoManager,IUnknown)
ICOM_DEFINE
(
IOleUndoUnit
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleUndoUnit_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleUndoUnit_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleUndoUnit_Release(p)
ICOM_CALL (Release,
p)
#define IOleUndoUnit_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleUndoUnit_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleUndoUnit_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleUndoUnit methods ***/
#define IOleUndoUnit_Do(p,a) ICOM_CALL1(Do,p,a)
#define IOleUndoUnit_GetDescription(p,a) ICOM_CALL1(GetDescription,p,a)
#define IOleUndoUnit_GetUnitType(p,a,b) ICOM_CALL2(GetUnitType,p,a,b)
#define IOleUndoUnit_OnNextAdd(p) ICOM_CALL (OnNextAdd,p)
#define IOleUndoUnit_Do(p,a) (p)->lpVtbl->Do(p,a)
#define IOleUndoUnit_GetDescription(p,a) (p)->lpVtbl->GetDescription(p,a)
#define IOleUndoUnit_GetUnitType(p,a,b) (p)->lpVtbl->GetUnitType(p,a,b)
#define IOleUndoUnit_OnNextAdd(p) (p)->lpVtbl->OnNextAdd(p)
#endif
...
...
@@ -255,21 +265,23 @@ ICOM_DEFINE(IOleUndoUnit,IUnknown)
ICOM_DEFINE
(
IOleParentUndoUnit
,
IOleUndoUnit
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IOleParentUndoUnit_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IOleParentUndoUnit_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IOleParentUndoUnit_Release(p)
ICOM_CALL (Release,
p)
#define IOleParentUndoUnit_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IOleParentUndoUnit_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IOleParentUndoUnit_Release(p)
(p)->lpVtbl->Release(
p)
/*** IOleUndoUnit methods ***/
#define IOleParentUndoUnit_Do(p,a)
ICOM_CALL1(Do,
p,a)
#define IOleParentUndoUnit_GetDescription(p,a)
ICOM_CALL1(GetDescription,
p,a)
#define IOleParentUndoUnit_GetUnitType(p,a,b)
ICOM_CALL2(GetUnitType,
p,a,b)
#define IOleParentUndoUnit_OnNextAdd(p)
ICOM_CALL (OnNextAdd,
p)
#define IOleParentUndoUnit_Do(p,a)
(p)->lpVtbl->Do(
p,a)
#define IOleParentUndoUnit_GetDescription(p,a)
(p)->lpVtbl->GetDescription(
p,a)
#define IOleParentUndoUnit_GetUnitType(p,a,b)
(p)->lpVtbl->GetUnitType(
p,a,b)
#define IOleParentUndoUnit_OnNextAdd(p)
(p)->lpVtbl->OnNextAdd(
p)
/*** IOleParentUndoUnit methods ***/
#define IOleParentUndoUnit_Open(p,a) ICOM_CALL1(Open,p,a)
#define IOleParentUndoUnit_Close(p,a,b) ICOM_CALL2(Close,p,a,b)
#define IOleParentUndoUnit_Add(p,a) ICOM_CALL1(Add,p,a)
#define IOleParentUndoUnit_FindUnit(p,a) ICOM_CALL1(FindUnit,p,a)
#define IOleParentUndoUnit_GetParentState(p,a,b) ICOM_CALL1(GetParentState,p,a)
#define IOleParentUndoUnit_Open(p,a) (p)->lpVtbl->Open(p,a)
#define IOleParentUndoUnit_Close(p,a,b) (p)->lpVtbl->Close(p,a,b)
#define IOleParentUndoUnit_Add(p,a) (p)->lpVtbl->Add(p,a)
#define IOleParentUndoUnit_FindUnit(p,a) (p)->lpVtbl->FindUnit(p,a)
#define IOleParentUndoUnit_GetParentState(p,a,b) (p)->lpVtbl->GetParentState(p,a)
#endif
/*****************************************************************************
...
...
@@ -287,15 +299,17 @@ ICOM_DEFINE(IOleParentUndoUnit,IOleUndoUnit)
ICOM_DEFINE
(
IEnumOleUndoUnits
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IEnumOleUndoUnits_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IEnumOleUndoUnits_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IEnumOleUndoUnits_Release(p)
ICOM_CALL (Release,
p)
#define IEnumOleUndoUnits_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumOleUndoUnits_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumOleUndoUnits_Release(p)
(p)->lpVtbl->Release(
p)
/*** IEnumOleUndoUnits methods ***/
#define IEnumOleUndoUnits_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
#define IEnumOleUndoUnits_Skip(p,a) ICOM_CALL1(Skip,p,a)
#define IEnumOleUndoUnits_Reset(p,a) ICOM_CALL (Reset,p,a)
#define IEnumOleUndoUnits_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IEnumOleUndoUnits_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
#define IEnumOleUndoUnits_Skip(p,a) (p)->lpVtbl->Skip(p,a)
#define IEnumOleUndoUnits_Reset(p,a) (p)->lpVtbl->Reset(p,a)
#define IEnumOleUndoUnits_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_oleview.h
View file @
55379110
...
...
@@ -61,17 +61,19 @@ typedef BOOL (CALLBACK *IVO_ContCallback)(DWORD);
ICOM_DEFINE
(
IViewObject
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IViewObject_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IViewObject_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IViewObject_Release(p)
ICOM_CALL (Release,
p)
#define IViewObject_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IViewObject_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IViewObject_Release(p)
(p)->lpVtbl->Release(
p)
/*** IViewObject methods ***/
#define IViewObject_Draw(p,a,b,c,d,e,f,g,h,i,j) ICOM_CALL10(Draw,p,a,b,c,d,e,f,g,h,i,j)
#define IViewObject_GetColorSet(p,a,b,c,d,e,f) ICOM_CALL6(GetColorSet,p,a,b,c,d,e,f)
#define IViewObject_Freeze(p,a,b,c,d) ICOM_CALL4(Freeze,p,a,b,c,d)
#define IViewObject_Unfreeze(p,a) ICOM_CALL1(Unfreeze,p,a)
#define IViewObject_SetAdvise(p,a,b,c) ICOM_CALL3(SetAdvise,p,a,b,c)
#define IViewObject_GetAdvise(p,a,b,c) ICOM_CALL3(GetAdvise,p,a,b,c)
#define IViewObject_Draw(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Draw(p,a,b,c,d,e,f,g,h,i,j)
#define IViewObject_GetColorSet(p,a,b,c,d,e,f) (p)->lpVtbl->GetColorSet(p,a,b,c,d,e,f)
#define IViewObject_Freeze(p,a,b,c,d) (p)->lpVtbl->Freeze(p,a,b,c,d)
#define IViewObject_Unfreeze(p,a) (p)->lpVtbl->Unfreeze(p,a)
#define IViewObject_SetAdvise(p,a,b,c) (p)->lpVtbl->SetAdvise(p,a,b,c)
#define IViewObject_GetAdvise(p,a,b,c) (p)->lpVtbl->GetAdvise(p,a,b,c)
#endif
...
...
@@ -87,19 +89,21 @@ ICOM_DEFINE(IViewObject,IUnknown)
ICOM_DEFINE
(
IViewObject2
,
IViewObject
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IViewObject2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IViewObject2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IViewObject2_Release(p)
ICOM_CALL (Release,
p)
#define IViewObject2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IViewObject2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IViewObject2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IViewObject methods ***/
#define IViewObject2_Draw(p,a,b,c,d,e,f,g,h,i,j)
ICOM_CALL10(Draw,
p,a,b,c,d,e,f,g,h,i,j)
#define IViewObject2_GetColorSet(p,a,b,c,d,e,f)
ICOM_CALL6(GetColorSet,
p,a,b,c,d,e,f)
#define IViewObject2_Freeze(p,a,b,c,d)
ICOM_CALL4(Freeze,
p,a,b,c,d)
#define IViewObject2_Unfreeze(p,a)
ICOM_CALL1(Unfreeze,
p,a)
#define IViewObject2_SetAdvise(p,a,b,c)
ICOM_CALL3(SetAdvise,
p,a,b,c)
#define IViewObject2_GetAdvise(p,a,b,c)
ICOM_CALL3(GetAdvise,
p,a,b,c)
#define IViewObject2_Draw(p,a,b,c,d,e,f,g,h,i,j)
(p)->lpVtbl->Draw(
p,a,b,c,d,e,f,g,h,i,j)
#define IViewObject2_GetColorSet(p,a,b,c,d,e,f)
(p)->lpVtbl->GetColorSet(
p,a,b,c,d,e,f)
#define IViewObject2_Freeze(p,a,b,c,d)
(p)->lpVtbl->Freeze(
p,a,b,c,d)
#define IViewObject2_Unfreeze(p,a)
(p)->lpVtbl->Unfreeze(
p,a)
#define IViewObject2_SetAdvise(p,a,b,c)
(p)->lpVtbl->SetAdvise(
p,a,b,c)
#define IViewObject2_GetAdvise(p,a,b,c)
(p)->lpVtbl->GetAdvise(
p,a,b,c)
/*** IViewObject2 methods ***/
#define IViewObject2_GetExtent(p,a,b,c,d) ICOM_CALL4(GetExtent,p,a,b,c,d)
#define IViewObject2_GetExtent(p,a,b,c,d) (p)->lpVtbl->GetExtent(p,a,b,c,d)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_picture.h
View file @
55379110
...
...
@@ -75,25 +75,27 @@ typedef struct IPictureDisp IPictureDisp, *LPPICTUREDISP;
ICOM_DEFINE
(
IPicture
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPicture_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPicture_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPicture_Release(p)
ICOM_CALL (Release,
p)
#define IPicture_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPicture_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPicture_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPicture methods ***/
#define IPicture_get_Handle(p,a) ICOM_CALL1(get_Handle,p,a)
#define IPicture_get_hPal(p,a) ICOM_CALL1(get_hPal,p,a)
#define IPicture_get_Type(p,a) ICOM_CALL1(get_Type,p,a)
#define IPicture_get_Width(p,a) ICOM_CALL1(get_Width,p,a)
#define IPicture_get_Height(p,a) ICOM_CALL1(get_Height,p,a)
#define IPicture_Render(p,a,b,c,d,e,f,g,h,i,j) ICOM_CALL10(Render,p,a,b,c,d,e,f,g,h,i,j)
#define IPicture_set_hPal(p,a) ICOM_CALL1(set_hPal,p,a)
#define IPicture_get_CurDC(p,a) ICOM_CALL1(get_CurDC,p,a)
#define IPicture_SelectPicture(p,a,b,c) ICOM_CALL3(SelectPicture,p,a,b,c)
#define IPicture_get_KeepOriginalFormat(p,a) ICOM_CALL1(get_KeepOriginalFormat,p,a)
#define IPicture_put_KeepOriginalFormat(p,a) ICOM_CALL1(put_KeepOriginalFormat,p,a)
#define IPicture_PictureChanged(p) ICOM_CALL (PictureChanged,p)
#define IPicture_SaveAsFile(p,a,b,c) ICOM_CALL3(SaveAsFile,p,a,b,c)
#define IPicture_get_Attributes(p,a) ICOM_CALL1(get_Attributes,p,a)
#define IPicture_get_Handle(p,a) (p)->lpVtbl->get_Handle(p,a)
#define IPicture_get_hPal(p,a) (p)->lpVtbl->get_hPal(p,a)
#define IPicture_get_Type(p,a) (p)->lpVtbl->get_Type(p,a)
#define IPicture_get_Width(p,a) (p)->lpVtbl->get_Width(p,a)
#define IPicture_get_Height(p,a) (p)->lpVtbl->get_Height(p,a)
#define IPicture_Render(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Render(p,a,b,c,d,e,f,g,h,i,j)
#define IPicture_set_hPal(p,a) (p)->lpVtbl->set_hPal(p,a)
#define IPicture_get_CurDC(p,a) (p)->lpVtbl->get_CurDC(p,a)
#define IPicture_SelectPicture(p,a,b,c) (p)->lpVtbl->SelectPicture(p,a,b,c)
#define IPicture_get_KeepOriginalFormat(p,a) (p)->lpVtbl->get_KeepOriginalFormat(p,a)
#define IPicture_put_KeepOriginalFormat(p,a) (p)->lpVtbl->put_KeepOriginalFormat(p,a)
#define IPicture_PictureChanged(p) (p)->lpVtbl->PictureChanged(p)
#define IPicture_SaveAsFile(p,a,b,c) (p)->lpVtbl->SaveAsFile(p,a,b,c)
#define IPicture_get_Attributes(p,a) (p)->lpVtbl->get_Attributes(p,a)
#endif
/*****************************************************************************
...
...
@@ -107,16 +109,18 @@ ICOM_DEFINE(IPicture,IUnknown)
ICOM_DEFINE
(
IPictureDisp
,
IDispatch
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPictureDisp_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPictureDisp_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPictureDisp_Release(p)
ICOM_CALL (Release,
p)
#define IPictureDisp_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPictureDisp_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPictureDisp_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDispatch methods ***/
#define IPictureDisp_GetTypeInfoCount(p,a)
ICOM_CALL1 (GetTypeInfoCount,
p,a)
#define IPictureDisp_GetTypeInfo(p,a,b,c)
ICOM_CALL3 (GetTypeInfo,
p,b,c)
#define IPictureDisp_GetIDsOfNames(p,a,b,c,d,e)
ICOM_CALL5 (GetIDsOfNames,
p,a,b,c,d,e)
#define IPictureDisp_Invoke(p,a,b,c,d,e,f,g,h)
ICOM_CALL8 (Invoke,
p,a,b,c,d,e,f,g,h)
#define IPictureDisp_GetTypeInfoCount(p,a)
(p)->lpVtbl->GetTypeInfoCount(
p,a)
#define IPictureDisp_GetTypeInfo(p,a,b,c)
(p)->lpVtbl->GetTypeInfo(
p,b,c)
#define IPictureDisp_GetIDsOfNames(p,a,b,c,d,e)
(p)->lpVtbl->GetIDsOfNames(
p,a,b,c,d,e)
#define IPictureDisp_Invoke(p,a,b,c,d,e,f,g,h)
(p)->lpVtbl->Invoke(
p,a,b,c,d,e,f,g,h)
/*** IPictureDisp methods ***/
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_property.h
View file @
55379110
...
...
@@ -155,22 +155,24 @@ typedef struct IPerPropertyBrowsing IPerPropertyBrowsing,*LPPERPROPERTYBROWSING;
ICOM_DEFINE
(
IPropertyPage
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPropertyPage_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPropertyPage_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPropertyPage_Release(p)
ICOM_CALL (Release,
p)
#define IPropertyPage_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPropertyPage_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPropertyPage_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPropertyPage methods ***/
#define IPropertyPage_SetPageSite(p,a) ICOM_CALL1(SetPageSite,p,a)
#define IPropertyPage_Activate(p,a,b,c) ICOM_CALL3(Activate,p,a,b,c)
#define IPropertyPage_Deactivate(p) ICOM_CALL (Deactivate,p)
#define IPropertyPage_GetPageInfo(p,a) ICOM_CALL1(GetPageInfo,p,a)
#define IPropertyPage_SetObjects(p,a,b) ICOM_CALL2(SetObjects,p,a,b)
#define IPropertyPage_Show(p,a) ICOM_CALL1(Show,p,a)
#define IPropertyPage_Move(p,a) ICOM_CALL1(Move,p,a)
#define IPropertyPage_IsPageDirty(p) ICOM_CALL (IsPageDirty,p)
#define IPropertyPage_Apply(p) ICOM_CALL (Apply,p)
#define IPropertyPage_Help(p,a) ICOM_CALL1(Help,p,a)
#define IPropertyPage_TranslateAccelerator(p,a) ICOM_CALL1(TranslateAccelerator,p,a)
#define IPropertyPage_SetPageSite(p,a) (p)->lpVtbl->SetPageSite(p,a)
#define IPropertyPage_Activate(p,a,b,c) (p)->lpVtbl->Activate(p,a,b,c)
#define IPropertyPage_Deactivate(p) (p)->lpVtbl->Deactivate(p)
#define IPropertyPage_GetPageInfo(p,a) (p)->lpVtbl->GetPageInfo(p,a)
#define IPropertyPage_SetObjects(p,a,b) (p)->lpVtbl->SetObjects(p,a,b)
#define IPropertyPage_Show(p,a) (p)->lpVtbl->Show(p,a)
#define IPropertyPage_Move(p,a) (p)->lpVtbl->Move(p,a)
#define IPropertyPage_IsPageDirty(p) (p)->lpVtbl->IsPageDirty(p)
#define IPropertyPage_Apply(p) (p)->lpVtbl->Apply(p)
#define IPropertyPage_Help(p,a) (p)->lpVtbl->Help(p,a)
#define IPropertyPage_TranslateAccelerator(p,a) (p)->lpVtbl->TranslateAccelerator(p,a)
#endif
/*****************************************************************************
...
...
@@ -185,24 +187,26 @@ ICOM_DEFINE(IPropertyPage,IUnknown)
ICOM_DEFINE
(
IPropertyPage2
,
IPropertyPage
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPropertyPage2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPropertyPage2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPropertyPage2_Release(p)
ICOM_CALL (Release,
p)
#define IPropertyPage2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPropertyPage2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPropertyPage2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPropertyPage methods ***/
#define IPropertyPage2_SetPageSite(p,a)
ICOM_CALL1(SetPageSite,
p,a)
#define IPropertyPage2_Activate(p,a,b,c)
ICOM_CALL3(Activate,
p,a,b,c)
#define IPropertyPage2_Deactivate(p)
ICOM_CALL (Deactivate,
p)
#define IPropertyPage2_GetPageInfo(p,a)
ICOM_CALL1(GetPageInfo,
p,a)
#define IPropertyPage2_SetObjects(p,a,b)
ICOM_CALL2(SetObjects,
p,a,b)
#define IPropertyPage2_Show(p,a)
ICOM_CALL1(Show,
p,a)
#define IPropertyPage2_Move(p,a)
ICOM_CALL1(Move,
p,a)
#define IPropertyPage2_IsPageDirty(p)
ICOM_CALL (IsPageDirty,
p)
#define IPropertyPage2_Apply(p)
ICOM_CALL (Apply,
p)
#define IPropertyPage2_Help(p,a)
ICOM_CALL1(Help,
p,a)
#define IPropertyPage2_TranslateAccelerator(p,a)
ICOM_CALL1(TranslateAccelerator,
p,a)
#define IPropertyPage2_SetPageSite(p,a)
(p)->lpVtbl->SetPageSite(
p,a)
#define IPropertyPage2_Activate(p,a,b,c)
(p)->lpVtbl->Activate(
p,a,b,c)
#define IPropertyPage2_Deactivate(p)
(p)->lpVtbl->Deactivate(
p)
#define IPropertyPage2_GetPageInfo(p,a)
(p)->lpVtbl->GetPageInfo(
p,a)
#define IPropertyPage2_SetObjects(p,a,b)
(p)->lpVtbl->SetObjects(
p,a,b)
#define IPropertyPage2_Show(p,a)
(p)->lpVtbl->Show(
p,a)
#define IPropertyPage2_Move(p,a)
(p)->lpVtbl->Move(
p,a)
#define IPropertyPage2_IsPageDirty(p)
(p)->lpVtbl->IsPageDirty(
p)
#define IPropertyPage2_Apply(p)
(p)->lpVtbl->Apply(
p)
#define IPropertyPage2_Help(p,a)
(p)->lpVtbl->Help(
p,a)
#define IPropertyPage2_TranslateAccelerator(p,a)
(p)->lpVtbl->TranslateAccelerator(
p,a)
/*** IPropertyPage2 methods ***/
#define IPropertyPage2_EditProperty(p,a) ICOM_CALL1(EditProperty,p,a)
#define IPropertyPage2_EditProperty(p,a) (p)->lpVtbl->EditProperty(p,a)
#endif
/*****************************************************************************
...
...
@@ -220,15 +224,17 @@ ICOM_DEFINE(IPropertyPage2,IPropertyPage)
ICOM_DEFINE
(
IPropertyPageSite
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPropertyPageSite_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPropertyPageSite_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPropertyPageSite_Release(p)
ICOM_CALL (Release,
p)
#define IPropertyPageSite_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPropertyPageSite_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPropertyPageSite_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPropertyPageSite methods ***/
#define IPropertyPageSite_OnStatusChange(p,a) ICOM_CALL1(OnStatusChange,p,a)
#define IPropertyPageSite_GetLocaleID(p,a) ICOM_CALL1(GetLocaleID,p,a)
#define IPropertyPageSite_GetPageContainer(p,a) ICOM_CALL1(GetPageContainer,p,a)
#define IPropertyPageSite_TranslateAccelerator(p,a) ICOM_CALL1(TranslateAccelerator,p,a)
#define IPropertyPageSite_OnStatusChange(p,a) (p)->lpVtbl->OnStatusChange(p,a)
#define IPropertyPageSite_GetLocaleID(p,a) (p)->lpVtbl->GetLocaleID(p,a)
#define IPropertyPageSite_GetPageContainer(p,a) (p)->lpVtbl->GetPageContainer(p,a)
#define IPropertyPageSite_TranslateAccelerator(p,a) (p)->lpVtbl->TranslateAccelerator(p,a)
#endif
/*****************************************************************************
...
...
@@ -244,13 +250,15 @@ ICOM_DEFINE(IPropertyPageSite,IUnknown)
ICOM_DEFINE
(
IPropertyNotifySink
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPropertyNotifySink_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPropertyNotifySink_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPropertyNotifySink_Release(p)
ICOM_CALL (Release,
p)
#define IPropertyNotifySink_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPropertyNotifySink_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPropertyNotifySink_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPropertyNotifySink methods ***/
#define IPropertyNotifySink_OnChanged(p,a) ICOM_CALL1(OnChanged,p,a)
#define IPropertyNotifySink_OnRequestEdit(p,a) ICOM_CALL1(OnRequestEdit,p,a)
#define IPropertyNotifySink_OnChanged(p,a) (p)->lpVtbl->OnChanged(p,a)
#define IPropertyNotifySink_OnRequestEdit(p,a) (p)->lpVtbl->OnRequestEdit(p,a)
#endif
/*****************************************************************************
...
...
@@ -266,13 +274,15 @@ ICOM_DEFINE(IPropertyNotifySink,IUnknown)
ICOM_DEFINE
(
ISimpleFrameSite
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define ISimpleFrameSite_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define ISimpleFrameSite_AddRef(p)
ICOM_CALL (AddRef,
p)
#define ISimpleFrameSite_Release(p)
ICOM_CALL (Release,
p)
#define ISimpleFrameSite_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define ISimpleFrameSite_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define ISimpleFrameSite_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPropertyNotifySink methods ***/
#define ISimpleFrameSite_PreMessageFilter(p,a,b,c,d,e,f) ICOM_CALL1(PreMessageFilter,p,a,b,c,d,e,f)
#define ISimpleFrameSite_PostMessageFilter(p,a,b,c,d,e,f) ICOM_CALL1(PostMessageFilter,p,a,b,c,d,e,f)
#define ISimpleFrameSite_PreMessageFilter(p,a,b,c,d,e,f) (p)->lpVtbl->PreMessageFilter(p,a,b,c,d,e,f)
#define ISimpleFrameSite_PostMessageFilter(p,a,b,c,d,e,f) (p)->lpVtbl->PostMessageFilter(p,a,b,c,d,e,f)
#endif
/*****************************************************************************
...
...
@@ -291,18 +301,20 @@ ICOM_DEFINE(ISimpleFrameSite,IUnknown)
ICOM_DEFINE
(
IPersistStreamInit
,
IPersist
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPersistStreamInit_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPersistStreamInit_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPersistStreamInit_Release(p)
ICOM_CALL (Release,
p)
#define IPersistStreamInit_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPersistStreamInit_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPersistStreamInit_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPersist methods ***/
#define IPersistStreamInit_GetClassID(p,a)
ICOM_CALL1(GetClassID,
p,a)
#define IPersistStreamInit_GetClassID(p,a)
(p)->lpVtbl->GetClassID(
p,a)
/*** IPersistStreamInit methods ***/
#define IPersistStreamInit_IsDirty(p) ICOM_CALL (IsDirty,p)
#define IPersistStreamInit_Load(p,a) ICOM_CALL1(Load,p,a)
#define IPersistStreamInit_Save(p,a,b) ICOM_CALL2(Save,p,a,b)
#define IPersistStreamInit_GetSizeMax(p,a) ICOM_CALL1(GetSizeMax,p,a)
#define IPersistStreamInit_InitNew(p) ICOM_CALL (InitNew,p)
#define IPersistStreamInit_IsDirty(p) (p)->lpVtbl->IsDirty(p)
#define IPersistStreamInit_Load(p,a) (p)->lpVtbl->Load(p,a)
#define IPersistStreamInit_Save(p,a,b) (p)->lpVtbl->Save(p,a,b)
#define IPersistStreamInit_GetSizeMax(p,a) (p)->lpVtbl->GetSizeMax(p,a)
#define IPersistStreamInit_InitNew(p) (p)->lpVtbl->InitNew(p)
#endif
/*****************************************************************************
...
...
@@ -321,18 +333,20 @@ ICOM_DEFINE(IPersistStreamInit,IPersist)
ICOM_DEFINE
(
IPersistMemory
,
IPersist
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPersistMemory_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPersistMemory_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPersistMemory_Release(p)
ICOM_CALL (Release,
p)
#define IPersistMemory_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPersistMemory_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPersistMemory_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPersist methods ***/
#define IPersistMemory_GetClassID(p,a)
ICOM_CALL1(GetClassID,
p,a)
#define IPersistMemory_GetClassID(p,a)
(p)->lpVtbl->GetClassID(
p,a)
/*** IPersistMemory methods ***/
#define IPersistMemory_IsDirty(p) ICOM_CALL (IsDirty,p)
#define IPersistMemory_Load(p,a,b) ICOM_CALL2(Load,p,a,b)
#define IPersistMemory_Save(p,a,b,c) ICOM_CALL3(Save,p,a,b,c)
#define IPersistMemory_GetSizeMax(p,a) ICOM_CALL1(GetSizeMax,p,a)
#define IPersistMemory_InitNew(p) ICOM_CALL (InitNew,p)
#define IPersistMemory_IsDirty(p) (p)->lpVtbl->IsDirty(p)
#define IPersistMemory_Load(p,a,b) (p)->lpVtbl->Load(p,a,b)
#define IPersistMemory_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c)
#define IPersistMemory_GetSizeMax(p,a) (p)->lpVtbl->GetSizeMax(p,a)
#define IPersistMemory_InitNew(p) (p)->lpVtbl->InitNew(p)
#endif
/*****************************************************************************
...
...
@@ -349,16 +363,18 @@ ICOM_DEFINE(IPersistMemory,IPersist)
ICOM_DEFINE
(
IPersistPropertyBag
,
IPersist
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPersistPropertyBag_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPersistPropertyBag_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPersistPropertyBag_Release(p)
ICOM_CALL (Release,
p)
#define IPersistPropertyBag_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPersistPropertyBag_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPersistPropertyBag_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPersist methods ***/
#define IPersistPropertyBag_GetClassID(p,a)
ICOM_CALL1(GetClassID,
p,a)
#define IPersistPropertyBag_GetClassID(p,a)
(p)->lpVtbl->GetClassID(
p,a)
/*** IPersistPropertyBag methods ***/
#define IPersistPropertyBag_InitNew(p) ICOM_CALL (InitNew,p)
#define IPersistPropertyBag_Load(p,a,b) ICOM_CALL2(Load,p,a,b)
#define IPersistPropertyBag_Save(p,a,b,c) ICOM_CALL3(Save,p,a,b,c)
#define IPersistPropertyBag_InitNew(p) (p)->lpVtbl->InitNew(p)
#define IPersistPropertyBag_Load(p,a,b) (p)->lpVtbl->Load(p,a,b)
#define IPersistPropertyBag_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c)
#endif
/*****************************************************************************
...
...
@@ -376,17 +392,19 @@ ICOM_DEFINE(IPersistPropertyBag,IPersist)
ICOM_DEFINE
(
IPersistPropertyBag2
,
IPersist
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPersistPropertyBag2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPersistPropertyBag2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPersistPropertyBag2_Release(p)
ICOM_CALL (Release,
p)
#define IPersistPropertyBag2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPersistPropertyBag2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPersistPropertyBag2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPersist methods ***/
#define IPersistPropertyBag2_GetClassID(p,a)
ICOM_CALL1(GetClassID,
p,a)
#define IPersistPropertyBag2_GetClassID(p,a)
(p)->lpVtbl->GetClassID(
p,a)
/*** IPersistPropertyBag methods ***/
#define IPersistPropertyBag2_InitNew(p) ICOM_CALL (InitNew,p)
#define IPersistPropertyBag2_Load(p,a,b) ICOM_CALL2(Load,p,a,b)
#define IPersistPropertyBag2_Save(p,a,b,c) ICOM_CALL3(Save,p,a,b,c)
#define IPersistPropertyBag2_IsDirty(p) ICON_CALL (IsDirty,p)
#define IPersistPropertyBag2_InitNew(p) (p)->lpVtbl->InitNew(p)
#define IPersistPropertyBag2_Load(p,a,b) (p)->lpVtbl->Load(p,a,b)
#define IPersistPropertyBag2_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c)
#define IPersistPropertyBag2_IsDirty(p) (p)->lpVtbl->IsDirty(p)
#endif
/*****************************************************************************
...
...
@@ -401,12 +419,14 @@ ICOM_DEFINE(IPersistPropertyBag2,IPersist)
ICOM_DEFINE
(
IErrorLog
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IErrorLog_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IErrorLog_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IErrorLog_Release(p)
ICOM_CALL (Release,
p)
#define IErrorLog_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IErrorLog_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IErrorLog_Release(p)
(p)->lpVtbl->Release(
p)
/*** IErrorLog methods ***/
#define IErrorLog_AddError(p,a,b) ICOM_CALL2(GetClassID,p,a,b)
#define IErrorLog_AddError(p,a,b) (p)->lpVtbl->GetClassID(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -422,13 +442,15 @@ ICOM_DEFINE(IErrorLog,IUnknown)
ICOM_DEFINE
(
IPropertyBag
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPropertyBag_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPropertyBag_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPropertyBag_Release(p)
ICOM_CALL (Release,
p)
#define IPropertyBag_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPropertyBag_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPropertyBag_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPropertyBag methods ***/
#define IPropertyBag_Read(p,a,b,c) ICOM_CALL3(Read,p,a,b,c)
#define IPropertyBag_Write(p,a,b) ICOM_CALL2(Write,p,a,b)
#define IPropertyBag_Read(p,a,b,c) (p)->lpVtbl->Read(p,a,b,c)
#define IPropertyBag_Write(p,a,b) (p)->lpVtbl->Write(p,a,b)
#endif
/*****************************************************************************
...
...
@@ -447,16 +469,18 @@ ICOM_DEFINE(IPropertyBag,IUnknown)
ICOM_DEFINE
(
IPropertyBag2
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPropertyBag2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPropertyBag2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPropertyBag2_Release(p)
ICOM_CALL (Release,
p)
#define IPropertyBag2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPropertyBag2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPropertyBag2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPropertyBag methods ***/
#define IPropertyBag2_Read(p,a,b,c,d,e) ICOM_CALL5(Read,p,a,b,c,d,e)
#define IPropertyBag2_Write(p,a,b,c) ICOM_CALL3(Write,p,a,b,c)
#define IPropertyBag2_CountProperties(p,a) ICOM_CALL1(CountProperties,p,a)
#define IPropertyBag2_GetPropertyInfo(p,a,b,c,d) ICOM_CALL4(GetPropertyInfo,p,a,b,c,d)
#define IPropertyBag2_LoadObject(p,a,b,c,d) ICOM_CALL4(LoadObject,p,a,b,c,d)
#define IPropertyBag2_Read(p,a,b,c,d,e) (p)->lpVtbl->Read(p,a,b,c,d,e)
#define IPropertyBag2_Write(p,a,b,c) (p)->lpVtbl->Write(p,a,b,c)
#define IPropertyBag2_CountProperties(p,a) (p)->lpVtbl->CountProperties(p,a)
#define IPropertyBag2_GetPropertyInfo(p,a,b,c,d) (p)->lpVtbl->GetPropertyInfo(p,a,b,c,d)
#define IPropertyBag2_LoadObject(p,a,b,c,d) (p)->lpVtbl->LoadObject(p,a,b,c,d)
#endif
/*****************************************************************************
...
...
@@ -471,12 +495,14 @@ ICOM_DEFINE(IPropertyBag2,IUnknown)
ICOM_DEFINE
(
ISpecifyPropertyPages
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define ISpecifyPropertyPages_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define ISpecifyPropertyPages_AddRef(p)
ICOM_CALL (AddRef,
p)
#define ISpecifyPropertyPages_Release(p)
ICOM_CALL (Release,
p)
#define ISpecifyPropertyPages_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define ISpecifyPropertyPages_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define ISpecifyPropertyPages_Release(p)
(p)->lpVtbl->Release(
p)
/*** ISpecifyPropertyPages methods ***/
#define ISpecifyPropertyPages_GetPages(p,a) ICOM_CALL1(GetPages,p,a)
#define ISpecifyPropertyPages_GetPages(p,a) (p)->lpVtbl->GetPages(p,a)
#endif
/*****************************************************************************
...
...
@@ -494,15 +520,17 @@ ICOM_DEFINE(ISpecifyPropertyPages,IUnknown)
ICOM_DEFINE
(
IPerPropertyBrowsing
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPerPropertyBrowsing_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPerPropertyBrowsing_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPerPropertyBrowsing_Release(p)
ICOM_CALL (Release,
p)
#define IPerPropertyBrowsing_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPerPropertyBrowsing_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPerPropertyBrowsing_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPerPropertyBrowsing methods ***/
#define IPerPropertyBrowsing_GetDisplayString(p,a,b) ICOM_CALL2(GetDisplayString,p,a,b)
#define IPerPropertyBrowsing_MapPropertyToPage(p,a,b) ICOM_CALL2(MapPropertyToPage,p,a,b)
#define IPerPropertyBrowsing_GetPredefinedStrings(p,a,b,c) ICOM_CALL3(GetPredefinedStrings,p,a,b,c)
#define IPerPropertyBrowsing_GetPredefinedValue(p,a,b,c) ICOM_CALL3(GetPredefinedValue,p,a,b,c)
#define IPerPropertyBrowsing_GetDisplayString(p,a,b) (p)->lpVtbl->GetDisplayString(p,a,b)
#define IPerPropertyBrowsing_MapPropertyToPage(p,a,b) (p)->lpVtbl->MapPropertyToPage(p,a,b)
#define IPerPropertyBrowsing_GetPredefinedStrings(p,a,b,c) (p)->lpVtbl->GetPredefinedStrings(p,a,b,c)
#define IPerPropertyBrowsing_GetPredefinedValue(p,a,b,c) (p)->lpVtbl->GetPredefinedValue(p,a,b,c)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_serviceprovider.h
View file @
55379110
...
...
@@ -49,12 +49,14 @@ typedef struct IServiceProvider IServiceProvider, *LPSERVICEPROVIDER;
ICOM_DEFINE
(
IServiceProvider
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IServiceProvider_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IServiceProvider_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IServiceProvider_Release(p)
ICOM_CALL (Release,
p)
#define IServiceProvider_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IServiceProvider_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IServiceProvider_Release(p)
(p)->lpVtbl->Release(
p)
/*** IServiceProvider methods ***/
#define IServiceProvider_QueryService(p,a,b,c) ICOM_CALL3(QueryService,p,a,b,c)
#define IServiceProvider_QueryService(p,a,b,c) (p)->lpVtbl->QueryService(p,a,b,c)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_shellbrowser.h
View file @
55379110
...
...
@@ -87,26 +87,28 @@ DEFINE_GUID(SID_STopLevelBrowser, 0x4C96BE40L, 0x915C, 0x11CF, 0x99, 0xD3, 0x00,
ICOM_DEFINE
(
IShellBrowser
,
IOleWindow
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IShellBrowser_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IShellBrowser_AddRef(p)
ICOM_CALL(AddRef,
p)
#define IShellBrowser_Release(p)
ICOM_CALL(Release,
p)
#define IShellBrowser_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IShellBrowser_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IShellBrowser_Release(p)
(p)->lpVtbl->Release(
p)
/*** IShellBrowser methods ***/
#define IShellBrowser_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a)
#define IShellBrowser_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a)
#define IShellBrowser_InsertMenusSB(p,a,b) ICOM_CALL2(InsertMenusSB,p,a,b)
#define IShellBrowser_SetMenuSB(p,a,b,c) ICOM_CALL3(SetMenuSB,p,a,b,c)
#define IShellBrowser_RemoveMenusSB(p,a) ICOM_CALL1(RemoveMenusSB,p,a)
#define IShellBrowser_SetStatusTextSB(p,a) ICOM_CALL1(SetStatusTextSB,p,a)
#define IShellBrowser_EnableModelessSB(p,a) ICOM_CALL1(EnableModelessSB,p,a)
#define IShellBrowser_TranslateAcceleratorSB(p,a,b) ICOM_CALL2(TranslateAcceleratorSB,p,a,b)
#define IShellBrowser_BrowseObject(p,a,b) ICOM_CALL2(BrowseObject,p,a,b)
#define IShellBrowser_GetViewStateStream(p,a,b) ICOM_CALL2(GetViewStateStream,p,a,b)
#define IShellBrowser_GetControlWindow(p,a,b) ICOM_CALL2(GetControlWindow,p,a,b)
#define IShellBrowser_SendControlMsg(p,a,b,c,d,e) ICOM_CALL5(SendControlMsg,p,a,b,c,d,e)
#define IShellBrowser_QueryActiveShellView(p,a) ICOM_CALL1(QueryActiveShellView,p,a)
#define IShellBrowser_OnViewWindowActive(p,a) ICOM_CALL1(OnViewWindowActive,p,a)
#define IShellBrowser_SetToolbarItems(p,a,b,c) ICOM_CALL3(SetToolbarItems,p,a,b,c)
#define IShellBrowser_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
#define IShellBrowser_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
#define IShellBrowser_InsertMenusSB(p,a,b) (p)->lpVtbl->InsertMenusSB(p,a,b)
#define IShellBrowser_SetMenuSB(p,a,b,c) (p)->lpVtbl->SetMenuSB(p,a,b,c)
#define IShellBrowser_RemoveMenusSB(p,a) (p)->lpVtbl->RemoveMenusSB(p,a)
#define IShellBrowser_SetStatusTextSB(p,a) (p)->lpVtbl->SetStatusTextSB(p,a)
#define IShellBrowser_EnableModelessSB(p,a) (p)->lpVtbl->EnableModelessSB(p,a)
#define IShellBrowser_TranslateAcceleratorSB(p,a,b) (p)->lpVtbl->TranslateAcceleratorSB(p,a,b)
#define IShellBrowser_BrowseObject(p,a,b) (p)->lpVtbl->BrowseObject(p,a,b)
#define IShellBrowser_GetViewStateStream(p,a,b) (p)->lpVtbl->GetViewStateStream(p,a,b)
#define IShellBrowser_GetControlWindow(p,a,b) (p)->lpVtbl->GetControlWindow(p,a,b)
#define IShellBrowser_SendControlMsg(p,a,b,c,d,e) (p)->lpVtbl->SendControlMsg(p,a,b,c,d,e)
#define IShellBrowser_QueryActiveShellView(p,a) (p)->lpVtbl->QueryActiveShellView(p,a)
#define IShellBrowser_OnViewWindowActive(p,a) (p)->lpVtbl->OnViewWindowActive(p,a)
#define IShellBrowser_SetToolbarItems(p,a,b,c) (p)->lpVtbl->SetToolbarItems(p,a,b,c)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_shellextinit.h
View file @
55379110
...
...
@@ -36,12 +36,14 @@ typedef struct IShellExtInit IShellExtInit, *LPSHELLEXTINIT;
ICOM_DEFINE
(
IShellExtInit
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IShellExtInit_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IShellExtInit_AddRef(p)
ICOM_CALL(AddRef,
p)
#define IShellExtInit_Release(p)
ICOM_CALL(Release,
p)
#define IShellExtInit_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IShellExtInit_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IShellExtInit_Release(p)
(p)->lpVtbl->Release(
p)
/*** IShellExtInit methods ***/
#define IShellExtInit_Initialize(p,a,b,c) ICOM_CALL3(Initialize,p,a,b,c)
#define IShellExtInit_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_shellfolder.h
View file @
55379110
...
...
@@ -90,15 +90,17 @@ typedef struct
ICOM_DEFINE
(
IEnumExtraSearch
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IEnumIDList_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IEnumIDList_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IEnumIDList_Release(p)
ICOM_CALL (Release,
p)
#define IEnumIDList_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IEnumIDList_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IEnumIDList_Release(p)
(p)->lpVtbl->Release(
p)
/*** IEnumIDList methods ***/
#define IEnumIDList_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
#define IEnumIDList_Skip(p,a) ICOM_CALL1(Skip,p,a)
#define IEnumIDList_Reset(p) ICOM_CALL(Reset,p)
#define IEnumIDList_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IEnumIDList_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
#define IEnumIDList_Skip(p,a) (p)->lpVtbl->Skip(p,a)
#define IEnumIDList_Reset(p) (p)->lpVtbl->Reset(p)
#define IEnumIDList_Clone(p,a) (p)->lpVtbl->Clone(p,a)
#endif
/*****************************************************************************
* IShellFolder::GetDisplayNameOf/SetNameOf uFlags
...
...
@@ -214,21 +216,23 @@ DWORD WINAPI SHGetDesktopFolder(IShellFolder * *);
ICOM_DEFINE
(
IShellFolder
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IShellFolder_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IShellFolder_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IShellFolder_Release(p)
ICOM_CALL (Release,
p)
#define IShellFolder_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IShellFolder_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IShellFolder_Release(p)
(p)->lpVtbl->Release(
p)
/*** IShellFolder methods ***/
#define IShellFolder_ParseDisplayName(p,a,b,c,d,e,f) ICOM_CALL6(ParseDisplayName,p,a,b,c,d,e,f)
#define IShellFolder_EnumObjects(p,a,b,c) ICOM_CALL3(EnumObjects,p,a,b,c)
#define IShellFolder_BindToObject(p,a,b,c,d) ICOM_CALL4(BindToObject,p,a,b,c,d)
#define IShellFolder_BindToStorage(p,a,b,c,d) ICOM_CALL4(BindToStorage,p,a,b,c,d)
#define IShellFolder_CompareIDs(p,a,b,c) ICOM_CALL3(CompareIDs,p,a,b,c)
#define IShellFolder_CreateViewObject(p,a,b,c) ICOM_CALL3(CreateViewObject,p,a,b,c)
#define IShellFolder_GetAttributesOf(p,a,b,c) ICOM_CALL3(GetAttributesOf,p,a,b,c)
#define IShellFolder_GetUIObjectOf(p,a,b,c,d,e,f) ICOM_CALL6(GetUIObjectOf,p,a,b,c,d,e,f)
#define IShellFolder_GetDisplayNameOf(p,a,b,c) ICOM_CALL3(GetDisplayNameOf,p,a,b,c)
#define IShellFolder_SetNameOf(p,a,b,c,d,e) ICOM_CALL5(SetNameOf,p,a,b,c,d,e)
#define IShellFolder_ParseDisplayName(p,a,b,c,d,e,f) (p)->lpVtbl->ParseDisplayName(p,a,b,c,d,e,f)
#define IShellFolder_EnumObjects(p,a,b,c) (p)->lpVtbl->EnumObjects(p,a,b,c)
#define IShellFolder_BindToObject(p,a,b,c,d) (p)->lpVtbl->BindToObject(p,a,b,c,d)
#define IShellFolder_BindToStorage(p,a,b,c,d) (p)->lpVtbl->BindToStorage(p,a,b,c,d)
#define IShellFolder_CompareIDs(p,a,b,c) (p)->lpVtbl->CompareIDs(p,a,b,c)
#define IShellFolder_CreateViewObject(p,a,b,c) (p)->lpVtbl->CreateViewObject(p,a,b,c)
#define IShellFolder_GetAttributesOf(p,a,b,c) (p)->lpVtbl->GetAttributesOf(p,a,b,c)
#define IShellFolder_GetUIObjectOf(p,a,b,c,d,e,f) (p)->lpVtbl->GetUIObjectOf(p,a,b,c,d,e,f)
#define IShellFolder_GetDisplayNameOf(p,a,b,c) (p)->lpVtbl->GetDisplayNameOf(p,a,b,c)
#define IShellFolder_SetNameOf(p,a,b,c,d,e) (p)->lpVtbl->SetNameOf(p,a,b,c,d,e)
#endif
/*****************************************************************************
* IShellFolder2 interface
...
...
@@ -283,29 +287,31 @@ typedef struct
ICOM_DEFINE
(
IShellFolder2
,
IShellFolder
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IShellFolder2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IShellFolder2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IShellFolder2_Release(p)
ICOM_CALL (Release,
p)
#define IShellFolder2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IShellFolder2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IShellFolder2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IShellFolder methods ***/
#define IShellFolder2_ParseDisplayName(p,a,b,c,d,e,f)
ICOM_CALL6(ParseDisplayName,
p,a,b,c,d,e,f)
#define IShellFolder2_EnumObjects(p,a,b,c)
ICOM_CALL3(EnumObjects,
p,a,b,c)
#define IShellFolder2_BindToObject(p,a,b,c,d)
ICOM_CALL4(BindToObject,
p,a,b,c,d)
#define IShellFolder2_BindToStorage(p,a,b,c,d)
ICOM_CALL4(BindToStorage,
p,a,b,c,d)
#define IShellFolder2_CompareIDs(p,a,b,c)
ICOM_CALL3(CompareIDs,
p,a,b,c)
#define IShellFolder2_CreateViewObject(p,a,b,c)
ICOM_CALL3(CreateViewObject,
p,a,b,c)
#define IShellFolder2_GetAttributesOf(p,a,b,c)
ICOM_CALL3(GetAttributesOf,
p,a,b,c)
#define IShellFolder2_GetUIObjectOf(p,a,b,c,d,e,f)
ICOM_CALL6(GetUIObjectOf,
p,a,b,c,d,e,f)
#define IShellFolder2_GetDisplayNameOf(p,a,b,c)
ICOM_CALL3(GetDisplayNameOf,
p,a,b,c)
#define IShellFolder2_SetNameOf(p,a,b,c,d,e)
ICOM_CALL5(SetNameOf,
p,a,b,c,d,e)
#define IShellFolder2_ParseDisplayName(p,a,b,c,d,e,f)
(p)->lpVtbl->ParseDisplayName(
p,a,b,c,d,e,f)
#define IShellFolder2_EnumObjects(p,a,b,c)
(p)->lpVtbl->EnumObjects(
p,a,b,c)
#define IShellFolder2_BindToObject(p,a,b,c,d)
(p)->lpVtbl->BindToObject(
p,a,b,c,d)
#define IShellFolder2_BindToStorage(p,a,b,c,d)
(p)->lpVtbl->BindToStorage(
p,a,b,c,d)
#define IShellFolder2_CompareIDs(p,a,b,c)
(p)->lpVtbl->CompareIDs(
p,a,b,c)
#define IShellFolder2_CreateViewObject(p,a,b,c)
(p)->lpVtbl->CreateViewObject(
p,a,b,c)
#define IShellFolder2_GetAttributesOf(p,a,b,c)
(p)->lpVtbl->GetAttributesOf(
p,a,b,c)
#define IShellFolder2_GetUIObjectOf(p,a,b,c,d,e,f)
(p)->lpVtbl->GetUIObjectOf(
p,a,b,c,d,e,f)
#define IShellFolder2_GetDisplayNameOf(p,a,b,c)
(p)->lpVtbl->GetDisplayNameOf(
p,a,b,c)
#define IShellFolder2_SetNameOf(p,a,b,c,d,e)
(p)->lpVtbl->SetNameOf(
p,a,b,c,d,e)
/*** IShellFolder2 methods ***/
#define IShellFolder2_GetDefaultSearchGUID(p,a) ICOM_CALL1(GetDefaultSearchGUID,p,a)
#define IShellFolder2_EnumSearches(p,a) ICOM_CALL1(EnumSearches,p,a)
#define IShellFolder2_GetDefaultColumn(p,a,b,c) ICOM_CALL3(GetDefaultColumn,p,a,b,c)
#define IShellFolder2_GetDefaultColumnState(p,a,b) ICOM_CALL2(GetDefaultColumnState,p,a,b)
#define IShellFolder2_GetDetailsEx(p,a,b,c) ICOM_CALL3(GetDetailsEx,p,a,b,c)
#define IShellFolder2_GetDetailsOf(p,a,b,c) ICOM_CALL3(GetDetailsOf,p,a,b,c)
#define IShellFolder2_MapNameToSCID(p,a,b) ICOM_CALL2(MapNameToSCID,p,a,b)
#define IShellFolder2_GetDefaultSearchGUID(p,a) (p)->lpVtbl->GetDefaultSearchGUID(p,a)
#define IShellFolder2_EnumSearches(p,a) (p)->lpVtbl->EnumSearches(p,a)
#define IShellFolder2_GetDefaultColumn(p,a,b,c) (p)->lpVtbl->GetDefaultColumn(p,a,b,c)
#define IShellFolder2_GetDefaultColumnState(p,a,b) (p)->lpVtbl->GetDefaultColumnState(p,a,b)
#define IShellFolder2_GetDetailsEx(p,a,b,c) (p)->lpVtbl->GetDetailsEx(p,a,b,c)
#define IShellFolder2_GetDetailsOf(p,a,b,c) (p)->lpVtbl->GetDetailsOf(p,a,b,c)
#define IShellFolder2_MapNameToSCID(p,a,b) (p)->lpVtbl->MapNameToSCID(p,a,b)
#endif
/*****************************************************************************
* IPersistFolder interface
...
...
@@ -320,14 +326,16 @@ ICOM_DEFINE(IShellFolder2, IShellFolder)
ICOM_DEFINE
(
IPersistFolder
,
IPersist
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPersistFolder_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPersistFolder_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPersistFolder_Release(p)
ICOM_CALL (Release,
p)
#define IPersistFolder_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPersistFolder_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPersistFolder_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPersist methods ***/
#define IPersistFolder_GetClassID(p,a)
ICOM_CALL1(GetClassID,
p,a)
#define IPersistFolder_GetClassID(p,a)
(p)->lpVtbl->GetClassID(
p,a)
/*** IPersistFolder methods ***/
#define IPersistFolder_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#define IPersistFolder_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
#endif
/*****************************************************************************
* IPersistFolder2 interface
...
...
@@ -343,16 +351,18 @@ ICOM_DEFINE(IPersistFolder, IPersist)
ICOM_DEFINE
(
IPersistFolder2
,
IPersistFolder
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPersistFolder2_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPersistFolder2_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPersistFolder2_Release(p)
ICOM_CALL (Release,
p)
#define IPersistFolder2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPersistFolder2_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPersistFolder2_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPersist methods ***/
#define IPersistFolder2_GetClassID(p,a)
ICOM_CALL1(GetClassID,
p,a)
#define IPersistFolder2_GetClassID(p,a)
(p)->lpVtbl->GetClassID(
p,a)
/*** IPersistFolder methods ***/
#define IPersistFolder2_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IPersistFolder2_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
/*** IPersistFolder2 methods ***/
#define IPersistFolder2_GetCurFolder(p,a) ICOM_CALL1(GetCurFolder,p,a)
#define IPersistFolder2_GetCurFolder(p,a) (p)->lpVtbl->GetCurFolder(p,a)
#endif
/*****************************************************************************
...
...
@@ -379,19 +389,21 @@ typedef struct {
ICOM_DEFINE
(
IPersistFolder3
,
IPersistFolder2
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPersistFolder3_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IPersistFolder3_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IPersistFolder3_Release(p)
ICOM_CALL (Release,
p)
#define IPersistFolder3_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IPersistFolder3_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IPersistFolder3_Release(p)
(p)->lpVtbl->Release(
p)
/*** IPersist methods ***/
#define IPersistFolder3_GetClassID(p,a)
ICOM_CALL1(GetClassID,
p,a)
#define IPersistFolder3_GetClassID(p,a)
(p)->lpVtbl->GetClassID(
p,a)
/*** IPersistFolder methods ***/
#define IPersistFolder3_Initialize(p,a)
ICOM_CALL1(Initialize,
p,a)
#define IPersistFolder3_Initialize(p,a)
(p)->lpVtbl->Initialize(
p,a)
/*** IPersistFolder2 methods ***/
#define IPersistFolder3_GetCurFolder(p,a)
ICOM_CALL1(GetCurFolder,
p,a)
#define IPersistFolder3_GetCurFolder(p,a)
(p)->lpVtbl->GetCurFolder(
p,a)
/*** IPersistFolder3 methods ***/
#define IPersistFolder3_InitializeEx(p,a,b,c) ICOM_CALL3(InitializeEx,p,a,b,c)
#define IPersistFolder3_GetFolderTargetInfo(p,a) ICOM_CALL1(InitializeEx,p,a)
#define IPersistFolder3_InitializeEx(p,a,b,c) (p)->lpVtbl->InitializeEx(p,a,b,c)
#define IPersistFolder3_GetFolderTargetInfo(p,a) (p)->lpVtbl->InitializeEx(p,a)
#endif
#ifdef __cplusplus
...
...
include/wine/obj_shelllink.h
View file @
55379110
...
...
@@ -78,29 +78,31 @@ typedef enum
ICOM_DEFINE
(
IShellLinkA
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IShellLinkA_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IShellLinkA_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IShellLinkA_Release(p)
ICOM_CALL (Release,
p)
#define IShellLinkA_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IShellLinkA_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IShellLinkA_Release(p)
(p)->lpVtbl->Release(
p)
/*** IShellLink methods ***/
#define IShellLinkA_GetPath(p,a,b,c,d) ICOM_CALL4(GetPath,p,a,b,c,d)
#define IShellLinkA_GetIDList(p,a) ICOM_CALL1(GetIDList,p,a)
#define IShellLinkA_SetIDList(p,a) ICOM_CALL1(SetIDList,p,a)
#define IShellLinkA_GetDescription(p,a,b) ICOM_CALL2(GetDescription,p,a,b)
#define IShellLinkA_SetDescription(p,a) ICOM_CALL1(SetDescription,p,a)
#define IShellLinkA_GetWorkingDirectory(p,a,b) ICOM_CALL2(GetWorkingDirectory,p,a,b)
#define IShellLinkA_SetWorkingDirectory(p,a) ICOM_CALL1(SetWorkingDirectory,p,a)
#define IShellLinkA_GetArguments(p,a,b) ICOM_CALL2(GetArguments,p,a,b)
#define IShellLinkA_SetArguments(p,a) ICOM_CALL1(SetArguments,p,a)
#define IShellLinkA_GetHotkey(p,a) ICOM_CALL1(GetHotkey,p,a)
#define IShellLinkA_SetHotkey(p,a) ICOM_CALL1(SetHotkey,p,a)
#define IShellLinkA_GetShowCmd(p,a) ICOM_CALL1(GetShowCmd,p,a)
#define IShellLinkA_SetShowCmd(p,a) ICOM_CALL1(SetShowCmd,p,a)
#define IShellLinkA_GetIconLocation(p,a,b,c) ICOM_CALL3(GetIconLocation,p,a,b,c)
#define IShellLinkA_SetIconLocation(p,a,b) ICOM_CALL2(SetIconLocation,p,a,b)
#define IShellLinkA_SetRelativePath(p,a,b) ICOM_CALL2(SetRelativePath,p,a,b)
#define IShellLinkA_Resolve(p,a,b) ICOM_CALL2(Resolve,p,a,b)
#define IShellLinkA_SetPath(p,a) ICOM_CALL1(SetPath,p,a)
#define IShellLinkA_GetPath(p,a,b,c,d) (p)->lpVtbl->GetPath(p,a,b,c,d)
#define IShellLinkA_GetIDList(p,a) (p)->lpVtbl->GetIDList(p,a)
#define IShellLinkA_SetIDList(p,a) (p)->lpVtbl->SetIDList(p,a)
#define IShellLinkA_GetDescription(p,a,b) (p)->lpVtbl->GetDescription(p,a,b)
#define IShellLinkA_SetDescription(p,a) (p)->lpVtbl->SetDescription(p,a)
#define IShellLinkA_GetWorkingDirectory(p,a,b) (p)->lpVtbl->GetWorkingDirectory(p,a,b)
#define IShellLinkA_SetWorkingDirectory(p,a) (p)->lpVtbl->SetWorkingDirectory(p,a)
#define IShellLinkA_GetArguments(p,a,b) (p)->lpVtbl->GetArguments(p,a,b)
#define IShellLinkA_SetArguments(p,a) (p)->lpVtbl->SetArguments(p,a)
#define IShellLinkA_GetHotkey(p,a) (p)->lpVtbl->GetHotkey(p,a)
#define IShellLinkA_SetHotkey(p,a) (p)->lpVtbl->SetHotkey(p,a)
#define IShellLinkA_GetShowCmd(p,a) (p)->lpVtbl->GetShowCmd(p,a)
#define IShellLinkA_SetShowCmd(p,a) (p)->lpVtbl->SetShowCmd(p,a)
#define IShellLinkA_GetIconLocation(p,a,b,c) (p)->lpVtbl->GetIconLocation(p,a,b,c)
#define IShellLinkA_SetIconLocation(p,a,b) (p)->lpVtbl->SetIconLocation(p,a,b)
#define IShellLinkA_SetRelativePath(p,a,b) (p)->lpVtbl->SetRelativePath(p,a,b)
#define IShellLinkA_Resolve(p,a,b) (p)->lpVtbl->Resolve(p,a,b)
#define IShellLinkA_SetPath(p,a) (p)->lpVtbl->SetPath(p,a)
#endif
/*****************************************************************************
* IShellLinkW interface
...
...
@@ -131,29 +133,31 @@ ICOM_DEFINE(IShellLinkA,IUnknown)
ICOM_DEFINE
(
IShellLinkW
,
IUnknown
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IShellLinkW_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IShellLinkW_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IShellLinkW_Release(p)
ICOM_CALL (Release,
p)
#define IShellLinkW_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IShellLinkW_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IShellLinkW_Release(p)
(p)->lpVtbl->Release(
p)
/*** IShellLinkW methods ***/
#define IShellLinkW_GetPath(p,a,b,c,d) ICOM_CALL4(GetPath,p,a,b,c,d)
#define IShellLinkW_GetIDList(p,a) ICOM_CALL1(GetIDList,p,a)
#define IShellLinkW_SetIDList(p,a) ICOM_CALL1(SetIDList,p,a)
#define IShellLinkW_GetDescription(p,a,b) ICOM_CALL2(GetDescription,p,a,b)
#define IShellLinkW_SetDescription(p,a) ICOM_CALL1(SetDescription,p,a)
#define IShellLinkW_GetWorkingDirectory(p,a,b) ICOM_CALL2(GetWorkingDirectory,p,a,b)
#define IShellLinkW_SetWorkingDirectory(p,a) ICOM_CALL1(SetWorkingDirectory,p,a)
#define IShellLinkW_GetArguments(p,a,b) ICOM_CALL2(GetArguments,p,a,b)
#define IShellLinkW_SetArguments(p,a) ICOM_CALL1(SetArguments,p,a)
#define IShellLinkW_GetHotkey(p,a) ICOM_CALL1(GetHotkey,p,a)
#define IShellLinkW_SetHotkey(p,a) ICOM_CALL1(SetHotkey,p,a)
#define IShellLinkW_GetShowCmd(p,a) ICOM_CALL1(GetShowCmd,p,a)
#define IShellLinkW_SetShowCmd(p,a) ICOM_CALL1(SetShowCmd,p,a)
#define IShellLinkW_GetIconLocation(p,a,b,c) ICOM_CALL3(GetIconLocation,p,a,b,c)
#define IShellLinkW_SetIconLocation(p,a,b) ICOM_CALL2(SetIconLocation,p,a,b)
#define IShellLinkW_SetRelativePath(p,a,b) ICOM_CALL2(SetRelativePath,p,a,b)
#define IShellLinkW_Resolve(p,a,b) ICOM_CALL2(Resolve,p,a,b)
#define IShellLinkW_SetPath(p,a) ICOM_CALL1(SetPath,p,a)
#define IShellLinkW_GetPath(p,a,b,c,d) (p)->lpVtbl->GetPath(p,a,b,c,d)
#define IShellLinkW_GetIDList(p,a) (p)->lpVtbl->GetIDList(p,a)
#define IShellLinkW_SetIDList(p,a) (p)->lpVtbl->SetIDList(p,a)
#define IShellLinkW_GetDescription(p,a,b) (p)->lpVtbl->GetDescription(p,a,b)
#define IShellLinkW_SetDescription(p,a) (p)->lpVtbl->SetDescription(p,a)
#define IShellLinkW_GetWorkingDirectory(p,a,b) (p)->lpVtbl->GetWorkingDirectory(p,a,b)
#define IShellLinkW_SetWorkingDirectory(p,a) (p)->lpVtbl->SetWorkingDirectory(p,a)
#define IShellLinkW_GetArguments(p,a,b) (p)->lpVtbl->GetArguments(p,a,b)
#define IShellLinkW_SetArguments(p,a) (p)->lpVtbl->SetArguments(p,a)
#define IShellLinkW_GetHotkey(p,a) (p)->lpVtbl->GetHotkey(p,a)
#define IShellLinkW_SetHotkey(p,a) (p)->lpVtbl->SetHotkey(p,a)
#define IShellLinkW_GetShowCmd(p,a) (p)->lpVtbl->GetShowCmd(p,a)
#define IShellLinkW_SetShowCmd(p,a) (p)->lpVtbl->SetShowCmd(p,a)
#define IShellLinkW_GetIconLocation(p,a,b,c) (p)->lpVtbl->GetIconLocation(p,a,b,c)
#define IShellLinkW_SetIconLocation(p,a,b) (p)->lpVtbl->SetIconLocation(p,a,b)
#define IShellLinkW_SetRelativePath(p,a,b) (p)->lpVtbl->SetRelativePath(p,a,b)
#define IShellLinkW_Resolve(p,a,b) (p)->lpVtbl->Resolve(p,a,b)
#define IShellLinkW_SetPath(p,a) (p)->lpVtbl->SetPath(p,a)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_shellview.h
View file @
55379110
...
...
@@ -147,26 +147,28 @@ typedef enum
ICOM_DEFINE
(
IShellView
,
IOleWindow
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IShellView_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IShellView_AddRef(p)
ICOM_CALL(AddRef,
p)
#define IShellView_Release(p)
ICOM_CALL(Release,
p)
#define IShellView_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IShellView_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IShellView_Release(p)
(p)->lpVtbl->Release(
p)
/*** IShellView methods ***/
#define IShellView_GetWindow(p,a)
ICOM_CALL1(GetWindow,
p,a)
#define IShellView_ContextSensitiveHelp(p,a)
ICOM_CALL1(ContextSensitiveHelp,
p,a)
#define IShellView_TranslateAccelerator(p,a)
ICOM_CALL1(TranslateAccelerator,
p,a)
#define IShellView_EnableModeless(p,a)
ICOM_CALL1(EnableModeless,
p,a)
#define IShellView_UIActivate(p,a)
ICOM_CALL1(UIActivate,
p,a)
#define IShellView_Refresh(p)
ICOM_CALL(Refresh,
p)
#define IShellView_CreateViewWindow(p,a,b,c,d,e)
ICOM_CALL5(CreateViewWindow,
p,a,b,c,d,e)
#define IShellView_DestroyViewWindow(p)
ICOM_CALL(DestroyViewWindow,
p)
#define IShellView_GetCurrentInfo(p,a)
ICOM_CALL1(GetCurrentInfo,
p,a)
#define IShellView_AddPropertySheetPages(p,a,b,c)
ICOM_CALL3(AddPropertySheetPages,
p,a,b,c)
#define IShellView_SaveViewState(p)
ICOM_CALL(SaveViewState,
p)
#define IShellView_SelectItem(p,a,b)
ICOM_CALL2(SelectItem,
p,a,b)
#define IShellView_GetItemObject(p,a,b,c)
ICOM_CALL3(GetItemObject,
p,a,b,c)
#define IShellView_GetWindow(p,a)
(p)->lpVtbl->GetWindow(
p,a)
#define IShellView_ContextSensitiveHelp(p,a)
(p)->lpVtbl->ContextSensitiveHelp(
p,a)
#define IShellView_TranslateAccelerator(p,a)
(p)->lpVtbl->TranslateAccelerator(
p,a)
#define IShellView_EnableModeless(p,a)
(p)->lpVtbl->EnableModeless(
p,a)
#define IShellView_UIActivate(p,a)
(p)->lpVtbl->UIActivate(
p,a)
#define IShellView_Refresh(p)
(p)->lpVtbl->Refresh(
p)
#define IShellView_CreateViewWindow(p,a,b,c,d,e)
(p)->lpVtbl->CreateViewWindow(
p,a,b,c,d,e)
#define IShellView_DestroyViewWindow(p)
(p)->lpVtbl->DestroyViewWindow(
p)
#define IShellView_GetCurrentInfo(p,a)
(p)->lpVtbl->GetCurrentInfo(
p,a)
#define IShellView_AddPropertySheetPages(p,a,b,c)
(p)->lpVtbl->AddPropertySheetPages(
p,a,b,c)
#define IShellView_SaveViewState(p)
(p)->lpVtbl->SaveViewState(
p)
#define IShellView_SelectItem(p,a,b)
(p)->lpVtbl->SelectItem(
p,a,b)
#define IShellView_GetItemObject(p,a,b,c)
(p)->lpVtbl->GetItemObject(
p,a,b,c)
/* WINE specific */
#define IShellView_EditItem(p,a) ICOM_CALL1(EditItem,p,a)
#define IShellView_EditItem(p,a) (p)->lpVtbl->EditItem(p,a)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
include/wine/obj_webbrowser.h
View file @
55379110
...
...
@@ -97,41 +97,43 @@ typedef enum RefreshConstants
ICOM_DEFINE
(
IWebBrowser
,
IDispatch
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IWebBrowser_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IWebBrowser_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IWebBrowser_Release(p)
ICOM_CALL (Release,
p)
#define IWebBrowser_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IWebBrowser_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IWebBrowser_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDispatch methods ***/
#define IWebBrowser_GetTypeInfoCount(p,a)
ICOM_CALL1 (GetTypeInfoCount,
p,a)
#define IWebBrowser_GetTypeInfo(p,a,b,c)
ICOM_CALL3 (GetTypeInfo,
p,a,b,c)
#define IWebBrowser_GetIDsOfNames(p,a,b,c,d,e)
ICOM_CALL5 (GetIDsOfNames,
p,a,b,c,d,e)
#define IWebBrowser_Invoke(p,a,b,c,d,e,f,g,h)
ICOM_CALL8 (Invoke,
p,a,b,c,d,e,f,g,h)
#define IWebBrowser_GetTypeInfoCount(p,a)
(p)->lpVtbl->GetTypeInfoCount(
p,a)
#define IWebBrowser_GetTypeInfo(p,a,b,c)
(p)->lpVtbl->GetTypeInfo(
p,a,b,c)
#define IWebBrowser_GetIDsOfNames(p,a,b,c,d,e)
(p)->lpVtbl->GetIDsOfNames(
p,a,b,c,d,e)
#define IWebBrowser_Invoke(p,a,b,c,d,e,f,g,h)
(p)->lpVtbl->Invoke(
p,a,b,c,d,e,f,g,h)
/*** IWebBrowser methods ***/
#define IWebBrowser_GoBack(p,a) ICOM_CALL1(GoBack,p,a)
#define IWebBrowser_GoForward(p,a) ICOM_CALL1(GoForward,p,a)
#define IWebBrowser_GoHome(p,a) ICOM_CALL1(GoHome,p,a)
#define IWebBrowser_GoSearch(p,a) ICOM_CALL1(GoSearch,p,a)
#define IWebBrowser_Navigate(p,a) ICOM_CALL1(Navigate,p,a)
#define IWebBrowser_Refresh(p,a) ICOM_CALL1(Refresh,p,a)
#define IWebBrowser_Refresh2(p,a) ICOM_CALL1(Refresh2,p,a)
#define IWebBrowser_Stop(p,a) ICOM_CALL1(Stop,p,a)
#define IWebBrowser_get_Application(p,a) ICOM_CALL1(get_Application,p,a)
#define IWebBrowser_get_Parent(p,a) ICOM_CALL1(get_Parent,p,a)
#define IWebBrowser_get_Container(p,a) ICOM_CALL1(get_Container,p,a)
#define IWebBrowser_get_Document(p,a) ICOM_CALL1(get_Document,p,a)
#define IWebBrowser_get_TopLevelContainer(p,a) ICOM_CALL1(get_TopLevelContainer,p,a)
#define IWebBrowser_get_Type(p,a) ICOM_CALL1(get_Type,p,a)
#define IWebBrowser_get_Left(p,a) ICOM_CALL1(get_Left,p,a)
#define IWebBrowser_put_Left(p,a) ICOM_CALL1(put_Left,p,a)
#define IWebBrowser_get_Top(p,a) ICOM_CALL1(get_Top,p,a)
#define IWebBrowser_put_Top(p,a) ICOM_CALL1(put_Top,p,a)
#define IWebBrowser_get_Width(p,a) ICOM_CALL1(get_Width,p,a)
#define IWebBrowser_put_Width(p,a) ICOM_CALL1(put_Width,p,a)
#define IWebBrowser_get_Height(p,a) ICOM_CALL1(get_Height,p,a)
#define IWebBrowser_put_Height(p,a) ICOM_CALL1(put_Height,p,a)
#define IWebBrowser_get_LocationName(p,a) ICOM_CALL1(get_LocationName,p,a)
#define IWebBrowser_get_LocationURL(p,a) ICOM_CALL1(get_LocationURL,p,a)
#define IWebBrowser_get_Busy(p,a) ICOM_CALL1(get_Busy,p,a)
#define IWebBrowser_GoBack(p,a) (p)->lpVtbl->GoBack(p,a)
#define IWebBrowser_GoForward(p,a) (p)->lpVtbl->GoForward(p,a)
#define IWebBrowser_GoHome(p,a) (p)->lpVtbl->GoHome(p,a)
#define IWebBrowser_GoSearch(p,a) (p)->lpVtbl->GoSearch(p,a)
#define IWebBrowser_Navigate(p,a) (p)->lpVtbl->Navigate(p,a)
#define IWebBrowser_Refresh(p,a) (p)->lpVtbl->Refresh(p,a)
#define IWebBrowser_Refresh2(p,a) (p)->lpVtbl->Refresh2(p,a)
#define IWebBrowser_Stop(p,a) (p)->lpVtbl->Stop(p,a)
#define IWebBrowser_get_Application(p,a) (p)->lpVtbl->get_Application(p,a)
#define IWebBrowser_get_Parent(p,a) (p)->lpVtbl->get_Parent(p,a)
#define IWebBrowser_get_Container(p,a) (p)->lpVtbl->get_Container(p,a)
#define IWebBrowser_get_Document(p,a) (p)->lpVtbl->get_Document(p,a)
#define IWebBrowser_get_TopLevelContainer(p,a) (p)->lpVtbl->get_TopLevelContainer(p,a)
#define IWebBrowser_get_Type(p,a) (p)->lpVtbl->get_Type(p,a)
#define IWebBrowser_get_Left(p,a) (p)->lpVtbl->get_Left(p,a)
#define IWebBrowser_put_Left(p,a) (p)->lpVtbl->put_Left(p,a)
#define IWebBrowser_get_Top(p,a) (p)->lpVtbl->get_Top(p,a)
#define IWebBrowser_put_Top(p,a) (p)->lpVtbl->put_Top(p,a)
#define IWebBrowser_get_Width(p,a) (p)->lpVtbl->get_Width(p,a)
#define IWebBrowser_put_Width(p,a) (p)->lpVtbl->put_Width(p,a)
#define IWebBrowser_get_Height(p,a) (p)->lpVtbl->get_Height(p,a)
#define IWebBrowser_put_Height(p,a) (p)->lpVtbl->put_Height(p,a)
#define IWebBrowser_get_LocationName(p,a) (p)->lpVtbl->get_LocationName(p,a)
#define IWebBrowser_get_LocationURL(p,a) (p)->lpVtbl->get_LocationURL(p,a)
#define IWebBrowser_get_Busy(p,a) (p)->lpVtbl->get_Busy(p,a)
#endif
#define INTERFACE IWebBrowserApp
#define IWebBrowserApp_METHODS \
...
...
@@ -162,62 +164,64 @@ ICOM_DEFINE(IWebBrowser,IDispatch)
ICOM_DEFINE
(
IWebBrowserApp
,
IWebBrowser
)
#undef INTERFACE
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IWebBrowserApp_QueryInterface(p,a,b)
ICOM_CALL2(QueryInterface,
p,a,b)
#define IWebBrowserApp_AddRef(p)
ICOM_CALL (AddRef,
p)
#define IWebBrowserApp_Release(p)
ICOM_CALL (Release,
p)
#define IWebBrowserApp_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(
p,a,b)
#define IWebBrowserApp_AddRef(p)
(p)->lpVtbl->AddRef(
p)
#define IWebBrowserApp_Release(p)
(p)->lpVtbl->Release(
p)
/*** IDispatch methods ***/
#define IWebBrowserApp_GetTypeInfoCount(p,a)
ICOM_CALL1 (GetTypeInfoCount,
p,a)
#define IWebBrowserApp_GetTypeInfo(p,a,b,c)
ICOM_CALL3 (GetTypeInfo,
p,a,b,c)
#define IWebBrowserApp_GetIDsOfNames(p,a,b,c,d,e)
ICOM_CALL5 (GetIDsOfNames,
p,a,b,c,d,e)
#define IWebBrowserApp_Invoke(p,a,b,c,d,e,f,g,h)
ICOM_CALL8 (Invoke,
p,a,b,c,d,e,f,g,h)
#define IWebBrowserApp_GetTypeInfoCount(p,a)
(p)->lpVtbl->GetTypeInfoCount(
p,a)
#define IWebBrowserApp_GetTypeInfo(p,a,b,c)
(p)->lpVtbl->GetTypeInfo(
p,a,b,c)
#define IWebBrowserApp_GetIDsOfNames(p,a,b,c,d,e)
(p)->lpVtbl->GetIDsOfNames(
p,a,b,c,d,e)
#define IWebBrowserApp_Invoke(p,a,b,c,d,e,f,g,h)
(p)->lpVtbl->Invoke(
p,a,b,c,d,e,f,g,h)
/*** IWebBrowser methods ***/
#define IWebBrowserApp_GoBack(p,a)
ICOM_CALL1(GoBack,
p,a)
#define IWebBrowserApp_GoForward(p,a)
ICOM_CALL1(GoForward,
p,a)
#define IWebBrowserApp_GoHome(p,a)
ICOM_CALL1(GoHome,
p,a)
#define IWebBrowserApp_GoSearch(p,a)
ICOM_CALL1(GoSearch,
p,a)
#define IWebBrowserApp_Navigate(p,a)
ICOM_CALL1(Navigate,
p,a)
#define IWebBrowserApp_Refresh(p,a)
ICOM_CALL1(Refresh,
p,a)
#define IWebBrowserApp_Refresh2(p,a)
ICOM_CALL1(Refresh2,
p,a)
#define IWebBrowserApp_Stop(p,a)
ICOM_CALL1(Stop,
p,a)
#define IWebBrowserApp_get_Application(p,a)
ICOM_CALL1(get_Application,
p,a)
#define IWebBrowserApp_get_Parent(p,a)
ICOM_CALL1(get_Parent,
p,a)
#define IWebBrowserApp_get_Container(p,a)
ICOM_CALL1(get_Container,
p,a)
#define IWebBrowserApp_get_Document(p,a)
ICOM_CALL1(get_Document,
p,a)
#define IWebBrowserApp_get_TopLevelContainer(p,a)
ICOM_CALL1(get_TopLevelContainer,
p,a)
#define IWebBrowserApp_get_Type(p,a)
ICOM_CALL1(get_Type,
p,a)
#define IWebBrowserApp_get_Left(p,a)
ICOM_CALL1(get_Left,
p,a)
#define IWebBrowserApp_put_Left(p,a)
ICOM_CALL1(put_Left,
p,a)
#define IWebBrowserApp_get_Top(p,a)
ICOM_CALL1(get_Top,
p,a)
#define IWebBrowserApp_put_Top(p,a)
ICOM_CALL1(put_Top,
p,a)
#define IWebBrowserApp_get_Width(p,a)
ICOM_CALL1(get_Width,
p,a)
#define IWebBrowserApp_put_Width(p,a)
ICOM_CALL1(put_Width,
p,a)
#define IWebBrowserApp_get_Height(p,a)
ICOM_CALL1(get_Height,
p,a)
#define IWebBrowserApp_put_Height(p,a)
ICOM_CALL1(put_Height,
p,a)
#define IWebBrowserApp_get_LocationName(p,a)
ICOM_CALL1(get_LocationName,
p,a)
#define IWebBrowserApp_get_LocationURL(p,a)
ICOM_CALL1(get_LocationURL,
p,a)
#define IWebBrowserApp_get_Busy(p,a)
ICOM_CALL1(get_Busy,
p,a)
#define IWebBrowserApp_GoBack(p,a)
(p)->lpVtbl->GoBack(
p,a)
#define IWebBrowserApp_GoForward(p,a)
(p)->lpVtbl->GoForward(
p,a)
#define IWebBrowserApp_GoHome(p,a)
(p)->lpVtbl->GoHome(
p,a)
#define IWebBrowserApp_GoSearch(p,a)
(p)->lpVtbl->GoSearch(
p,a)
#define IWebBrowserApp_Navigate(p,a)
(p)->lpVtbl->Navigate(
p,a)
#define IWebBrowserApp_Refresh(p,a)
(p)->lpVtbl->Refresh(
p,a)
#define IWebBrowserApp_Refresh2(p,a)
(p)->lpVtbl->Refresh2(
p,a)
#define IWebBrowserApp_Stop(p,a)
(p)->lpVtbl->Stop(
p,a)
#define IWebBrowserApp_get_Application(p,a)
(p)->lpVtbl->get_Application(
p,a)
#define IWebBrowserApp_get_Parent(p,a)
(p)->lpVtbl->get_Parent(
p,a)
#define IWebBrowserApp_get_Container(p,a)
(p)->lpVtbl->get_Container(
p,a)
#define IWebBrowserApp_get_Document(p,a)
(p)->lpVtbl->get_Document(
p,a)
#define IWebBrowserApp_get_TopLevelContainer(p,a)
(p)->lpVtbl->get_TopLevelContainer(
p,a)
#define IWebBrowserApp_get_Type(p,a)
(p)->lpVtbl->get_Type(
p,a)
#define IWebBrowserApp_get_Left(p,a)
(p)->lpVtbl->get_Left(
p,a)
#define IWebBrowserApp_put_Left(p,a)
(p)->lpVtbl->put_Left(
p,a)
#define IWebBrowserApp_get_Top(p,a)
(p)->lpVtbl->get_Top(
p,a)
#define IWebBrowserApp_put_Top(p,a)
(p)->lpVtbl->put_Top(
p,a)
#define IWebBrowserApp_get_Width(p,a)
(p)->lpVtbl->get_Width(
p,a)
#define IWebBrowserApp_put_Width(p,a)
(p)->lpVtbl->put_Width(
p,a)
#define IWebBrowserApp_get_Height(p,a)
(p)->lpVtbl->get_Height(
p,a)
#define IWebBrowserApp_put_Height(p,a)
(p)->lpVtbl->put_Height(
p,a)
#define IWebBrowserApp_get_LocationName(p,a)
(p)->lpVtbl->get_LocationName(
p,a)
#define IWebBrowserApp_get_LocationURL(p,a)
(p)->lpVtbl->get_LocationURL(
p,a)
#define IWebBrowserApp_get_Busy(p,a)
(p)->lpVtbl->get_Busy(
p,a)
/*** IWebBrowserApp methods ***/
#define IWebBrowserApp_Quit(p) ICOM_CALL(Quit,p,a)
#define IWebBrowserApp_ClientToWindow(p,a,b) ICOM_CALL2(ClientToWindow,p,a,b)
#define IWebBrowserApp_PutProperty(p,a,b) ICOM_CALL2(PutProperty,p,a,b)
#define IWebBrowserApp_GetProperty(p,a,b) ICOM_CALL2(GetProperty,p,a,b)
#define IWebBrowserApp_get_Name(p,a) ICOM_CALL1(get_Name,p,a)
#define IWebBrowserApp_get_HWND(p,a) ICOM_CALL1(get_HWND,p,a)
#define IWebBrowserApp_get_FullName(p,a) ICOM_CALL1(get_FullName,p,a)
#define IWebBrowserApp_get_Path(p,a) ICOM_CALL1(get_Path,p,a)
#define IWebBrowserApp_get_Visible(p,a) ICOM_CALL1(get_Visible,p,a)
#define IWebBrowserApp_put_Visible(p,a) ICOM_CALL1(put_Visible,p,a)
#define IWebBrowserApp_get_StatusBar(p,a) ICOM_CALL1(get_StatusBar,p,a)
#define IWebBrowserApp_put_StatusBar(p,a) ICOM_CALL1(put_StatusBar,p,a)
#define IWebBrowserApp_get_StatusText(p,a) ICOM_CALL1(get_StatusText,p,a)
#define IWebBrowserApp_put_StatusText(p,a) ICOM_CALL1(put_StatusText,p,a)
#define IWebBrowserApp_get_ToolBar(p,a) ICOM_CALL1(get_ToolBar,p,a)
#define IWebBrowserApp_put_ToolBar(p,a) ICOM_CALL1(put_ToolBar,p,a)
#define IWebBrowserApp_get_MenuBar(p,a) ICOM_CALL1(get_MenuBar,p,a)
#define IWebBrowserApp_put_MenuBar(p,a) ICOM_CALL1(put_MenuBar,p,a)
#define IWebBrowserApp_get_FullScreen(p,a) ICOM_CALL1(get_FullScreen,p,a)
#define IWebBrowserApp_put_FullScreen(p,a) ICOM_CALL1(put_FullScreen,p,a)
#define IWebBrowserApp_Quit(p) (p)->lpVtbl->Quit(p,a)
#define IWebBrowserApp_ClientToWindow(p,a,b) (p)->lpVtbl->ClientToWindow(p,a,b)
#define IWebBrowserApp_PutProperty(p,a,b) (p)->lpVtbl->PutProperty(p,a,b)
#define IWebBrowserApp_GetProperty(p,a,b) (p)->lpVtbl->GetProperty(p,a,b)
#define IWebBrowserApp_get_Name(p,a) (p)->lpVtbl->get_Name(p,a)
#define IWebBrowserApp_get_HWND(p,a) (p)->lpVtbl->get_HWND(p,a)
#define IWebBrowserApp_get_FullName(p,a) (p)->lpVtbl->get_FullName(p,a)
#define IWebBrowserApp_get_Path(p,a) (p)->lpVtbl->get_Path(p,a)
#define IWebBrowserApp_get_Visible(p,a) (p)->lpVtbl->get_Visible(p,a)
#define IWebBrowserApp_put_Visible(p,a) (p)->lpVtbl->put_Visible(p,a)
#define IWebBrowserApp_get_StatusBar(p,a) (p)->lpVtbl->get_StatusBar(p,a)
#define IWebBrowserApp_put_StatusBar(p,a) (p)->lpVtbl->put_StatusBar(p,a)
#define IWebBrowserApp_get_StatusText(p,a) (p)->lpVtbl->get_StatusText(p,a)
#define IWebBrowserApp_put_StatusText(p,a) (p)->lpVtbl->put_StatusText(p,a)
#define IWebBrowserApp_get_ToolBar(p,a) (p)->lpVtbl->get_ToolBar(p,a)
#define IWebBrowserApp_put_ToolBar(p,a) (p)->lpVtbl->put_ToolBar(p,a)
#define IWebBrowserApp_get_MenuBar(p,a) (p)->lpVtbl->get_MenuBar(p,a)
#define IWebBrowserApp_put_MenuBar(p,a) (p)->lpVtbl->put_MenuBar(p,a)
#define IWebBrowserApp_get_FullScreen(p,a) (p)->lpVtbl->get_FullScreen(p,a)
#define IWebBrowserApp_put_FullScreen(p,a) (p)->lpVtbl->put_FullScreen(p,a)
#endif
#ifdef __cplusplus
}
/* extern "C" */
...
...
tools/widl/header.c
View file @
55379110
...
...
@@ -484,19 +484,9 @@ static int write_method_macro(type_t *iface, char *name)
fprintf
(
header
,
",%c"
,
c
+
'a'
);
fprintf
(
header
,
") "
);
if
(
use_icom
)
{
if
(
argc
)
fprintf
(
header
,
"ICOM_CALL%d("
,
argc
);
else
fprintf
(
header
,
"ICOM_CALL("
);
write_name
(
header
,
def
);
fprintf
(
header
,
",p"
);
}
else
{
fprintf
(
header
,
"(p)->lpVtbl->"
);
write_name
(
header
,
def
);
fprintf
(
header
,
"(p"
);
}
fprintf
(
header
,
"(p)->lpVtbl->"
);
write_name
(
header
,
def
);
fprintf
(
header
,
"(p"
);
for
(
c
=
0
;
c
<
argc
;
c
++
)
fprintf
(
header
,
",%c"
,
c
+
'a'
);
fprintf
(
header
,
")
\n
"
);
...
...
tools/widl/widl.c
View file @
55379110
...
...
@@ -59,7 +59,6 @@
static
char
usage
[]
=
"Usage: widl [options...] infile.idl
\n
"
" -b Make headers compatible with ICOM macros
\n
"
" -B Make headers use ICOM macros
\n
"
" -d n Set debug level to 'n'
\n
"
" -D id[=val] Define preprocessor identifier id=val
\n
"
" -E Preprocess only
\n
"
...
...
@@ -89,7 +88,6 @@ int preprocess_only = 0;
int
header_only
=
0
;
int
no_preprocess
=
0
;
int
compat_icom
=
0
;
int
use_icom
=
0
;
char
*
input_name
;
char
*
header_name
;
...
...
@@ -137,14 +135,11 @@ int main(int argc,char *argv[])
now
=
time
(
NULL
);
while
((
optc
=
getopt
(
argc
,
argv
,
"b
B
d:D:EhH:I:NVW"
))
!=
EOF
)
{
while
((
optc
=
getopt
(
argc
,
argv
,
"bd:D:EhH:I:NVW"
))
!=
EOF
)
{
switch
(
optc
)
{
case
'b'
:
compat_icom
=
1
;
break
;
case
'B'
:
use_icom
=
1
;
break
;
case
'd'
:
debuglevel
=
strtol
(
optarg
,
NULL
,
0
);
break
;
...
...
tools/widl/widl.h
View file @
55379110
...
...
@@ -40,7 +40,6 @@ extern int win32;
extern
int
pedantic
;
extern
int
header_only
;
extern
int
compat_icom
;
extern
int
use_icom
;
extern
char
*
input_name
;
extern
char
*
header_name
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment