Microsoft DirectX 8.1 (C++) |
Retrieves available compression types for the system.
HRESULT GetCompressionTypes( PVOID pData, PDWORD pdwDataSize, PDWORD pdwNumElements, DWORD dwFlags );
Returns DV_OK if successful, or one of the following error values.
DVERR_BUFFERTOOSMALL |
DVERR_INVALIDFLAGS |
DVERR_INVALIDPARAM |
DVERR_INVALIDPOINTER |
If the buffer is not large enough to store the list of compression types, the method returns DVERR_BUFFERTOOSMALL and the pdwDataSize parameter is set to the minimum required size.
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 Dvoice.h.