Fixed some bugs.

This commit is contained in:
Raphael Junqueira 2004-04-15 23:59:25 +00:00 committed by Alexandre Julliard
parent 4f56863300
commit b3f32d9686
1 changed files with 28 additions and 24 deletions

View File

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