Manager.GetDeviceCaps Method
Retrieves information specific to a device.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Syntax
'Declaration
Public Shared Function GetDeviceCaps ( _
adapter As Integer, _
deviceType As DeviceType _
) As Caps
'Usage
Dim adapter As Integer
Dim deviceType As DeviceType
Dim returnValue As Caps
returnValue = Manager.GetDeviceCaps(adapter, deviceType)
public static Caps GetDeviceCaps (
int adapter,
DeviceType deviceType
)
public:
static Caps GetDeviceCaps (
int adapter,
DeviceType deviceType
)
public static Caps GetDeviceCaps (
int adapter,
DeviceType deviceType
)
public static function GetDeviceCaps (
adapter : int,
deviceType : DeviceType
) : Caps
Parameters
- adapter
Ordinal number that denotes the display adapter to query. AdapterListCollection.Default is always the primary display adapter.
- deviceType
Member of the DeviceType enumeration that identifies the device type.
Return Value
A Caps object that contains information that describes the device's capabilities.
Remarks
The application should not assume the persistence of vertex-processing capabilities across Device objects. The particular capabilities that a physical device exposes might depend on parameters supplied to Device. For example, the capabilities might yield different vertex-processing capabilities before and after creating a Device with hardware vertex processing enabled. For more information, see Caps.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Manager Class
Manager Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace