id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
go_runtime/win_103_0.txt | func UnregisterHotKey(hwnd, id [uintptr](/builtin#uintptr)) ([bool](/builtin#bool), [error](/builtin#error)) | |
go_runtime/nfwinuserpeekmessage_40_0.txt | **PM_REMOVE** | |
go_runtime/go_runtime_50_1.txt | use [uint64](/builtin#uint64)
// HeapReleased is bytes of physical memory returned to the OS.
//
// This counts heap memory from idle spans that was returned
// to the OS and has not yet been reacquired for the heap.
HeapReleased [uint64](/builtin#uint64)
// HeapObjects is the nu... | |
go_runtime/win_60_0.txt | *  Tagged version  | |
go_runtime/nfwinuserpeekmessage_46_0.txt | Combine this value with either **PM_NOREMOVE** or **PM_REMOVE** . | |
go_runtime/googlevignette_51_0.txt | Will keep us in the program until we exit the application. If we just have
this: | |
go_runtime/nfwinuserpeekmessage_37_0.txt | **PM_NOREMOVE** | |
go_runtime/googlevignette_7_0.txt | ### | |
go_runtime/go_runtime_61_0.txt | #### func (*TypeAssertionError) [ RuntimeError
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/error.go;l=28) ¶
func (*TypeAssertionError) RuntimeError()
##  Source Files
¶
[ View all Source files
](https://cs.opensource.google/go... | |
go_runtime/win_13_0.txt | * [ Standard library ](https://pkg.go.dev/std) | |
go_runtime/win_7_0.txt | * [ Security Policy ](https://go.dev/security/policy/) | |
go_runtime/googlevignette_59_0.txt |  Mar 18, 2011 at 1:00am UTC | |
go_runtime/win_40_0.txt | 1. [ Discover Packages ](/)
2. [ golang.design/x/hotkey ](/golang.design/x/hotkey)
3. [ internal ](/golang.design/x/hotkey/internal)
4. [ win ](/golang.design/x/hotkey@v0.4.1/internal/win)  | |
go_runtime/win_9_0.txt | * [ Learn ](https://go.dev/learn/)
* Docs 
* [ Effective Go ](https://go.dev/doc/effective_go) | |
go_runtime/go_runtime_26_1.txt | to fail because it is writing to a closed
file descriptor (or, worse, to an entirely different file descriptor opened by
a different goroutine). To avoid this problem, call KeepAlive(p) after the
call to syscall.Write.
A single goroutine runs all finalizers for a program, sequentially. If a
finalizer must run for a l... | |
go_runtime/nfwinuserpeekmessage_74_0.txt | This API does not participate in DPI virtualization. The output is in the mode
of the window that the message is targeting. The calling thread is not taken
into consideration. | |
go_runtime/go_runtime_59_0.txt | #### type [ TypeAssertionError
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/error.go;l=21) ¶
type TypeAssertionError struct {
// contains filtered or unexported fields
}
A TypeAssertionError explains a failed type assertion.
| |
go_runtime/win_85_0.txt | GetMessage retrieves a message from the calling thread's message queue. The
function dispatches incoming sent messages until a posted message is available
for retrieval. | |
go_runtime/win_128_0.txt | Close | |
go_runtime/googlevignette_37_0.txt |  Mar 18, 2011 at 12:48am UTC | |
go_runtime/go_runtime_61_2.txt | s.go ](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/mpallocbits.go "mpallocbits.go")
* [ mprof.go ](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/mprof.go "mprof.go")
* [ mranges.go ](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/mranges.go "mranges.go")
* [ msan0.go ](https:/... | |
go_runtime/googlevignette_128_0.txt | return msg.wParam; | |
go_runtime/win_114_0.txt | Click to hide internal directories. | |
go_runtime/go_runtime_41_0.txt | #### type [ Func
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/symtab.go;l=281) ¶
type Func struct {
// contains filtered or unexported fields
}
A Func represents a Go function in the running binary.
| |
go_runtime/win_74_0.txt | ### Index ¶ | |
go_runtime/nfwinuserpeekmessage_30_0.txt | Type: **UINT** | |
go_runtime/googlevignette_157_0.txt | Topic archived. No new replies allowed. | |
go_runtime/googlevignette_80_0.txt | If the program has already received WM_QUIT will the GameEnd() actually get
called? Because when WM_QUIT is received isnt the program immediately closed? | |
go_runtime/win_69_0.txt | Jump to ... | |
go_runtime/win_83_0.txt | #### func [ GetMessage ](https://github.com/golang-
design/hotkey/blob/v0.4.1/internal/win/hotkey.go#L83) ¶ | |
go_runtime/go_runtime_10_0.txt | #### func [ GOROOT
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/extern.go;l=333) ¶
func GOROOT() [string](/builtin#string)
GOROOT returns the root of the Go tree. It uses the GOROOT environment
variable, if set at process start, or else the root used during the Go build.
| |
go_runtime/go_runtime_46_0.txt | #### type [ MemProfileRecord
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/mprof.go;l=839) ¶
type MemProfileRecord struct {
AllocBytes, FreeBytes [int64](/builtin#int64) // number of bytes allocated, freed
AllocObjects, FreeObjects [int64](/builtin#int64) // numbe... | |
go_runtime/nfwinuserpeekmessage_69_0.txt | * Sent messages
* Posted messages
* Input (hardware) messages and system internal events
* Sent messages (again)
* [ WM_PAINT ](/en-us/windows/desktop/gdi/wm-paint) messages
* [ WM_TIMER ](/en-us/windows/desktop/winmsg/wm-timer) messages | |
go_runtime/showthreadphp635431R_3_0.txt | VBForums - Visual Basic and VB .NET Discussions and More!
Forum
New PostsFAQCalendarForum ActionsQuick Links
What's New?
Advertiser Disclosure
Submit
Advanced Search
HomeVBForumsVisual BasicAPI[RESOLVED] RegisterHotkey API
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may hav... | |
go_runtime/nfwinuserpeekmessage_86_0.txt | [ Messages and Message Queues ](/en-us/windows/desktop/winmsg/messages-and-
message-queues) | |
go_runtime/go_runtime_18_0.txt | #### func [ NumCPU
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/debug.go;l=42) ¶
func NumCPU() [int](/builtin#int)
NumCPU returns the number of logical CPUs usable by the current process.
The set of available CPUs is checked by querying the operating system at
process startup. Changes t... | |
go_runtime/googlevignette_95_0.txt |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49 | |
go_runtime/go_runtime_51_0.txt | #### type [ PanicNilError
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/panic.go;l=704) ¶
added in go1.21.0
type PanicNilError struct {
// contains filtered or unexported fields
}
A PanicNilError happens when code calls panic(nil).
Before Go 1.21, programs that called panic(nil... | |
go_runtime/win_99_0.txt | func SendMessage(hwnd [uintptr](/builtin#uintptr), msg [uint32](/builtin#uint32), wParam, lParam [uintptr](/builtin#uintptr)) [uintptr](/builtin#uintptr) | |
go_runtime/googlevignette_88_0.txt | TranslateMessage(&msg);
DispatchMessage(&msg); | |
go_runtime/nfwinuserpeekmessage_95_0.txt | [ Provide product feedback ](https://www.microsoft.com/en-
us/windowsinsider/feedbackhub/fb) | | |
go_runtime/nfwinuserpeekmessage_105_0.txt | Theme | |
go_runtime/go_runtime_25_0.txt | #### func [ SetCgoTraceback
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/traceback.go;l=1502)
¶ added in go1.7
func SetCgoTraceback(version [int](/builtin#int), traceback, context, symbolizer [unsafe](/unsafe).[Pointer](/unsafe#Pointer))
SetCgoTraceback records three C functions to use... | |
go_runtime/googlevignette_28_0.txt | Hmm im still a little confused, could you tell me which one is better than the
other (im guessing they both have their own advantages in different
situations). | |
go_runtime/win_84_0.txt | func GetMessage(msg *MSG, hWnd [uintptr](/builtin#uintptr), msgFilterMin, msgFilterMax [uint32](/builtin#uint32)) [bool](/builtin#bool) | |
go_runtime/googlevignette_60_0.txt | [ **TpOreilly** (307) ](/user/TpOreilly/) | |
go_runtime/nfwinuserpeekmessage_80_0.txt | Requirement | Value
---|---
**Minimum supported client** | Windows 2000 Professional [desktop apps only]
**Minimum supported server** | Windows 2000 Server [desktop apps only]
**Target Platform** | Windows
**Header** | winuser.h (include Windows.h)
**Library** | User32.lib
**DLL** | User32.dll
**API set** | ex... | |
go_runtime/win_16_0.txt | Learn what's new in each Go release | |
go_runtime/googlevignette_52_0.txt |
1
2
3
4
5 | |
go_runtime/win_91_0.txt | #### func [ PostQuitMessage ](https://github.com/golang-
design/hotkey/blob/v0.4.1/internal/win/hotkey.go#L115) ¶ added in v0.3.0 | |
go_runtime/nfwinuserpeekmessage_84_0.txt | [ IsChild ](/en-us/windows/desktop/api/winuser/nf-winuser-ischild) | |
go_runtime/win_21_0.txt | * [ Conferences _ _ ](https://github.com/golang/go/wiki/Conferences) | |
go_runtime/win_82_0.txt | func GetAsyncKeyState(keycode [int](/builtin#int)) [uintptr](/builtin#uintptr) | |
go_runtime/googlevignette_126_0.txt | MSG msg;
BOOL bRet;
//...
while( (bRet = GetMessage( &msg, NULL, 0, 0 )) != 0)
{
if (bRet == -1)
{
// handle the error and possibly exit
}
else
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
} | |
go_runtime/win_78_0.txt | ### Variables ¶ | |
go_runtime/googlevignette_64_0.txt | You're welcome. | |
go_runtime/googlevignette_40_0.txt | So getmessage freezes the application until it receives a message | |
go_runtime/nfwinuserpeekmessage_16_0.txt |
## Parameters | |
go_runtime/go_runtime_35_0.txt | #### type [ BlockProfileRecord
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/mprof.go;l=974) ¶
added in go1.1
type BlockProfileRecord struct {
Count [int64](/builtin#int64)
Cycles [int64](/builtin#int64)
StackRecord
}
BlockProfileRecord describes blocking events origi... | |
go_runtime/googlevignette_45_0.txt |  Mar 18, 2011 at 12:57am UTC | |
go_runtime/googlevignette_101_0.txt | /* The Window structure */
wincl.hInstance = hThisInstance;
wincl.lpszClassName = szClassName;
wincl.lpfnWndProc = WindowProcedure; /* This function is called by windows */
wincl.style = CS_DBLCLKS; /* Catch double-clicks */
wincl.cbSize = sizeof (WNDCLASSEX); | |
go_runtime/nfwinuserpeekmessage_44_0.txt | 0x0002 | |
go_runtime/googlevignette_47_0.txt | 1\.
WM_QUIT is the message that is sent to the message queue when we are exiting
the application. This loop: | |
go_runtime/win_97_0.txt | RegisterHotKey defines a system-wide hot key. [ https://docs.microsoft.com/en-
us/windows/win32/api/winuser/nf-winuser-registerhotkey
](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-
registerhotkey) | |
go_runtime/showthreadphp635431R_19_0.txt | LaVolpe's AvatarJoin Date
Oct 2007
Location
Beside Waldo
Posts
19,541
Re: RegisterHotkey API
If this is resolved then don't forget to mark it as such. | |
go_runtime/googlevignette_124_0.txt | GetMessage() is used for the message loop | |
go_runtime/nfwinuserpeekmessage_9_0.txt | # PeekMessageA function (winuser.h) | |
go_runtime/win_20_0.txt | Meet other local Go developers | |
go_runtime/nfwinuserpeekmessage_15_0.txt | BOOL PeekMessageA(
[out] LPMSG lpMsg,
[in, optional] HWND hWnd,
[in] UINT wMsgFilterMin,
[in] UINT wMsgFilterMax,
[in] UINT wRemoveMsg
); | |
go_runtime/googlevignette_44_0.txt | 2\. peekmessage has one more parameter than getmessage which is "PM_REMOVE",
what information is stored in this? | |
go_runtime/showthreadphp635431R_17_0.txt | {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
{VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}
Reply With QuoteReply With Quote Dec 14th, 2010, 09:40 AM#3
Wesley211 Wesley211 is offline
Thread Starter
New Member | |
go_runtime/nfwinuserpeekmessage_22_0.txt | A handle to the window whose messages are to be retrieved. The window must
belong to the current thread. | |
go_runtime/win_104_0.txt | UnregisterHotKey frees a hot key previously registered by the calling thread.
[ https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-
unregisterhotkey ](https://docs.microsoft.com/en-
us/windows/win32/api/winuser/nf-winuser-unregisterhotkey) | |
go_runtime/win_66_0.txt | [ github.com/golang-design/hotkey ](https://github.com/golang-design/hotkey
"https://github.com/golang-design/hotkey") | |
go_runtime/win_15_0.txt | * [ Release Notes ](https://go.dev/doc/devel/release) | |
go_runtime/win_45_0.txt | Opens a new window with list of versions in this module. | |
go_runtime/nfwinuserpeekmessage_106_0.txt | * Light
* Dark
* High contrast | |
go_runtime/nfwinuserpeekmessage_81_0.txt | ## See also | |
go_runtime/nfwinuserpeekmessage_38_0.txt | 0x0000 | |
go_runtime/win_43_0.txt | package  | |
go_runtime/nfwinuserpeekmessage_79_0.txt | ## Requirements | |
go_runtime/go_runtime_55_0.txt | #### func (*Pinner) [ Pin
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/pinner.go;l=29) ¶
added in go1.21.0
func (p *Pinner) Pin(pointer [any](/builtin#any))
Pin pins a Go object, preventing it from being moved or freed by the garbage
collector until the Pinner.Unpin method has been ca... | |
go_runtime/googlevignette_26_0.txt |  Mar 18, 2011 at 12:31am UTC | |
go_runtime/go_runtime_53_0.txt | #### func (*PanicNilError) [ RuntimeError
](https://cs.opensource.google/go/go/+/go1.22.1:src/runtime/panic.go;l=715) ¶
added in go1.21.0
func (*PanicNilError) RuntimeError()
| |
go_runtime/nfwinuserpeekmessage_107_0.txt | * * [ Previous Versions ](/en-us/previous-versions/)
* [ Blog ](https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog)
* [ Contribute ](/en-us/contribute/)
* [ Privacy ](https://go.microsoft.com/fwlink/?LinkId=521839)
* [ Terms of Use ](/en-us/legal/termsofuse)
* [ Trademarks ](https://w... | |
go_runtime/nfwinuserpeekmessage_64_0.txt | If no messages are available, the return value is zero. | |
go_runtime/win_61_0.txt | Modules with tagged versions give importers more predictable builds. | |
go_runtime/nfwinuserpeekmessage_102_0.txt | * * * | |
go_runtime/nfwinuserpeekmessage_104_0.txt | [ California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices
](https://aka.ms/yourcaliforniaprivacychoices) | |
go_runtime/googlevignette_56_0.txt | "message" is a member of the MSG structure, it holds the current message. | |
go_runtime/googlevignette_107_0.txt | /* The program return-value is 0 - The value that PostQuitMessage() gave */
return messages.wParam;
} | |
go_runtime/googlevignette_137_0.txt |
Ah, that explains it. =] | |
go_runtime/win_57_0.txt | The Go module system was introduced in Go 1.11 and is the official dependency
management solution for Go. | |
go_runtime/win_46_0.txt | Latest Latest  | |
go_runtime/win_80_0.txt | ### Functions ¶ | |
go_runtime/googlevignette_75_0.txt | if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) | |
go_runtime/googlevignette_143_0.txt | while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) | |
go_runtime/win_67_0.txt | ## Links | |
go_runtime/win_122_0.txt | Theme Toggle | |
go_runtime/showthreadphp635431R_2_0.txt | Remember Me? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.