IeXdi2Generic::WriteClientScratchPad (Windows CE 5.0)
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.
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 Values
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
OS Version: Windows CE 5.0 and later.
Header: eXDI2.h.
Link Library: ole32.lib, oleaut32.lib.
See Also
Send Feedback on this topic to the authors