Compartir a través de


ResultCode Enumeration

Defines resource types.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Enumeration ResultCode
'Usage
Dim instance As ResultCode
public enum ResultCode
public enum class ResultCode
public enum ResultCode
public enum ResultCode

Members

  Member name Description
Supported by the .NET Compact Framework AlreadyLocked The device is already locked. 
Supported by the .NET Compact Framework ConflictingRenderState The render state is incompatible. 
Supported by the .NET Compact Framework ConflictingTextureFilter Current texture filters cannot be used together. 
Supported by the .NET Compact Framework ConflictingTexturePalette Current texture palettes cannot be used together. 
Supported by the .NET Compact Framework DeviceLost Device has been lost but cannot be reset at this time. Therefore, rendering is not possible. 
Supported by the .NET Compact Framework DeviceNotReset Device does not support the queried technique. 
Supported by the .NET Compact Framework DriverInternalError A driver internal error has occurred. 
Supported by the .NET Compact Framework DriverInvalidCall An invalid call has been detected by the driver 
Supported by the .NET Compact Framework DriverUnsupported The driver is unsupported. 
Supported by the .NET Compact Framework GenericFailure General failure. 
Supported by the .NET Compact Framework InvalidCall Method call is invalid; for example, a method's parameter might not be a valid pointer. 
Supported by the .NET Compact Framework InvalidDevice Requested device type is not valid. 
Supported by the .NET Compact Framework MemoryPoolEmpty The specified memory pool is empty. 
Supported by the .NET Compact Framework MoreData Buffer passed into a routine does not contain a sufficient number of elements to complete the operation. 
Supported by the .NET Compact Framework NotAvailable Requested format is not available. 
Supported by the .NET Compact Framework NotFound A search routine has failed to return the element or elements. 
Supported by the .NET Compact Framework Success Operation was successful. 
Supported by the .NET Compact Framework TooManyOperations Application is requesting more texture-filtering operations than the device supports. 
Supported by the .NET Compact Framework UnsupportedAlphaArgument Device does not support a specified texture-blending argument for the alpha channel. 
Supported by the .NET Compact Framework UnsupportedAlphaOperation Device does not support a specified texture-blending operation for the alpha channel. 
Supported by the .NET Compact Framework UnsupportedColorArgument Device does not support a specified texture-blending argument for color values. 
Supported by the .NET Compact Framework UnsupportedColorOperation Device does not support a specified texture-blending operation for color values. 
Supported by the .NET Compact Framework UnsupportedFactorValue Device does not support the specified texture factor value. 
Supported by the .NET Compact Framework UnsupportedTextureFilter Device does not support the specified texture filter. 
Supported by the .NET Compact Framework WrongTextureFormat Pixel format of the texture surface is not valid. 

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming