Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Retrieves the dots per inch (dpi) occupied by a SHELL_UI_COMPONENT based on the current scale factor and PROCESS_DPI_AWARENESS.
Syntax
UINT GetDpiForShellUIComponent(
[in] SHELL_UI_COMPONENT unnamedParam1
);
Parameters
[in] unnamedParam1
The type of shell component.
Return value
The DPI required for an icon of this type.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8.1 [desktop apps only] |
| Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | shellscalingapi.h |
| Library | Shcore.lib |
| DLL | Shcore.dll |