 |
RevertToSelf ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The RevertToSelf function terminates the impersonation of a client application. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL RevertToSelf(void);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER RevertToSelf IN advapi32
|
 |
 |
 |
| Parameters: |
 |
| This function has no parameters. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| My comment: |
 |
| A process should call the RevertToSelf function after finishing any impersonation begun by using the DdeImpersonateClient, ImpersonateDdeClientWindow, ImpersonateLoggedOnUser, ImpersonateNamedPipeClient, ImpersonateSelf, ImpersonateAnonymousToken or SetThreadToken function. |
 |
 |
| Word Index links for the RevertToSelf : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-10-06 12:03:57 | | Modified: | 2004-10-06 12:04:57 | Visited in last 7 days: 23 |