Home
last modified time | relevance | path

Searched refs:hwnd (Results 1 – 25 of 70) sorted by relevance

123

/external/icu/icu4c/source/samples/layout/
Dclayout.c48 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument
54 SetWindowTextA(hwnd, title); in PrettyTitle()
57 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument
73 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph()
79 HWND hwnd; in WinMain() local
104 hwnd = CreateWindow(szAppName, NULL, in WinMain()
110 ShowWindow(hwnd, iCmdShow); in WinMain()
111 UpdateWindow(hwnd); in WinMain()
114 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain()
124 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
[all …]
Dlayout.cpp47 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument
53 SetWindowTextA(hwnd, title); in PrettyTitle()
56 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument
72 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph()
78 HWND hwnd; in WinMain() local
103 hwnd = CreateWindow(szAppName, NULL, in WinMain()
109 ShowWindow(hwnd, iCmdShow); in WinMain()
110 UpdateWindow(hwnd); in WinMain()
113 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain()
123 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
[all …]
/external/libpng/contrib/visupng/
DVisualPng.c53 BOOL LoadImageFile(HWND hwnd, PTSTR pstrPathName,
57 BOOL DisplayImage (HWND hwnd, BYTE **ppDib,
83 HWND hwnd; in WinMain() local
124 hwnd = CreateWindow (szProgName, szAppName, in WinMain()
131 ShowWindow (hwnd, iCmdShow); in WinMain()
132 UpdateWindow (hwnd); in WinMain()
138 if (!TranslateAccelerator (hwnd, hAccel, &msg)) in WinMain()
147 LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, in WndProc() argument
181 PngFileInitialize (hwnd); in WndProc()
199 if (!LoadImageFile (hwnd, szImgPathName, in WndProc()
[all …]
DPngFile.h16 void PngFileInitialize (HWND hwnd) ;
17 BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
18 BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
DPngFile.c50 void PngFileInitialize (HWND hwnd) in PngFileInitialize() argument
56 ofn.hwndOwner = hwnd; in PngFileInitialize()
77 BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) in PngFileOpenDlg() argument
79 ofn.hwndOwner = hwnd; in PngFileOpenDlg()
87 BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) in PngFileSaveDlg() argument
89 ofn.hwndOwner = hwnd; in PngFileSaveDlg()
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c459 static HRESULT (WINAPI *My_SHGetSpecialFolderPath)(HWND hwnd, in GetSpecialFolderPath()
1046 static void create_bitmap(HWND hwnd) in create_bitmap() argument
1058 hdc = GetDC(hwnd); in create_bitmap()
1069 ReleaseDC(hwnd, hdc); in create_bitmap()
1150 WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) in WindowProc() argument
1158 hdc = BeginPaint(hwnd, &ps); in WindowProc()
1168 EndPaint(hwnd, &ps); in WindowProc()
1171 return DefWindowProc(hwnd, msg, wParam, lParam); in WindowProc()
1177 HWND hwnd; in CreateBackground() local
1197 hwnd = CreateWindow("SetupWindowClass", in CreateBackground()
[all …]
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c431 static HRESULT (WINAPI *My_SHGetSpecialFolderPath)(HWND hwnd, in GetSpecialFolderPath()
1002 static void create_bitmap(HWND hwnd) in create_bitmap() argument
1014 hdc = GetDC(hwnd); in create_bitmap()
1025 ReleaseDC(hwnd, hdc); in create_bitmap()
1106 WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) in WindowProc() argument
1114 hdc = BeginPaint(hwnd, &ps); in WindowProc()
1124 EndPaint(hwnd, &ps); in WindowProc()
1127 return DefWindowProc(hwnd, msg, wParam, lParam); in WindowProc()
1133 HWND hwnd; in CreateBackground() local
1153 hwnd = CreateWindow("SetupWindowClass", in CreateBackground()
[all …]
/external/lzma/CPP/7zip/UI/FileManager/
DMyWindowsNew.h58 STDMETHOD(SetProgressValue)(HWND hwnd, ULONGLONG ullCompleted, ULONGLONG ullTotal) = 0;
59 STDMETHOD(SetProgressState)(HWND hwnd, TBPFLAG tbpFlags) = 0;
64 STDMETHOD(ThumbBarAddButtons)(HWND hwnd, UINT cButtons, LPTHUMBBUTTON pButton) = 0;
65 STDMETHOD(ThumbBarUpdateButtons)(HWND hwnd, UINT cButtons, LPTHUMBBUTTON pButton) = 0;
66 STDMETHOD(ThumbBarSetImageList)(HWND hwnd, HIMAGELIST himl) = 0;
67 STDMETHOD(SetOverlayIcon)(HWND hwnd, HICON hIcon, LPCWSTR pszDescription) = 0;
68 STDMETHOD(SetThumbnailTooltip)(HWND hwnd, LPCWSTR pszTip) = 0;
69 STDMETHOD(SetThumbnailClip)(HWND hwnd, RECT *prcClip) = 0;
/external/webrtc/webrtc/modules/desktop_capture/
Dcropping_window_capturer_win.cc41 BOOL CALLBACK TopWindowVerifier(HWND hwnd, LPARAM param) { in TopWindowVerifier() argument
45 if (hwnd == context->selected_window) { in TopWindowVerifier()
51 if (hwnd == context->excluded_window) { in TopWindowVerifier()
56 if (IsIconic(hwnd) || !IsWindowVisible(hwnd)) { in TopWindowVerifier()
63 if (GetAncestor(hwnd, GA_ROOTOWNER) == context->selected_window) { in TopWindowVerifier()
71 GetWindowText(hwnd, window_title, kTitleLength); in TopWindowVerifier()
74 GetWindowThreadProcessId(hwnd, &enumerated_process); in TopWindowVerifier()
86 if (!GetWindowRect(hwnd, &enumerated_rect)) { in TopWindowVerifier()
196 HWND hwnd = reinterpret_cast<HWND>(selected_window()); in GetWindowRectInVirtualScreen() local
197 if (!GetCroppedWindowRect(hwnd, &window_rect, &original_rect)) { in GetWindowRectInVirtualScreen()
Dwindow_capturer_win.cc26 BOOL CALLBACK WindowsEnumerationHandler(HWND hwnd, LPARAM param) { in WindowsEnumerationHandler() argument
32 int len = GetWindowTextLength(hwnd); in WindowsEnumerationHandler()
33 HWND owner = GetWindow(hwnd, GW_OWNER); in WindowsEnumerationHandler()
34 LONG exstyle = GetWindowLong(hwnd, GWL_EXSTYLE); in WindowsEnumerationHandler()
35 if (len == 0 || IsIconic(hwnd) || !IsWindowVisible(hwnd) || in WindowsEnumerationHandler()
43 const int class_name_length = GetClassName(hwnd, class_name, kClassLength); in WindowsEnumerationHandler()
64 window.id = reinterpret_cast<WindowCapturer::WindowId>(hwnd); in WindowsEnumerationHandler()
69 GetWindowText(hwnd, window_title, kTitleLength); in WindowsEnumerationHandler()
/external/webrtc/webrtc/base/
Dwin32windowpicker.cc29 BOOL CALLBACK Win32WindowPicker::EnumProc(HWND hwnd, LPARAM l_param) { in EnumProc() argument
38 int len = GetWindowTextLength(hwnd); in EnumProc()
39 HWND owner = GetWindow(hwnd, GW_OWNER); in EnumProc()
40 LONG exstyle = GetWindowLong(hwnd, GWL_EXSTYLE); in EnumProc()
41 if (len == 0 || IsIconic(hwnd) || !IsWindowVisible(hwnd) || in EnumProc()
54 ::GetClassName(hwnd, class_name_w, 500); in EnumProc()
62 GetWindowText(hwnd, window_title, arraysize(window_title)); in EnumProc()
65 WindowId id(hwnd); in EnumProc()
Dwin32window.cc90 LRESULT Win32Window::WndProc(HWND hwnd, UINT uMsg, in WndProc() argument
93 ::GetWindowLongPtr(hwnd, GWLP_USERDATA)); in WndProc()
97 that->wnd_ = hwnd; in WndProc()
98 ::SetWindowLongPtr(hwnd, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(that)); in WndProc()
104 for (HWND child = ::GetWindow(hwnd, GW_CHILD); child; in WndProc()
110 ::SetWindowLongPtr(hwnd, GWLP_USERDATA, NULL); in WndProc()
118 return ::DefWindowProc(hwnd, uMsg, wParam, lParam); in WndProc()
/external/mesa3d/src/glx/windows/
Dwindowsgl.c96 HWND hwnd = CreateWindowExA(0, in windows_create_context() local
102 HDC hdc = GetDC(hwnd); in windows_create_context()
113 ReleaseDC(hwnd, hdc); in windows_create_context()
114 DestroyWindow(hwnd); in windows_create_context()
157 HWND hwnd = CreateWindowExA(0, in windows_create_context_attribs() local
163 HDC hdc = GetDC(hwnd); in windows_create_context_attribs()
174 ReleaseDC(hwnd, hdc); in windows_create_context_attribs()
175 DestroyWindow(hwnd); in windows_create_context_attribs()
311 HWND hwnd = CreateWindowExA(0, in windows_call_with_context() local
316 if (hwnd) { in windows_call_with_context()
[all …]
/external/swiftshader/src/Vulkan/
Dmain.cpp22 static INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in DebuggerWaitDialogProc() argument
30 SetWindowPos(hwnd, HWND_TOP, rect.right / 2, rect.bottom / 2, 0, 0, SWP_NOSIZE); in DebuggerWaitDialogProc()
31 SetTimer(hwnd, 1, 100, NULL); in DebuggerWaitDialogProc()
36 EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
42 EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/win_text/
Dwindows_user.h50 std::unique_ptr<Type> find(HWND hwnd) { in find() argument
51 … return std::unique_ptr<Type>(reinterpret_cast<Type*>(GetWindowLongPtr(hwnd, GWLP_USERDATA))); in find()
54 void erase(HWND hwnd) { in erase() argument
55 SetWindowLongPtr(hwnd, GWLP_USERDATA, 0); in erase()
59 std::unique_ptr<Type> insert(HWND hwnd, std::unique_ptr<Type> type) { in insert() argument
66 ON_UNWIND(unwind_userdata, [&](){erase(hwnd);}); in insert()
67 … auto result = SetWindowLongPtr(hwnd, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(type.get())); in insert()
/external/webrtc/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_magnifier.h53 typedef BOOL(WINAPI* MagImageScalingCallback)(HWND hwnd,
63 typedef BOOL(WINAPI* MagSetWindowSourceFunc)(HWND hwnd, RECT rect);
64 typedef BOOL(WINAPI* MagSetWindowFilterListFunc)(HWND hwnd,
69 HWND hwnd,
72 static BOOL WINAPI OnMagImageScalingCallback(HWND hwnd,
/external/skia/tools/sk_app/win/
DVulkanWindowContext_win.cpp26 WindowContext* NewVulkanForWin(HWND hwnd, const DisplayParams& params) { in NewVulkanForWin() argument
33 auto createVkSurface = [hwnd, instProc] (VkInstance instance) -> VkSurfaceKHR { in NewVulkanForWin()
48 surfaceCreateInfo.hwnd = hwnd; in NewVulkanForWin()
/external/skqp/tools/sk_app/win/
DVulkanWindowContext_win.cpp26 WindowContext* NewVulkanForWin(HWND hwnd, const DisplayParams& params) { in NewVulkanForWin() argument
33 auto createVkSurface = [hwnd, instProc] (VkInstance instance) -> VkSurfaceKHR { in NewVulkanForWin()
48 surfaceCreateInfo.hwnd = hwnd; in NewVulkanForWin()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_framebuffer.c52 stw_framebuffer_from_hwnd_locked(HWND hwnd) in stw_framebuffer_from_hwnd_locked() argument
57 if (fb->hWnd == hwnd) { in stw_framebuffer_from_hwnd_locked()
223 fb = stw_framebuffer_from_hwnd( pParams->hwnd ); in stw_call_window_proc()
235 fb = stw_framebuffer_from_hwnd_locked( pParams->hwnd ); in stw_call_window_proc()
374 HWND hwnd; in stw_framebuffer_from_hdc_locked() local
376 hwnd = WindowFromDC(hdc); in stw_framebuffer_from_hdc_locked()
377 if (!hwnd) { in stw_framebuffer_from_hdc_locked()
381 return stw_framebuffer_from_hwnd_locked(hwnd); in stw_framebuffer_from_hdc_locked()
410 stw_framebuffer_from_hwnd(HWND hwnd) in stw_framebuffer_from_hwnd() argument
415 fb = stw_framebuffer_from_hwnd_locked(hwnd); in stw_framebuffer_from_hwnd()
/external/swiftshader/src/D3D9/
DD3D9.cpp105 static INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in DebuggerWaitDialogProc() argument
113 SetWindowPos(hwnd, HWND_TOP, rect.right / 2, rect.bottom / 2, 0, 0, SWP_NOSIZE); in DebuggerWaitDialogProc()
114 SetTimer(hwnd, 1, 100, NULL); in DebuggerWaitDialogProc()
119 EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
125 EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
/external/lzma/CPP/7zip/UI/GUI/
DHashGUI.h24 void ShowHashResults(const CPropNameValPairs &propPairs, HWND hwnd);
25 void ShowHashResults(const CHashBundle &hb, HWND hwnd);
/external/lzma/CPP/Windows/
DShell.cpp177 int CALLBACK BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM /* lp */, LPARAM data) in BrowseCallbackProc() argument
184 SendMessage(hwnd, BFFM_SETSELECTION, TRUE, data); in BrowseCallbackProc()
276 int CALLBACK BrowseCallbackProc2(HWND hwnd, UINT uMsg, LPARAM /* lp */, LPARAM data) in BrowseCallbackProc2() argument
282 SendMessageW(hwnd, BFFM_SETSELECTIONW, TRUE, data); in BrowseCallbackProc2()
DCommonDialog.cpp103 bool MyGetOpenFileName(HWND hwnd, LPCWSTR title, in MyGetOpenFileName() argument
127 p.hwndOwner = hwnd; in MyGetOpenFileName()
157 p.hwndOwner = hwnd; in MyGetOpenFileName()
/external/python/cpython3/PC/
Dpyshellext.cpp313 HRESULT NotifyDragWindow(HWND hwnd) { in NotifyDragWindow() argument
316 if (!hwnd) { in NotifyDragWindow()
320 res = SendMessage(hwnd, DDWM_UPDATEWINDOW, 0, NULL); in NotifyDragWindow()
334 HWND hwnd; in DragEnter() local
346 if (FAILED(GetDragWindow(data_obj, &hwnd))) { in DragEnter()
349 if (FAILED(NotifyDragWindow(hwnd))) { in DragEnter()
/external/webrtc/webrtc/examples/peerconnection/client/
Dmain_wnd.cc138 } else if (msg->hwnd == NULL && msg->message == UI_THREAD_CALLBACK) { in PreTranslateMessage()
392 LRESULT CALLBACK MainWnd::WndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) { in WndProc() argument
394 ::GetWindowLongPtr(hwnd, GWLP_USERDATA)); in WndProc()
398 me->wnd_ = hwnd; in WndProc()
399 ::SetWindowLongPtr(hwnd, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(me)); in WndProc()
411 result = ::DefWindowProc(hwnd, msg, wp, lp); in WndProc()
422 result = ::DefWindowProc(hwnd, msg, wp, lp); in WndProc()

123