GetPagingMode

Note: These APIs are not yet publicly available and will be available in the latest release of the Windows SDK.

Syntax

HRESULT 
WINAPI 
GetPagingMode( 
    _In_    VM_SAVED_STATE_DUMP_HANDLE      VmSavedStateDumpHandle, 
    _In_    UINT32                          VpId, 
    _Out_   PAGING_MODE*                    PagingMode 
    ); 

Parameters

VmSavedStateDumpHandle

Supplies a handle to a dump provider instance.

VpId

Supplies the Virtual Processor Id.

PagingMode

Returns the paging mode.

Return Value

If the operation completes successfully, the return value is S_OK.

Remarks

Queries for the current Paging Mode in use by the virtual processor at the time the saved state file was generated.