xxx_Write

This function is to be implemented by a service and will be called by Services.exe. Only streaming services need to implement this function.

DWORD xxx_Write(
  DWORD dwData,
  LPcVOID pInBuf,
  DWORD dwInLen
);

Parameters

  • dwData
    [in] Specifies the value returned by xxx_Open for the given service instance.
  • pInBuf
    [out] Pointer to the buffer containing data to write.
  • dwInLen
    [in] Specifies the length of data in the buffer to be written.

Return Values

Returns the number of bytes actually written.

Remarks

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

Requirements

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

See Also

xxx_Open | WriteFile | Services.exe Functions

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.