Fixed some bugs.
This commit is contained in:
parent
4f56863300
commit
b3f32d9686
|
@ -19,7 +19,7 @@
|
|||
#ifndef __WINE_DXDIAG_H
|
||||
#define __WINE_DXDIAG_H
|
||||
|
||||
#include <objbase.h>
|
||||
#include <ole2.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -67,13 +67,13 @@ typedef struct IDxDiagContainer IDxDiagContainer, *LPDXDIAGCONTAINER, *PDX
|
|||
/*****************************************************************************
|
||||
* IDxDiagProvider interface
|
||||
*/
|
||||
#define ICOM_INTERFACE IDxDiagProvider
|
||||
#define INTERFACE IDxDiagProvider
|
||||
#define IDxDiagProvider_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(Initialize)(THIS_ DXDIAG_INIT_PARAMS* pParams) \
|
||||
STDMETHOD(GetRootContainer)(THIS_ IDxDiagContainer** ppInstance)
|
||||
STDMETHOD(Initialize)(THIS_ DXDIAG_INIT_PARAMS* pParams) PURE; \
|
||||
STDMETHOD(GetRootContainer)(THIS_ IDxDiagContainer** ppInstance) PURE;
|
||||
ICOM_DEFINE(IDxDiagProvider,IUnknown)
|
||||
#undef ICOM_INTERFACE
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
|
@ -88,17 +88,21 @@ ICOM_DEFINE(IDxDiagProvider,IUnknown)
|
|||
/*****************************************************************************
|
||||
* IDxDiagContainer interface
|
||||
*/
|
||||
#define ICOM_INTERFACE IDxDiagContainer
|
||||
#ifdef __WINESRC__
|
||||
#undef GetProp
|
||||
#endif
|
||||
|
||||
#define INTERFACE IDxDiagContainer
|
||||
#define IDxDiagContainer_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(GetNumberOfChildContainers)(THIS_ DWORD* pdwCount) \
|
||||
STDMETHOD(EnumChildContainerNames)(THIS_ DWORD dwIndex, LPWSTR pwszContainer, DWORD cchContainer) \
|
||||
STDMETHOD(GetChildContainer)(THIS_ LPCWSTR pwszContainer, IDxDiagContainer** ppInstance) \
|
||||
STDMETHOD(GetNumberOfProps)(THIS_ DWORD* pdwCount) \
|
||||
STDMETHOD(EnumPropNames)(THIS_ DWORD dwIndex, LPWSTR pwszPropName, DWORD cchPropName) \
|
||||
STDMETHOD(GetProp)(THIS_ LPCWSTR pwszPropName, VARIANT* pvarProp)
|
||||
STDMETHOD(GetNumberOfChildContainers)(THIS_ DWORD* pdwCount) PURE; \
|
||||
STDMETHOD(EnumChildContainerNames)(THIS_ DWORD dwIndex, LPWSTR pwszContainer, DWORD cchContainer) PURE; \
|
||||
STDMETHOD(GetChildContainer)(THIS_ LPCWSTR pwszContainer, IDxDiagContainer** ppInstance) PURE; \
|
||||
STDMETHOD(GetNumberOfProps)(THIS_ DWORD* pdwCount) PURE; \
|
||||
STDMETHOD(EnumPropNames)(THIS_ DWORD dwIndex, LPWSTR pwszPropName, DWORD cchPropName) PURE; \
|
||||
STDMETHOD(GetProp)(THIS_ LPCWSTR pwszPropName, VARIANT* pvarProp) PURE;
|
||||
ICOM_DEFINE(IDxDiagContainer,IUnknown)
|
||||
#undef ICOM_INTERFACE
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
|
|
Loading…
Reference in New Issue