Hi,
Does anyone on the list know how to obtain the string value of an
HResult from a windows function declare?
I'm trying to get some simple directsound/directX functions to work.
MSDN gives the possible return vales as:
If the function succeeds, the return value is DS_OK.
If the function fails, the return value may be one of the following
error values:
DSERR_ALLOCATED
DSERR_INVALIDPARAM
DSERR_NOAGGREGATION
DSERR_NODRIVER
DSERR_OUTOFMEMORY
Supposedly HResult is a 32 bit value so I'm storing the result as an
integer in RB. Is there a way to map the integer to the correct
result string?
thanks
Rob
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>