Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Documentation error.

70 views
Skip to first unread message

Dr Pizza

unread,
Jan 20, 2007, 7:41:19 AM1/20/07
to
For Direct3DCreate9Ex, the documentation says:

HRESULT Direct3DCreate9Ex(
UINT SDKVersion,
LPDIRECT3D9 * ppD3D
);

But the function is actually declared as:

HRESULT WINAPI Direct3DCreate9Ex(UINT SDKVersion, IDirect3D9Ex**);

These are not compatible; the first declaration says that you can pass
a IDirect3D9 pointer to the function, the second says it must actually
be an IDirect3D9Ex pointer.

--

Waleri Todorov

unread,
Jan 20, 2007, 9:36:36 AM1/20/07
to
Check your LPDIRECT3D9 definition

"Dr Pizza" <DrP...@newsgroups.nospam> wrote in message
news:xn0f1fo60...@msnews.microsoft.com...

Dr Pizza

unread,
Jan 20, 2007, 9:55:44 AM1/20/07
to
Waleri Todorov wrote:

> Check your LPDIRECT3D9 definition

typedef struct IDirect3D9 *LPDIRECT3D9, *PDIRECT3D9;


--

Chuck Walbourn [MSFT]

unread,
Jan 29, 2007, 8:38:16 PM1/29/07
to
Sending documentation feedback to dxsd...@microsoft.com (the Feedback link
at the bottom of each page) is more likely to be seen than on a newsgroup.
I've filed a bug for this.

Note that the Direct3D9Ex interface is currently only exposed through the
Windows SDK, not the DirectX SDK.

--
Chuck Walbourn
SDE, Game Technology Group

This posting is provided "AS IS" with no warranties, and confers no rights.


0 new messages