IBackgroundCopyJob4::GetOwnerElevationState method (bits3_0.h)
Gets a value that determines if the token of the owner was elevated at the time they created or took ownership of the job.
Syntax
HRESULT GetOwnerElevationState(
[out] BOOL *pElevated
);
Parameters
[out] pElevated
Is TRUE if the token of the owner was elevated at the time they created or took ownership of the job; otherwise, FALSE.
Return value
The method returns the following return values.
Return code | Description |
---|---|
|
Success |
Remarks
For details on elevated tokens, see User Account Control and BITS.
Note that if the job was created with an elevated token, all subsequent updates to the job must be done with an elevated token.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | bits3_0.h (include Bits.h) |
Library | Bits.lib |