Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
'*********************************************************************** '* '* WbemSink_OnCompleted '* '***********************************************************************
sub WbemSink_OnCompleted(hResult, pErrorObject, pAsyncContext)
end sub
'*********************************************************************** '* '* WbemSink_OnObjectReady '* '***********************************************************************
sub WbemSink_OnObjectReady(pObject, pAsyncContext)
end sub
Dim Service Dim MyObect
Set Service = GetObject ("Winmgmts:") Set MySink = Wscript.CreateObject ("Wbemscripting.SWbemSink", "WbemSink_") While True 'Set MyObject = Service.GetASync ("win32_Service") Service.GetAsync MySink, "win32_Service" Wend
|