Preberi v angleščini

Deli z drugimi prek


SrpRestoreEnterpriseContext function

Note  Windows Information Protection (WIP) policy can be applied on Windows 10, version 1607.

 

Restores the process back to the original context.

Syntax

c++
HRESULT WINAPI SrpRestoreEnterpriseContext(
  _In_opt_ HANDLE  tokenHandle
);

Parameters

  • tokenHandle [in, optional]
    A handle to the original context's token.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Srpapi.h

Library

Srpapi.lib

DLL

Srpapi.dll