xxx_Read (Services.exe)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

Syntax

DWORD xxx_Read(
  DWORD dwData,
  LPVOID pBuf,
  DWORD dwLen
);

Parameters

  • pBuf
    [out] Pointer to the storage location for the data that is read.
  • dwLen
    [in] Specifies the number of bytes to be read.

Return Value

Returns the number of bytes read.

Remarks

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. **

Requirements

Header Developer Implemented
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

xxx_Open (Services.exe)
Services.exe Functions

Other Resources

ReadFile