Comments re High resolution replacement for Sleep
#6
(09-14-2025, 03:19 AM)David Roberts Wrote: Thanks, Stuart

I am getting 'Undefined equate' on line #14 - RegOpenKeyEx

Sorry , I used  José's includes which has the equate:
%HKLM = %HKEY_LOCAL_MACHINE

With PB includes, you have to specify the root key in full:
retval = RegOpenKeyEx( %HKEY_LOCAL_MACHINE,"HARDWARE\DESCRIPTION\System\CentralProcessor\0"  ,0,%key_query_value,hkey)   
Reply


Messages In This Thread
RE: Comments re High resolution replacement for Sleep - by Stuart McLachlan - 09-14-2025, 05:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)