Files
FC1/BinkSDK/htmlhelp/BinkDX8SurfaceType.html
romkazvo 34d6c5d489 123
2023-08-07 19:29:24 +08:00

56 lines
2.6 KiB
HTML

<!-- This page was created with the RAD auto-doc generator. -->
<!doctype html public "-//w3c//dtd html 3.2 final//en">
<html>
<head>
<title>BinkDX8SurfaceType</title>
<meta http-equiv="content-type" content="text/html; charset=iso8859-1">
<meta name="ms.locale" content="en-us">
<meta name="description" content="returns a value describing the format of the specified DirectX 8 surface.">
<meta name="ms-hkwd" content="BinkDX8SurfaceType">
<link rel="stylesheet" title="default" href="reference.css" type="text/css" media="screen">
</head>
<body topmargin="0">
<table cellspacing=0 cellpadding=0 class=bar width=100% height=25>
<tr class=bar>
<td class=bar>
<i>&nbsp;<a href="index.html" class=trn>Bink SDK 1.5v</a></i>
</td>
</tr>
</table>
<h1>BinkDX8SurfaceType</h1>
<p>The function <b>BinkDX8SurfaceType</b> returns a value describing the format of the specified DirectX 8 surface.</p>
<table width=100% cellspacing=0 class=pre>
<tr class=pre>
<td class=pre>
<pre><b><a href="BINK_COPY_FLAGS.html" class=trn>BINK_COPY_FLAGS</a> <a href="BinkDX8SurfaceType.html" class=trn>BinkDX8SurfaceType</a>(</b>
<b>&nbsp&nbsp<a href="LPDIRECT3DSURFACE8.html" class=trn>LPDIRECT3DSURFACE8</a>&nbsp</b><i>lpDirect3DSurface</i>
<b>);</b></pre>
</td>
</tr>
</table>
<h4>In Parameters</h4>
<dl>
<dt><i>lpDirect3DSurface</i></dt>
<dd>Specifies the surface that you want to query.</dd>
</dl>
<h4>Returns</h4>
<p>Returns a value describing the format of the surface.</p>
<h4>Discussion</h4>
<p>This function returns a value describing the supplied DirectX 8 surface. You can use this function to obtain the surface type to pass to the <a href="BinkCopyToBuffer.html">BinkCopyToBuffer</a> function. If the surface type is unknown or unsupported, then this function returns -1. For earlier versions of DirectX, use the <a href="BinkDDSurfaceType.html">BinkDDSurfaceType</a> function. On MacOS, use the <a href="BinkGDSurfaceType.html">BinkGDSurfaceType</a> function. </p>
<p>
<br>
<b>Group:</b>
<a href="BinkBuffer API.html">BinkBuffer API</a><br>
<b>Related Functions:</b>
<a href="BinkCopyToBuffer.html">BinkCopyToBuffer</a>, <a href="BinkDDSurfaceType.html">BinkDDSurfaceType</a>, <a href="BinkGDSurfaceType.html">BinkGDSurfaceType</a><br>
<b>Related Basic Types:</b>
<a href="BINK_COPY_FLAGS.html">BINK_COPY_FLAGS</a>, <a href="LPDIRECT3DSURFACE8.html">LPDIRECT3DSURFACE8</a></p>
<p align=center>
<a href="mailto:Bink1@radgametools.com">For technical support, e-mail Bink1@radgametools.com</a>
<br>
<a href="http://www.radgametools.com/bnkmain.htm?from=help1.5v">&#169; Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.</a>
</p>
<br>
</body>
</html>