/// <summary>To be documented.</summary>
        public readonly int GetDisplayMode(ref Displaymode pMode)
        {
            var @this = (IDirect3DSwapChain9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(Displaymode *pModePtr = &pMode)
            {
                ret = ((delegate * unmanaged[Cdecl] < IDirect3DSwapChain9 *, Displaymode *, int >)LpVtbl[7])(@this, pModePtr);
            }

            return(ret);
        }
Пример #2
0
        /// <summary>To be documented.</summary>
        public readonly int EnumAdapterModes(uint Adapter, Format Format, uint Mode, ref Displaymode pMode)
        {
            var @this = (IDirect3D9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(Displaymode *pModePtr = &pMode)
            {
                ret = ((delegate * unmanaged[Cdecl] < IDirect3D9 *, uint, Format, uint, Displaymode *, int >)LpVtbl[7])(@this, Adapter, Format, Mode, pModePtr);
            }

            return(ret);
        }