xxx_Read (Services.exe) (Windows CE 5.0)
This function is to be implemented by a service and will be called by Services.exe. This function need only be implemented by a streaming service.
DWORD xxx_Read(DWORDdwData,LPVOID pBuf,DWORD dwLen);
[in] Specifies the value returned by xxx_Open (Services.exe) for the given service instance.
[out] Pointer to the storage location for the data that is read.
[in] Specifies the number of bytes to be read.
Returns the number of bytes read.
This function is called by Services.exe as a result of an application's call to ReadFile.
Services.exe uses the xxx prefix. When implementing the stream interface, replace xxx with a prefix appropriate for your specific implementation. For more information, see Stream Interface Driver Implementation.
OS Versions: Windows CE .NET 4.0 and later.
Send Feedback on this topic to the authors