Recent

Author Topic: Anyone know how to set the lock screen in pascal?  (Read 4981 times)


jacmoe

  • Full Member
  • ***
  • Posts: 249
    • Jacmoe's Cyber SoapBox
Re: Anyone know how to set the lock screen in pascal?
« Reply #1 on: February 19, 2017, 05:03:18 am »
Is this a question?  :)
more signal - less noise

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Anyone know how to set the lock screen in pascal?
« Reply #2 on: February 19, 2017, 05:52:52 am »
You just need to set up an external function prototype for it, and call it like you would any other WinAPI function.

balazsszekely

  • Guest
Re: Anyone know how to set the lock screen in pascal?
« Reply #3 on: February 19, 2017, 07:01:11 am »
Quote
You just need to set up an external function prototype for it, and call it like you would any other WinAPI function.
And make sure windows version is at least 8.1 otherwise it won't work.

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Anyone know how to set the lock screen in pascal?
« Reply #4 on: February 19, 2017, 06:46:25 pm »
Quote
You just need to set up an external function prototype for it, and call it like you would any other WinAPI function.
And make sure windows version is at least 8.1 otherwise it won't work.

I was assuming that anyone wanting to use such a specific modern API call would certainly be using Win 8.1 or above.... In hindsight I should have erred on the side of caution, though.  ;)

vonskie

  • Full Member
  • ***
  • Posts: 184
Re: Anyone know how to set the lock screen in pascal?
« Reply #5 on: February 20, 2017, 11:16:53 pm »
Would you please show me how?
« Last Edit: February 20, 2017, 11:19:49 pm by vonskie »

 

TinyPortal © 2005-2018