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
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