Marshalling in C#.......Please Help

G

Guest

Below is a certain function in c++.....
OTMSTATUS OTMAPI Otm_CreateSnapShotW(
IN pOpenTransactionInW In,
IN ULONG NumVolumes,
IN PVOID InVolumeMap,
IN ULONG *VolumeMapFlags,
IN ULONG OutVolumeMapByteSize,
INOUT PVOID OutVolumeMap,
OUT pOpenTransactionOutW Out,
OUT pSnapShot *SnapShot
INOUT LPOVERLAPPED Overlapped,
IN LPOVERLAPPED_COMPLETION_ROUTINE CompletionRoutine
);


How would i PInvoke it so taht I can use it in C#?
INOUT PVOID OutVolumeMap is the output given by the function and it is in
the form of a string array.How would I define OutVolumeMap so that it would
give me the right result??

Thanks and Regards
MVB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top