Serial Framework C++ Edition

◆ Stat()

virtual HRESULT STDMETHODCALLTYPE Stat ( STATSTG *  pstatstg,
DWORD  grfStatFlag 
)
overridevirtual

The method retrieves the STATSTG structure for this stream.

Parameters
pstatstgPointer to a STATSTG structure where this method places information about this stream object.
grfStatFlagSpecifies that this method does not return some of the members in the STATSTG structure, thus saving a memory allocation operation. Values are taken from the STATFLAG enumeration.
Returns
S_OK if operation completed with success.