LINEINITIALIZEEXPARAMS  4OLN1HP

typedef struct lineinitializeexparams_tag { 

    DWORD  dwTotalSize;

    DWORD  dwNeededSize;

    DWORD  dwUsedSize;

    DWORD  dwOptions;

 

  union

 

    HANDLE  hEvent;

    HANDLE  hCompletionPort;

  } Handles;

 

    DWORD  dwCompletionKey;

 

} LINEINITIALIZEEXPARAMS, FAR *LPLINEINITIALIZEEXPARAMS;

 

Members

dwOptions

One of the LINEINITIALIZEEXOPTION_ constants. Specifies the event notification mechanism the applications desires to use.

hEvent

If dwOptions specifies LINEINITIALIZEEXOPTION_USEEVENT, TAPI returns the event handle in this field.

hCompletionPort

If dwOptions specifies LINEINITIALIZEEXOPTION_USECOMPLETIONPORT, the application must specify in this field the handle of an existing completion port opened using CreateIoCompletionPort.

dwCompletionKey

If dwOptions specifies LINEINITIALIZEEXOPTION_USECOMPLETIONPORT, the application must specify in this field a value that will be returned through the lpCompletionKey parameter of GetQueuedCompletionStatus to identify the completion message as a telephony message.

 

Remarks

See lineInitializeEx18GE4YT for further information on these options.