Win32 API 日本語リファレンス
ホームSystem.Rpc › RpcBindingInqAuthInfoA

RpcBindingInqAuthInfoA

関数
バインディングの認証情報を問い合わせる(ANSI版)。
DLLRPCRT4.dll文字セットANSI (-A)呼出規約winapi対応OSWindows 2000 以降

シグネチャ

// RPCRT4.dll  (ANSI / -A)
#include <windows.h>

RPC_STATUS RpcBindingInqAuthInfoA(
    void* Binding,
    LPSTR* ServerPrincName,   // optional
    DWORD* AuthnLevel,   // optional
    DWORD* AuthnSvc,   // optional
    void** AuthIdentity,   // optional
    DWORD* AuthzSvc   // optional
);

パラメーター

名前方向説明
Bindingvoid*in認証情報を照会する対象のクライアントバインディングハンドル。
ServerPrincNameLPSTR*outoptional設定済みのサーバープリンシパル名(ANSI)を受け取る出力先。NULL可。
AuthnLevelDWORD*outoptional設定済み認証レベル(RPC_C_AUTHN_LEVEL_*)を受け取る出力先。NULL可。
AuthnSvcDWORD*outoptional設定済み認証サービス(RPC_C_AUTHN_*)を受け取る出力先。NULL可。
AuthIdentityvoid**outoptional認証資格情報構造体へのポインタを受け取る出力先。NULL可。
AuthzSvcDWORD*outoptional設定済み認可サービス(RPC_C_AUTHZ_*)を受け取る出力先。NULL可。

戻り値の型: RPC_STATUS

各言語での呼び出し定義

// RPCRT4.dll  (ANSI / -A)
#include <windows.h>

RPC_STATUS RpcBindingInqAuthInfoA(
    void* Binding,
    LPSTR* ServerPrincName,   // optional
    DWORD* AuthnLevel,   // optional
    DWORD* AuthnSvc,   // optional
    void** AuthIdentity,   // optional
    DWORD* AuthzSvc   // optional
);
[DllImport("RPCRT4.dll", CharSet = CharSet.Ansi, ExactSpelling = true)]
static extern int RpcBindingInqAuthInfoA(
    IntPtr Binding,   // void*
    IntPtr ServerPrincName,   // LPSTR* optional, out
    IntPtr AuthnLevel,   // DWORD* optional, out
    IntPtr AuthnSvc,   // DWORD* optional, out
    IntPtr AuthIdentity,   // void** optional, out
    IntPtr AuthzSvc   // DWORD* optional, out
);
<DllImport("RPCRT4.dll", CharSet:=CharSet.Ansi, ExactSpelling:=True)>
Public Shared Function RpcBindingInqAuthInfoA(
    Binding As IntPtr,   ' void*
    ServerPrincName As IntPtr,   ' LPSTR* optional, out
    AuthnLevel As IntPtr,   ' DWORD* optional, out
    AuthnSvc As IntPtr,   ' DWORD* optional, out
    AuthIdentity As IntPtr,   ' void** optional, out
    AuthzSvc As IntPtr   ' DWORD* optional, out
) As Integer
End Function
' Binding : void*
' ServerPrincName : LPSTR* optional, out
' AuthnLevel : DWORD* optional, out
' AuthnSvc : DWORD* optional, out
' AuthIdentity : void** optional, out
' AuthzSvc : DWORD* optional, out
Declare PtrSafe Function RpcBindingInqAuthInfoA Lib "rpcrt4" ( _
    ByVal Binding As LongPtr, _
    ByVal ServerPrincName As LongPtr, _
    ByVal AuthnLevel As LongPtr, _
    ByVal AuthnSvc As LongPtr, _
    ByVal AuthIdentity As LongPtr, _
    ByVal AuthzSvc As LongPtr) As Long
' VBA7前提(PtrSafe)。32bit Office では LongPtr→Long。Integer=16bit / Long=32bit / LongLong=64bit。
import ctypes
from ctypes import wintypes

RpcBindingInqAuthInfoA = ctypes.windll.rpcrt4.RpcBindingInqAuthInfoA
RpcBindingInqAuthInfoA.restype = ctypes.c_int
RpcBindingInqAuthInfoA.argtypes = [
    ctypes.POINTER(None),  # Binding : void*
    ctypes.c_void_p,  # ServerPrincName : LPSTR* optional, out
    ctypes.POINTER(wintypes.DWORD),  # AuthnLevel : DWORD* optional, out
    ctypes.POINTER(wintypes.DWORD),  # AuthnSvc : DWORD* optional, out
    ctypes.c_void_p,  # AuthIdentity : void** optional, out
    ctypes.POINTER(wintypes.DWORD),  # AuthzSvc : DWORD* optional, out
]
require 'fiddle'
require 'fiddle/import'

lib = Fiddle.dlopen('RPCRT4.dll')
RpcBindingInqAuthInfoA = Fiddle::Function.new(
  lib['RpcBindingInqAuthInfoA'],
  [
    Fiddle::TYPE_VOIDP,  # Binding : void*
    Fiddle::TYPE_VOIDP,  # ServerPrincName : LPSTR* optional, out
    Fiddle::TYPE_VOIDP,  # AuthnLevel : DWORD* optional, out
    Fiddle::TYPE_VOIDP,  # AuthnSvc : DWORD* optional, out
    Fiddle::TYPE_VOIDP,  # AuthIdentity : void** optional, out
    Fiddle::TYPE_VOIDP,  # AuthzSvc : DWORD* optional, out
  ],
  Fiddle::TYPE_INT)
#[link(name = "rpcrt4")]
extern "system" {
    fn RpcBindingInqAuthInfoA(
        Binding: *mut (),  // void*
        ServerPrincName: *mut *mut u8,  // LPSTR* optional, out
        AuthnLevel: *mut u32,  // DWORD* optional, out
        AuthnSvc: *mut u32,  // DWORD* optional, out
        AuthIdentity: *mut *mut (),  // void** optional, out
        AuthzSvc: *mut u32  // DWORD* optional, out
    ) -> i32;
}
// crates: windows-sys provides ready-made bindings for this API.
$sig = @"
[DllImport("RPCRT4.dll", CharSet = CharSet.Ansi)]
public static extern int RpcBindingInqAuthInfoA(IntPtr Binding, IntPtr ServerPrincName, IntPtr AuthnLevel, IntPtr AuthnSvc, IntPtr AuthIdentity, IntPtr AuthzSvc);
"@
$api = Add-Type -MemberDefinition $sig -Name 'RPCRT4_RpcBindingInqAuthInfoA' -Namespace Win32 -PassThru
# $api::RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc)
#uselib "RPCRT4.dll"
#func global RpcBindingInqAuthInfoA "RpcBindingInqAuthInfoA" sptr, sptr, sptr, sptr, sptr, sptr
; RpcBindingInqAuthInfoA Binding, varptr(ServerPrincName), varptr(AuthnLevel), varptr(AuthnSvc), AuthIdentity, varptr(AuthzSvc)   ; 戻り値は stat
; Binding : void* -> "sptr"
; ServerPrincName : LPSTR* optional, out -> "sptr"
; AuthnLevel : DWORD* optional, out -> "sptr"
; AuthnSvc : DWORD* optional, out -> "sptr"
; AuthIdentity : void** optional, out -> "sptr"
; AuthzSvc : DWORD* optional, out -> "sptr"
; ※HSP3.7は #func のため戻り値はシステム変数 stat に格納されます。
出力引数:
#uselib "RPCRT4.dll"
#cfunc global RpcBindingInqAuthInfoA "RpcBindingInqAuthInfoA" sptr, var, var, var, sptr, var
; res = RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc)
; Binding : void* -> "sptr"
; ServerPrincName : LPSTR* optional, out -> "var"
; AuthnLevel : DWORD* optional, out -> "var"
; AuthnSvc : DWORD* optional, out -> "var"
; AuthIdentity : void** optional, out -> "sptr"
; AuthzSvc : DWORD* optional, out -> "var"
; ※出力/バッファ引数は var 方式(変数を直接渡す)。varptr 方式にも切替可。
出力引数:
; RPC_STATUS RpcBindingInqAuthInfoA(void* Binding, LPSTR* ServerPrincName, DWORD* AuthnLevel, DWORD* AuthnSvc, void** AuthIdentity, DWORD* AuthzSvc)
#uselib "RPCRT4.dll"
#cfunc global RpcBindingInqAuthInfoA "RpcBindingInqAuthInfoA" intptr, var, var, var, intptr, var
; res = RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc)
; Binding : void* -> "intptr"
; ServerPrincName : LPSTR* optional, out -> "var"
; AuthnLevel : DWORD* optional, out -> "var"
; AuthnSvc : DWORD* optional, out -> "var"
; AuthIdentity : void** optional, out -> "intptr"
; AuthzSvc : DWORD* optional, out -> "var"
; ※出力/バッファ引数は var 方式(変数を直接渡す)。varptr 方式にも切替可。
import (
	"golang.org/x/sys/windows"
	"unsafe"
)

var (
	rpcrt4 = windows.NewLazySystemDLL("RPCRT4.dll")
	procRpcBindingInqAuthInfoA = rpcrt4.NewProc("RpcBindingInqAuthInfoA")
)

// Binding (void*), ServerPrincName (LPSTR* optional, out), AuthnLevel (DWORD* optional, out), AuthnSvc (DWORD* optional, out), AuthIdentity (void** optional, out), AuthzSvc (DWORD* optional, out)
r1, _, err := procRpcBindingInqAuthInfoA.Call(
	uintptr(Binding),
	uintptr(ServerPrincName),
	uintptr(AuthnLevel),
	uintptr(AuthnSvc),
	uintptr(AuthIdentity),
	uintptr(AuthzSvc),
)
_ = err  // syscall.Errno (valid when the call sets last-error)
_ = r1   // RPC_STATUS
function RpcBindingInqAuthInfoA(
  Binding: Pointer;   // void*
  ServerPrincName: PPAnsiChar;   // LPSTR* optional, out
  AuthnLevel: Pointer;   // DWORD* optional, out
  AuthnSvc: Pointer;   // DWORD* optional, out
  AuthIdentity: Pointer;   // void** optional, out
  AuthzSvc: Pointer   // DWORD* optional, out
): Integer; stdcall;
  external 'RPCRT4.dll' name 'RpcBindingInqAuthInfoA';
result := DllCall("RPCRT4\RpcBindingInqAuthInfoA"
    , "Ptr", Binding   ; void*
    , "Ptr", ServerPrincName   ; LPSTR* optional, out
    , "Ptr", AuthnLevel   ; DWORD* optional, out
    , "Ptr", AuthnSvc   ; DWORD* optional, out
    , "Ptr", AuthIdentity   ; void** optional, out
    , "Ptr", AuthzSvc   ; DWORD* optional, out
    , "Int")   ; return: RPC_STATUS
●RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc) = DLL("RPCRT4.dll", "int RpcBindingInqAuthInfoA(void*, void*, void*, void*, void*, void*)")
# 呼び出し: RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc)
# Binding : void* -> "void*"
# ServerPrincName : LPSTR* optional, out -> "void*"
# AuthnLevel : DWORD* optional, out -> "void*"
# AuthnSvc : DWORD* optional, out -> "void*"
# AuthIdentity : void** optional, out -> "void*"
# AuthzSvc : DWORD* optional, out -> "void*"
# なでしこ1は32bit・ANSI(Shift_JIS)。文字列=char*(ANSI)、ポインタ/ハンドル=void*(4byte)。
const std = @import("std");

extern "rpcrt4" fn RpcBindingInqAuthInfoA(
    Binding: ?*anyopaque, // void*
    ServerPrincName: [*c][*c]u8, // LPSTR* optional, out
    AuthnLevel: [*c]u32, // DWORD* optional, out
    AuthnSvc: [*c]u32, // DWORD* optional, out
    AuthIdentity: ?*anyopaque, // void** optional, out
    AuthzSvc: [*c]u32 // DWORD* optional, out
) callconv(std.os.windows.WINAPI) i32;
proc RpcBindingInqAuthInfoA(
    Binding: pointer,  # void*
    ServerPrincName: ptr cstring,  # LPSTR* optional, out
    AuthnLevel: ptr uint32,  # DWORD* optional, out
    AuthnSvc: ptr uint32,  # DWORD* optional, out
    AuthIdentity: pointer,  # void** optional, out
    AuthzSvc: ptr uint32  # DWORD* optional, out
): int32 {.importc: "RpcBindingInqAuthInfoA", stdcall, dynlib: "RPCRT4.dll".}
pragma(lib, "rpcrt4");
extern(Windows)
int RpcBindingInqAuthInfoA(
    void* Binding,   // void*
    char** ServerPrincName,   // LPSTR* optional, out
    uint* AuthnLevel,   // DWORD* optional, out
    uint* AuthnSvc,   // DWORD* optional, out
    void** AuthIdentity,   // void** optional, out
    uint* AuthzSvc   // DWORD* optional, out
);
ccall((:RpcBindingInqAuthInfoA, "RPCRT4.dll"), stdcall, Int32,
      (Ptr{Cvoid}, Ptr{Ptr{UInt8}}, Ptr{UInt32}, Ptr{UInt32}, Ptr{Cvoid}, Ptr{UInt32}),
      Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc)
# Binding : void* -> Ptr{Cvoid}
# ServerPrincName : LPSTR* optional, out -> Ptr{Ptr{UInt8}}
# AuthnLevel : DWORD* optional, out -> Ptr{UInt32}
# AuthnSvc : DWORD* optional, out -> Ptr{UInt32}
# AuthIdentity : void** optional, out -> Ptr{Cvoid}
# AuthzSvc : DWORD* optional, out -> Ptr{UInt32}
# stdcall は 32bit のみ意味を持つ(x64 では無視)。
local ffi = require("ffi")
ffi.cdef[[
int32_t RpcBindingInqAuthInfoA(
    void* Binding,
    char** ServerPrincName,
    uint32_t* AuthnLevel,
    uint32_t* AuthnSvc,
    void** AuthIdentity,
    uint32_t* AuthzSvc);
]]
local rpcrt4 = ffi.load("rpcrt4")
-- rpcrt4.RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc)
-- Binding : void*
-- ServerPrincName : LPSTR* optional, out
-- AuthnLevel : DWORD* optional, out
-- AuthnSvc : DWORD* optional, out
-- AuthIdentity : void** optional, out
-- AuthzSvc : DWORD* optional, out
-- 構造体/GUIDへのポインタは cdef が通るよう void* で表記(実型は各引数コメント参照)。値渡し構造体・enum は対応する typedef を cdef に追加すること。
const koffi = require('koffi');
const lib = koffi.load('RPCRT4.dll');
const RpcBindingInqAuthInfoA = lib.func('__stdcall', 'RpcBindingInqAuthInfoA', 'int32_t', ['void *', 'void *', 'uint32_t *', 'uint32_t *', 'void *', 'uint32_t *']);
// RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc)
// Binding : void* -> 'void *'
// ServerPrincName : LPSTR* optional, out -> 'void *'
// AuthnLevel : DWORD* optional, out -> 'uint32_t *'
// AuthnSvc : DWORD* optional, out -> 'uint32_t *'
// AuthIdentity : void** optional, out -> 'void *'
// AuthzSvc : DWORD* optional, out -> 'uint32_t *'
// 出力ポインタは koffi.out(...) で包む。構造体は koffi.struct で定義。
const lib = Deno.dlopen("RPCRT4.dll", {
  RpcBindingInqAuthInfoA: { parameters: ["pointer", "pointer", "pointer", "pointer", "pointer", "pointer"], result: "i32" },
});
// lib.symbols.RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc)
// Binding : void* -> "pointer"
// ServerPrincName : LPSTR* optional, out -> "pointer"
// AuthnLevel : DWORD* optional, out -> "pointer"
// AuthnSvc : DWORD* optional, out -> "pointer"
// AuthIdentity : void** optional, out -> "pointer"
// AuthzSvc : DWORD* optional, out -> "pointer"
// 文字列は "buffer"。ANSI(-A) は new TextEncoder() で UTF-8/ANSI バイト列(末尾に \x00)を渡す。
// 値渡し構造体は { struct: [ ...field types... ] } を使用。
<?php
$ffi = FFI::cdef(<<<C
int32_t RpcBindingInqAuthInfoA(
    void* Binding,
    char** ServerPrincName,
    uint32_t* AuthnLevel,
    uint32_t* AuthnSvc,
    void** AuthIdentity,
    uint32_t* AuthzSvc);
C, "RPCRT4.dll");
// $ffi->RpcBindingInqAuthInfoA(Binding, ServerPrincName, AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvc);
// Binding : void*
// ServerPrincName : LPSTR* optional, out
// AuthnLevel : DWORD* optional, out
// AuthnSvc : DWORD* optional, out
// AuthIdentity : void** optional, out
// AuthzSvc : DWORD* 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 Rpcrt4 extends StdCallLibrary {
    Rpcrt4 INSTANCE = Native.load("rpcrt4", Rpcrt4.class, W32APIOptions.ASCII_OPTIONS);
    int RpcBindingInqAuthInfoA(
        Pointer Binding,   // void*
        PointerByReference ServerPrincName,   // LPSTR* optional, out
        IntByReference AuthnLevel,   // DWORD* optional, out
        IntByReference AuthnSvc,   // DWORD* optional, out
        Pointer AuthIdentity,   // void** optional, out
        IntByReference AuthzSvc   // DWORD* optional, out
    );
}
@[Link("rpcrt4")]
lib LibRPCRT4
  fun RpcBindingInqAuthInfoA = RpcBindingInqAuthInfoA(
    Binding : Void*,   # void*
    ServerPrincName : UInt8**,   # LPSTR* optional, out
    AuthnLevel : UInt32*,   # DWORD* optional, out
    AuthnSvc : UInt32*,   # DWORD* optional, out
    AuthIdentity : Void**,   # void** optional, out
    AuthzSvc : UInt32*   # DWORD* optional, out
  ) : Int32
end
# 構造体/GUID/enum は lib 内に対応する型定義が必要。
# 呼出規約: x64 は規約統一のため OK。x86(32bit)は WINAPI=stdcall だが Crystal の fun に stdcall 付与構文がなく非対応。
import 'dart:ffi';
import 'package:ffi/ffi.dart';

typedef RpcBindingInqAuthInfoANative = Int32 Function(Pointer<Void>, Pointer<Pointer<Utf8>>, Pointer<Uint32>, Pointer<Uint32>, Pointer<Void>, Pointer<Uint32>);
typedef RpcBindingInqAuthInfoADart = int Function(Pointer<Void>, Pointer<Pointer<Utf8>>, Pointer<Uint32>, Pointer<Uint32>, Pointer<Void>, Pointer<Uint32>);
final RpcBindingInqAuthInfoA = DynamicLibrary.open('RPCRT4.dll')
    .lookupFunction<RpcBindingInqAuthInfoANative, RpcBindingInqAuthInfoADart>('RpcBindingInqAuthInfoA');
// Binding : void* -> Pointer<Void>
// ServerPrincName : LPSTR* optional, out -> Pointer<Pointer<Utf8>>
// AuthnLevel : DWORD* optional, out -> Pointer<Uint32>
// AuthnSvc : DWORD* optional, out -> Pointer<Uint32>
// AuthIdentity : void** optional, out -> Pointer<Void>
// AuthzSvc : DWORD* optional, out -> Pointer<Uint32>
// 文字列は package:ffi の "...".toNativeUtf16()/toNativeUtf8() で変換。
{$mode objfpc}{$H+}
function RpcBindingInqAuthInfoA(
  Binding: Pointer;   // void*
  ServerPrincName: PPAnsiChar;   // LPSTR* optional, out
  AuthnLevel: Pointer;   // DWORD* optional, out
  AuthnSvc: Pointer;   // DWORD* optional, out
  AuthIdentity: Pointer;   // void** optional, out
  AuthzSvc: Pointer   // DWORD* optional, out
): Integer; stdcall;
  external 'RPCRT4.dll' name 'RpcBindingInqAuthInfoA';
import Foreign
import Foreign.C.Types
import Foreign.C.String

foreign import stdcall safe "RpcBindingInqAuthInfoA"
  c_RpcBindingInqAuthInfoA :: Ptr () -> Ptr CString -> Ptr Word32 -> Ptr Word32 -> Ptr () -> Ptr Word32 -> IO Int32
-- Binding : void* -> Ptr ()
-- ServerPrincName : LPSTR* optional, out -> Ptr CString
-- AuthnLevel : DWORD* optional, out -> Ptr Word32
-- AuthnSvc : DWORD* optional, out -> Ptr Word32
-- AuthIdentity : void** optional, out -> Ptr ()
-- AuthzSvc : DWORD* optional, out -> Ptr Word32
-- 要 GHC(Windows)。stdcall は x64 では ccall として扱われる。ブロックする API は safe 呼び出し推奨。
open Ctypes
open Foreign

let rpcbindinginqauthinfoa =
  foreign "RpcBindingInqAuthInfoA"
    ((ptr void) @-> (ptr string) @-> (ptr uint32_t) @-> (ptr uint32_t) @-> (ptr void) @-> (ptr uint32_t) @-> returning int32_t)
(* Binding : void* -> (ptr void) *)
(* ServerPrincName : LPSTR* optional, out -> (ptr string) *)
(* AuthnLevel : DWORD* optional, out -> (ptr uint32_t) *)
(* AuthnSvc : DWORD* optional, out -> (ptr uint32_t) *)
(* AuthIdentity : void** optional, out -> (ptr void) *)
(* AuthzSvc : DWORD* optional, out -> (ptr uint32_t) *)
(* foreign は cdecl 前提。x64 Windows では WINAPI と一致。構造体は ctypes structure を定義のこと。 *)
(cffi:define-foreign-library rpcrt4 (t "RPCRT4.dll"))
(cffi:use-foreign-library rpcrt4)

(cffi:defcfun ("RpcBindingInqAuthInfoA" rpc-binding-inq-auth-info-a :convention :stdcall) :int32
  (binding :pointer)   ; void*
  (server-princ-name :pointer)   ; LPSTR* optional, out
  (authn-level :pointer)   ; DWORD* optional, out
  (authn-svc :pointer)   ; DWORD* optional, out
  (auth-identity :pointer)   ; void** optional, out
  (authz-svc :pointer))   ; DWORD* optional, out
; isize/usize(INT_PTR/SIZE_T)は x64 前提で :int64/:uint64。x86 では :int32/:uint32。
use Win32::API;
my $RpcBindingInqAuthInfoA = Win32::API::More->new('RPCRT4',
    'int RpcBindingInqAuthInfoA(LPVOID Binding, LPVOID ServerPrincName, LPVOID AuthnLevel, LPVOID AuthnSvc, LPVOID AuthIdentity, LPVOID AuthzSvc)');
# my $ret = $RpcBindingInqAuthInfoA->Call($Binding, $ServerPrincName, $AuthnLevel, $AuthnSvc, $AuthIdentity, $AuthzSvc);
# Binding : void* -> LPVOID
# ServerPrincName : LPSTR* optional, out -> LPVOID
# AuthnLevel : DWORD* optional, out -> LPVOID
# AuthnSvc : DWORD* optional, out -> LPVOID
# AuthIdentity : void** optional, out -> LPVOID
# AuthzSvc : DWORD* optional, out -> LPVOID
# 値渡し構造体は pack() した文字列、または Win32::API::Struct を使用。

関連項目

文字セット違い
類似 API
使用する型