Stat method

Project: Stream Extension Classes

Unit: PJIStreams

Class: TPJFileIStream

Applies to: ~>3.0

function Stat(out statstg: TStatStg; grfStatFlag: Longint): HResult;
  virtual; stdcall;

Description

Stat retrieves a STATSTG structure that provides information about the file associated with the stream.

This version of Stat modifies the method inherited from TPJHandleIStreamWrapper to provide the file name instead of a name based on class names in the pwcsName field of the TStatStg record.

Parameters:

Returns:

Remarks

The following fields of TStatStg are supported:

Other fields are set to zero.