Home
last modified time | relevance | path

Searched refs:hwnd (Results 1 – 25 of 73) 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/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/skia/tools/viewer/sk_app/win/
DVulkanWindowContext_win.cpp21 WindowContext* NewVulkanForWin(HWND hwnd, const DisplayParams& params) { in NewVulkanForWin() argument
22 auto createVkSurface = [hwnd] (VkInstance instance) -> VkSurfaceKHR { in NewVulkanForWin()
37 surfaceCreateInfo.hwnd = hwnd; in NewVulkanForWin()
47 auto canPresent = [hwnd] (VkInstance instance, VkPhysicalDevice physDev, in NewVulkanForWin()
/external/skia/tools/
DiOSShell.cpp25 ShellWindow::ShellWindow(void* hwnd, int argc, char** argv) in ShellWindow() argument
26 : INHERITED(hwnd) { in ShellWindow()
74 SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv);
75 SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv) { in create_sk_window() argument
76 return new ShellWindow(hwnd, argc, argv); in create_sk_window()
/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/mesa3d/src/gallium/state_trackers/wgl/
Dstw_framebuffer.c51 stw_framebuffer_from_hwnd_locked(HWND hwnd) in stw_framebuffer_from_hwnd_locked() argument
56 if (fb->hWnd == hwnd) { in stw_framebuffer_from_hwnd_locked()
222 fb = stw_framebuffer_from_hwnd( pParams->hwnd ); in stw_call_window_proc()
234 fb = stw_framebuffer_from_hwnd_locked( pParams->hwnd ); in stw_call_window_proc()
373 HWND hwnd; in stw_framebuffer_from_hdc_locked() local
375 hwnd = WindowFromDC(hdc); in stw_framebuffer_from_hdc_locked()
376 if (!hwnd) { in stw_framebuffer_from_hdc_locked()
380 return stw_framebuffer_from_hwnd_locked(hwnd); in stw_framebuffer_from_hdc_locked()
409 stw_framebuffer_from_hwnd(HWND hwnd) in stw_framebuffer_from_hwnd() argument
414 fb = stw_framebuffer_from_hwnd_locked(hwnd); in stw_framebuffer_from_hwnd()
/external/libchrome/base/win/
Dscoped_hdc.h21 explicit ScopedGetDC(HWND hwnd) in ScopedGetDC() argument
22 : hwnd_(hwnd), in ScopedGetDC()
23 hdc_(GetDC(hwnd)) { in ScopedGetDC()
/external/vulkan-validation-layers/demos/smoke/
DShellWin32.h39 static LRESULT CALLBACK window_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in window_proc() argument
41 ShellWin32 *shell = reinterpret_cast<ShellWin32 *>(GetWindowLongPtr(hwnd, GWLP_USERDATA)); in window_proc()
45 return DefWindowProc(hwnd, uMsg, wParam, lParam); in window_proc()
/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/skia/example/
DHelloWorld.cpp29 HelloWorldWindow::HelloWorldWindow(void* hwnd) in HelloWorldWindow() argument
30 : INHERITED(hwnd) { in HelloWorldWindow()
167 SkOSWindow* create_sk_window(void* hwnd, int , char** ) { in create_sk_window() argument
168 return new HelloWorldWindow(hwnd); in create_sk_window()
/external/swiftshader/src/OpenGL/libGL/
Dmain.cpp99 static INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in DebuggerWaitDialogProc() argument
107 SetWindowPos(hwnd, HWND_TOP, rect.right / 2, rect.bottom / 2, 0, 0, SWP_NOSIZE); in DebuggerWaitDialogProc()
108 SetTimer(hwnd, 1, 100, NULL); in DebuggerWaitDialogProc()
113 EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
119 EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
/external/skia/experimental/SkV8Example/
DSkV8Example.cpp44 SkV8ExampleWindow::SkV8ExampleWindow(void* hwnd, JsContext* context) in SkV8ExampleWindow() argument
45 : INHERITED(hwnd) in SkV8ExampleWindow()
161 SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv) { in create_sk_window() argument
226 SkV8ExampleWindow* win = new SkV8ExampleWindow(hwnd, jsContext); in create_sk_window()
/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/skia/include/views/
DSkOSWindow_Win.h59 static SkOSWindow* GetOSWindowForHWND(void* hwnd) { in GetOSWindowForHWND() argument
60 SkOSWindow** win = gHwndToOSWindowMap.find(hwnd); in GetOSWindowForHWND()

123