,RIL_DeleteMsg使用有关问题

高手请进,RIL_DeleteMsg使用问题!HRESULT RIL_DeleteMsg(HRIL hRil,DWORD dwIndex//Specifies the index o

高手请进,RIL_DeleteMsg使用问题!
HRESULT RIL_DeleteMsg(
  HRIL hRil,
  DWORD dwIndex //Specifies the index of the message to be deleted
);
以上函数参数中dwIndex应该如何使用?


[解决办法]
微软的每一条短信都有一个index,唯一标志一条短信;
通过MAPI我们可以得到该index

hr = pProp->GetProps((LPSPropTagArray)rgTags, MAPI_UNICODE, &cValues, &rgMsgProps);
index = rgMsgProps[0].Value.ul;

删除短信的时候直接调用就可以了;