Intune 을 통해 exe 파일을 배포하였으나 0x87D30067 에러가 발생합니다.
intunewin 파일 타입으로 변경하여 배포를 하였으나 0x87D30067 에러가 발생하여 문의 드립니다. 제 생각에는 설치 명령, 제거 명령 쪽에서 오류가 발생한것 같은데요 우선 제거 명령을 어떻게 설치해야할지 몰라서 아무 값이나 입력했습니다.
HeapReAlloc behavior for different heaps
The behavior below is tested in Visual Studio 2022. Calling HeapReAlloc on a private heap without changing the block size results in a no-op (as one would expect) HANDLE heap = HeapCreate(0, 0, 65536); void *p = HeapAlloc(heap, 0,…
Why do the Text Metrics change in Print Preview?
I am working on an old C++ WIN32 application using mfc in VS2022. The application generates a complex report that can be displayed or printed. In order to calculate where the page breaks will be in the printed version, the Draw() function is called from…
Doubts about the window of "program manager"
LRESULT CALLBACK WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch(uMsg) { case WM_DESTROY: SetParent(hProgman, NULL); UpdateWindow(hProgman); UpdateWindow(hDefView); …
C++ screenshot using DXGI DuplicateOutput of screen is missing Game Bar drawn areas
It seems that the DXGI DuplicateOutput API fails to capture the Windows Game Bar drawn area. Similarly, none of the Game Bar widgets are included in captured screenshots. Why is this happening? Isn't DuplicateOutput supposed to cover all visible area on…
Windows 10 declare COM port "access denied"
Two existing EXEs, one written in C++ and Windows SDK, one written in C# and .NET 4.5.1, suddenly cannot open COM ports, "access denied". HyperTrm.exe has no problem opening the same ports that both EXE cannot open. Some recent update for…
MFTranscodeContainerType_AVI not creating index...
We're trying to move away from AVIFile, so that everything goes through the Windows Media Foundation apis. It looks like there is now a "MFTranscodeContainerType_AVI" container and I can add frames to it perfectly - writes out a big raw avi, as…
How can I know which window emits the Compositor tick event?
I have a program that can open multiple windows, and currently, I use DCompositionWaitForCompositorClock to achieve vertical sync refresh rate. However, how can I make multiple windows synchronize at different refresh rates on different monitors? For…
How download youtube videos by WinINet?
Hi I have code in Win32/ATL that can download files very well by Wininet api, but youtube url is not just simple file link! How can I download them like youtube downloaders? Thanks
AttachThreadInput in the callback of SetWindowsHookExA makes Microsoft Pinyin IME buggy when typing fast.
When I use AttachThreadInput in the callback of SetWindowsHookExA, and use Microsoft Pinyin IME in Chinese mode, and typing really fast, the IME turns buggy. Minimal reproduction code (in rust, minified from [rdev]): #[cfg(test)] mod tests { use…
Bluetooth LE - Programmatically determine if a peripheral has lost its side of the bond keys
A common scenario in Bluetooth LE is for one side of a bonded pair of devices to lose their side of previously exchanged bond keys. The Bluetooth LE spec states that the peripheral shall send a LL_REJECT_EXT_IND with error code 6, "PIN or Key…
RichEdit's text not visible when window first pops up.
#include <Windows.h> #include <Richedit.h> HWND hwnd; HWND hwnd_richedit_panel; HWND richEdit; WNDPROC oldStaticProc; HWND hwnd_green_panel; WNDPROC oldGreenProc; int WINAPI WinMain(HINSTANCE, HINSTANCE, PSTR, int); LRESULT CALLBACK…
How to draw a border and background color to the limits of a window?
#include <Windows.h> #include <Richedit.h> HWND hwnd; HWND panel; HWND richEdit; WNDPROC oldStaticProc; int WINAPI WinMain(HINSTANCE, HINSTANCE, PSTR, int); LRESULT CALLBACK WindowProcedure(HWND hwnd, UINT msg, WPARAM wParam, LPARAM…
Clarification on the nFlags Parameter Default Value for PrintWindow Function
Hello Community, I am currently working with the PrintWindow function for a Windows desktop application test and I came across a question regarding the nFlags parameter. I understand that this parameter can be used with the PW_CLIENTONLY flag to capture…
Would a one-shot timer cause a memory leak?
I created a timer queue, then created some one-shot timer using the below code: CreateTimerQueueTimer( &mut handle, self.timer_queue, Some(timer_runner), Some(ptr as _), duration.as_millis() as u32, 0, WT_EXECUTEONLYONCE, ) I have searched…
`FormatMessage()` fails with specific system locales
On systems where the regional and language settings are derived from a common base language, e.g. English (Australia) from English (United Kingdom) or English (United States), the following call to the Windows API FormatMessageW() or FormatMessageA() to…
Is there a way to put HTML files on the screen without building them in WinUI3?
Hello, In the winUI3 project, The code I posted below is currently my project code. As you can see from the code I wrote, I tried to create an html inside the project and use webView 2 to organize the screen with the local path of the project. …
Does the `PrintWindow` function's behavior depend on the calling process's DPI awareness?
Hello, everyone! I am a student learning Windows programming using Python and the ctypes library. I have a question regarding the behavior of the PrintWindow function in relation to DPI awareness. I am currently working on a project that involves…
compositor clock api question
Waiting on the compositor clock is done by a call to DCompositionWaitForCompositorClock(), which looks like it is probably a wrapper around something like WaitForMultipleObjects() and some compositor event object(s). Wouldn't it have been better to…
How can the loading speed of WebView2 be increased?
In the official WebView2 example, WebView2APISample, added code to debug output the time interval from the beginning of page loading to the completion of loading. Loading the following two websites takes more than 10 seconds each, and the debug output…