API:
SafeArrayCreate
SafeArrayDestroy
SafeArrayGetElement
SafeArrayPutElement
SafeArrayGetLBound
SafeArrayGetUBound
1 STDMETHODIMP CMath::Sum(VARIANT varOp1, long * plResult) 2 { 3 if (!varOp) 4 }
原文:http://www.cnblogs.com/aoun/p/3767369.html