@@ -234,6 +234,7 @@ const csidlSystemX86 = 41
234
234
const csidlTemplates = 21
235
235
const csidlWindows = 36
236
236
237
+ // WndClass FIXMEDOCS
237
238
type WndClass struct {
238
239
Style uint32
239
240
WndProc uintptr
@@ -247,11 +248,13 @@ type WndClass struct {
247
248
ClassName * byte
248
249
}
249
250
251
+ // Point FIXMEDOCS
250
252
type Point struct {
251
253
X int32
252
254
Y int32
253
255
}
254
256
257
+ // TagMSG FIXMEDOCS
255
258
type TagMSG struct {
256
259
Hwnd syscall.Handle
257
260
Message uint32
@@ -262,23 +265,35 @@ type TagMSG struct {
262
265
LPrivate int32
263
266
}
264
267
268
+ // WMQuit FIXMEDOCS
265
269
const WMQuit = 0x0012
266
270
267
- const WsExDlgModalFrame = 0x00000001
268
- const WsExTopmost = 0x00000008
269
- const WsExTransparent = 0x00000020
270
- const WsExMDIChild = 0x00000040
271
- const WsExToolWindow = 0x00000080
272
- const WsExAppWindow = 0x00040000
273
- const WsExLayered = 0x00080000
271
+ const (
272
+ // WsExDlgModalFrame FIXMEDOCS
273
+ WsExDlgModalFrame = 0x00000001
274
+ // WsExTopmost FIXMEDOCS
275
+ WsExTopmost = 0x00000008
276
+ // WsExTransparent FIXMEDOCS
277
+ WsExTransparent = 0x00000020
278
+ // WsExMDIChild FIXMEDOCS
279
+ WsExMDIChild = 0x00000040
280
+ // WsExToolWindow FIXMEDOCS
281
+ WsExToolWindow = 0x00000080
282
+ // WsExAppWindow FIXMEDOCS
283
+ WsExAppWindow = 0x00040000
284
+ // WsExLayered FIXMEDOCS
285
+ WsExLayered = 0x00080000
286
+ )
274
287
288
+ // GUID FIXEMEDOCS
275
289
type GUID struct {
276
290
Data1 uint32
277
291
Data2 uint16
278
292
Data3 uint16
279
293
Data4 [8 ]byte
280
294
}
281
295
296
+ // DevBroadcastDeviceInterface FIXMEDOCS
282
297
type DevBroadcastDeviceInterface struct {
283
298
DwSize uint32
284
299
DwDeviceType uint32
@@ -295,14 +310,26 @@ var UsbEventGUID GUID = GUID{
295
310
Data4 : [8 ]byte {0x90 , 0x1f , 0x00 , 0xc0 , 0x4f , 0xb9 , 0x51 , 0xed },
296
311
}
297
312
298
- const DeviceNotifyWindowHandle = 0
299
- const DeviceNotifySserviceHandle = 1
300
- const DeviceNotifyAllInterfaceClasses = 4
313
+ const (
314
+ // DeviceNotifyWindowHandle FIXMEDOCS
315
+ DeviceNotifyWindowHandle = 0
316
+ // DeviceNotifySserviceHandle FIXMEDOCS
317
+ DeviceNotifySserviceHandle = 1
318
+ // DeviceNotifyAllInterfaceClasses FIXMEDOCS
319
+ DeviceNotifyAllInterfaceClasses = 4
320
+ )
301
321
322
+ // DbtDevtypeDeviceInterface FIXMEDOCS
302
323
const DbtDevtypeDeviceInterface = 5
303
324
304
- const PMNoRemove = 0x0000
305
- const PMRemove = 0x0001
306
- const PMNoYield = 0x0002
325
+ const (
326
+ // PMNoRemove FIXMEDOCS
327
+ PMNoRemove = 0x0000
328
+ // PMRemove FIXMEDOCS
329
+ PMRemove = 0x0001
330
+ // PMNoYield FIXMEDOCS
331
+ PMNoYield = 0x0002
332
+ )
307
333
334
+ // WindowProcCallback FIXMEDOCS
308
335
type WindowProcCallback func (hwnd syscall.Handle , msg uint32 , wParam uintptr , lParam uintptr ) uintptr
0 commit comments