Syntax
Parameters
callbackType: WdStringResultCallback The required result or enumeration callback. See Remarks for continuation and lifetime rules.
contextType: void* Optional caller-owned context passed unchanged to the callback.
Return value
Type: HRESULT ReturnsS_OK on success; otherwise returns a failure HRESULT. Catalog operations also return catalog-specific errors described in Error codes.
Remarks
The callback is required and is invoked exactly once on success. Its string is valid only until the callback returns. The storage path isn’t a pairing authorization or remote content directory. Saved-device APIs and pairing-ID APIs change different local stores. They don’t replace the explicitremoteDevice argument of a remote API call; callers that want default selection must resolve it themselves.
