SignalFileOpen function (shlobj_core.h)

[SignalFileOpen is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Sends a notification to the Shell that the specified file has been opened.

Syntax

BOOL SignalFileOpen(
  [in] PCIDLIST_ABSOLUTE pidl
);

Parameters

[in] pidl

Type: PCIDLIST_ABSOLUTE

A PIDL that specifies the file.

Return value

Type: BOOL

Returns TRUE if successful; otherwise FALSE.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)
Library Shell32.lib
DLL Shell32.dll (version 5.0 or later)