IWSDHttpMessageParameters::GetContext method (wsdbase.h)

Retrieves the private transmission context for the current transaction.

Syntax

HRESULT GetContext(
  [out] IUnknown **ppContext
);

Parameters

[out] ppContext

Pointer to the pointer used to retrieve the desired private transmission context for the current transaction.

Return value

This method can return one of these values.

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
Method completed successfully.
E_INVALIDARG
ppContext is NULL.
E_FAIL
Could not retrieve the context.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdbase.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDHttpMessageParameters