ITaskbarList4::DeleteTab Method

Deletes an item from the taskbar.

Syntax

HRESULT DeleteTab(      
    HWND hwnd
);

Parameters

  • hwnd
    A handle to the window to be deleted from the taskbar.

Return Value

Returns S_OK if successful, or an error value otherwise.