VideoPortGetVersion function

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

Syntax


VP_STATUS VideoPortGetVersion(
  _In_    PVOID            HwDeviceExtension,
  _Inout_ PVPOSVERSIONINFO pVpOsVersionInfo
);

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

pVpOsVersionInfo [in, out]

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

Target platform

Desktop

Version

Available in Windows XP and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

PASSIVE_LEVEL

See also

VPOSVERSIONINFO

 

 

Send comments about this topic to Microsoft

Show: