void GetBorders(handle) HWND handle PREINIT: int aBorders [3]; PPCODE: if(SendMessage(handle, SB_GETBORDERS, (WPARAM) 0, (LPARAM) aBorders) == TRUE) { EXTEND(SP,3); XST_mIV(0,aBorders[0]); XST_mIV(1,aBorders[1]); XST_mIV(2,aBorders[2]); XSRETURN(3); } else { XSRETURN_UNDEF; }