Win32 API 日本語リファレンス
ホームSecurity.DiagnosticDataQuery › DdqGetDiagnosticRecordTagDistribution

DdqGetDiagnosticRecordTagDistribution

関数
指定プロデューサーの診断レコードタグ分布を取得する。
DLLDiagnosticDataQuery.dll呼出規約winapi対応OSWindows 10 以降

シグネチャ

// DiagnosticDataQuery.dll
#include <windows.h>

HRESULT DdqGetDiagnosticRecordTagDistribution(
    HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
    LPCWSTR* producerNames,
    DWORD producerNameCount,
    DIAGNOSTIC_DATA_EVENT_TAG_STATS** tagStats,
    DWORD* statCount
);

パラメーター

名前方向説明
hSessionHDIAGNOSTIC_DATA_QUERY_SESSIONin対象の診断データクエリセッションのハンドル。
producerNamesLPCWSTR*in対象プロデューサー名の配列へのポインタ。
producerNameCountDWORDinproducerNames配列の要素数。
tagStatsDIAGNOSTIC_DATA_EVENT_TAG_STATS**outタグ別統計の配列DIAGNOSTIC_DATA_EVENT_TAG_STATSのアドレスを受け取るポインタ。
statCountDWORD*out返された統計エントリ数を受け取るポインタ。

戻り値の型: HRESULT

各言語での呼び出し定義

// DiagnosticDataQuery.dll
#include <windows.h>

HRESULT DdqGetDiagnosticRecordTagDistribution(
    HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
    LPCWSTR* producerNames,
    DWORD producerNameCount,
    DIAGNOSTIC_DATA_EVENT_TAG_STATS** tagStats,
    DWORD* statCount
);
[DllImport("DiagnosticDataQuery.dll", ExactSpelling = true)]
static extern int DdqGetDiagnosticRecordTagDistribution(
    IntPtr hSession,   // HDIAGNOSTIC_DATA_QUERY_SESSION
    IntPtr producerNames,   // LPCWSTR*
    uint producerNameCount,   // DWORD
    IntPtr tagStats,   // DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    out uint statCount   // DWORD* out
);
<DllImport("DiagnosticDataQuery.dll", ExactSpelling:=True)>
Public Shared Function DdqGetDiagnosticRecordTagDistribution(
    hSession As IntPtr,   ' HDIAGNOSTIC_DATA_QUERY_SESSION
    producerNames As IntPtr,   ' LPCWSTR*
    producerNameCount As UInteger,   ' DWORD
    tagStats As IntPtr,   ' DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    <Out> ByRef statCount As UInteger   ' DWORD* out
) As Integer
End Function
' hSession : HDIAGNOSTIC_DATA_QUERY_SESSION
' producerNames : LPCWSTR*
' producerNameCount : DWORD
' tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
' statCount : DWORD* out
Declare PtrSafe Function DdqGetDiagnosticRecordTagDistribution Lib "diagnosticdataquery" ( _
    ByVal hSession As LongPtr, _
    ByVal producerNames As LongPtr, _
    ByVal producerNameCount As Long, _
    ByVal tagStats As LongPtr, _
    ByRef statCount As Long) As Long
' VBA7前提(PtrSafe)。32bit Office では LongPtr→Long。Integer=16bit / Long=32bit / LongLong=64bit。
import ctypes
from ctypes import wintypes

DdqGetDiagnosticRecordTagDistribution = ctypes.windll.diagnosticdataquery.DdqGetDiagnosticRecordTagDistribution
DdqGetDiagnosticRecordTagDistribution.restype = ctypes.c_int
DdqGetDiagnosticRecordTagDistribution.argtypes = [
    wintypes.HANDLE,  # hSession : HDIAGNOSTIC_DATA_QUERY_SESSION
    ctypes.c_void_p,  # producerNames : LPCWSTR*
    wintypes.DWORD,  # producerNameCount : DWORD
    ctypes.c_void_p,  # tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    ctypes.POINTER(wintypes.DWORD),  # statCount : DWORD* out
]
require 'fiddle'
require 'fiddle/import'

lib = Fiddle.dlopen('DiagnosticDataQuery.dll')
DdqGetDiagnosticRecordTagDistribution = Fiddle::Function.new(
  lib['DdqGetDiagnosticRecordTagDistribution'],
  [
    Fiddle::TYPE_VOIDP,  # hSession : HDIAGNOSTIC_DATA_QUERY_SESSION
    Fiddle::TYPE_VOIDP,  # producerNames : LPCWSTR*
    -Fiddle::TYPE_INT,  # producerNameCount : DWORD
    Fiddle::TYPE_VOIDP,  # tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    Fiddle::TYPE_VOIDP,  # statCount : DWORD* out
  ],
  Fiddle::TYPE_INT)
#[link(name = "diagnosticdataquery")]
extern "system" {
    fn DdqGetDiagnosticRecordTagDistribution(
        hSession: *mut core::ffi::c_void,  // HDIAGNOSTIC_DATA_QUERY_SESSION
        producerNames: *const *const u16,  // LPCWSTR*
        producerNameCount: u32,  // DWORD
        tagStats: *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS,  // DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
        statCount: *mut u32  // DWORD* out
    ) -> i32;
}
// crates: windows-sys provides ready-made bindings for this API.
$sig = @"
[DllImport("DiagnosticDataQuery.dll")]
public static extern int DdqGetDiagnosticRecordTagDistribution(IntPtr hSession, IntPtr producerNames, uint producerNameCount, IntPtr tagStats, out uint statCount);
"@
$api = Add-Type -MemberDefinition $sig -Name 'DiagnosticDataQuery_DdqGetDiagnosticRecordTagDistribution' -Namespace Win32 -PassThru
# $api::DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount)
#uselib "DiagnosticDataQuery.dll"
#func global DdqGetDiagnosticRecordTagDistribution "DdqGetDiagnosticRecordTagDistribution" sptr, sptr, sptr, sptr, sptr
; DdqGetDiagnosticRecordTagDistribution hSession, varptr(producerNames), producerNameCount, varptr(tagStats), varptr(statCount)   ; 戻り値は stat
; hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> "sptr"
; producerNames : LPCWSTR* -> "sptr"
; producerNameCount : DWORD -> "sptr"
; tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> "sptr"
; statCount : DWORD* out -> "sptr"
; ※HSP3.7は #func のため戻り値はシステム変数 stat に格納されます。
出力引数:
#uselib "DiagnosticDataQuery.dll"
#cfunc global DdqGetDiagnosticRecordTagDistribution "DdqGetDiagnosticRecordTagDistribution" sptr, var, int, var, var
; res = DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount)
; hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> "sptr"
; producerNames : LPCWSTR* -> "var"
; producerNameCount : DWORD -> "int"
; tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> "var"
; statCount : DWORD* out -> "var"
; ※出力/バッファ引数は var 方式(変数を直接渡す)。varptr 方式にも切替可。
出力引数:
; HRESULT DdqGetDiagnosticRecordTagDistribution(HDIAGNOSTIC_DATA_QUERY_SESSION hSession, LPCWSTR* producerNames, DWORD producerNameCount, DIAGNOSTIC_DATA_EVENT_TAG_STATS** tagStats, DWORD* statCount)
#uselib "DiagnosticDataQuery.dll"
#cfunc global DdqGetDiagnosticRecordTagDistribution "DdqGetDiagnosticRecordTagDistribution" intptr, var, int, var, var
; res = DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount)
; hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> "intptr"
; producerNames : LPCWSTR* -> "var"
; producerNameCount : DWORD -> "int"
; tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> "var"
; statCount : DWORD* out -> "var"
; ※出力/バッファ引数は var 方式(変数を直接渡す)。varptr 方式にも切替可。
import (
	"golang.org/x/sys/windows"
	"unsafe"
)

var (
	diagnosticdataquery = windows.NewLazySystemDLL("DiagnosticDataQuery.dll")
	procDdqGetDiagnosticRecordTagDistribution = diagnosticdataquery.NewProc("DdqGetDiagnosticRecordTagDistribution")
)

// hSession (HDIAGNOSTIC_DATA_QUERY_SESSION), producerNames (LPCWSTR*), producerNameCount (DWORD), tagStats (DIAGNOSTIC_DATA_EVENT_TAG_STATS** out), statCount (DWORD* out)
r1, _, err := procDdqGetDiagnosticRecordTagDistribution.Call(
	uintptr(hSession),
	uintptr(producerNames),
	uintptr(producerNameCount),
	uintptr(tagStats),
	uintptr(statCount),
)
_ = err  // syscall.Errno (valid when the call sets last-error)
_ = r1   // HRESULT
function DdqGetDiagnosticRecordTagDistribution(
  hSession: THandle;   // HDIAGNOSTIC_DATA_QUERY_SESSION
  producerNames: PPWideChar;   // LPCWSTR*
  producerNameCount: DWORD;   // DWORD
  tagStats: Pointer;   // DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
  statCount: Pointer   // DWORD* out
): Integer; stdcall;
  external 'DiagnosticDataQuery.dll' name 'DdqGetDiagnosticRecordTagDistribution';
result := DllCall("DiagnosticDataQuery\DdqGetDiagnosticRecordTagDistribution"
    , "Ptr", hSession   ; HDIAGNOSTIC_DATA_QUERY_SESSION
    , "Ptr", producerNames   ; LPCWSTR*
    , "UInt", producerNameCount   ; DWORD
    , "Ptr", tagStats   ; DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    , "Ptr", statCount   ; DWORD* out
    , "Int")   ; return: HRESULT
●DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount) = DLL("DiagnosticDataQuery.dll", "int DdqGetDiagnosticRecordTagDistribution(void*, void*, dword, void*, void*)")
# 呼び出し: DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount)
# hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> "void*"
# producerNames : LPCWSTR* -> "void*"
# producerNameCount : DWORD -> "dword"
# tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> "void*"
# statCount : DWORD* out -> "void*"
# なでしこ1は32bit・ANSI(Shift_JIS)。文字列=char*(ANSI)、ポインタ/ハンドル=void*(4byte)。
const std = @import("std");

extern "diagnosticdataquery" fn DdqGetDiagnosticRecordTagDistribution(
    hSession: ?*anyopaque, // HDIAGNOSTIC_DATA_QUERY_SESSION
    producerNames: [*c][*c]u16, // LPCWSTR*
    producerNameCount: u32, // DWORD
    tagStats: [*c][*c]DIAGNOSTIC_DATA_EVENT_TAG_STATS, // DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    statCount: [*c]u32 // DWORD* out
) callconv(std.os.windows.WINAPI) i32;
proc DdqGetDiagnosticRecordTagDistribution(
    hSession: pointer,  # HDIAGNOSTIC_DATA_QUERY_SESSION
    producerNames: ptr WideCString,  # LPCWSTR*
    producerNameCount: uint32,  # DWORD
    tagStats: ptr DIAGNOSTIC_DATA_EVENT_TAG_STATS,  # DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    statCount: ptr uint32  # DWORD* out
): int32 {.importc: "DdqGetDiagnosticRecordTagDistribution", stdcall, dynlib: "DiagnosticDataQuery.dll".}
pragma(lib, "diagnosticdataquery");
extern(Windows)
int DdqGetDiagnosticRecordTagDistribution(
    void* hSession,   // HDIAGNOSTIC_DATA_QUERY_SESSION
    wchar** producerNames,   // LPCWSTR*
    uint producerNameCount,   // DWORD
    DIAGNOSTIC_DATA_EVENT_TAG_STATS** tagStats,   // DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    uint* statCount   // DWORD* out
);
ccall((:DdqGetDiagnosticRecordTagDistribution, "DiagnosticDataQuery.dll"), stdcall, Int32,
      (Ptr{Cvoid}, Ptr{Ptr{UInt16}}, UInt32, Ptr{DIAGNOSTIC_DATA_EVENT_TAG_STATS}, Ptr{UInt32}),
      hSession, producerNames, producerNameCount, tagStats, statCount)
# hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> Ptr{Cvoid}
# producerNames : LPCWSTR* -> Ptr{Ptr{UInt16}}
# producerNameCount : DWORD -> UInt32
# tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> Ptr{DIAGNOSTIC_DATA_EVENT_TAG_STATS}
# statCount : DWORD* out -> Ptr{UInt32}
# stdcall は 32bit のみ意味を持つ(x64 では無視)。
local ffi = require("ffi")
ffi.cdef[[
int32_t DdqGetDiagnosticRecordTagDistribution(
    void* hSession,
    uint16_t** producerNames,
    uint32_t producerNameCount,
    void* tagStats,
    uint32_t* statCount);
]]
local diagnosticdataquery = ffi.load("diagnosticdataquery")
-- diagnosticdataquery.DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount)
-- hSession : HDIAGNOSTIC_DATA_QUERY_SESSION
-- producerNames : LPCWSTR*
-- producerNameCount : DWORD
-- tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
-- statCount : DWORD* out
-- 構造体/GUIDへのポインタは cdef が通るよう void* で表記(実型は各引数コメント参照)。値渡し構造体・enum は対応する typedef を cdef に追加すること。
const koffi = require('koffi');
const lib = koffi.load('DiagnosticDataQuery.dll');
const DdqGetDiagnosticRecordTagDistribution = lib.func('__stdcall', 'DdqGetDiagnosticRecordTagDistribution', 'int32_t', ['void *', 'void *', 'uint32_t', 'void *', 'uint32_t *']);
// DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount)
// hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> 'void *'
// producerNames : LPCWSTR* -> 'void *'
// producerNameCount : DWORD -> 'uint32_t'
// tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> 'void *'
// statCount : DWORD* out -> 'uint32_t *'
// 出力ポインタは koffi.out(...) で包む。構造体は koffi.struct で定義。
const lib = Deno.dlopen("DiagnosticDataQuery.dll", {
  DdqGetDiagnosticRecordTagDistribution: { parameters: ["pointer", "pointer", "u32", "pointer", "pointer"], result: "i32" },
});
// lib.symbols.DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount)
// hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> "pointer"
// producerNames : LPCWSTR* -> "pointer"
// producerNameCount : DWORD -> "u32"
// tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> "pointer"
// statCount : DWORD* out -> "pointer"
// 文字列引数は "buffer"(NUL 終端のバイト列を Uint8Array で渡す)。
// 値渡し構造体は { struct: [ ...field types... ] } を使用。
<?php
$ffi = FFI::cdef(<<<C
int32_t DdqGetDiagnosticRecordTagDistribution(
    void* hSession,
    uint16_t** producerNames,
    uint32_t producerNameCount,
    void* tagStats,
    uint32_t* statCount);
C, "DiagnosticDataQuery.dll");
// $ffi->DdqGetDiagnosticRecordTagDistribution(hSession, producerNames, producerNameCount, tagStats, statCount);
// hSession : HDIAGNOSTIC_DATA_QUERY_SESSION
// producerNames : LPCWSTR*
// producerNameCount : DWORD
// tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
// statCount : DWORD* 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 Diagnosticdataquery extends StdCallLibrary {
    Diagnosticdataquery INSTANCE = Native.load("diagnosticdataquery", Diagnosticdataquery.class);
    int DdqGetDiagnosticRecordTagDistribution(
        Pointer hSession,   // HDIAGNOSTIC_DATA_QUERY_SESSION
        PointerByReference producerNames,   // LPCWSTR*
        int producerNameCount,   // DWORD
        Pointer tagStats,   // DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
        IntByReference statCount   // DWORD* out
    );
}
@[Link("diagnosticdataquery")]
lib LibDiagnosticDataQuery
  fun DdqGetDiagnosticRecordTagDistribution = DdqGetDiagnosticRecordTagDistribution(
    hSession : Void*,   # HDIAGNOSTIC_DATA_QUERY_SESSION
    producerNames : UInt16**,   # LPCWSTR*
    producerNameCount : UInt32,   # DWORD
    tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS**,   # DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
    statCount : UInt32*   # DWORD* out
  ) : Int32
end
# 構造体/GUID/enum は lib 内に対応する型定義が必要。
# 呼出規約: x64 は規約統一のため OK。x86(32bit)は WINAPI=stdcall だが Crystal の fun に stdcall 付与構文がなく非対応。
import 'dart:ffi';
import 'package:ffi/ffi.dart';

typedef DdqGetDiagnosticRecordTagDistributionNative = Int32 Function(Pointer<Void>, Pointer<Pointer<Utf16>>, Uint32, Pointer<Void>, Pointer<Uint32>);
typedef DdqGetDiagnosticRecordTagDistributionDart = int Function(Pointer<Void>, Pointer<Pointer<Utf16>>, int, Pointer<Void>, Pointer<Uint32>);
final DdqGetDiagnosticRecordTagDistribution = DynamicLibrary.open('DiagnosticDataQuery.dll')
    .lookupFunction<DdqGetDiagnosticRecordTagDistributionNative, DdqGetDiagnosticRecordTagDistributionDart>('DdqGetDiagnosticRecordTagDistribution');
// hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> Pointer<Void>
// producerNames : LPCWSTR* -> Pointer<Pointer<Utf16>>
// producerNameCount : DWORD -> Uint32
// tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> Pointer<Void>
// statCount : DWORD* out -> Pointer<Uint32>
// 文字列は package:ffi の "...".toNativeUtf16()/toNativeUtf8() で変換。
{$mode objfpc}{$H+}
function DdqGetDiagnosticRecordTagDistribution(
  hSession: THandle;   // HDIAGNOSTIC_DATA_QUERY_SESSION
  producerNames: PPWideChar;   // LPCWSTR*
  producerNameCount: DWORD;   // DWORD
  tagStats: Pointer;   // DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
  statCount: Pointer   // DWORD* out
): Integer; stdcall;
  external 'DiagnosticDataQuery.dll' name 'DdqGetDiagnosticRecordTagDistribution';
import Foreign
import Foreign.C.Types
import Foreign.C.String

foreign import stdcall safe "DdqGetDiagnosticRecordTagDistribution"
  c_DdqGetDiagnosticRecordTagDistribution :: Ptr () -> Ptr CWString -> Word32 -> Ptr () -> Ptr Word32 -> IO Int32
-- hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> Ptr ()
-- producerNames : LPCWSTR* -> Ptr CWString
-- producerNameCount : DWORD -> Word32
-- tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> Ptr ()
-- statCount : DWORD* out -> Ptr Word32
-- 要 GHC(Windows)。stdcall は x64 では ccall として扱われる。ブロックする API は safe 呼び出し推奨。
open Ctypes
open Foreign

let ddqgetdiagnosticrecordtagdistribution =
  foreign "DdqGetDiagnosticRecordTagDistribution"
    ((ptr void) @-> (ptr (ptr uint16_t)) @-> uint32_t @-> (ptr void) @-> (ptr uint32_t) @-> returning int32_t)
(* hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> (ptr void) *)
(* producerNames : LPCWSTR* -> (ptr (ptr uint16_t)) *)
(* producerNameCount : DWORD -> uint32_t *)
(* tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> (ptr void) *)
(* statCount : DWORD* out -> (ptr uint32_t) *)
(* foreign は cdecl 前提。x64 Windows では WINAPI と一致。構造体は ctypes structure を定義のこと。 *)
(cffi:define-foreign-library diagnosticdataquery (t "DiagnosticDataQuery.dll"))
(cffi:use-foreign-library diagnosticdataquery)

(cffi:defcfun ("DdqGetDiagnosticRecordTagDistribution" ddq-get-diagnostic-record-tag-distribution :convention :stdcall) :int32
  (h-session :pointer)   ; HDIAGNOSTIC_DATA_QUERY_SESSION
  (producer-names :pointer)   ; LPCWSTR*
  (producer-name-count :uint32)   ; DWORD
  (tag-stats :pointer)   ; DIAGNOSTIC_DATA_EVENT_TAG_STATS** out
  (stat-count :pointer))   ; DWORD* out
; isize/usize(INT_PTR/SIZE_T)は x64 前提で :int64/:uint64。x86 では :int32/:uint32。
use Win32::API;
my $DdqGetDiagnosticRecordTagDistribution = Win32::API::More->new('DiagnosticDataQuery',
    'int DdqGetDiagnosticRecordTagDistribution(HANDLE hSession, LPVOID producerNames, DWORD producerNameCount, LPVOID tagStats, LPVOID statCount)');
# my $ret = $DdqGetDiagnosticRecordTagDistribution->Call($hSession, $producerNames, $producerNameCount, $tagStats, $statCount);
# hSession : HDIAGNOSTIC_DATA_QUERY_SESSION -> HANDLE
# producerNames : LPCWSTR* -> LPVOID
# producerNameCount : DWORD -> DWORD
# tagStats : DIAGNOSTIC_DATA_EVENT_TAG_STATS** out -> LPVOID
# statCount : DWORD* out -> LPVOID
# 値渡し構造体は pack() した文字列、または Win32::API::Struct を使用。

関連項目

使用する型