Advertisement
4_2005-2006 Complete Applications #151949

Freeze a computer!

Ever want to freeze a computer? Well, here is some code to do it. It manipulates the API 'setparent'

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Public Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
function freeze_computer(frm as form)
 call SetParent(frm.hwnd, frm.hwnd)
end function
Original Comments (3)
Recovered from Wayback Machine