BExplorer.Shell.FileOperationDialog.SetClassLong C# (CSharp) Method

SetClassLong() public static method

public static SetClassLong ( IntPtr hWnd, int nIndex, IntPtr dwNewLong ) : IntPtr
hWnd System.IntPtr
nIndex int
dwNewLong System.IntPtr
return System.IntPtr
        public static IntPtr SetClassLong(IntPtr hWnd, int nIndex, IntPtr dwNewLong)
        {
            //check for x64
            if (IntPtr.Size > 4)
                return SetClassLongPtr64(hWnd, nIndex, dwNewLong);
            else
                return new IntPtr(SetClassLongPtr32(hWnd, nIndex, unchecked((uint)dwNewLong.ToInt32())));
        }