Subscribe on object properties changes.
PRL_RESULT PrlVm_PtmSubscribe( PRL_HANDLE hVm, PRL_CONST_STR szObject, PRL_UINT32 * pValuePropertiesId, PRL_UINT32 cValue, PRL_UINT32 * pNotifyPropertiesId, PRL_UINT32 cNotify );
PrlApiPtm.h
Properties values and change notifications are delivered to client within PRL_PTM_OBJECT structure by PET_PTM_EVT_PROPERTY_CHANGED event
PRL_RESULT . Possible values: PRL_ERR_INVALID_HANDLE - invalid handle passed PRL_ERR_INVALID_ARG - invalid argument(s) have been passed PRL_ERR_UNIMPLEMENTED - feature is not implemented for specified handle. PRL_ERR_OPERATION_FAILED - client already subscribed PRL_ERR_FAILURE - failed to send command. PRL_ERR_SUCCESS - function completed successfully.
|
What do you think about this topic?
Send feedback!
|