Windows API "CreateIconFromResourceEx" not working after windows update "Update for Microsoft Windows(KB4517389)" if I uninstall this update "CreateIconFromResourceEx" will work, but there is no any official documentation regarding deprecate of "CreateIconFromResourceEx" API.
int offset = LookupIconIdFromDirectoryEx(bCursorBuff, TRUE, 0, 0, LR_DEFAULTSIZE|LR_SHARED);
if (offset != 0)
{
HICON m_hIcon = CreateIconFromResourceEx(bCursorBuff + offset, 0 , TRUE, 0x30000, 0, 0, LR_DEFAULTSIZE|LR_SHARED);
if(m_hIcon == NULL)
{
MessageBox(NULL, _T("Exception :: CreateIconFromResourceEx failde."),_T("message"),MB_OK|MB_SYSTEMMODAL);
}
}