You can create a higher level structure that has pointers to both structures as elements in the structure. For example,
typedef struct
{
...
} structA;
typedef struct
{
...
} structB;
typedef struct
{
structA* a;
structB* b;
} structC;
Then use the void* to pass an instance of C with A and B inside it.
Best Regards,
Chris Matthews
National Instruments