InvalidCall -2005530516 Method call is invalid; for example, a method's parameter might not be a valid pointer.
有不识别的参数。
我的就是把 fullscreen变成false就好了。
另外:
一般dx的错误
Member Value Description
InvalidCall -2005530516 Method call is invalid; for example, a method's parameter might not be a valid pointer.
InvalidDevice -2005530517 Requested device type is not valid.
NotAvailable -2005530518 Device does not support the queried technique.
DeviceNotReset -2005530519 Device has been lost but can be reset at this time.
DeviceLost -2005530520 Device has been lost but cannot be reset at this time. Therefore, rendering is not possible.
UnsupportedTextureFilter -2005530590 Device does not support the specified texture filter.
UnsupportedFactorValue -2005530593 Device does not support the specified texture factor value.
ConflictingTextureFilter -2005530594 Current texture filters cannot be used together.
TooManyOperations -2005530595 Application is requesting more texture-filtering operations than the device supports.
UnsupportedAlphaArgument -2005530596 Device does not support a specified texture-blending argument for the alpha channel.
UnsupportedAlphaOperation -2005530597 Device does not support a specified texture-blending operation for the alpha channel.
UnsupportedColorArgument -2005530598 Device does not support a specified texture-blending argument for color values.
UnsupportedColorOperation -2005530599 Device does not support a specified texture-blending operation for color values.
WrongTextureFormat -2005530600 Pixel format of the texture surface is not valid.
Success 0 Operation was successful.