Ialarm | developer.brewmp.com Ialarm | developer.brewmp.com

Developer

Ialarm

Forums:

hi all,
here iam sending one api releated to IALARM. here iam not getting the pnUsercode. what is that pnUsercode.?

int IALARMMGR_SetAlarm
(
IAlarmMgr* me,
AEECLSID cls,
uint32* pnUserCode,
uint32 nSecs
)
in API reference they are giving like this descrption. i did't get this tell what is pnUsercode.

pnUserCode : [in/out] pointer in which the generated 16-bit alarm user code is returned to/from the caller of API in the first 2 most significant bytes. The next 2 bytes are used as 16 bit flags. bit 1 if set specifies that user is supplied by user (else generated by BREW), bit 2 if set specifies that alarm seconds are for absolute time (else relative from now).

Regards,
bhagya.A