# 80×86 Architecture: Windows 16 bits DLL

Assembler code

```
cseg07:039A                 add     sp, 8
cseg07:039D
cseg07:039D loc_80E_39D:                            ; CODE XREF: @BMPCAPWN@0WMCREATE$QM8TMESSAGE+8D↑j
cseg07:039D                 les     bx, [bp+arg_2]
cseg07:03A0                 les     bx, es:[bx+5Ch]
cseg07:03A4                 push    word ptr es:[bx+0Ah] ; HWND
cseg07:03A8                 push    ss
cseg07:03A9                 lea     ax, [bp+LPCSTR]
cseg07:03AC                 push    ax              ; LPSTR
cseg07:03AD                 mov     ax, 50h ; 'P'
cseg07:03B0                 push    ax              ; int
cseg07:03B1                 call    GETWINDOWTEXT
cseg07:03B6                 les     bx, [bp+arg_2]
cseg07:03B9                 push    word ptr es:[bx+0Ah] ; HWND
cseg07:03BD                 push    ss
cseg07:03BE                 lea     ax, [bp+LPCSTR]
cseg07:03C1                 push    ax              ; LPCSTR
cseg07:03C2                 call    SETWINDOWTEXT
cseg07:03C7                 push    ss
cseg07:03C8                 lea     ax, [bp+var_12]
cseg07:03CB                 push    ax
cseg07:03CC                 call    sub_240_AEA
cseg07:03D1                 add     sp, 4
cseg07:03D4                 les     bx, [bp+arg_2]
cseg07:03D7                 les     bx, es:[bx+5Ch]
cseg07:03DB                 cmp     word ptr es:[bx+0Ah], 0
cseg07:03E0                 jz      short loc_80E_3FA
cseg07:03E2                 les     bx, [bp+arg_2]
cseg07:03E5                 les     bx, es:[bx+5Ch]
cseg07:03E9                 push    word ptr es:[bx+0Ah]
cseg07:03ED                 push    ss
cseg07:03EE                 lea     ax, [bp+var_12]
cseg07:03F1                 push    ax
cseg07:03F2                 nop
cseg07:03F3                 push    cs

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hex-rays.com/9.0/user-guide/disassembler/disassembly-gallery/80-86-architecture-windows-16-bits-dll.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
