<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<pre>The current code for the functions:

<a href="http://source.winehq.org/ident?i=D3DXCreateEffectFromFileExW">D3DXCreateEffectFromFileExW</a>
<a href="http://source.winehq.org/ident?i=D3DXCreateEffectFromFileExA">D3DXCreateEffectFromFileExA</a>
<a
 href="http://source.winehq.org/ident?i=D3DXCreateEffectFromResourceExA">D3DXCreateEffectFromResourceExW</a>
<a
 href="http://source.winehq.org/ident?i=D3DXCreateEffectCompilerFromFileW">D3DXCreateEffectFromResourceExA</a>
<a
 href="http://source.winehq.org/ident?i=D3DXCreateEffectCompilerFromFileW">D3DXCreateEffectCompilerFromFileW</a>
<a
 href="http://source.winehq.org/ident?i=D3DXCreateEffectCompilerFromFileA">D3DXCreateEffectCompilerFromFileA</a>

includes a check of defines and will return <a
 href="http://source.winehq.org/ident?i=D3DERR_INVALIDCALL">D3DERR_INVALIDCALL</a> if defines are NULL.

However I see nothing wrong in calling any of those functions with defines  being NULL. Actually, usually defines are NULL and it is only in specific cases when they are set.

Is this a bug? If not, please let me know why.

regards,


</pre>
</body>
</html>