The documentation of
If the method succeeds, the return value is
S_FALSEif the device was already acquired. If the method fails, the return value can be one of the following error values:
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.