Description

The GetDeviceContext method must return the IDeviceContext object that was passed into the device when the BindToDeviceContext method was called. When a device or extension needs the IDeviceContext instance for another device, it can call this method to retrieve the object.

Note that the Device base class implements this method. If a device derives from this base class, it doesn't need to implement this method, or the BindToDeviceContext method.

Usage

      virtual IDeviceContext* GetDeviceContext() const;
    

Return value

[IDeviceContext*]
The IDeviceContext object associated with the device

See also