Page tree
Skip to end of metadata
Go to start of metadata

The Types API provides a few functions for dealing with some fundamental types in WinGate components. Primarily these are string types and the API manages the allocation and freeing of any memory involved. This allows API's to return new strings to the client code and have the client code delete those strings when they no longer need them, regardless of what heap each uses. In functions where a heap allocation is acceptable (most) it avoids having to have functions that take buffer pointers and sizes as arguments, with the possibility of the buffer not being large enough. 

The SDK helpers come with objects that make using the Types API more convenient

  • No labels