CSPspEmu.Hle.Modules.iofilemgr.IoFileMgrForUser.sceIoDevctl C# (CSharp) Method

sceIoDevctl() private method

private sceIoDevctl ( string DeviceName, uint Command, byte InputPointer, int InputLength, byte OutputPointer, int OutputLength ) : int
DeviceName string
Command uint
InputPointer byte
InputLength int
OutputPointer byte
OutputLength int
return int
        public int sceIoDevctl(string DeviceName, uint Command, byte* InputPointer, int InputLength, byte* OutputPointer, int OutputLength)
        {
            try
            {
                var Info = HleIoManager.ParseDeviceName(DeviceName);
                return Info.HleIoDrvFileArg.HleIoDriver.IoDevctl(Info.HleIoDrvFileArg, DeviceName, Command, InputPointer, InputLength, OutputPointer, OutputLength);
            }
            catch (NotImplementedException NotImplementedException)
            {
                Console.Error.WriteLine(NotImplementedException);
                return -1;
            }
            finally
            {
                _DelayIo(IoDelayType.Devctl);
            }
        }