CMACRO.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:5k
源码类别:
Windows编程
开发平台:
Visual C++
- /*++
- Copyright (c) 1996 Microsoft Corporation
- Module Name:
- CMacro.h
- Abstract:
- Author:
- Environment:
- User mode
- Revision History :
- --*/
- #ifndef _CMACRO_H_
- #define _CMACRO_H_
- #define DEFINE_CONTAINED_IADs_Implementation(cls)
- STDMETHODIMP
- cls::get_Name(THIS_ BSTR FAR* retval)
- {
- RRETURN(_pADs->get_Name(retval));
- }
- STDMETHODIMP
- cls::get_ADsPath(THIS_ BSTR FAR* retval)
- {
- RRETURN(_pADs->get_ADsPath(retval));
- }
- STDMETHODIMP
- cls::get_Class(THIS_ BSTR FAR* retval)
- {
- RRETURN(_pADs->get_Class(retval));
- }
- STDMETHODIMP
- cls::get_Parent(THIS_ BSTR FAR* retval)
- {
- RRETURN(_pADs->get_Parent(retval));
- }
- STDMETHODIMP
- cls::get_Schema(THIS_ BSTR FAR* retval)
- {
- RRETURN(_pADs->get_Schema(retval));
- }
- STDMETHODIMP
- cls::get_GUID(THIS_ BSTR FAR* retval)
- {
- RRETURN(_pADs->get_GUID(retval));
- }
- STDMETHODIMP
- cls::Get(THIS_ BSTR bstrName, VARIANT FAR* pvProp)
- {
- RRETURN(_pADs->Get(bstrName, pvProp));
- }
- STDMETHODIMP
- cls::Put(THIS_ BSTR bstrName, VARIANT vProp)
- {
- RRETURN(_pADs->Put(bstrName, vProp));
- }
- STDMETHODIMP
- cls::GetInfo(THIS_)
- {
- RRETURN(_pADs->GetInfo());
- }
- STDMETHODIMP
- cls::SetInfo(THIS_ )
- {
- RRETURN(_pADs->SetInfo());
- }
- #endif