GetDisplayBlanking
Gets the reference counted display blanking interface of a display.
Syntax
ADLX_RESULT GetDisplayBlanking (IADLXDisplay* pDisplay, IADLXDisplayBlanking ** ppDisplayBlanking)
Parameters
-
[in]
pDisplay IADLXDisplay * The pointer to the display interface. -
[out]
ppDisplayBlanking IADLXDisplayBlanking ** The address of a pointer to the returned interface. If the interface is not successfully returned, the method sets the dereferenced address *ppDisplayBlanking to nullptr.
Return Value
If the interface is successfully returned, ADLX_OK is returned.
If the interface is not successfully returned, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
Remarks
The returned interface must be discarded with Release when it’s no longer needed.
Additional Info
When using ADLX interfaces as smart pointers in C++, it isn’t necessary to call Release as it’s called by smart pointers in the internal implementation.
Requirements
Header |
include “IDisplays1.h” |
Minimum version |
1.1 |