IStiUSD::RawWriteData method (stiusd.h)
A still image minidriver's IStiUSD::RawWriteData method writes data to a still image device.
Syntax
HRESULT RawWriteData(
LPVOID lpBuffer,
DWORD nNumberOfBytes,
LPOVERLAPPED lpOverlapped
);
Parameters
lpBuffer
Caller-supplied pointer to a buffer containing data to be sent to the device.
nNumberOfBytes
Caller-supplied number of bytes to be written. This is the number of bytes in the buffer pointed to by lpBuffer.
lpOverlapped
Optional, caller-supplied pointer to an OVERLAPPED structure (described in the Microsoft Windows SDK documentation).
Return value
If the operation succeeds, the method should return S_OK. Otherwise, it should return one of the STIERR-prefixed error codes defined in stierr.h.
Remarks
A still image minidriver typically implements this method by calling WriteFile (described in the Windows SDK documentation).
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