Use the directx function (D3DXCreateTextureFromFileInMemory) to generate a texture of your memory (bytes) and then generate the new bitmap struct info yourself, no engine function is needed to do this tongue