void* GetD3DMsgProc()
    It is necessary before InitD3DHWND. You need call it form your Msgproc that you use in the window of InitD3DHWND.

    Result:
    Msgproc pointer of DDDengine.