IAPI::ObjectType

property ObjectType.

Tests whether a socket or named pipe object is a regular client (1) or proxy (2)

 

HRESULT ObjectType(
  long hSocketOrNamedPipeObject,
  long *pVal
);

Parameters

hSocketOrNamedPipeObject

[in] .   Handle of socket or named pipe object

pVal

[out, retval] The returned value is 1 or 2

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI