The documentation of IDirectInputDevice8::Acquire says:
Return Value
If the method succeeds, the return value is
DI_OK, orS_FALSEif the device was already acquired. If the method fails, the return value can be one of the following error values:DIERR_INVALIDPARAM,DIERR_NOTINITIALIZED,DIERR_OTHERAPPHASPRIO.
However, SharpDX's Device.Acquire() is a void. The documentation for this method is not really helpful.
How can I know if a call to Device.Aquire() has succeeded or not?
Alternatively, where is the source for Acquire() located? I've tried looking at the contents of Device.cs, but not only it is not located in there, but Device is marked as partial, which means the source for Acquire() is probably in a different file, but I can't seem to find it.