DemandDialRequest
[This is preliminary documentation and subject to change.] 
The routing protocol should call DemandDialRequest to initiate a demand dial connection.
DWORD ( * DemandDialRequest) (
  DWORD InitiatingProtocolId,      // ID of DLL to process request
  DWORD InterfaceIndex      // ID of the interface
);
Parameters
- 
InitiatingProtocolId
- 
Specifies the ID of the routing protocol on behalf of which the connection should be established. (Normally, this parameter will be the ID of the calling routing protocol.)
- 
InterfaceIndex
- 
Specifies the ID of the interface for which the connection should be established.
Return Value
- 
NO_ERROR
- 
The connection was established successfully. 
- 
ERROR_CAN_NOT_COMPLETE
- 
The attempt to establish the connection failed.
- 
ERROR_INVALID_PARAMETER
- 
The InitiatingProtocolId parameter and/or the InterfaceIndex parameter were/was invalid.
QuickInfo
  Windows NT:  Use version 5.0 and later.
  Windows:  Unsupported.
  Windows CE:  Unsupported.
See Also
Protocol Identifiers