VerQueryValue function version

bool VerQueryValue(
  1. Pointer<NativeType> pBlock,
  2. PCWSTR lpSubBlock,
  3. Pointer<Pointer<NativeType>> lplpBuffer,
  4. Pointer<Uint32> puLen,
)

Retrieves specified version information from the specified version-information resource.

To learn more, see learn.microsoft.com/windows/win32/api/winver/nf-winver-verqueryvaluew.

Implementation

@pragma('vm:prefer-inline')
bool VerQueryValue(
  Pointer pBlock,
  PCWSTR lpSubBlock,
  Pointer<Pointer> lplpBuffer,
  Pointer<Uint32> puLen,
) => _VerQueryValue(pBlock, lpSubBlock, lplpBuffer, puLen) != FALSE;