VideoPortGetVersion function

The VideoPortGetVersion function gets version information about the currently running operating system.

Syntax

VIDEOPORT_API VP_STATUS VideoPortGetVersion(
  IN PVOID                HwDeviceExtension,
  IN OUT PVPOSVERSIONINFO pVpOsVersionInfo
);

Parameters

HwDeviceExtension

Pointer to the miniport driver's device extension.

pVpOsVersionInfo

Pointer to a VPOSVERSIONINFO structure that will receive the operating system version information. The caller should set the Size member of the VPOSVERSIONINFO structure to the size, in bytes, of that structure.

Return Value

VideoPortGetVersionInfo returns NO_ERROR if it successfully obtained the operating system version information. If the Size member of the VPOSVERSIONINFO does not contains the correct size of this structure, the function returns ERROR_INVALID_PARAMETER

Requirements

   
Minimum supported client Available in Windows XP and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL PASSIVE_LEVEL

See Also

VPOSVERSIONINFO