SetThreadDpiHostingBehavior function user32
Sets the thread's DPI_HOSTING_BEHAVIOR. This behavior allows windows created in the thread to host child windows with a different DPI_AWARENESS_CONTEXT.
DPI_HOSTING_BEHAVIOR SetThreadDpiHostingBehavior(
DPI_HOSTING_BEHAVIOR value
);
Implementation
int SetThreadDpiHostingBehavior(int value) =>
_SetThreadDpiHostingBehavior(value);