Rev 6791 | Rev 6887 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6791 | Rev 6794 | ||
---|---|---|---|
Line 360... | Line 360... | ||
360 | EAX = 71; |
360 | EAX = 71; |
361 | EBX = 1; |
361 | EBX = 1; |
362 | $int 0x40; |
362 | $int 0x40; |
363 | } |
363 | } |
Line 364... | Line 364... | ||
364 | 364 | ||
365 | // @EDX is a procewss id, -1 for self |
365 | // @EDX is a process id, -1 for self |
366 | // @ESI is a new LayerBehaviour |
366 | // @ESI is a new LayerBehaviour |
- | 367 | // @RETURN: EAX, 0 is fail, 1 is success |
|
- | 368 | #define ZPOS_DESKTOP -2 |
|
- | 369 | #define ZPOS_ALWAYS_BACK -1 |
|
367 | // @RETURN: EAX, 0 is fail, 1 is success |
370 | #define ZPOS_NORMAL 0 |
368 | #define WINDOW_LAYER_ALWAYS_ON_TOP 1 |
371 | #define ZPOS_ALWAYS_TOP 1 |
369 | inline fastcall dword SetWindowLayerBehaviour(EDX, ESI) |
372 | inline fastcall dword SetWindowLayerBehaviour(EDX, ESI) |
370 | { |
373 | { |
371 | EAX = 18; |
374 | EAX = 18; |
372 | EBX = 25; |
375 | EBX = 25; |