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 returns the list of media items, such as folders or image files, that have changed. This method returns a list of MLNotification items that indicate what has changed in the database.
Syntax
HRESULT Notify(
ULONG cNotificationItems,
MLNotificationItem *rgNotificationItems
);
Parameters
- cNotificationItems
[in] Subscriber identification. Count of items in the rgNotificationItems array.
- rgNotificationItems
[in] Pointer to an array of MLNotificationItem structures that specify the modified items.
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_POINTER |
The rgNotificationItems parameter is invalid. |
E_FAIL |
The method was not successful. |
E_MEMORY |
An out of memory error occurred. |
Remarks
The media items that have changed are returned in an array of MLNotificationItem structures. Each structure contains a single media item that the application uses to query the Media Library for the new value.
Media entities are the type of content supported by the Media Library and include the folders, audio files, video files and image files.
Requirements
Header |
mlibdll.h, |
Library |
mlibdll.lib |