HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2018
0715
¤µ¤«#moduleÆâ¤ÎAPI´Ø¿ô¤Î¥³¥ó¥Ñ¥¤¥ë¥¨¥é¡¼0̤²ò·è


¤µ¤«

¥ê¥ó¥¯

2018/7/15(Sun) 19:04:50|NO.84785

²¼Éô¤Î¥½¡¼¥¹¤ÇGetWindowThreadProcessId¤Î¥³¥ó¥Ñ¥¤¥ë¥¨¥é¡¼¤Ë¤Ê¤ê¤Þ¤¹¡£
°Ê²¼¤Î£³¤Ä¤Î¾õÂÖ¤À¤È¥¨¥é¡¼¤Ë¤Ê¤ê¤Þ¤»¤ó¡£¤³¤ì¤Ã¤ÆÉÔ¶ñ¹ç¤À¤È»×¤¦¤Î¤Ç¤¹¤¬
¸«²ò¤òʹ¤«¤»¤Æ¤¯¤À¤µ¤¤¡£
­¡¥í¡¼¥«¥ë¤Ç¤âGetWindowThreadProcessId¤Î¼Â¹Ô
­¢¥â¥¸¥å¡¼¥ëÆâ¤Çuser32.asÀë¸À¡Ê¤³¤ì¤ÏÌäÂê¤Ê¤·¡Ë
­£¥â¥¸¥å¡¼¥ë¤Î°ÌÃÖ¤òºÇ½é¤Ëµ­ºÜ

¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£


#include "user32.as" ;­£ ;#module ;#deffunc test ; pId = 0: GetWindowThreadProcessId@ hwnd, varptr( pId ) ; mes pId ; return ;#global ;GetWindowThreadProcessId hwnd, varptr( pId ) ;­¡ test stop #module ;#include "user32.as" ;­¢ #deffunc test pId = 0: GetWindowThreadProcessId@ hwnd, varptr( pId ) mes pId return #global



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


ONION software Copyright 1997-2023(c) All rights reserved.