please dont rip this site Prev Next

ShellExecuteEx info

The ShellExecuteEx function performs an action on a file. The file can be an executable file or a document.

WINSHELLAPI BOOL WINAPI ShellExecuteEx(

    LPSHELLEXECUTEINFO lpExecInfo

// pointer to SHELLEXECUTEINFO structure

   );

Parameters

lpExecInfo
Pointer to a SHELLEXECUTEINFO structure that contains and receives information about the application to start.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

If the function succeeds, it sets the hInstApp member of the SHELLEXECUTEINFO structure to the instance handle of the application that the function started. If the function fails, hInstApp is one of the SE_ERR_ error values indicating the cause of the failure. (An instance handle will always be greater than 32, and an error value less than 32.) Note that the SE_ERR_ error values are for compatibility with the ShellExecute function; use the GetLastError function to retrieve error information.

Last error values returned by GetLastError correspond to the SE_ERR_ values and may be one of the following:

Value

Meaning

ERROR_FILE_NOT_FOUND

The specified file was not found.

ERROR_PATH_NOT_FOUND

The specified path was not found.

ERROR_DDE_FAIL

The DDE transaction failed.

ERROR_NO_ASSOCIATION

There is no application associated with the given filename extension.

ERROR_ACCESS_DENIED

ERROR_DLL_NOT_FOUND

ERROR_CANCELLED

The function prompted the user for the location of the application, but the user cancelled the request.

ERROR_NOT_ENOUGH_MEMORY

ERROR_SHARING_VIOLATION

A sharing violation occurred.

See Also

ShellExecute, SHELLEXECUTEINFO


file: /Techref/os/win/api/win32/func/src/f84_17.htm, 4KB, , updated: 2000/4/7 11:13, local time: 2024/12/26 09:53,
TOP NEW HELP FIND: 
3.144.89.197:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/func/src/f84_17.htm"> ShellExecuteEx</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .