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.
3/12/2014
This method adds a location to the push queue for a one-time update of the contents in the Media Library.
Syntax
HRESULT EnqueueLocation(
MLDataSource datasource,
MLQueryFlags flags,
BSTR location
);
Parameters
- datasource
[in] Member of the MLDataSourceId enumeration that specifies the type of data source.
- flags
[in] MLQueryFlags structure that contains the options that are used to update the location.
- location
[in] URL of the data source.
Return Values
Returns the HRESULT values shown in the following table.
| Value | Description |
|---|---|
S_OK |
The method was successful. |
E_INVALIDARG |
One or more parameters are invalid. |
E_FAIL |
The method was not successful. |
E_MEMORY |
An out of memory error occurred. |
Remarks
The contents at the location specified in this method are updated once in the Media Library. This location does not persist in the watch list after this call. To add a location to the watch list, call the IMLPushQueue::AddWatchedLocation method.
Requirements
Header |
mlibdll.h, |
Library |
mlibdll.lib |