g_fShellAPI

This global variable contains the status of a shell.

int g_fShellAPI

Remarks

By default, the notification subsystem interacts with a shell. The notification subsystem must check for the availability of a shell before calling any shell-related APIs, for example, Shell_NotifyIcon and ShellExecuteEx.

The following table shows the possible values for shell status.

Value Description
SHELLAPI_BOOTING This is the default value, which is set when the notification engine is initialized.
SHELLAPI_READY The shell is loaded and the shell APIs are ready for use.
SHELLAPI_NONE No shell is available.
SHELLAPI_WAIT This counter specifies the number of attempts to make to determine whether the shell has loaded.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Notifext.cxx.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.