IAPI::SetSocketObjectLocalStorage

method SetSocketObjectLocalStorage.

Attaches a long value to a socket object.

 

HRESULT SetSocketObjectLocalStorage(
  long hSocketObject,
  long lpLocalStorage
);

Parameters

hSocketObject

[in] .   Handle of socket object

lpLocalStorage

[in] .   Long value to be attached. It could be a memory pointer.

Return Values

S_OK

The operation was successfull.

E_UNEXPECTED

An unexpected error occoured.

E_FAIL

A general error occoured.

See Also

IAPI