Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the XML context associated with the device.
Syntax
HRESULT GetXMLContext(
[out] IWSDXMLContext **ppContext
);
Parameters
[out] ppContext
Pointer to a pointer to an IWSDXMLContext object that represents the XML context.
Return value
Possible return values include, but are not limited to, the following:
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
ppContext is NULL. |
|
The publisher has not been started. Attaching a notification sink starts the publisher. To attach a sink, call RegisterNotificationSink. |
Remarks
Returns an optional context for the XML state of the transaction. If the service layer is used then this should be the context the XML namespaces and types were registered with.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wsddisco.h (include Wsdapi.h) |
| DLL | Wsdapi.dll |