ResizeCallback
fOutput->SetResizeCallback(&ResizeCallback, this);
static void ResizeCallback(int32 width, int32 height, void *data);