Share via


IeXdi2Generic::WriteClientScratchPad (Windows Embedded CE 6.0)

1/5/2010

This method enables a client device to allocate and write a memory block (scratch pad) for saving miscellaneous data on the eXDI service.

The scratch pad allocation is on a per-client basis.

Syntax

HRESULT WriteClientScratchPad(
  [in] GUID guidClient,
  [in] DWORD dwBuffInSize,
  [in, size_is(dwBuffInSize)] const BYTE* pbBufferIn
);

Parameters

  • guidClient
    GUID to identify client.
  • dwBuffInSize
    Size of the scratch pad memory block.
  • pbBufferIn
    Pointer to memory block that serves as a scratch pad.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates the function was successful.

E_FAIL

Indicates an unspecified failure.

E_NOTIMPL

Indicates the error code is not implemented.

E_INVALIDARG

Indicates one or more invalid arguments.

E_OUTOFMEMORY

Indicates an out of memory error.

EXDI_E_COMMUNICATION

Indicates a communication error between host driver and debugging target.

Requirements

Header eXDI2.h
Library ole32.lib, oleaut32.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IeXdi2Generic
IeXDI2 Interfaces