MIDL2158

The documentation lists this name without a value.

Documented in Win32

Compiler Errors

[allocate] attribute must be applied only on non-void pointer types The [ allocate ] attribute is designed for complex pointer-based data structures. When the [allocate] attribute is specified, the stub file traverses the data structure to compute the total size of all objects accessible from the pointer and all other pointers in the data structure. Change the type to a nonvoid pointer type or remove the [ allocate ] attribute and use another method to determine its allocation size, such as the sizeof operator.