IContentDirectory::GetSystemUpdateID (Windows CE 5.0)
This method returns the current value of the SystemUpdateID state variable. Control points that poll (instead of using eventing) can determine if the contents of the ContentDirectory instance's data store have changed using the returned ID.
virtual DWORD GetSystemUpdateID( unsigned long* pId) = 0;
Parameters
- pId
[in, out] Pointer to an integer allocated by the caller that this method modifies to contain the current value of the SystemUpdateID state variable. Corresponds to the SystemUpdateID state variable.
Return Values
Custom implementations can return appropriate error codes. Should return SUCCESS_AV if the method succeeds. Otherwise, should return an error code defined in WinError.h or UPnP.h, or one of the UPnP AV-specific return values specified in UPnPAVError, especially the following error documented for this action in the ContentDirectory DCP documentation:
- ERROR_AV_UPNP_ACTION_FAILED
Remarks
This method corresponds to the ContentDirectory service's GetSystemUpdateID action.
For more information about the actions and SystemUpdateID and change management in the ContentDirectory service, see UPnP AV DCP Documentation.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Av_upnp.h.
Link Library: Av_upnp.lib.
C++ Namespace: av_upnp.
See Also
IContentDirectory | UPnPAVError
Send Feedback on this topic to the authors