Partager via


getTypeMapperbyName Method (Windows Embedded CE 6.0)

1/6/2010

This method creates and returns the type mapper for the specified XML Schema Definition (XSD) type (either simpleType or complexType). The getTypeMapperbyName method looks in the schemas identified by the addSchema method for the specified XSD type, and then creates a type mapper for that type.

Syntax

HRESULT getTypeMapperbyName(
  BSTR bstrTypeName, 
  BSTR bstrTypeNamespace, 
  ISoapTypeMapper** ppSoapTypeMapper
);

Parameters

  • bstrTypeName
    [in] Name of the type.
  • bstrTypeNamespace
    [in] Namespace of the type.
  • ppSoapTypeMapper
    [out] Type mapper for the specified type.

Return Value

The following table describes the common return values.

Value Description

S_OK

Success.

E_NOTIMPL

The function contains no implementation.

E_OUTOFMEMORY

Out of memory.

Requirements

Header mssoap.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ISoapTypeMapperFactory