Marvin, thanks. It seems I have to keep my manual padding!
best regards, xjdrew On Tuesday, May 23, 2017 at 9:27:32 PM UTC+8, Marvin Renich wrote: > > * Marvin Renich <mr...@renich.org <javascript:>> [170523 08:58]: > > Looking more closely at the MSDN docs for FwpmFilterAdd0 and > > FWPM_FILTER0, if I were doing this, I might use «RawContext uint64» > > instead of «ProviderContextKey GUID», which would be properly aligned > > without manual padding. I would then convert this value manually to a > > GUID if the appropriate flag were set in Flags. This would, of course, > > depend on my expected use of that context field. > > Of course, that would have to be a struct with two uint64 fields so that > it would be the correct size and have the full GUID. > > ...Marvin > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.