Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

Stat method

Project: Stream Extension Classes

Unit: PJIStreams

Class: TPJHandleIStreamWrapper

Applies to: ~>3.0

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


Stat retrieves a STATSTG structure that provides information about the wrapped THandleStream.

This version of Stat extends the method inherited from TPJIStreamWrapper to provide creation, modification and last access times for any file whose handle is encapsulated by the wrapped stream.




The following fields of TStatStg are supported:

Other fields are set to zero.