Change Brightness using WMI
问题 I have tried this Windows example Getting WMI Data from a Remote Computer and this other Calling a Provider Method, and both work correctly in my computer. However I have tried to use WMI to change the brightness and I am getting an error on step 6, in this part: //Get the Next Object from the collection hres = pEnum->Next(WBEM_INFINITE, //Timeout 1, //No of objects requested &pObj, //Returned Object &ulReturned /*No of object returned*/); pEnum is a negative value. IMPORTANT: While I was