BBS水木清华站∶精华区

发信人: Dreammy (梦儿), 信区: CompExpress 
标  题: 原来如彼Windows Browser 
日  期: Mon Sep 16 17:58:28 1996 
 
This document contains two parts: 
 
        1) About Windows Browser itself. 
 
        2) How to use its browser. 
 
        3) How to use its Function Caller 
 
        This is SHARE ware.This means you can copy it as much as you 
can to your friends provided that itself not being modified 
in any way plus that it not being used for commercial purporses. 
        Windows Browser V1.20b contains 
WINBRS.EXE,README.TXT,WINBRS.HLP.Without any of the three ,it will not work 
well.         This software is mainly designed for being used in Windows 3.1 
enviorment,it can also being used in Windows95 and NT but 
has poor performance because it is coded of 16bit. 
 
         -----****Windows Browser 1.20b****---- 
 
1.Some informaton about WindowsBrowser V1.20b 
 
          Windows Browser V1.20b is mainly planned to be a integrated 
tool to detect many internal informations and memory status and 
to edit memory . It is first a browser.You can use it to 
know detailed information about windows global heaps(also local) 
TaskDBs,ModuleDBs ,Classes,Window Handles(like WinSight of Borland) 
Windows messages and so on.Secondly it is a memory browser.You can 
dump memory with a Selector of DPL 3 or you can dump memory of special 
type such as a Module DataBase.What's more ,it has a very convenient 
memory editor .This editor supports ASCII edit and HEX edit(with 
TAB as switcher). Thirdly it is a FUNCTION CALLER.You can enter 
any windows api and parametres through a console it provide(by the 
way,the Console is wonderful,just like FoxPro's command window), 
it will dynamically call the API . Theoretically,you can call any 
exported functions of any DLLs if you know how to . Unlike some 
other function callers(such as Andrew Schulman's),it support struct 
as parameter which makes it suitable for almost all APIs. 
 
2.  How to use its browser? 
 
        As noted above,WinBrowser(WB)has a FoxPro-like  console.This console 
is served as a command window receiving user's command.Also ,menus 
is an alternative method.Below are the browsing commands: 
( '*' means  that it is also available through menu selection ). 
 
        类似于FOXPRO的命令窗口,可接收如下命令: 
      1) GH                       :Global heap WALK 
 
        Uasge:GH  (*) 
           or:GH       PROGMAN      ;List all global blocks alloced by 
                                      progman.exe 
           or:GH       117          ;Get detailed info about a Global block 
                                       with handle 117 
           or:GH       FREE         ;Free blocks WALK 
           or:GH       LRU          ;LRU(Least Recently Used) WALK 
 
        Double Click                : Edit the global object 
 
        2) MODULE                   :Module DataBase WALK 
 
        Usage:MODULE (*) 
                   or:MODULE     47f    ;DUMP ModuleDB 47f(Same as d 47f:0) 
 
        Double click            :DUMP ModuleDB 
 
        3) TASK                     :TaskDB WALK 
 
        Usage:TASK   (*) 
           or:TASK e77              ;perform a STACK TRACE on task e77 
     Single click                :Stack trace 
 
        Double click                :Task management(same as TMAN command) 
 
        4) HWND                     :Window handle WALK 
 
        Usage:HWND     (*) 
        or:HWND BCW             :List all windows with same module handle as 
                                        BCW 
        or:HWND 405c            :Explore detailed info about hwnd 405c 
 
        Single Click            :Detailed info about this window 
 
 
        5) WMSG                     :List all documented windows messages 
 
        Usage:WMSG     (* 
 
        6) LH                       :Local heap WALK 
 
        Usage:LH  32f  (*)          :WALK the local heap of DGroup 32f. 
                                                                             
颼                                      Provided that 32f is a Droup 
          7) MMI                      :memory manager info 
 
        Usage:MMI 
 
        8) TCT                      :Tick count of all virtual machines 
 
        Usage:TCT 
 
        9) HWNDL                    :List the window handles of specified leve. 
�鯼� 
 
        Usage:HWNDL 1         :List children of desktop(level cannot be 0) 
 
        Double click( Must be 'HWNDL 1') :Hwnd management 
                ;Restore button: Restore the window 
                ;Close   button: Send it a close message 
 
        10) SR                  :System resources info 
 
        Usage:SR       (*) 
 
        11) D                   :Dump memory 
 
        Usage:D 40:0   (*)          ;Dump 40:0 in current mode 
       12) DB                  :Dump memory in BYTE 
 
        Usage:DB 40:0  (*) 
 
        13) DD                  :Dump memory in DWORD 
 
        Usage:DD 40:0  (*) 
 
        14) DW                  :Dump memory in WORD 
 
        Usage:DW 40:0  (*) 
 
        15) E                   :Edit memory 
 
        Usage:E 11f    (*)  ;Edit memory block with selector 11f 
                            ;  While editting ,you can press F2 to goto 
                            ;  new address .TAB to switch between ASCII 
                            ;  edit and HEX Edit ,F3 to Update contents 
                            ;  F4 to discard changes,F5 to search(in Chars 
                            ;  or bytes) 
        16) VER                 : About Windows BrowserV1.15 
 
        Usage:VER      (*)        17) HELP                :Pop out this  
document 
        Usage:HELP     (*) 
           or:H 
           or:? 
       18) API                 :Pop up help on Function caller 
        Usage:API      (*) 
 
       19) X                   :Show minimized 
       Usage:X 
 
       20) EXIT                :Exit the program 
 
       Usage:Exit     (*) 
 
       21) TMAN                :Task management 
       Usage:TMAN 45f       ;manage Task 45f 
                            ;  Terminate button:Terminate the task and 
                            ;unhook any HOOKFUNCTIONS 
                            ;  Switch    button:Switch to a sleeping task 
       22) WMUN                :List messages undocumented in 3.1 SDK 
       Usage:WMUN     (*) 
 
3.   Function Caller 
     As noted above,WinBrowser(WB)has a FoxPro-like  console.This console 
     is served as a command window receiving user's command.Functions must 
     be directly entered through keyboard.Following is examples: 
 
        1) USER MessageBox 401c $Hello@world~newline $ok MB_OK 
 
            多模块的参数化选择 
        2) GetCurrentTask %x 
 
                        ; %x: return in hex form(WORD) 
                        ; %c: return in charactor 
                        ; %f: return in floating point 
                        ; %p: return in far pointer 
                        ; %o: return in oct number 
                        ; %d: return in dec number 
                        ; %u: return in unsigend decimal 
            多种返回值格式 
        3) GetWindowText 401c $ 20 
 
           支持串操作。 
        4) GetOpenFileName @ 
 
                     If a struct had been assigned before in proper form, 
                        the famous OpenFile dialog will appear 
           新功能:支持结构体作为参数噢 
 
   This software is developed by Donald Dai and Dreammy Zhang 
   in the summer of 1996. 
         (C)Copyright 1996. 
 
         All rights reserved. 
 
   TelNet to 166.111.1.11 Dreammy 
          or 166.111.1.11 Xentar 
 
        E_Mail: Dreammy.bbs@captain.net.tsinghua.edu.cn 
 
        Xentar.bbs@captain.net.tsinghua.edu.cn 
 
 
   Already uploaded to ftp.tsinghua.edu.cn   /pub/incoming 
 
        in Name WINBRS.ZIP 
 
                ----****The End****----  

BBS水木清华站∶精华区