Advertisement
2002ASP Complete Applications #1736

Freeze a computer!

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

AI

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.

ソースコード
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
オリジナルのコメント (3)
Wayback Machineから復元