public static extern void ActivateAudioInterfaceAsync(
     [In, MarshalAs(UnmanagedType.LPWStr)] string deviceInterfacePath,
     [In, MarshalAs(UnmanagedType.LPStruct)] Guid riid,
     [In] IntPtr activationParams, // n.b. is actually a pointer to a PropVariant, but we never need to pass anything but null
     [In] IActivateAudioInterfaceCompletionHandler completionHandler,
     out IActivateAudioInterfaceAsyncOperation activationOperation);
Exemple #2
0
 static extern HResult ActivateAudioInterfaceAsync(
     [MarshalAs(UnmanagedType.LPWStr)] string deviceInterfacePath,
     [MarshalAs(UnmanagedType.LPStruct)] Guid riid,
     IntPtr activationParams,
     IActivateAudioInterfaceCompletionHandler completionHandler,
     out IActivateAudioInterfaceAsyncOperation activationOperation);
Exemple #3
0
 private static extern uint ActivateAudioInterfaceAsyncInternal([In][MarshalAs(UnmanagedType.LPWStr)] string deviceInterfacePath, [In][MarshalAs(UnmanagedType.LPStruct)] Guid riid, [In] IntPtr activationParams, [In] IActivateAudioInterfaceCompletionHandler completionHandler, out IActivateAudioInterfaceAsyncOperation activationOperation);