I'm looking for building an application using the Windows API.
I'm using Go, which can used to interact with the Windows API (by using the syscall
package), however, that's unimportant for this question.
I'm looking at the API to register a new Sync Root, and that's done using the function CfRegisterSyncRoot
.
According to this method's signature, it accepts an CF_SYNC_REGISTRATION
but here I find some information which confuses me.
According to the definition, this function has a field named StructSize
which represents the size of the structure, but I don't find any more information regarding this.
What am I supposed to pass in here?