Àññåìáëåð è Win32


Ïðèìåð 3. Îêîííîå ïðèëîæåíèå - ÷àñòü 3


                     pmsg          :dword

 

PROCTYPE      ptSetMenu            stdcall       \

                     hWnd          :dword,       \

                     hMenu         :dword

 

PROCTYPE      ptPostQuitMessage    stdcall       \

                     nExitCode     :dword

 

PROCTYPE      ptDefWindowProc            stdcall       \

                     hWnd          :dword,       \

                     Msg           :dword,       \

                     wParam        :dword,       \

                     lParam        :dword

 

PROCTYPE      ptSendMessage        stdcall       \

                     hWnd          :dword,       \

                     Msg           :dword,       \

                     wParam        :dword,       \

                     lParam        :dword

 

PROCTYPE      ptMessageBox         stdcall       \

                     hWnd          :dword,       \

                     lpText        :dword,       \

                     lpCaption     :dword,       \

                     uType         :dword

 

PROCTYPE      ptExitProcess        stdcall       \

                     exitCode      :dword

 

extrn         GetModuleHandleA     :ptGetModuleHandle

extrn         LoadIconA            :ptLoadIcon

extrn         LoadCursorA          :ptLoadCursor

extrn         RegisterClassExA     :ptRegisterClassEx

extrn         LoadMenuA            :ptLoadMenu

extrn         CreateWindowExA            :ptCreateWindowEx

extrn         ShowWindow           :ptShowWindow

extrn         UpdateWindow         :ptUpdateWindow

extrn         GetMessageA          :ptGetMessage

extrn         TranslateMessage     :ptTranslateMessage

extrn         DispatchMessageA     :ptDispatchMessage

extrn         SetMenu                    :ptSetMenu

extrn         PostQuitMessage            :ptPostQuitMessage

extrn         DefWindowProcA             :ptDefWindowProc

extrn         SendMessageA         :ptSendMessage

extrn         MessageBoxA          :ptMessageBox




Íà÷àëî  Íàçàä  Âïåðåä