Export (0) Print
Expand All

XXX_Write (Device Manager) (Windows Embedded CE 6.0)

1/6/2010

This function writes data to the device.


DWORD XXX_Write(
  DWORD hOpenContext,
  LPCVOID pBuffer,
  DWORD Count 
);

hOpenContext

[in] Handle to the open context of the device. The call to the XXX_Open (Device Manager) function returns this identifier.

pBuffer

[out] Pointer to the buffer that contains the data to write.

Count

[in] Number of bytes to write from the pBuffer buffer into the device.

The number of bytes written indicates success. A value of –1 indicates failure.

After an application uses the WriteFile function to write to the device, the operating system, invokes this function.

Device Manager uses the XXX prefix as a placeholder. When implementing the stream interface, replace XXX with a prefix appropriate for your specific implementation or use undecorated entry point names in conjunction with DEVFLAGS_NAKEDENTRIES. For more information about other valid Flags values, see ActivateDeviceEx.

HeaderDeveloper Implemented
LibraryDeveloper Implemented
Windows Embedded CEWindows CE 1.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft