CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
山寨机中的战斗机! 程序优化工程师到底对IT界有没有贡献
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  C/C++ >  C语言

这个头文件可以用c语言调用吗? IADMW.H

楼主icpcn(伯克利)2003-06-03 12:57:00 在 C/C++ / C语言 提问

IADMW.H  
   
   
   
   
  /*   verify   that   the   <rpcndr.h>   version   is   high   enough   to   compile   this   file*/  
  #ifndef   __REQUIRED_RPCNDR_H_VERSION__  
  #define   __REQUIRED_RPCNDR_H_VERSION__   440  
  #endif  
   
  #include   "rpc.h"  
  #include   "rpcndr.h"  
   
  #ifndef   __RPCNDR_H_VERSION__  
  #error   this   stub   requires   an   updated   version   of   <rpcndr.h>  
  #endif   //   __RPCNDR_H_VERSION__  
   
  #ifndef   COM_NO_WINDOWS_H  
  #include   "windows.h"  
  #include   "ole2.h"  
  #endif   /*COM_NO_WINDOWS_H*/  
   
  #ifndef   __iadmw_h__  
  #define   __iadmw_h__  
   
  #ifdef   __cplusplus  
  extern   "C"{  
  #endif    
   
  /*   Forward   Declarations   */    
   
  #ifndef   __IMSAdminBaseW_FWD_DEFINED__  
  #define   __IMSAdminBaseW_FWD_DEFINED__  
  typedef   interface   IMSAdminBaseW   IMSAdminBaseW;  
  #endif   /*   __IMSAdminBaseW_FWD_DEFINED__   */  
   
   
  #ifndef   __IMSAdminBaseSinkW_FWD_DEFINED__  
  #define   __IMSAdminBaseSinkW_FWD_DEFINED__  
  typedef   interface   IMSAdminBaseSinkW   IMSAdminBaseSinkW;  
  #endif   /*   __IMSAdminBaseSinkW_FWD_DEFINED__   */  
   
   
  /*   header   files   for   imported   files   */  
  #include   "mddefw.h"  
  #include   "objidl.h"  
  #include   "ocidl.h"  
   
   
  void   __RPC_FAR   *   __RPC_USER   MIDL_user_allocate(size_t);  
  void   __RPC_USER   MIDL_user_free(   void   __RPC_FAR   *   );    
   
  /****************************************  
    *   Generated   header   for   interface:   __MIDL_itf_iadmw_0000  
    *   at   Mon   Nov   03   15:42:35   1997  
    *   using   MIDL   3.03.0110  
    ****************************************/  
  /*   [local]   */    
   
   
  /*++  
                                                                                                                                                                   
  Copyright   (c)   1997   Microsoft   Corporation  
                                                                                                                                                                   
  Module   Name:   iadmw.h  
                                                                                                                                                                   
          Admin   Objects   Interfaces  
                                                                                                                                                                   
  --*/  
  #ifndef   _ADM_IADMW_  
  #define   _ADM_IADMW_  
  #include   <mdcommsg.h>  
  #include   <mdmsg.h>  
  /*                                                                                                                                                              
          Error   Codes                                                                                                                                    
                                                                                                                                                                   
                  Admin   api's   all   return   HRESULTS.   Since   internal   results   are   either        
                  winerrors   or   Metadata   specific   return   codes   (see   mdmsg.h),   they   are            
                  converted   to   HRESULTS   using   the   RETURNCODETOHRESULT   macro   (see                      
                  commsg.h).                                                                                                                              
  */                                                                                                                                                              
                                                                                                                                                                   
  /*                                                                                                                                                              
          Max   Name   Length                                                                                                                            
                  The   maximum   number   of   characters   in   the   length   of   a   metaobject   name,          
                  including   the   terminating   NULL.   This   refers   to   each   node   in   the   tree,        
                  not   the   entire   path.                                                                                                          
                  eg.   strlen("Root")   <   ADMINDATA_MAX_NAME_LEN                                                        
  */                                                                                                                                                              
  #define   ADMINDATA_MAX_NAME_LEN                       256  
                                                                                                                                                                   
  #define   CLSID_MSAdminBase               CLSID_MSAdminBase_W                                                            
  #define   IID_IMSAdminBase                 IID_IMSAdminBase_W                                                              
  #define   IMSAdminBase                         IMSAdminBaseW                                                                        
  #define   IMSAdminBaseSink                 IMSAdminBaseSinkW                                                                
  #define   IID_IMSAdminBaseSink         IID_IMSAdminBaseSink_W                                                      
  #define   GETAdminBaseCLSID               GETAdminBaseCLSIDW                                                              
                                                                                                                                                                   
  DEFINE_GUID(CLSID_MSAdminBase_W,   0xa9e69610,   0xb80d,   0x11d0,   0xb9,   0xb9,   0x0,   0xa0,   0xc9,   0x22,   0xe7,   0x50);  
  DEFINE_GUID(IID_IMSAdminBase_W,   0x70b51430,   0xb6ca,   0x11d0,   0xb9,   0xb9,   0x0,   0xa0,   0xc9,   0x22,   0xe7,   0x50);  
  DEFINE_GUID(IID_IMSAdminBaseSink_W,   0xa9e69612,   0xb80d,   0x11d0,   0xb9,   0xb9,   0x0,   0xa0,   0xc9,   0x22,   0xe7,   0x50);  
  #define   GETAdminBaseCLSIDW(IsService)   CLSID_MSAdminBase_W  
  /*                                                                                                                                                              
  The   Main   Interface,   UNICODE                                                                                                            
  */                                                                                                                                                              
   
   
  extern   RPC_IF_HANDLE   __MIDL_itf_iadmw_0000_v0_0_c_ifspec;  
  extern   RPC_IF_HANDLE   __MIDL_itf_iadmw_0000_v0_0_s_ifspec;  
   
  #ifndef   __IMSAdminBaseW_INTERFACE_DEFINED__  
  #define   __IMSAdminBaseW_INTERFACE_DEFINED__  
   
  /****************************************  
    *   Generated   header   for   interface:   IMSAdminBaseW  
    *   at   Mon   Nov   03   15:42:35   1997  
    *   using   MIDL   3.03.0110  
    ****************************************/  
  /*   [unique][uuid][object]   */    
   
   
   
  EXTERN_C   const   IID   IID_IMSAdminBaseW;  
   
  #if   defined(__cplusplus)   &&   !defined(CINTERFACE)  
           
          MIDL_INTERFACE("70B51430-B6CA-11d0-B9B9-00A0C922E750")  
          IMSAdminBaseW   :   public   IUnknown  
          {  
          public:  
                  virtual   HRESULT   STDMETHODCALLTYPE   AddKey(    
                          /*   [in]   */   METADATA_HANDLE   hMDHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDPath)   =   0;  
                   
                  virtual   HRESULT   STDMETHODCALLTYPE   DeleteKey(    
                          /*   [in]   */   METADATA_HANDLE   hMDHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDPath)   =   0;  
                   
                  virtual   HRESULT   STDMETHODCALLTYPE   DeleteChildKeys(    
                          /*   [in]   */   METADATA_HANDLE   hMDHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDPath)   =   0;  
                   
                  virtual   HRESULT   STDMETHODCALLTYPE   EnumKeys(    
                          /*   [in]   */   METADATA_HANDLE   hMDHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDPath,  
                          /*   [size_is][out]   */   LPWSTR   pszMDName,  
                          /*   [in]   */   DWORD   dwMDEnumObjectIndex)   =   0;  
                   
                  virtual   HRESULT   STDMETHODCALLTYPE   CopyKey(    
                          /*   [in]   */   METADATA_HANDLE   hMDSourceHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDSourcePath,  
                          /*   [in]   */   METADATA_HANDLE   hMDDestHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDDestPath,  
                          /*   [in]   */   BOOL   bMDOverwriteFlag,  
                          /*   [in]   */   BOOL   bMDCopyFlag)   =   0;  
                   
                  virtual   HRESULT   STDMETHODCALLTYPE   RenameKey(    
                          /*   [in]   */   METADATA_HANDLE   hMDHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDPath,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDNewName)   =   0;  
                   
                  virtual   /*   [local]   */   HRESULT   STDMETHODCALLTYPE   SetData(    
                          /*   [in]   */   METADATA_HANDLE   hMDHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDPath,  
                          /*   [in]   */   PMETADATA_RECORD   pmdrMDData)   =   0;  
                   
                  virtual   /*   [local]   */   HRESULT   STDMETHODCALLTYPE   GetData(    
                          /*   [in]   */   METADATA_HANDLE   hMDHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDPath,  
                          /*   [out][in]   */   PMETADATA_RECORD   pmdrMDData,  
                          /*   [out]   */   DWORD   __RPC_FAR   *pdwMDRequiredDataLen)   =   0;  
                   
                  virtual   HRESULT   STDMETHODCALLTYPE   DeleteData(    
                          /*   [in]   */   METADATA_HANDLE   hMDHandle,  
                          /*   [string][in][unique]   */   LPCWSTR   pszMDPath,  
                          /*   [in]   */   DWORD   dwMDIdentifier,  
  问题点数:0、回复次数:2Top

1 楼justaseeker(MS)回复于 2003-06-03 13:26:54 得分 0

~~~~~~~~Top

2 楼ufouser(ufouser)回复于 2003-06-03 15:13:38 得分 0

VC++6.0可以的Top

相关问题

  • C调用C#?
  • c++调用perl
  • C#调用C++类
  • c#资源调用
  • c#资源调用?????????
  • C#调用是否可以调用lib
  • C#函数调用问题
  • c++如何调用中断
  • C#如何调用API??
  • 关于C调用ASM

关键词

  • iadmw
  • imsadminbasew
  • imsadminbasesinkw
  • rpcndr
  • fwd
  • ifndef
  • midl
  • endif
  • rpc
  • define

得分解答快速导航

  • 帖主:icpcn

相关链接

  • C/C++ Blog
  • C/C++类图书
  • C/C++类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo