Advertisement
ASP_Volume2 Complete Applications #35367

Freeze a computer!

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

AI

Podsumowanie AI: 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.

Kod źródłowy
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
Oryginalne komentarze (3)
Odzyskane z Wayback Machine