IStiDeviceControl::AddRef method (stiusd.h)
The IStiDeviceControl::AddRef method increments the reference count for the IStiDeviceControl interface.
Syntax
ULONG AddRef();
Return value
If the operation succeeds, the method returns S_OK. Otherwise, it returns one of the STIERR-prefixed error codes defined in stierr.h.
Remarks
The IStiDeviceControl::AddRef method should be called from within a user-mode still image minidriver's IStiUSD::Initialize method.
A still image minidriver receives an IStiDeviceControl interface pointer as an input argument to its IStiUSD::Initialize method.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | stiusd.h (include Stiusd.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for