Sets a picture taken from a memory stream that will be displayed as a buddy picture of a graphic item over the waveform's graphics. The HBITMAP of the current buddy picture can be obtained through the GraphicItemBuddyPictureGet method.
On the screenshot below you can see a set of vertical lines displayed over the waveform, each with its buddy picture aligned on the bottom right of the vertical line:
In this case vertical lines are set to be rendered over time rulers, allowing buddy pictures to be rendered outside of the waveform area.
An existing buddy picture can be removed at a later time by calling the GraphicItemBuddyPictureSetFromFile method with an empty pathname.
For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.