|
LINEPROXYREQUEST
typedef struct lineproxyrequest_tag {
DWORD dwSize;
DWORD dwClientMachineNameSize;
DWORD dwClientMachineNameOffset;
DWORD dwClientUserNameSize;
DWORD dwClientUserNameOffset;
DWORD dwClientAppAPIVersion;
DWORD dwRequestType;
union {
struct {
DWORD dwAddressID;
LINEAGENTGROUPLIST GroupList;
} SetAgentGroup;
struct {
DWORD dwAddressID;
DWORD dwAgentState;
DWORD dwNextAgentState;
} SetAgentState;
struct {
DWORD dwAddressID;
DWORD dwActivityID;
} SetAgentActivity;
struct {
DWORD dwAddressID;
LINEAGENTCAPS AgentCaps;
} GetAgentCaps;
struct {
DWORD dwAddressID;
LINEAGENTSTATUS AgentStatus;
} GetAgentStatus;
struct {
DWORD dwAddressID;
DWORD dwAgentExtensionIDIndex;
DWORD dwSize;
BYTE Params[1];
} AgentSpecific;
struct {
DWORD dwAddressID;
LINEAGENTACTIVITYLIST ActivityList;
} GetAgentActivityList;
struct {
DWORD dwAddressID;
LINEAGENTGROUPLIST GroupList;
} GetAgentGroupList;
};
} LINEPROXYREQUEST, FAR *LPLINEPROXYREQUEST;
Members
dwSize
The total number of bytes allocated by TAPI to contain the LINEPROXYREQUEST structure. Note that the dwTotalSize field of any structure contained within LINEPROXYREQUEST (for example, LINEAGENTCAPS) reflects only the number of bytes allocated for that specific structure.
dwClientMachineNameSize
dwClientMachineNameOffset
Size in bytes (including the terminating null) and offset from the beginning
of LINEPROXYREQUEST of a null-terminated string identifying the client machine
that made this request.
dwClientUserNameSize
dwClientUserNameOffset
Size in bytes (including the terminating null) and offset from the beginning
of LINEPROXYREQUEST of a null-terminated string identifying the user under whose account the
application is running on the client machine.
dwClientAppAPIVersion
The global (highest) API version supported by the application that made the
request. The proxy handler should restrict the contents of any data returned to
the application to those fields and values that were defined in this, or
earlier, versions of TAPI.
dwRequestType
One of the LINEPROXYREQUEST_ constants. Identifies the type of function and
the union component that defines the remaining data in the structure.
SetAgentGroup
The union component used when dwRequestType is LINEPROXYREQUEST_SETAGENT.
dwAddressID
The identifier of the address for which the agent is to be set.
GroupList
A structure of type LINEAGENTGROUPLIST. Offsets within this structure are relative to the beginning of SetAgentGroup.GroupList rather than the beginning of the LINEPROXYREQUEST structure.
SetAgentState
The union component used when dwRequestType is LINEPROXYREQUEST_SETAGENTSTATE.
dwAddressID
The identifier of the address for which the agent state is to be set.
dwAgentState
The new agent state, or 0 to leave the agent state unchanged.
dwNextAgentState
The new next agent state, or 0 to use the default next state associated with
the specified agent state.
SetAgentActivity
The union component used when dwRequestType is LINEPROXYREQUEST_SETAGENTACTIVITY.
dwAddressID
The identifier of the address for which the agent activity is to be set.
dwActivityID
The identifier for the activity being selected.
GetAgentCaps
The union component used when dwRequestType is LINEPROXYREQUEST_GETAGENTCAPS.
dwAddressID
The identifier of the address for which the agent capabilities are to be
retrieved.
AgentCaps
A structure of type LINEAGENTCAPS. Offsets within this structure are relative to the beginning of GetAgentCaps.AgentCaps rather than the beginning of the LINEPROXYREQUEST structure. The dwTotalSize field is set by TAPI and the remaining bytes set to 0. The proxy handler must
fill in dwNeededSize, dwUsedSize, and the remaining fields as appropriate, before calling lineProxyResponse.
GetAgentStatus
The union component used when dwRequestType is LINEPROXYREQUEST_SETAGENTGROUP.
dwAddressID
The identifier of the address for which the agent status is to be retrieved.
AgentStatus
A structure of type LINEAGENTSTATUS. Offsets within this structure are relative to the beginning of GetAgentStatus.AgentStatus rather than the beginning of the LINEPROXYREQUEST structure. The dwTotalSize field is set by TAPI and the remaining bytes set to 0. The proxy handler must
fill in dwNeededSize, dwUsedSize, and the remaining fields as appropriate, before calling lineProxyResponse.
AgentSpecific
The union component used when dwRequestType is LINEPROXYREQUEST_AGENTSPECIFIC.
dwAddressID
The identifier of the address for which the agent status is to be retrieved.
dwAgentExtensionIDIndex
The index of the handler extension being invoked; the ID's position within the
array of extension IDs returned in LINEAGENTCAPS.
dwSize
The total size in bytes of the Params parameter block.
Params
A block of memory which includes the contents passed to the handler from the
application. If the handler is to return data to the application, it must be
written into this parameter block before calling lineProxyResponse.
GetAgentActivityList
The union component used when dwRequestType is LINEPROXYREQUEST_GETAGENTACTIVITYLIST.
dwAddressID
The identifier of the address for which the agent activity list is to be
retrieved.
ActivityList
A structure of type LINEAGENTACTIVITYLIST. Offsets within this structure are
relative to the beginning of GetAgentActivityList.ActivityList rather than the beginning of the LINEPROXYREQUEST structure. The dwTotalSize field is set by TAPI and the remaining bytes set to 0. The proxy handler must
fill in dwNeededSize, dwUsedSize, and the remaining fields as appropriate, before calling lineProxyResponse.
GetAgentGroupList
The union component used when dwRequestType is LINEPROXYREQUEST_GETAGENTGROUPLIST.
dwAddressID
The identifier of the address for which the agent group list is to be
retrieved.
GroupList
A structure of type LINEAGENTGROUPLIST. Offsets within this structure are relative to the beginning of GetAgentGroupList.GroupList rather than the beginning of the LINEPROXYREQUEST structure. The dwTotalSize field is set by TAPI and the remaining bytes set to 0. The proxy handler must
fill in dwNeededSize, dwUsedSize, and the remaining fields as appropriate, before calling lineProxyResponse.
See Also
lineProxyResponse
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|