xxx_Write (Servicesd.exe) (Compact 2013)

3/26/2014

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

Syntax

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

Parameters

  • pInBuf
    [out] Pointer to the buffer containing data to write.
  • dwInLen
    [in] Specifies the length of data in the buffer to be written.

Return Value

Returns the number of bytes actually written.

Remarks

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

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

See Also

Reference

Servicesd.exe Functions
xxx_Open (Servicesd.exe)

Other Resources

WriteFile