5using Microsoft.Xna.Framework.Audio;
30 return (
int)error >= 0;
40 return (
int)error < 0;
52 while (num2 + 4 <= num)
58 return (num3 == 0) ? int.MaxValue : num3;
68 if (dataIndex < 0 || dataIndex > dataLength)
72 if (elementCount + dataIndex > dataLength)
76 if (elementCount <= 0)
112 [SuppressMessage(
"Microsoft.Usage",
"CA2201:DoNotRaiseReservedExceptionTypes")]
113 [SuppressMessage(
"Microsoft.Usage",
"CA2208:InstantiateArgumentExceptionsCorrectly")]
114 [SuppressMessage(
"Microsoft.Maintainability",
"CA1502:AvoidExcessiveComplexity")]
162 return new NoAudioHardwareException();
171 return new NoMicrophoneConnectedException();
187 [SuppressMessage(
"Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode")]
217 if (allowLandscapeLeftAndRight)
static string SelectVariation
static string InvalidTrackIndex
static string XactReadFile
static string WrongTextureFormat
static string InvalidCategory
static string MustBeValidIndex
static string InvalidWaveIndex
static string InvalidEntryCount
static string TooManyOperations
static string WaveBankNotPrepared
static string InvalidUsage
static string InvalidCall
static string InvalidDisplayOrientation
static string InstancePlayFailedDueToLimit
static string InvalidContentVersion
static string ResourceInUse
static string NoAudioPlaybackDevicesFound
static string UnexpectedError
static string InvalidVariableIndex
static string InvalidSoundOffsetOrIndex
static bool Failed(ErrorCodes error)
static unsafe int SmartGetHashCode(object obj)
static bool Succeeded(ErrorCodes error)
static object KeepKernelReturnCode
const int MaximumStringLength
static bool Succeeded(int error)
const int MaxNumberOfSignedInPlayers
static void CheckDisposed(object obj, IntPtr pComPtr)
static void ThrowExceptionFromErrorCode(int error)
static Exception GetExceptionFromResult(uint result)
static void ThrowExceptionFromErrorCode(ErrorCodes error)
static bool IsLandscape(DisplayOrientation orientation)
static void ValidateCopyParameters(int dataLength, int dataIndex, int elementCount)
const int Guide_MessageBox_MaxButtons
static void ValidateOrientation(DisplayOrientation orientation)
static uint GetSizeOf< T >()
static bool Failed(int error)
static void ThrowExceptionFromResult(uint result)
static DisplayOrientation ChooseOrientation(DisplayOrientation orientation, int width, int height, bool allowLandscapeLeftAndRight)
static int SizeOf(object structure)
static readonly IntPtr Zero
unsafe void * ToPointer()
unsafe IntPtr AddrOfPinnedObject()
static GCHandle Alloc(object? value)