DisplayAdapter.FromId(DisplayAdapterId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a DisplayAdapter for the given display adapter ID, if the adapter still exists on the system. This method throws an exception if the specified adapter cannot be found, or if it is no longer present on the system.
public:
static DisplayAdapter ^ FromId(DisplayAdapterId id);
static DisplayAdapter FromId(DisplayAdapterId const& id);
public static DisplayAdapter FromId(DisplayAdapterId id);
function fromId(id)
Public Shared Function FromId (id As DisplayAdapterId) As DisplayAdapter
Parameters
The DisplayAdapterId identifying the display adapter to retrieve. The identifier is a locally unique numeric ID (LUID) value.
Returns
A DisplayAdapter object representing the specified adapter.