Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10DeviceChild::GetDevice method

Get a pointer to the device that created this interface.

Syntax


void GetDevice(
  [out] ID3D10Device **ppDevice
);

Parameters

ppDevice [out]

Type: ID3D10Device**

Address of a pointer to a device (see ID3D10Device Interface).

Return value

Returns nothing.

Remarks

Any returned interfaces will have their reference count incremented by one, so be sure to call ::release() on the returned pointer(s) before they are freed or else you will have a memory leak.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10DeviceChild Interface

 

 

Show:
© 2017 Microsoft