J
Juan Gabriel Del Cid
Structs are value types (in C++ and in C#), so NULL would be incompatible
with any struct type. Now, if you want to pass NULL for a reference type,
for example if yourfunction was declared like:
open (struct struct1 *str, struct struct1 *str2) { ... }
you would do so with IntPtr.Zero (that is NULL).
Hope that helps,
-JG
with any struct type. Now, if you want to pass NULL for a reference type,
for example if yourfunction was declared like:
open (struct struct1 *str, struct struct1 *str2) { ... }
you would do so with IntPtr.Zero (that is NULL).
Hope that helps,
-JG