⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 enwsdlop.cpp

📁 Windows CE 6.0 Server 源码
💻 CPP
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreement under which you licensed
// this source code. If you did not accept the terms of the license agreement,
// you are not authorized to use this source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the SOURCE.RTF on your install media or the root of your tools installation.
// THE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
//+----------------------------------------------------------------------------
//
//
// File:    enwsdlop.cpp
//
// Contents:
//
//  implementation file
//
//        IEnumOperations Interface implemenation
//
//-----------------------------------------------------------------------------
#include "headers.h"
#include "enwsdlop.h"

#ifdef UNDER_CE
#include "WinCEUtils.h"
#endif


BEGIN_INTERFACE_MAP(CEnumWSDLOperations)
    ADD_IUNKNOWN(CEnumWSDLOperations, IEnumWSDLOperations)
    ADD_INTERFACE(CEnumWSDLOperations, IEnumWSDLOperations)
END_INTERFACE_MAP(CEnumWSDLOperations)




/////////////////////////////////////////////////////////////////////////////





/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function: CENumWSDLOperations::CENumWSDLOperations()
//
//  parameters:
//
//  description:
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
CEnumWSDLOperations::CEnumWSDLOperations()
{
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function: CENumWSDLOperations::~CENumWSDLOperations()
//
//  parameters:
//
//  description:
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
CEnumWSDLOperations::~CEnumWSDLOperations()
{
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function: HRESULT CEnumWSDLOperations::Next(long celt, IWSDLOperation **ppWSDLOperation, long *pulFetched)
//
//  parameters:
//
//  description:
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
HRESULT CEnumWSDLOperations::Next(long celt, IWSDLOperation **ppWSDLOperation, long *pulFetched)
{
    return(m_operationList.Next(celt, ppWSDLOperation, pulFetched));
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function: HRESULT CEnumWSDLOperations::Skip(long celt)
//
//  parameters:
//
//  description:
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
HRESULT CEnumWSDLOperations::Skip(long celt)
{
    return(m_operationList.Skip(celt));
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function: HRESULT CEnumWSDLOperations::Reset(void)
//
//  parameters:
//
//  description:
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
HRESULT CEnumWSDLOperations::Reset(void)
{
    return(m_operationList.Reset());
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function: HRESULT CEnumWSDLOperations::Clone(IEnumWSDLOperations **ppenum)
//
//  parameters:
//
//  description:
//
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
HRESULT CEnumWSDLOperations::Clone(IEnumWSDLOperations **ppenum)
{
    HRESULT hr = S_OK;
    CEnumWSDLOperations *pOpers;
    pOpers = new CSoapObject<CEnumWSDLOperations>(INITIAL_REFERENCE);
    CHK_BOOL(pOpers, E_OUTOFMEMORY);

    CHK(pOpers->Copy(this));
    pOpers->Reset();
    *ppenum = pOpers;
Cleanup:
    return (hr);
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function:HRESULT CEnumWSDLOperations::Copy(CEnumWSDLOperations *pOrg)
//
//  parameters:
//
//  description:
// 
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
HRESULT CEnumWSDLOperations::Copy(CEnumWSDLOperations *pOrg)
{
    return (pOrg->m_operationList.Clone(m_operationList));
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function:HRESULT CEnumWSDLOperations::Find(BSTR bstrOperationToFind, IWSDLOperation **ppIWSDLOperation)
//
//  parameters:
//
//  description:
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
HRESULT CEnumWSDLOperations::Find(BSTR bstrOperationToFind, IWSDLOperation **ppIWSDLOperation)
{
    return(m_operationList.Find(bstrOperationToFind, ppIWSDLOperation));
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function: HRESULT CEnumWSDLOperations::Add(IWSDLOperation *pWSDLOperation)
//
//  parameters:
//
//  description:
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
HRESULT CEnumWSDLOperations::Add(IWSDLOperation *pWSDLOperation)
{
    return(m_operationList.Add(pWSDLOperation));
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////////////////////////////////////////////////////////
//  function: HRESULT CEnumWSDLOperations::Size(long *pulSize)
//
//  parameters:
//
//  description:
//
//  returns:
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
HRESULT CEnumWSDLOperations::Size(long *pulSize)
{
    return(m_operationList.Size(pulSize));
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -