Q:
How can I add a document that my application processed to the folder of 'recent documents'?
A:
Use the procedure SHAddToRecentDocs as shown in the code below.
// use these pascal procedures or call SHAddToRecentDocs directly
procedure Win95AddToRecentDocs(const Filename: string);
begin
SHAddToRecentDocs(SHARD_PATH, @Filename[1]);
end;
procedure Win95ClearRecentDocs;
begin
SHAddToRecentDocs(SHARD_PATH, nil);
end;