Microsoft DirectX 8.1 (C++) |
Retrieves the full application description for the connected application.
HRESULT GetApplicationDesc( DPN_APPLICATION_DESC *const pAppDescBuffer, DWORD *const pcbDataSize, const DWORD dwFlags );
Returns S_OK if successful, or one of the following error values.
DPNERR_BUFFERTOOSMALL |
DPNERR_INVALIDFLAGS |
DPNERR_INVALIDPARAM |
DPNERR_NOCONNECTION |
Call this method initially by passing NULL in the pvData parameter to obtain the size of the required buffer. When you call the method a second time to fill the buffer, be sure to set the structures dwSize member to the appropriate value.
Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
Windows 98/Me: Available as a redistributable for Windows 98 and later.
Header: Declared in Dplay8.h.