Επεξεργασία

Κοινή χρήση μέσω


ITaskbarList::HrInit method (shobjidl_core.h)

Initializes the taskbar list object. This method must be called before any other ITaskbarList methods can be called.

Syntax

HRESULT HrInit();

Return value

Type: HRESULT

Returns S_OK if successful, or an error value otherwise. If the method fails, no other methods can be called. The calling application should release the interface pointer.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.71 or later)