Win32 API 日本語リファレンス
ホームNetworkManagement.WiFi › WlanUIEditProfile

WlanUIEditProfile

関数
無線LANプロファイル編集用の標準UIを表示する。
DLLwlanui.dll呼出規約winapi対応OSWindows Vista 以降

シグネチャ

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

DWORD WlanUIEditProfile(
    DWORD dwClientVersion,
    LPCWSTR wstrProfileName,
    GUID* pInterfaceGuid,
    HWND hWnd,
    WL_DISPLAY_PAGES wlStartPage,
    void* pReserved,   // optional
    DWORD* pWlanReasonCode   // optional
);

パラメーター

名前方向説明
dwClientVersionDWORDin呼び出し元が想定するクライアントAPIのバージョン。
wstrProfileNameLPCWSTRin編集対象とするプロファイル名を指す文字列。
pInterfaceGuidGUID*in対象の無線LANインターフェースを識別するGUIDへのポインター。
hWndHWNDinダイアログの親となるウィンドウのハンドル。
wlStartPageWL_DISPLAY_PAGESin最初に表示するプロパティページを示す列挙値。
pReservedvoid*optional予約領域。NULLを指定する必要がある。
pWlanReasonCodeDWORD*outoptional編集失敗時の理由コードを受け取る出力先。

戻り値の型: DWORD

各言語での呼び出し定義

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

DWORD WlanUIEditProfile(
    DWORD dwClientVersion,
    LPCWSTR wstrProfileName,
    GUID* pInterfaceGuid,
    HWND hWnd,
    WL_DISPLAY_PAGES wlStartPage,
    void* pReserved,   // optional
    DWORD* pWlanReasonCode   // optional
);
[DllImport("wlanui.dll", ExactSpelling = true)]
static extern uint WlanUIEditProfile(
    uint dwClientVersion,   // DWORD
    [MarshalAs(UnmanagedType.LPWStr)] string wstrProfileName,   // LPCWSTR
    ref Guid pInterfaceGuid,   // GUID*
    IntPtr hWnd,   // HWND
    int wlStartPage,   // WL_DISPLAY_PAGES
    IntPtr pReserved,   // void* optional
    IntPtr pWlanReasonCode   // DWORD* optional, out
);
<DllImport("wlanui.dll", ExactSpelling:=True)>
Public Shared Function WlanUIEditProfile(
    dwClientVersion As UInteger,   ' DWORD
    <MarshalAs(UnmanagedType.LPWStr)> wstrProfileName As String,   ' LPCWSTR
    ByRef pInterfaceGuid As Guid,   ' GUID*
    hWnd As IntPtr,   ' HWND
    wlStartPage As Integer,   ' WL_DISPLAY_PAGES
    pReserved As IntPtr,   ' void* optional
    pWlanReasonCode As IntPtr   ' DWORD* optional, out
) As UInteger
End Function
' dwClientVersion : DWORD
' wstrProfileName : LPCWSTR
' pInterfaceGuid : GUID*
' hWnd : HWND
' wlStartPage : WL_DISPLAY_PAGES
' pReserved : void* optional
' pWlanReasonCode : DWORD* optional, out
Declare PtrSafe Function WlanUIEditProfile Lib "wlanui" ( _
    ByVal dwClientVersion As Long, _
    ByVal wstrProfileName As LongPtr, _
    ByVal pInterfaceGuid As LongPtr, _
    ByVal hWnd As LongPtr, _
    ByVal wlStartPage As Long, _
    ByVal pReserved As LongPtr, _
    ByVal pWlanReasonCode As LongPtr) As Long
' VBA7前提(PtrSafe)。32bit Office では LongPtr→Long。Integer=16bit / Long=32bit / LongLong=64bit。
import ctypes
from ctypes import wintypes

WlanUIEditProfile = ctypes.windll.wlanui.WlanUIEditProfile
WlanUIEditProfile.restype = wintypes.DWORD
WlanUIEditProfile.argtypes = [
    wintypes.DWORD,  # dwClientVersion : DWORD
    wintypes.LPCWSTR,  # wstrProfileName : LPCWSTR
    ctypes.c_void_p,  # pInterfaceGuid : GUID*
    wintypes.HANDLE,  # hWnd : HWND
    ctypes.c_int,  # wlStartPage : WL_DISPLAY_PAGES
    ctypes.POINTER(None),  # pReserved : void* optional
    ctypes.POINTER(wintypes.DWORD),  # pWlanReasonCode : DWORD* optional, out
]
require 'fiddle'
require 'fiddle/import'

lib = Fiddle.dlopen('wlanui.dll')
WlanUIEditProfile = Fiddle::Function.new(
  lib['WlanUIEditProfile'],
  [
    -Fiddle::TYPE_INT,  # dwClientVersion : DWORD
    Fiddle::TYPE_VOIDP,  # wstrProfileName : LPCWSTR
    Fiddle::TYPE_VOIDP,  # pInterfaceGuid : GUID*
    Fiddle::TYPE_VOIDP,  # hWnd : HWND
    Fiddle::TYPE_INT,  # wlStartPage : WL_DISPLAY_PAGES
    Fiddle::TYPE_VOIDP,  # pReserved : void* optional
    Fiddle::TYPE_VOIDP,  # pWlanReasonCode : DWORD* optional, out
  ],
  -Fiddle::TYPE_INT)
#[link(name = "wlanui")]
extern "system" {
    fn WlanUIEditProfile(
        dwClientVersion: u32,  // DWORD
        wstrProfileName: *const u16,  // LPCWSTR
        pInterfaceGuid: *mut GUID,  // GUID*
        hWnd: *mut core::ffi::c_void,  // HWND
        wlStartPage: i32,  // WL_DISPLAY_PAGES
        pReserved: *mut (),  // void* optional
        pWlanReasonCode: *mut u32  // DWORD* optional, out
    ) -> u32;
}
// crates: windows-sys provides ready-made bindings for this API.
$sig = @"
[DllImport("wlanui.dll")]
public static extern uint WlanUIEditProfile(uint dwClientVersion, [MarshalAs(UnmanagedType.LPWStr)] string wstrProfileName, ref Guid pInterfaceGuid, IntPtr hWnd, int wlStartPage, IntPtr pReserved, IntPtr pWlanReasonCode);
"@
$api = Add-Type -MemberDefinition $sig -Name 'wlanui_WlanUIEditProfile' -Namespace Win32 -PassThru
# $api::WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode)
#uselib "wlanui.dll"
#func global WlanUIEditProfile "WlanUIEditProfile" sptr, sptr, sptr, sptr, sptr, sptr, sptr
; WlanUIEditProfile dwClientVersion, wstrProfileName, varptr(pInterfaceGuid), hWnd, wlStartPage, pReserved, varptr(pWlanReasonCode)   ; 戻り値は stat
; dwClientVersion : DWORD -> "sptr"
; wstrProfileName : LPCWSTR -> "sptr"
; pInterfaceGuid : GUID* -> "sptr"
; hWnd : HWND -> "sptr"
; wlStartPage : WL_DISPLAY_PAGES -> "sptr"
; pReserved : void* optional -> "sptr"
; pWlanReasonCode : DWORD* optional, out -> "sptr"
; ※HSP3.7は #func のため戻り値はシステム変数 stat に格納されます。
出力引数:
#uselib "wlanui.dll"
#cfunc global WlanUIEditProfile "WlanUIEditProfile" int, wstr, var, sptr, int, sptr, var
; res = WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode)
; dwClientVersion : DWORD -> "int"
; wstrProfileName : LPCWSTR -> "wstr"
; pInterfaceGuid : GUID* -> "var"
; hWnd : HWND -> "sptr"
; wlStartPage : WL_DISPLAY_PAGES -> "int"
; pReserved : void* optional -> "sptr"
; pWlanReasonCode : DWORD* optional, out -> "var"
; ※出力/バッファ引数は var 方式(変数を直接渡す)。varptr 方式にも切替可。
出力引数:
; DWORD WlanUIEditProfile(DWORD dwClientVersion, LPCWSTR wstrProfileName, GUID* pInterfaceGuid, HWND hWnd, WL_DISPLAY_PAGES wlStartPage, void* pReserved, DWORD* pWlanReasonCode)
#uselib "wlanui.dll"
#cfunc global WlanUIEditProfile "WlanUIEditProfile" int, wstr, var, intptr, int, intptr, var
; res = WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode)
; dwClientVersion : DWORD -> "int"
; wstrProfileName : LPCWSTR -> "wstr"
; pInterfaceGuid : GUID* -> "var"
; hWnd : HWND -> "intptr"
; wlStartPage : WL_DISPLAY_PAGES -> "int"
; pReserved : void* optional -> "intptr"
; pWlanReasonCode : DWORD* optional, out -> "var"
; ※出力/バッファ引数は var 方式(変数を直接渡す)。varptr 方式にも切替可。
import (
	"golang.org/x/sys/windows"
	"unsafe"
)

var (
	wlanui = windows.NewLazySystemDLL("wlanui.dll")
	procWlanUIEditProfile = wlanui.NewProc("WlanUIEditProfile")
)

// dwClientVersion (DWORD), wstrProfileName (LPCWSTR), pInterfaceGuid (GUID*), hWnd (HWND), wlStartPage (WL_DISPLAY_PAGES), pReserved (void* optional), pWlanReasonCode (DWORD* optional, out)
r1, _, err := procWlanUIEditProfile.Call(
	uintptr(dwClientVersion),
	uintptr(unsafe.Pointer(windows.StringToUTF16Ptr(wstrProfileName))),
	uintptr(pInterfaceGuid),
	uintptr(hWnd),
	uintptr(wlStartPage),
	uintptr(pReserved),
	uintptr(pWlanReasonCode),
)
_ = err  // syscall.Errno (valid when the call sets last-error)
_ = r1   // DWORD
function WlanUIEditProfile(
  dwClientVersion: DWORD;   // DWORD
  wstrProfileName: PWideChar;   // LPCWSTR
  pInterfaceGuid: PGUID;   // GUID*
  hWnd: THandle;   // HWND
  wlStartPage: Integer;   // WL_DISPLAY_PAGES
  pReserved: Pointer;   // void* optional
  pWlanReasonCode: Pointer   // DWORD* optional, out
): DWORD; stdcall;
  external 'wlanui.dll' name 'WlanUIEditProfile';
result := DllCall("wlanui\WlanUIEditProfile"
    , "UInt", dwClientVersion   ; DWORD
    , "WStr", wstrProfileName   ; LPCWSTR
    , "Ptr", pInterfaceGuid   ; GUID*
    , "Ptr", hWnd   ; HWND
    , "Int", wlStartPage   ; WL_DISPLAY_PAGES
    , "Ptr", pReserved   ; void* optional
    , "Ptr", pWlanReasonCode   ; DWORD* optional, out
    , "UInt")   ; return: DWORD
●WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode) = DLL("wlanui.dll", "dword WlanUIEditProfile(dword, char*, void*, void*, int, void*, void*)")
# 呼び出し: WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode)
# dwClientVersion : DWORD -> "dword"
# wstrProfileName : LPCWSTR -> "char*"
# pInterfaceGuid : GUID* -> "void*"
# hWnd : HWND -> "void*"
# wlStartPage : WL_DISPLAY_PAGES -> "int"
# pReserved : void* optional -> "void*"
# pWlanReasonCode : DWORD* optional, out -> "void*"
# なでしこ1は32bit・ANSI(Shift_JIS)。文字列=char*(ANSI)、ポインタ/ハンドル=void*(4byte)。
const std = @import("std");

extern "wlanui" fn WlanUIEditProfile(
    dwClientVersion: u32, // DWORD
    wstrProfileName: [*c]const u16, // LPCWSTR
    pInterfaceGuid: [*c]GUID, // GUID*
    hWnd: ?*anyopaque, // HWND
    wlStartPage: i32, // WL_DISPLAY_PAGES
    pReserved: ?*anyopaque, // void* optional
    pWlanReasonCode: [*c]u32 // DWORD* optional, out
) callconv(std.os.windows.WINAPI) u32;
proc WlanUIEditProfile(
    dwClientVersion: uint32,  # DWORD
    wstrProfileName: WideCString,  # LPCWSTR
    pInterfaceGuid: ptr GUID,  # GUID*
    hWnd: pointer,  # HWND
    wlStartPage: int32,  # WL_DISPLAY_PAGES
    pReserved: pointer,  # void* optional
    pWlanReasonCode: ptr uint32  # DWORD* optional, out
): uint32 {.importc: "WlanUIEditProfile", stdcall, dynlib: "wlanui.dll".}
pragma(lib, "wlanui");
extern(Windows)
uint WlanUIEditProfile(
    uint dwClientVersion,   // DWORD
    const(wchar)* wstrProfileName,   // LPCWSTR
    GUID* pInterfaceGuid,   // GUID*
    void* hWnd,   // HWND
    int wlStartPage,   // WL_DISPLAY_PAGES
    void* pReserved,   // void* optional
    uint* pWlanReasonCode   // DWORD* optional, out
);
ccall((:WlanUIEditProfile, "wlanui.dll"), stdcall, UInt32,
      (UInt32, Cwstring, Ptr{GUID}, Ptr{Cvoid}, Int32, Ptr{Cvoid}, Ptr{UInt32}),
      dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode)
# dwClientVersion : DWORD -> UInt32
# wstrProfileName : LPCWSTR -> Cwstring
# pInterfaceGuid : GUID* -> Ptr{GUID}
# hWnd : HWND -> Ptr{Cvoid}
# wlStartPage : WL_DISPLAY_PAGES -> Int32
# pReserved : void* optional -> Ptr{Cvoid}
# pWlanReasonCode : DWORD* optional, out -> Ptr{UInt32}
# stdcall は 32bit のみ意味を持つ(x64 では無視)。
local ffi = require("ffi")
ffi.cdef[[
uint32_t WlanUIEditProfile(
    uint32_t dwClientVersion,
    const uint16_t* wstrProfileName,
    void* pInterfaceGuid,
    void* hWnd,
    int32_t wlStartPage,
    void* pReserved,
    uint32_t* pWlanReasonCode);
]]
local wlanui = ffi.load("wlanui")
-- wlanui.WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode)
-- dwClientVersion : DWORD
-- wstrProfileName : LPCWSTR
-- pInterfaceGuid : GUID*
-- hWnd : HWND
-- wlStartPage : WL_DISPLAY_PAGES
-- pReserved : void* optional
-- pWlanReasonCode : DWORD* optional, out
-- 構造体/GUIDへのポインタは cdef が通るよう void* で表記(実型は各引数コメント参照)。値渡し構造体・enum は対応する typedef を cdef に追加すること。
const koffi = require('koffi');
const lib = koffi.load('wlanui.dll');
const WlanUIEditProfile = lib.func('__stdcall', 'WlanUIEditProfile', 'uint32_t', ['uint32_t', 'str16', 'void *', 'void *', 'int32_t', 'void *', 'uint32_t *']);
// WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode)
// dwClientVersion : DWORD -> 'uint32_t'
// wstrProfileName : LPCWSTR -> 'str16'
// pInterfaceGuid : GUID* -> 'void *'
// hWnd : HWND -> 'void *'
// wlStartPage : WL_DISPLAY_PAGES -> 'int32_t'
// pReserved : void* optional -> 'void *'
// pWlanReasonCode : DWORD* optional, out -> 'uint32_t *'
// 出力ポインタは koffi.out(...) で包む。構造体は koffi.struct で定義。
const lib = Deno.dlopen("wlanui.dll", {
  WlanUIEditProfile: { parameters: ["u32", "buffer", "pointer", "pointer", "i32", "pointer", "pointer"], result: "u32" },
});
// lib.symbols.WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode)
// dwClientVersion : DWORD -> "u32"
// wstrProfileName : LPCWSTR -> "buffer"
// pInterfaceGuid : GUID* -> "pointer"
// hWnd : HWND -> "pointer"
// wlStartPage : WL_DISPLAY_PAGES -> "i32"
// pReserved : void* optional -> "pointer"
// pWlanReasonCode : DWORD* optional, out -> "pointer"
// 文字列引数は "buffer"(NUL 終端のバイト列を Uint8Array で渡す)。
// 値渡し構造体は { struct: [ ...field types... ] } を使用。
<?php
$ffi = FFI::cdef(<<<C
uint32_t WlanUIEditProfile(
    uint32_t dwClientVersion,
    const uint16_t* wstrProfileName,
    void* pInterfaceGuid,
    void* hWnd,
    int32_t wlStartPage,
    void* pReserved,
    uint32_t* pWlanReasonCode);
C, "wlanui.dll");
// $ffi->WlanUIEditProfile(dwClientVersion, wstrProfileName, pInterfaceGuid, hWnd, wlStartPage, pReserved, pWlanReasonCode);
// dwClientVersion : DWORD
// wstrProfileName : LPCWSTR
// pInterfaceGuid : GUID*
// hWnd : HWND
// wlStartPage : WL_DISPLAY_PAGES
// pReserved : void* optional
// pWlanReasonCode : 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 Wlanui extends StdCallLibrary {
    Wlanui INSTANCE = Native.load("wlanui", Wlanui.class);
    int WlanUIEditProfile(
        int dwClientVersion,   // DWORD
        WString wstrProfileName,   // LPCWSTR
        Pointer pInterfaceGuid,   // GUID*
        Pointer hWnd,   // HWND
        int wlStartPage,   // WL_DISPLAY_PAGES
        Pointer pReserved,   // void* optional
        IntByReference pWlanReasonCode   // DWORD* optional, out
    );
}
@[Link("wlanui")]
lib Libwlanui
  fun WlanUIEditProfile = WlanUIEditProfile(
    dwClientVersion : UInt32,   # DWORD
    wstrProfileName : UInt16*,   # LPCWSTR
    pInterfaceGuid : GUID*,   # GUID*
    hWnd : Void*,   # HWND
    wlStartPage : Int32,   # WL_DISPLAY_PAGES
    pReserved : Void*,   # void* optional
    pWlanReasonCode : UInt32*   # DWORD* 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 WlanUIEditProfileNative = Uint32 Function(Uint32, Pointer<Utf16>, Pointer<Void>, Pointer<Void>, Int32, Pointer<Void>, Pointer<Uint32>);
typedef WlanUIEditProfileDart = int Function(int, Pointer<Utf16>, Pointer<Void>, Pointer<Void>, int, Pointer<Void>, Pointer<Uint32>);
final WlanUIEditProfile = DynamicLibrary.open('wlanui.dll')
    .lookupFunction<WlanUIEditProfileNative, WlanUIEditProfileDart>('WlanUIEditProfile');
// dwClientVersion : DWORD -> Uint32
// wstrProfileName : LPCWSTR -> Pointer<Utf16>
// pInterfaceGuid : GUID* -> Pointer<Void>
// hWnd : HWND -> Pointer<Void>
// wlStartPage : WL_DISPLAY_PAGES -> Int32
// pReserved : void* optional -> Pointer<Void>
// pWlanReasonCode : DWORD* optional, out -> Pointer<Uint32>
// 文字列は package:ffi の "...".toNativeUtf16()/toNativeUtf8() で変換。
{$mode objfpc}{$H+}
function WlanUIEditProfile(
  dwClientVersion: DWORD;   // DWORD
  wstrProfileName: PWideChar;   // LPCWSTR
  pInterfaceGuid: PGUID;   // GUID*
  hWnd: THandle;   // HWND
  wlStartPage: Integer;   // WL_DISPLAY_PAGES
  pReserved: Pointer;   // void* optional
  pWlanReasonCode: Pointer   // DWORD* optional, out
): DWORD; stdcall;
  external 'wlanui.dll' name 'WlanUIEditProfile';
import Foreign
import Foreign.C.Types
import Foreign.C.String

foreign import stdcall safe "WlanUIEditProfile"
  c_WlanUIEditProfile :: Word32 -> CWString -> Ptr () -> Ptr () -> Int32 -> Ptr () -> Ptr Word32 -> IO Word32
-- dwClientVersion : DWORD -> Word32
-- wstrProfileName : LPCWSTR -> CWString
-- pInterfaceGuid : GUID* -> Ptr ()
-- hWnd : HWND -> Ptr ()
-- wlStartPage : WL_DISPLAY_PAGES -> Int32
-- pReserved : void* optional -> Ptr ()
-- pWlanReasonCode : DWORD* optional, out -> Ptr Word32
-- 要 GHC(Windows)。stdcall は x64 では ccall として扱われる。ブロックする API は safe 呼び出し推奨。
open Ctypes
open Foreign

let wlanuieditprofile =
  foreign "WlanUIEditProfile"
    (uint32_t @-> (ptr uint16_t) @-> (ptr void) @-> (ptr void) @-> int32_t @-> (ptr void) @-> (ptr uint32_t) @-> returning uint32_t)
(* dwClientVersion : DWORD -> uint32_t *)
(* wstrProfileName : LPCWSTR -> (ptr uint16_t) *)
(* pInterfaceGuid : GUID* -> (ptr void) *)
(* hWnd : HWND -> (ptr void) *)
(* wlStartPage : WL_DISPLAY_PAGES -> int32_t *)
(* pReserved : void* optional -> (ptr void) *)
(* pWlanReasonCode : DWORD* optional, out -> (ptr uint32_t) *)
(* foreign は cdecl 前提。x64 Windows では WINAPI と一致。構造体は ctypes structure を定義のこと。 *)
(cffi:define-foreign-library wlanui (t "wlanui.dll"))
(cffi:use-foreign-library wlanui)

(cffi:defcfun ("WlanUIEditProfile" wlan-uiedit-profile :convention :stdcall) :uint32
  (dw-client-version :uint32)   ; DWORD
  (wstr-profile-name (:string :encoding :utf-16le))   ; LPCWSTR
  (p-interface-guid :pointer)   ; GUID*
  (h-wnd :pointer)   ; HWND
  (wl-start-page :int32)   ; WL_DISPLAY_PAGES
  (p-reserved :pointer)   ; void* optional
  (p-wlan-reason-code :pointer))   ; DWORD* optional, out
; isize/usize(INT_PTR/SIZE_T)は x64 前提で :int64/:uint64。x86 では :int32/:uint32。
use Win32::API;
my $WlanUIEditProfile = Win32::API::More->new('wlanui',
    'DWORD WlanUIEditProfile(DWORD dwClientVersion, LPCWSTR wstrProfileName, LPVOID pInterfaceGuid, HANDLE hWnd, int wlStartPage, LPVOID pReserved, LPVOID pWlanReasonCode)');
# my $ret = $WlanUIEditProfile->Call($dwClientVersion, $wstrProfileName, $pInterfaceGuid, $hWnd, $wlStartPage, $pReserved, $pWlanReasonCode);
# dwClientVersion : DWORD -> DWORD
# wstrProfileName : LPCWSTR -> LPCWSTR
# pInterfaceGuid : GUID* -> LPVOID
# hWnd : HWND -> HANDLE
# wlStartPage : WL_DISPLAY_PAGES -> int
# pReserved : void* optional -> LPVOID
# pWlanReasonCode : DWORD* optional, out -> LPVOID
# 値渡し構造体は pack() した文字列、または Win32::API::Struct を使用。

関連項目

使用する型