Brew MP 1.0.2
This function provides the ability to query certain network options. It is similar
in paradigm to ISOCKET_IOCtl(), but deals more with network-level configurables,
rather than socket-level configurables.
Pointer to the INetMgr Interface to be used to retrieve
integer identifying which option to get
Filled with option-specific data
[in/out] : if pOptVal is non-NULL, on input specifies size of
pOptVal, which must match the required size of the option data.
if pOptVal is NULL, on input is ignored, on output holds the required size of
the option data.
- SUCCESS: if the option was retrieved
EPRIVLEVEL: if access to the option is prohibited by applet privilege
EUNSUPPORTED: if nOptName is unknown
EBADPARM: if pOptVal is non-null and pnOptSize is set to something smaller than
necessary to hold the fixed-length option data
other error, depending on the option