QueryXML
Indicates the XML format of the currently running profile and whether the profile is running properly.
Syntax
HRESULT QueryXML
([out] BSTR* pbstrResults,
[in] VARIANT_BOOL fValidateRuntimeState)
;
Parameters
BSTR* pbstrResults
[out] A pointer to a result string.
VARIANT_BOOL fValidateRuntimeState
[in] A Boolean that indicates whether the runtime state is valid.
Return Value
The following table describes possible return values.
Return Value | Description |
---|---|
E_WPRC_RUNTIME_STATE_PROFILES_NOT_RUNNING |
Indicates that the profile is not running. |
S_OK |
The function successfully returned the XML format. |