|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| user32.lib
| Header File
| dde.h
| Unicode
| No
| Platform Notes
| None
|
|
|
DdeSetQualityOfService
The DdeSetQualityOfService function specifies the quality of service a raw DDE application desires for
future DDE conversations it initiates. The specified quality of service applies
to any conversations started while those settings are in place. A DDE
conversation's quality of service lasts for the duration of the conversation; calls to
the DdeSetQualityOfService function during a given conversation do not affect that conversation's
quality of service.
BOOL DdeSetQualityOfService(
HWND hwndClient,
| // handle to DDE client window that will start DDE conversations
| CONST SECURITY_QUALITY_OF_SERVICE *pqosNew,
| // desired quality of service
| PSECURITY_QUALITY_OF_SERVICE pqosPrev
| // prior quality of service
| );
|
|
Parameters
hwndClient
Identifies the DDE client window that specifies the source of WM_DDE_INITIATE messages a client will send to start DDE conversations.
pqosNew
Points to a SECURITY_QUALITY_OF_SERVICE structure for the desired quality of service values.
pqosPrev
Points to a SECURITY_QUALITY_OF_SERVICE structure that the function will fill with the previous quality of service
values associated with the window identified by hwndClient.
This parameter is optional. If an application has no interest in hwndClient's previous qos values, it should set pqosPrev to NULL.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error
information, call GetLastError.
Remarks
If a quality of service has not been specified for a given client window, hwndClient, prior to sending a WM_DDE_INITIATE with the wParam set to hwndClient, the system uses the following default quality of service values for the
client window:
{
Length = sizeof(SECURITY_QUALITY_OF_SERVICE);
ImpersonationLevel = SecurityImpersonation;
ContextTrackingMode = SECURITY_STATIC_TRACKING;
EffectiveOnly = TRUE;
}
Use the DdeSetQualityOfService function to associate a different quality of service with the client window.
Once you change the quality of service, the new settings affect any subsequent
conversations that are started. Once an application starts a DDE conversation
using a particular quality of service value, it must terminate the conversation
and restart the conversation in order to have a different value take effect.
See Also
SECURITY_QUALITY_OF_SERVICE, WM_DDE_INITIATE
| 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
|