0
將下面的代碼工作,如果安全數組數要返回爲零?我應該做別的嗎?安全數組 - 設置數量爲零
HRESULT GetAlarms(FAULT_TYPE eAlarmType, long alarmLevel, VARIANT* pvarAlamLst)
{
pvarAlamLst->vt = VT_ARRAY |VT_VARIANT;
pvarAlamLst->parray = NULL;
return S_OK;
}