got similar question here.
In MFC SDI, how to display
content of a 10 bit BYTE* iData Buffer
(1024*512) on screen?.