Returns the Source's current Value for the specified capability.
Boolean ObjectName. CapGetCurrent()
None.
Boolean.
TRUE indicates success. FALSE indicates failure.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
Before invoking CapGetCurrent(), Capability property should be set.
After calling CapGetCurrent(), check CapType property for the capability container type and then read information from different properties according to the container type. This process is the same as CapGet(), please refer to CapType property and Reading Value(s) from Capability Negotiation.
Capability property, CapGet(), CapGetDefault(), CapSet(), CapType property