JCL Help:ShellLinkCreate
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: ShellLinkCreate Function
Search in JCL Help
Search in all projects
Summary
Creates a new shortcut.
Pascal
function ShellLinkCreate(const Link: TShellLink; const FileName: string): HRESULT;
Parameters
Parameters | Description |
const FileName: string | Fully qualified Filename for the new shortcut. |
ShellLink | TShellLink record with the details about the shortcut to create. |
Return Value
If the function succeeds the shortcut is created and the return value is S_OK. If the function fails the return value is an OLE error code.
Description
ShellLinkCreate creates a new shortcut specified by filename. If the function succeeds it returns S_OK otherwise it returns an OLE error code. See TShellLink for information about the ShellLink parameter.
See Also
ShellLinkCreateSystem ShellLinkResolve ShellLinkFree TShellLink
About
Unit
Donator
Marcel van Brakel
Notes
You must free the TShellLink record by calling ShellLinkFree
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page