Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The VideoPortRestoreWCMemory callback routine restores Write Combined video memory from a protected state after the VideoPortProtectWCMemory callback routine was called.
Syntax
RESTORE_WC_MEMORY RestoreWcMemory;
VP_STATUS RestoreWcMemory(
[in] IN PVOID Context,
[in] IN PVOID HwDeviceExtension
)
{...}
Parameters
[in] Context
Pointer to a caller-determined context parameter to be passed to the CallbackRoutine. It typically points to the VIDEO_PORT_CONFIG_INFO buffer.
[in] HwDeviceExtension
Pointer to the miniport driver's hardware device extension.
Return value
VideoPortRestoreWCMemory returns NO_ERROR if it successfully restored Write Combined video memory; otherwise, it returns an error status of ERROR_INVALID_FUNCTION or ERROR_NOT_ENOUGH_MEMORY.
Remarks
After the VideoPortProtectWCMemory callback routine is called, the CPU cannot write to Write Combined memory until VideoPortRestoreWCMemory is called.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | video.h (include Video.h) |