IUPnPService::get_LastTransportStatus method (upnp.h)
For queries related to evented variables, the LastTransportStatus property specifies the HTTP status of the last IUPnPService::InvokeAction operation. For queries related to non-evented variables, the LastTransportStatus property specifies the last IUPnPService::QueryStateVariable operation, if the caller invoked a query for a non-evented variable.
Syntax
HRESULT get_LastTransportStatus(
[out] long *plValue
);
Parameters
[out] plValue
Receives a reference to the status. If plValue is the HTTP status 200, the operation was successful.
Return value
For C++: If this property's "get" method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | upnp.h |
DLL | Upnp.dll |