WSDGetConfigurationOption function (wsdutil.h)
Gets a WSDAPI configuration option.
Syntax
HRESULT WSDGetConfigurationOption(
DWORD dwOption,
[out] LPVOID pVoid,
DWORD cbOutBuffer
);
Parameters
dwOption
The type of configuration data to get.
Value | Meaning |
---|---|
|
Get the maximum size, in bytes, of an inbound message. This message size is a value between 32768 and 1048576. |
[out] pVoid
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
This function can return one of these values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
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. |
|
pVoid is NULL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsdutil.h (include Wsdapi.h) |
Library | Wsdapi.lib |
DLL | Wsdapi.dll |