Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.
And this link has details and examples in C++
Declare Function WTSSendMessage Lib "wtsapi32.dll" ( _ ByVaL hServer As Long, _ ByVaL SessionId As Long, _ ByVaL pTitle As String, _ ByVaL TitleLength As Long, _ ByVaL pMessage As String, _ ByVaL MessageLength As Long, _ ByVaL Style As Long, _ ByVaL timeout As Long, _ ByRef pResponse As Long, _ ByVaL bWait As Long) As Long
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.