Share via


Funzione GetThreadDpiHostingBehavior (winuser.h)

Recupera il DPI_HOSTING_BEHAVIOR dal thread corrente.

Sintassi

DPI_HOSTING_BEHAVIOR GetThreadDpiHostingBehavior();

Valore restituito

DPI_HOSTING_BEHAVIOR del thread corrente.

Commenti

Questa API restituisce il comportamento di hosting impostato da una chiamata precedente di SetThreadDpiHostingBehavior o DPI_HOSTING_BEHAVIOR_DEFAULT se non è stata effettuata alcuna chiamata precedente.

Requisiti

Requisito Valore
Client minimo supportato Windows 10 versione 1803 [solo app desktop]
Server minimo supportato Windows Server 2016 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione Winuser
Libreria User32.lib
DLL User32.dll

Vedi anche

DPI_HOSTING_BEHAVIOR

GetWindowDpiHostingBehavior

SetThreadDpiHostingBehavior