|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| user32.lib
| Header File
| dde.h
| Unicode
| No
| Platform Notes
| None
|
|
|
ImpersonateDdeClientWindow
The
ImpersonateDdeClientWindow function enables a DDE server application to impersonate a DDE client
application's security context in order to protect secure server data from
unauthorized DDE clients.
BOOL ImpersonateDdeClientWindow(
HWND hWndClient,
| // handle of DDE client window
|
HWND hWndServer
| // handle of DDE server window
|
);
|
|
Parameters
hWndClient
Identifies the DDE client window to impersonate. The client window must have
established a DDE conversation with the server window identified by the
hWndServer parameter.
hWndServer
Identifies the DDE server window. An application must create the server window
before calling this function.
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
An application should call the
RevertToSelf function to undo the impersonation set by the
ImpersonateDdeClientWindow function.
A DDEML application should use the
DdeImpersonateClient function.
See Also
DdeImpersonateClient,
RevertToSelf
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database