ITaskbarList2::HrInit Method

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

Syntax

HRESULT HrInit(VOID);

Return Value

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.