i-stat怎么打印IStream::Stat method (objidl.h)

新闻资讯2026-04-20 23:47:04
Return code Description S_OK The STATSTG structure was successfully returned at the specified location. E_PENDING Asynchronous Storage only: Part or all of the stream's data is currently unavailable. STG_E_ACCESSDENIED The caller does not have enough permissions for accessing statistics for this storage object. STG_E_INSUFFICIENTMEMORY The STATSTG structure was not returned due to a lack of memory. STG_E_INVALIDFLAG The value for the grfStateFlag parameter is not valid. STG_E_INVALIDPOINTER The pStatStg pointer is not valid. STG_E_REVERTED The object has been invalidated by a revert operation above it in the transaction tree.