VerQueryValue function Null safety version
- Pointer<
NativeType> pBlock, - Pointer<
Utf16> lpSubBlock, - Pointer<
Pointer< lplpBuffer,NativeType> > - Pointer<
Uint32> puLen
Retrieves specified version information from the specified version-information resource. To retrieve the appropriate resource, before you call VerQueryValue, you must first call the GetFileVersionInfoSize function, and then the GetFileVersionInfo function.
BOOL VerQueryValueW(
LPCVOID pBlock,
LPCWSTR lpSubBlock,
LPVOID *lplpBuffer,
PUINT puLen
);
Implementation
int VerQueryValue(Pointer pBlock, Pointer<Utf16> lpSubBlock,
Pointer<Pointer> lplpBuffer, Pointer<Uint32> puLen) {
final _VerQueryValue = _version.lookupFunction<
Int32 Function(Pointer pBlock, Pointer<Utf16> lpSubBlock,
Pointer<Pointer> lplpBuffer, Pointer<Uint32> puLen),
int Function(
Pointer pBlock,
Pointer<Utf16> lpSubBlock,
Pointer<Pointer> lplpBuffer,
Pointer<Uint32> puLen)>('VerQueryValueW');
return _VerQueryValue(pBlock, lpSubBlock, lplpBuffer, puLen);
}