Specifies an enumerated type that defines flags used with the IShellFolder::EnumObjects method.
The SHELLEXECUTEINFO structure contains information used by the ShellExecuteEx function.
typedef struct _SHELLEXECUTEINFO { // sei DWORD cbSize; ULONG fMask; HWND hwnd; LPCSTR lpVerb; LPCSTR lpFile; LPCSTR lpParameters; LPCSTR lpDirectory; int nShow; HINSTANCE hInstApp; // Optional members LPVOID lpIDList; LPCSTR lpClass; HKEY hkeyClass; DWORD dwHotKey; HANDLE hIcon; HANDLE hProcess; } SHELLEXECUTEINFO, FAR *LPSHELLEXECUTEINFO;
Value |
Meaning |
SEE_MASK_CLASSKEY |
Use the class key given by the hkeyClass member. |
SEE_MASK_CLASSNAME |
Use the class name given by the lpClass member. |
SEE_MASK_CONNECTNETDRV |
The lpFile member is a Universal Naming Convention (UNC) path of a file on a network. Validate the share and connect to a drive letter. |
SEE_MASK_DOENVSUBST |
Expand any environment variables specified in the string given by the lpDirectory or lpFile member. |
SEE_MASK_FLAG_DDEWAIT |
Wait for the DDE conversation to terminate before returning, if the ShellExecuteEx function causes a DDE conversation to start. |
SEE_MASK_FLAG_NO_UI |
Do not display an error message box if an error occurs. |
SEE_MASK_HOTKEY |
Use the hot key given by the dwHotKey member. |
SEE_MASK_ICON |
Use the icon given by the hIcon member. |
SEE_MASK_IDLIST |
Use the item identifier list given by the lpIDList member. |
SEE_MASK_INVOKEIDLIST |
Use the item identifier list given by the lpIDList member to invoke an application. If this member is NULL, the function creates an item identifier list and invokes the application. SEE_MASK_INVOKEIDLIST overrides SEE_MASK_IDLIST. |
SEE_MASK_NOCLOSEPROCESS |
Leave the process running after the ShellExecuteEx function exits. The hProcess member receives the handle of the process. |
sei.lpParameters = "An example: \"\"\"quoted text\"\"\"";
In this case, the application receives three parameters: An, example:, and “quoted text”.
If lpFile specifies a document file, lpParameters should be
NULL.
Value |
Meaning |
SE_ERR_FNF |
File not found |
SE_ERR_PNF |
Path not found |
SE_ERR_ACCESSDENIED |
Access denied |
SE_ERR_OOM |
Out of memory |
SE_ERR_DLLNOTFOUND |
Dynamic-link library not found |
SE_ERR_SHARE |
Cannot share open file |
SE_ERR_ASSOCINCOMPLETE |
File association information not complete |
SE_ERR_DDETIMEOUT |
DDE operation timed out |
SE_ERR_DDEFAIL |
DDE operation failed |
SE_ERR_DDEBUSY |
DDE operation busy |
SE_ERR_NOASSOC |
File association not available |
ITEMIDLIST, ShellExecuteEx, ShowWindow, WM_SETHOTKEY
See: