Removes a thumbnail from an application's preview group when that tab or document is closed in the application.
HRESULT UnregisterTab( HWND hwndTab );
The handle of the tab window whose thumbnail is being removed. This is the same value with which the thumbnail was registered as part the group through ITaskbarList3::RegisterTab. This value is required and cannot be NULL.
Returns S_OK if successful, or an error value otherwise. If hwndTab is NULL, this method returns an error.
It is the responsibility of the calling application to free hwndTab through DestroyWindow. UnregisterTab must be called before the handle is freed.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|