Lines Matching refs:part

251 	IPPART_INFO* part = &infoPtr->Part[i];  in IPADDRESS_Create()  local
253 part->LowerLimit = 0; in IPADDRESS_Create()
254 part->UpperLimit = 255; in IPADDRESS_Create()
257 part->EditHwnd = in IPADDRESS_Create()
262 SendMessageW(part->EditHwnd, WM_SETFONT, (WPARAM) hFont, FALSE); in IPADDRESS_Create()
263 SetPropW(part->EditHwnd, IP_SUBCLASS_PROP, hwnd); in IPADDRESS_Create()
264 part->OrigProc = (WNDPROC) in IPADDRESS_Create()
265 SetWindowLongPtrW (part->EditHwnd, GWLP_WNDPROC, in IPADDRESS_Create()
267 EnableWindow(part->EditHwnd, infoPtr->Enabled); in IPADDRESS_Create()
283 IPPART_INFO* part = &infoPtr->Part[i]; in IPADDRESS_Destroy() local
284 SetWindowLongPtrW (part->EditHwnd, GWLP_WNDPROC, (DWORD_PTR)part->OrigProc); in IPADDRESS_Destroy()
390 const IPPART_INFO* part = &infoPtr->Part[i]; in IPADDRESS_SetAddress() local
392 if ( (value >= part->LowerLimit) && (value <= part->UpperLimit) ) { in IPADDRESS_SetAddress()
394 SetWindowTextW (part->EditHwnd, buf); in IPADDRESS_SetAddress()
417 const IPPART_INFO *part; in IPADDRESS_ConstrainField() local
425 part = &infoPtr->Part[currentfield]; in IPADDRESS_ConstrainField()
426 if (!GetWindowTextW (part->EditHwnd, field, 4)) return FALSE; in IPADDRESS_ConstrainField()
434 if (newValue < part->LowerLimit) newValue = part->LowerLimit; in IPADDRESS_ConstrainField()
435 if (newValue > part->UpperLimit) newValue = part->UpperLimit; in IPADDRESS_ConstrainField()
441 return SetWindowTextW (part->EditHwnd, field); in IPADDRESS_ConstrainField()
512 IPPART_INFO *part; in IPADDRESS_SubclassProc() local
517 part = &infoPtr->Part[index]; in IPADDRESS_SubclassProc()
528 int return_val = CallWindowProcW (part->OrigProc, hwnd, uMsg, wParam, lParam); in IPADDRESS_SubclassProc()
584 return CallWindowProcW (part->OrigProc, hwnd, uMsg, wParam, lParam); in IPADDRESS_SubclassProc()