ホーム › Networking.Clustering › ResUtilVerifyPropertyTable
ResUtilVerifyPropertyTable
関数入力プロパティリストがプロパティテーブルに適合するか検証する。
シグネチャ
// RESUTILS.dll
#include <windows.h>
DWORD ResUtilVerifyPropertyTable(
const RESUTIL_PROPERTY_ITEM* pPropertyTable,
void* Reserved, // optional
BOOL bAllowUnknownProperties,
const void* pInPropertyList,
DWORD cbInPropertyListSize,
BYTE* pOutParams // optional
);パラメーター
| 名前 | 型 | 方向 | 説明 |
|---|---|---|---|
| pPropertyTable | RESUTIL_PROPERTY_ITEM* | in | 検証基準となるプロパティ定義を記述したRESUTIL_PROPERTY_ITEM配列。 |
| Reserved | void* | optional | 予約済み。NULLを指定する。 |
| bAllowUnknownProperties | BOOL | in | TRUEで未知のプロパティを許容する。 |
| pInPropertyList | void* | in | 検証対象の入力プロパティリストへのポインタ。 |
| cbInPropertyListSize | DWORD | in | pInPropertyListのサイズ(バイト)。 |
| pOutParams | BYTE* | outoptional | 検証結果を反映するパラメーターブロックバッファ。NULL可。 |
戻り値の型: DWORD
各言語での呼び出し定義
// RESUTILS.dll
#include <windows.h>
DWORD ResUtilVerifyPropertyTable(
const RESUTIL_PROPERTY_ITEM* pPropertyTable,
void* Reserved, // optional
BOOL bAllowUnknownProperties,
const void* pInPropertyList,
DWORD cbInPropertyListSize,
BYTE* pOutParams // optional
);[DllImport("RESUTILS.dll", ExactSpelling = true)]
static extern uint ResUtilVerifyPropertyTable(
IntPtr pPropertyTable, // RESUTIL_PROPERTY_ITEM*
IntPtr Reserved, // void* optional
bool bAllowUnknownProperties, // BOOL
IntPtr pInPropertyList, // void*
uint cbInPropertyListSize, // DWORD
IntPtr pOutParams // BYTE* optional, out
);<DllImport("RESUTILS.dll", ExactSpelling:=True)>
Public Shared Function ResUtilVerifyPropertyTable(
pPropertyTable As IntPtr, ' RESUTIL_PROPERTY_ITEM*
Reserved As IntPtr, ' void* optional
bAllowUnknownProperties As Boolean, ' BOOL
pInPropertyList As IntPtr, ' void*
cbInPropertyListSize As UInteger, ' DWORD
pOutParams As IntPtr ' BYTE* optional, out
) As UInteger
End Function' pPropertyTable : RESUTIL_PROPERTY_ITEM*
' Reserved : void* optional
' bAllowUnknownProperties : BOOL
' pInPropertyList : void*
' cbInPropertyListSize : DWORD
' pOutParams : BYTE* optional, out
Declare PtrSafe Function ResUtilVerifyPropertyTable Lib "resutils" ( _
ByVal pPropertyTable As LongPtr, _
ByVal Reserved As LongPtr, _
ByVal bAllowUnknownProperties As Long, _
ByVal pInPropertyList As LongPtr, _
ByVal cbInPropertyListSize As Long, _
ByVal pOutParams As LongPtr) As Long
' VBA7前提(PtrSafe)。32bit Office では LongPtr→Long。Integer=16bit / Long=32bit / LongLong=64bit。import ctypes
from ctypes import wintypes
ResUtilVerifyPropertyTable = ctypes.windll.resutils.ResUtilVerifyPropertyTable
ResUtilVerifyPropertyTable.restype = wintypes.DWORD
ResUtilVerifyPropertyTable.argtypes = [
ctypes.c_void_p, # pPropertyTable : RESUTIL_PROPERTY_ITEM*
ctypes.POINTER(None), # Reserved : void* optional
wintypes.BOOL, # bAllowUnknownProperties : BOOL
ctypes.POINTER(None), # pInPropertyList : void*
wintypes.DWORD, # cbInPropertyListSize : DWORD
ctypes.POINTER(ctypes.c_ubyte), # pOutParams : BYTE* optional, out
]require 'fiddle'
require 'fiddle/import'
lib = Fiddle.dlopen('RESUTILS.dll')
ResUtilVerifyPropertyTable = Fiddle::Function.new(
lib['ResUtilVerifyPropertyTable'],
[
Fiddle::TYPE_VOIDP, # pPropertyTable : RESUTIL_PROPERTY_ITEM*
Fiddle::TYPE_VOIDP, # Reserved : void* optional
Fiddle::TYPE_INT, # bAllowUnknownProperties : BOOL
Fiddle::TYPE_VOIDP, # pInPropertyList : void*
-Fiddle::TYPE_INT, # cbInPropertyListSize : DWORD
Fiddle::TYPE_VOIDP, # pOutParams : BYTE* optional, out
],
-Fiddle::TYPE_INT)#[link(name = "resutils")]
extern "system" {
fn ResUtilVerifyPropertyTable(
pPropertyTable: *const RESUTIL_PROPERTY_ITEM, // RESUTIL_PROPERTY_ITEM*
Reserved: *mut (), // void* optional
bAllowUnknownProperties: i32, // BOOL
pInPropertyList: *const (), // void*
cbInPropertyListSize: u32, // DWORD
pOutParams: *mut u8 // BYTE* optional, out
) -> u32;
}
// crates: windows-sys provides ready-made bindings for this API.$sig = @"
[DllImport("RESUTILS.dll")]
public static extern uint ResUtilVerifyPropertyTable(IntPtr pPropertyTable, IntPtr Reserved, bool bAllowUnknownProperties, IntPtr pInPropertyList, uint cbInPropertyListSize, IntPtr pOutParams);
"@
$api = Add-Type -MemberDefinition $sig -Name 'RESUTILS_ResUtilVerifyPropertyTable' -Namespace Win32 -PassThru
# $api::ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams)#uselib "RESUTILS.dll"
#func global ResUtilVerifyPropertyTable "ResUtilVerifyPropertyTable" sptr, sptr, sptr, sptr, sptr, sptr
; ResUtilVerifyPropertyTable varptr(pPropertyTable), Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, varptr(pOutParams) ; 戻り値は stat
; pPropertyTable : RESUTIL_PROPERTY_ITEM* -> "sptr"
; Reserved : void* optional -> "sptr"
; bAllowUnknownProperties : BOOL -> "sptr"
; pInPropertyList : void* -> "sptr"
; cbInPropertyListSize : DWORD -> "sptr"
; pOutParams : BYTE* optional, out -> "sptr"
; ※HSP3.7は #func のため戻り値はシステム変数 stat に格納されます。出力引数:
#uselib "RESUTILS.dll" #cfunc global ResUtilVerifyPropertyTable "ResUtilVerifyPropertyTable" var, sptr, int, sptr, int, var ; res = ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams) ; pPropertyTable : RESUTIL_PROPERTY_ITEM* -> "var" ; Reserved : void* optional -> "sptr" ; bAllowUnknownProperties : BOOL -> "int" ; pInPropertyList : void* -> "sptr" ; cbInPropertyListSize : DWORD -> "int" ; pOutParams : BYTE* optional, out -> "var" ; ※出力/バッファ引数は var 方式(変数を直接渡す)。varptr 方式にも切替可。#uselib "RESUTILS.dll" #cfunc global ResUtilVerifyPropertyTable "ResUtilVerifyPropertyTable" sptr, sptr, int, sptr, int, sptr ; res = ResUtilVerifyPropertyTable(varptr(pPropertyTable), Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, varptr(pOutParams)) ; pPropertyTable : RESUTIL_PROPERTY_ITEM* -> "sptr" ; Reserved : void* optional -> "sptr" ; bAllowUnknownProperties : BOOL -> "int" ; pInPropertyList : void* -> "sptr" ; cbInPropertyListSize : DWORD -> "int" ; pOutParams : BYTE* optional, out -> "sptr" ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
出力引数:
; DWORD ResUtilVerifyPropertyTable(RESUTIL_PROPERTY_ITEM* pPropertyTable, void* Reserved, BOOL bAllowUnknownProperties, void* pInPropertyList, DWORD cbInPropertyListSize, BYTE* pOutParams) #uselib "RESUTILS.dll" #cfunc global ResUtilVerifyPropertyTable "ResUtilVerifyPropertyTable" var, intptr, int, intptr, int, var ; res = ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams) ; pPropertyTable : RESUTIL_PROPERTY_ITEM* -> "var" ; Reserved : void* optional -> "intptr" ; bAllowUnknownProperties : BOOL -> "int" ; pInPropertyList : void* -> "intptr" ; cbInPropertyListSize : DWORD -> "int" ; pOutParams : BYTE* optional, out -> "var" ; ※出力/バッファ引数は var 方式(変数を直接渡す)。varptr 方式にも切替可。; DWORD ResUtilVerifyPropertyTable(RESUTIL_PROPERTY_ITEM* pPropertyTable, void* Reserved, BOOL bAllowUnknownProperties, void* pInPropertyList, DWORD cbInPropertyListSize, BYTE* pOutParams) #uselib "RESUTILS.dll" #cfunc global ResUtilVerifyPropertyTable "ResUtilVerifyPropertyTable" intptr, intptr, int, intptr, int, intptr ; res = ResUtilVerifyPropertyTable(varptr(pPropertyTable), Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, varptr(pOutParams)) ; pPropertyTable : RESUTIL_PROPERTY_ITEM* -> "intptr" ; Reserved : void* optional -> "intptr" ; bAllowUnknownProperties : BOOL -> "int" ; pInPropertyList : void* -> "intptr" ; cbInPropertyListSize : DWORD -> "int" ; pOutParams : BYTE* optional, out -> "intptr" ; ※出力/バッファ引数はポインタ方式(token=intptr / 呼び出しは varptr(変数))。
import (
"golang.org/x/sys/windows"
"unsafe"
)
var (
resutils = windows.NewLazySystemDLL("RESUTILS.dll")
procResUtilVerifyPropertyTable = resutils.NewProc("ResUtilVerifyPropertyTable")
)
// pPropertyTable (RESUTIL_PROPERTY_ITEM*), Reserved (void* optional), bAllowUnknownProperties (BOOL), pInPropertyList (void*), cbInPropertyListSize (DWORD), pOutParams (BYTE* optional, out)
r1, _, err := procResUtilVerifyPropertyTable.Call(
uintptr(pPropertyTable),
uintptr(Reserved),
uintptr(bAllowUnknownProperties),
uintptr(pInPropertyList),
uintptr(cbInPropertyListSize),
uintptr(pOutParams),
)
_ = err // syscall.Errno (valid when the call sets last-error)
_ = r1 // DWORDfunction ResUtilVerifyPropertyTable(
pPropertyTable: Pointer; // RESUTIL_PROPERTY_ITEM*
Reserved: Pointer; // void* optional
bAllowUnknownProperties: BOOL; // BOOL
pInPropertyList: Pointer; // void*
cbInPropertyListSize: DWORD; // DWORD
pOutParams: Pointer // BYTE* optional, out
): DWORD; stdcall;
external 'RESUTILS.dll' name 'ResUtilVerifyPropertyTable';result := DllCall("RESUTILS\ResUtilVerifyPropertyTable"
, "Ptr", pPropertyTable ; RESUTIL_PROPERTY_ITEM*
, "Ptr", Reserved ; void* optional
, "Int", bAllowUnknownProperties ; BOOL
, "Ptr", pInPropertyList ; void*
, "UInt", cbInPropertyListSize ; DWORD
, "Ptr", pOutParams ; BYTE* optional, out
, "UInt") ; return: DWORD●ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams) = DLL("RESUTILS.dll", "dword ResUtilVerifyPropertyTable(void*, void*, bool, void*, dword, void*)")
# 呼び出し: ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams)
# pPropertyTable : RESUTIL_PROPERTY_ITEM* -> "void*"
# Reserved : void* optional -> "void*"
# bAllowUnknownProperties : BOOL -> "bool"
# pInPropertyList : void* -> "void*"
# cbInPropertyListSize : DWORD -> "dword"
# pOutParams : BYTE* optional, out -> "void*"
# なでしこ1は32bit・ANSI(Shift_JIS)。文字列=char*(ANSI)、ポインタ/ハンドル=void*(4byte)。const std = @import("std");
extern "resutils" fn ResUtilVerifyPropertyTable(
pPropertyTable: [*c]RESUTIL_PROPERTY_ITEM, // RESUTIL_PROPERTY_ITEM*
Reserved: ?*anyopaque, // void* optional
bAllowUnknownProperties: i32, // BOOL
pInPropertyList: ?*anyopaque, // void*
cbInPropertyListSize: u32, // DWORD
pOutParams: [*c]u8 // BYTE* optional, out
) callconv(std.os.windows.WINAPI) u32;proc ResUtilVerifyPropertyTable(
pPropertyTable: ptr RESUTIL_PROPERTY_ITEM, # RESUTIL_PROPERTY_ITEM*
Reserved: pointer, # void* optional
bAllowUnknownProperties: int32, # BOOL
pInPropertyList: pointer, # void*
cbInPropertyListSize: uint32, # DWORD
pOutParams: ptr uint8 # BYTE* optional, out
): uint32 {.importc: "ResUtilVerifyPropertyTable", stdcall, dynlib: "RESUTILS.dll".}pragma(lib, "resutils");
extern(Windows)
uint ResUtilVerifyPropertyTable(
RESUTIL_PROPERTY_ITEM* pPropertyTable, // RESUTIL_PROPERTY_ITEM*
void* Reserved, // void* optional
int bAllowUnknownProperties, // BOOL
void* pInPropertyList, // void*
uint cbInPropertyListSize, // DWORD
ubyte* pOutParams // BYTE* optional, out
);ccall((:ResUtilVerifyPropertyTable, "RESUTILS.dll"), stdcall, UInt32,
(Ptr{RESUTIL_PROPERTY_ITEM}, Ptr{Cvoid}, Int32, Ptr{Cvoid}, UInt32, Ptr{UInt8}),
pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams)
# pPropertyTable : RESUTIL_PROPERTY_ITEM* -> Ptr{RESUTIL_PROPERTY_ITEM}
# Reserved : void* optional -> Ptr{Cvoid}
# bAllowUnknownProperties : BOOL -> Int32
# pInPropertyList : void* -> Ptr{Cvoid}
# cbInPropertyListSize : DWORD -> UInt32
# pOutParams : BYTE* optional, out -> Ptr{UInt8}
# stdcall は 32bit のみ意味を持つ(x64 では無視)。local ffi = require("ffi")
ffi.cdef[[
uint32_t ResUtilVerifyPropertyTable(
void* pPropertyTable,
void* Reserved,
int32_t bAllowUnknownProperties,
void* pInPropertyList,
uint32_t cbInPropertyListSize,
uint8_t* pOutParams);
]]
local resutils = ffi.load("resutils")
-- resutils.ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams)
-- pPropertyTable : RESUTIL_PROPERTY_ITEM*
-- Reserved : void* optional
-- bAllowUnknownProperties : BOOL
-- pInPropertyList : void*
-- cbInPropertyListSize : DWORD
-- pOutParams : BYTE* optional, out
-- 構造体/GUIDへのポインタは cdef が通るよう void* で表記(実型は各引数コメント参照)。値渡し構造体・enum は対応する typedef を cdef に追加すること。const koffi = require('koffi');
const lib = koffi.load('RESUTILS.dll');
const ResUtilVerifyPropertyTable = lib.func('__stdcall', 'ResUtilVerifyPropertyTable', 'uint32_t', ['void *', 'void *', 'int32_t', 'void *', 'uint32_t', 'uint8_t *']);
// ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams)
// pPropertyTable : RESUTIL_PROPERTY_ITEM* -> 'void *'
// Reserved : void* optional -> 'void *'
// bAllowUnknownProperties : BOOL -> 'int32_t'
// pInPropertyList : void* -> 'void *'
// cbInPropertyListSize : DWORD -> 'uint32_t'
// pOutParams : BYTE* optional, out -> 'uint8_t *'
// 出力ポインタは koffi.out(...) で包む。構造体は koffi.struct で定義。const lib = Deno.dlopen("RESUTILS.dll", {
ResUtilVerifyPropertyTable: { parameters: ["pointer", "pointer", "i32", "pointer", "u32", "pointer"], result: "u32" },
});
// lib.symbols.ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams)
// pPropertyTable : RESUTIL_PROPERTY_ITEM* -> "pointer"
// Reserved : void* optional -> "pointer"
// bAllowUnknownProperties : BOOL -> "i32"
// pInPropertyList : void* -> "pointer"
// cbInPropertyListSize : DWORD -> "u32"
// pOutParams : BYTE* optional, out -> "pointer"
// 文字列引数は "buffer"(NUL 終端のバイト列を Uint8Array で渡す)。
// 値渡し構造体は { struct: [ ...field types... ] } を使用。<?php
$ffi = FFI::cdef(<<<C
uint32_t ResUtilVerifyPropertyTable(
void* pPropertyTable,
void* Reserved,
int32_t bAllowUnknownProperties,
void* pInPropertyList,
uint32_t cbInPropertyListSize,
uint8_t* pOutParams);
C, "RESUTILS.dll");
// $ffi->ResUtilVerifyPropertyTable(pPropertyTable, Reserved, bAllowUnknownProperties, pInPropertyList, cbInPropertyListSize, pOutParams);
// pPropertyTable : RESUTIL_PROPERTY_ITEM*
// Reserved : void* optional
// bAllowUnknownProperties : BOOL
// pInPropertyList : void*
// cbInPropertyListSize : DWORD
// pOutParams : BYTE* optional, out
// 構造体/GUIDへのポインタは cdef が通るよう void* で表記(実型は各引数コメント参照)。値渡し構造体・enum は対応する typedef を cdef に追加すること。
// WINAPI(stdcall): x64 では呼出規約が統一されるため問題なし。x86 では __stdcall 対応のラッパが必要な場合あり。import com.sun.jna.*;
import com.sun.jna.ptr.*;
import com.sun.jna.win32.StdCallLibrary;
import com.sun.jna.win32.W32APIOptions;
public interface Resutils extends StdCallLibrary {
Resutils INSTANCE = Native.load("resutils", Resutils.class);
int ResUtilVerifyPropertyTable(
Pointer pPropertyTable, // RESUTIL_PROPERTY_ITEM*
Pointer Reserved, // void* optional
boolean bAllowUnknownProperties, // BOOL
Pointer pInPropertyList, // void*
int cbInPropertyListSize, // DWORD
byte[] pOutParams // BYTE* optional, out
);
}@[Link("resutils")]
lib LibRESUTILS
fun ResUtilVerifyPropertyTable = ResUtilVerifyPropertyTable(
pPropertyTable : RESUTIL_PROPERTY_ITEM*, # RESUTIL_PROPERTY_ITEM*
Reserved : Void*, # void* optional
bAllowUnknownProperties : Int32, # BOOL
pInPropertyList : Void*, # void*
cbInPropertyListSize : UInt32, # DWORD
pOutParams : UInt8* # BYTE* optional, out
) : UInt32
end
# 構造体/GUID/enum は lib 内に対応する型定義が必要。
# 呼出規約: x64 は規約統一のため OK。x86(32bit)は WINAPI=stdcall だが Crystal の fun に stdcall 付与構文がなく非対応。import 'dart:ffi';
import 'package:ffi/ffi.dart';
typedef ResUtilVerifyPropertyTableNative = Uint32 Function(Pointer<Void>, Pointer<Void>, Int32, Pointer<Void>, Uint32, Pointer<Uint8>);
typedef ResUtilVerifyPropertyTableDart = int Function(Pointer<Void>, Pointer<Void>, int, Pointer<Void>, int, Pointer<Uint8>);
final ResUtilVerifyPropertyTable = DynamicLibrary.open('RESUTILS.dll')
.lookupFunction<ResUtilVerifyPropertyTableNative, ResUtilVerifyPropertyTableDart>('ResUtilVerifyPropertyTable');
// pPropertyTable : RESUTIL_PROPERTY_ITEM* -> Pointer<Void>
// Reserved : void* optional -> Pointer<Void>
// bAllowUnknownProperties : BOOL -> Int32
// pInPropertyList : void* -> Pointer<Void>
// cbInPropertyListSize : DWORD -> Uint32
// pOutParams : BYTE* optional, out -> Pointer<Uint8>
// 文字列は package:ffi の "...".toNativeUtf16()/toNativeUtf8() で変換。{$mode objfpc}{$H+}
function ResUtilVerifyPropertyTable(
pPropertyTable: Pointer; // RESUTIL_PROPERTY_ITEM*
Reserved: Pointer; // void* optional
bAllowUnknownProperties: BOOL; // BOOL
pInPropertyList: Pointer; // void*
cbInPropertyListSize: DWORD; // DWORD
pOutParams: Pointer // BYTE* optional, out
): DWORD; stdcall;
external 'RESUTILS.dll' name 'ResUtilVerifyPropertyTable';import Foreign
import Foreign.C.Types
import Foreign.C.String
foreign import stdcall safe "ResUtilVerifyPropertyTable"
c_ResUtilVerifyPropertyTable :: Ptr () -> Ptr () -> CInt -> Ptr () -> Word32 -> Ptr Word8 -> IO Word32
-- pPropertyTable : RESUTIL_PROPERTY_ITEM* -> Ptr ()
-- Reserved : void* optional -> Ptr ()
-- bAllowUnknownProperties : BOOL -> CInt
-- pInPropertyList : void* -> Ptr ()
-- cbInPropertyListSize : DWORD -> Word32
-- pOutParams : BYTE* optional, out -> Ptr Word8
-- 要 GHC(Windows)。stdcall は x64 では ccall として扱われる。ブロックする API は safe 呼び出し推奨。open Ctypes
open Foreign
let resutilverifypropertytable =
foreign "ResUtilVerifyPropertyTable"
((ptr void) @-> (ptr void) @-> int32_t @-> (ptr void) @-> uint32_t @-> (ptr uint8_t) @-> returning uint32_t)
(* pPropertyTable : RESUTIL_PROPERTY_ITEM* -> (ptr void) *)
(* Reserved : void* optional -> (ptr void) *)
(* bAllowUnknownProperties : BOOL -> int32_t *)
(* pInPropertyList : void* -> (ptr void) *)
(* cbInPropertyListSize : DWORD -> uint32_t *)
(* pOutParams : BYTE* optional, out -> (ptr uint8_t) *)
(* foreign は cdecl 前提。x64 Windows では WINAPI と一致。構造体は ctypes structure を定義のこと。 *)(cffi:define-foreign-library resutils (t "RESUTILS.dll"))
(cffi:use-foreign-library resutils)
(cffi:defcfun ("ResUtilVerifyPropertyTable" res-util-verify-property-table :convention :stdcall) :uint32
(p-property-table :pointer) ; RESUTIL_PROPERTY_ITEM*
(reserved :pointer) ; void* optional
(b-allow-unknown-properties :int32) ; BOOL
(p-in-property-list :pointer) ; void*
(cb-in-property-list-size :uint32) ; DWORD
(p-out-params :pointer)) ; BYTE* optional, out
; isize/usize(INT_PTR/SIZE_T)は x64 前提で :int64/:uint64。x86 では :int32/:uint32。use Win32::API;
my $ResUtilVerifyPropertyTable = Win32::API::More->new('RESUTILS',
'DWORD ResUtilVerifyPropertyTable(LPVOID pPropertyTable, LPVOID Reserved, BOOL bAllowUnknownProperties, LPVOID pInPropertyList, DWORD cbInPropertyListSize, LPVOID pOutParams)');
# my $ret = $ResUtilVerifyPropertyTable->Call($pPropertyTable, $Reserved, $bAllowUnknownProperties, $pInPropertyList, $cbInPropertyListSize, $pOutParams);
# pPropertyTable : RESUTIL_PROPERTY_ITEM* -> LPVOID
# Reserved : void* optional -> LPVOID
# bAllowUnknownProperties : BOOL -> BOOL
# pInPropertyList : void* -> LPVOID
# cbInPropertyListSize : DWORD -> DWORD
# pOutParams : BYTE* optional, out -> LPVOID
# 値渡し構造体は pack() した文字列、または Win32::API::Struct を使用。