DwmShowContact function (dwmapi.h)
Called by an app or framework to specify the visual feedback type to draw in response to a particular touch or pen contact.
Syntax
HRESULT DwmShowContact(
DWORD dwPointerID,
DWM_SHOWCONTACT eShowContact
);
Parameters
dwPointerID
The pointer ID of the contact. Each touch or pen contact is given a unique ID when it is detected.
eShowContact
Return value
If dwPointerID does not match that of a contact currently present on the screen, this function returns E_INVALIDARG; otherwise, it returns S_OK.
Remarks
It is safe to call this function on the UI thread.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | dwmapi.h |
Library | Dwmapi.lib |
DLL | Dwmapi.dll |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for