Share via


IWSDUdpAddress::GetMessageType (Compact 2013)

3/26/2014

This method gets the message type for this UDP address configuration. There are two types of messages; one-way messages, which do not require responses, and two-way messages, which do require responses.

Syntax

HRESULT GetMessageType(
  WSDUdpMessageType* pMessageType
);

Parameters

  • pMessageType
    [out] Pointer to a WSDUdpMessageType value that specifies the message type used for this address configuration.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This method completed successfully.

E_POINTER

pMessageType is NULL.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDUdpAddress
Web Services on Devices Interfaces