Partager via


xxx_Read

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(
  DWORD dwData,
  LPVOID pBuf,
  DWORD dwLen
);

Parameters

  • dwData
    [in] Specifies the value returned by xxx_Open for the given service instance.
  • pBuf
    [out] Pointer to the storage location for the data that is read.
  • dwLen
    [in] Specifies the number of bytes to be read.

Return Values

Returns the number of bytes read.

Remarks

This function is called by Services.exe as a result of an application's call to ReadFile.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Developer-defined.
Library: Developer-implemented.

See Also

xxx_Open | ReadFile | Services.exe Functions

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.