Skip to content

GetDisplayBlanking

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayServices1

Syntax

ADLX_RESULT    GetDisplayBlanking (IADLXDisplay* pDisplay, IADLXDisplayBlanking** ppDisplayBlanking)

Parameters

#DirectionNameTypeDescription
1.[in]pDisplayIADLXDisplayThe pointer to the display interface.
#DirectionNameTypeDescription
---------------
2.[out]ppDisplayBlankingIADLXDisplayBlankingThe 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

Headerinclude “IDisplays1.h”
Minimum version1.1

See Also: IADLXDisplay, IADLXDisplayBlanking, Release