8 references to WaveAudioConstant
System.Windows.Forms (8)
System\Windows\Forms\OLE\Clipboard.cs (3)
179
public static bool ContainsAudio() => ContainsData(DataFormats.
WaveAudioConstant
);
221
public static Stream? GetAudioStream() => GetData(DataFormats.
WaveAudioConstant
) as Stream;
279
SetDataObject(new DataObject(DataFormats.
WaveAudioConstant
, audioStream.OrThrowIfNull()), copy: true);
System\Windows\Forms\OLE\DataFormats.cs (2)
109
public static readonly string WaveAudio =
WaveAudioConstant
;
287
new(
WaveAudioConstant
, (int)CLIPBOARD_FORMAT.CF_WAVE),
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
100
or DataFormats.
WaveAudioConstant
System\Windows\Forms\OLE\DataObject.cs (2)
123
public virtual bool ContainsAudio() => GetDataPresent(DataFormats.
WaveAudioConstant
, autoConvert: false);
165
SetData(DataFormats.
WaveAudioConstant
, autoConvert: false, audioStream.OrThrowIfNull());