FindExecutableW(3w)
NAME
FindExecutableW (SHELL32.@)
SYNOPSIS
HINSTANCE FindExecutableW ( LPCWSTR lpFile, LPCWSTR lpDirectory, LPWSTR lpResult )
DESCRIPTION
This function returns the executable associated with the specified file
for the default verb.
PARAMS
lpFile [In] The file to find the association for. This must refer to an existing file otherwise FindExecutable fails and returns SE_ERR_FNF.
lpResult [Out] Points to a buffer into which the executable path is copied. This parameter must not be NULL otherwise FindExecutable(3w) segfaults. The buffer must be of size at least MAX_PATH characters.
RETURNS
A value greater than 32 on success, less than or equal to 32 otherwise.
See the SE_ERR_* constants.
NOTES
On Windows(tm) XP and 2003, FindExecutable(3w) seems to first convert
the filename into 8.3 format, thus taking into account only the first
three characters of the extension, and expects to find an association
for those. However other Windows(tm) versions behave sanely.
IMPLEMENTATION
Defined in "shellapi.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/shell32/shlexec.c".
- Debug channel "exec".