The win2003 DDK tells for the OID_TAPI_GET_ID:

IN DeviceClass = "ndis" // case insensitive
IN ulSelect = LINECALLSELECT_CALL
IN hdCall = ActiveCallHandle
OUT DeviceID = ConnectionWrapperID

Is this correct? I am asking this because the IsdnWan sample in the same DDK
responds to the OID with:

DeviceID.hDevice = (ULONG) (ULONG_PTR) (pBChannel->htCall);

Which seems to the be the call handle not the ConnectionWrapperID.

What is the proper way to treat the this OID request?

Re: OID_TAPI_GET_ID question. by Mathias

Mathias
Mon Mar 21 02:29:55 CST 2005

> DeviceID.hDevice = (ULONG) (ULONG_PTR) (pBChannel->htCall);
>
> Which seems to the be the call handle not the ConnectionWrapperID.
> What is the proper way to treat the this OID request?

htCall is the right handle. This works since 10 years ...

mathias


Re: OID_TAPI_GET_ID question. by Gabriel

Gabriel
Mon Mar 21 05:00:18 CST 2005

Thanx for the replay

This means the DDK is bugged or I am misssing something?

"Mathias Ellinger" <me@nospam.de> wrote in message
news:%23xmWqAfLFHA.3832@TK2MSFTNGP12.phx.gbl...
> > DeviceID.hDevice = (ULONG) (ULONG_PTR) (pBChannel->htCall);
> >
> > Which seems to the be the call handle not the ConnectionWrapperID.
> > What is the proper way to treat the this OID request?
>
> htCall is the right handle. This works since 10 years ...
>
> mathias
>