WSDGetConfigurationOption (Windows Embedded CE 6.0)

1/6/2010

This function gets a WSDAPI configuration option.

Syntax

HRESULT WINAPI WSDGetConfigurationOption(
  DWORD dwOption,
  LPVOID pVoid,
  DWORD cbOutBuffer
);

Parameters

  • dwOption
    The type of configuration data to get.

    Value Meaning

    WSDAPI_OPTION_MAX_INBOUND_MESSAGE_SIZE0x0001

    Get the maximum size, in bytes, of an inbound message. This message size is a value between 32768 and 1048576.

  • pVoid
    [out] Pointer to the configuration data.
  • cbOutBuffer
    The size, in bytes, of the data pointed to by pVoid. If dwOption is set to WSDAPI_OPTION_MAX_INBOUND_MESSAGE_SIZE, then this parameter should be set to sizeof(DWORD).

Return Value

The following table shows the possible error code return values.

Error Code Description

S_OK

The function succeeded.

E_INVALIDARG

The dwOption is not set to WSDAPI_OPTION_MAX_INBOUND_MESSAGE_SIZE, cbOutBuffer is 0, or cbOutBuffer is not the correct size for the type of configuration data.

E_POINTER

pVoid is NULL.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Web Services on Devices Functions
Web Services on Devices Reference