hr = OleCreatePictureIndirect(&pd, __uuidof(IPicture), TRUE, (void**)pPic);
the return IPicture is in '(void**)pPic'
Sample in VB
ImageList.ListImages.Add 1, , <the return IPicture>
Note:
- This is works fine with other VB control such as CommandButton
- This is works fine without this cumulative update installation