1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css"> 7<title>THPAudioGetInfo</title> 8</head> 9 10<body> 11 12<h1>THPAudioGetInfo</h1> 13 14<h2>Syntax</h2> 15<dl><dd><pre class="construction"> 16#include <win32/thpaudio.h> 17 18s32 THPAudioGetInfo(THPAudioHandle* handle, THPAudioInfo* audioInfo); 19</pre></dd></dl> 20 21<h2>Arguments</h2> 22<TABLE class="arguments" border="1" > 23 <tr> 24<th>handle</th> 25<td>Pointer to a <A href="THPAudioHandle.html"><code>THPAudioHandle</code></A> structure.</td> 26 </tr> 27 <tr> 28<th>audioInfo</th> 29<td>Pointer to a <A href="../../common/THPAudioInfo.html"><code>THPAudioInfo</code></A> structure.</td> 30 </tr> 31</table> 32 33<h2>Return Values</h2> 34<p> 35Returns <code>TRUE</code> if successful, <code>FALSE</code> otherwise. 36</p> 37 38<h2>Description</h2> 39<p> 40Gets the channel count and playback frequency from the <A href="THPAudioHandle.html"><code>THPAudioHandle</code></A> structure specified by <SPAN class="argument">handle</SPAN> and places them into the <A href="../../common/THPAudioInfo.html"><code>THPAudioInfo</code></A> structure specified by <SPAN class="argument">audioInfo</SPAN>. 41</p> 42 43<h2>See Also</h2> 44<p class="reference"> 45<A href="THPAudioHandle.html">THPAudioHandle</A>, 46<A href="../../common/THPAudioInfo.html">THPAudioInfo</A> 47</p> 48 49<h2>Revision History</h2> 50<P> 512006/03/01 Initial version.<br> 52</P> 53 54<hr><p>CONFIDENTIAL</p></body> 55</html>