ホーム › Devices.AllJoyn › alljoyn_abouticon_destroy
alljoyn_abouticon_destroy
関数AboutIconオブジェクトを破棄して解放する。
シグネチャ
// MSAJApi.dll
#include <windows.h>
void alljoyn_abouticon_destroy(
alljoyn_abouticon icon
);パラメーター
| 名前 | 型 | 方向 |
|---|---|---|
| icon | alljoyn_abouticon | in |
戻り値の型: void
各言語での呼び出し定義
// MSAJApi.dll
#include <windows.h>
void alljoyn_abouticon_destroy(
alljoyn_abouticon icon
);[DllImport("MSAJApi.dll", ExactSpelling = true)]
static extern void alljoyn_abouticon_destroy(
IntPtr icon // alljoyn_abouticon
);<DllImport("MSAJApi.dll", ExactSpelling:=True)>
Public Shared Sub alljoyn_abouticon_destroy(
icon As IntPtr ' alljoyn_abouticon
)
End Sub' icon : alljoyn_abouticon
Declare PtrSafe Sub alljoyn_abouticon_destroy Lib "msajapi" ( _
ByVal icon As LongPtr)
' VBA7前提(PtrSafe)。32bit Office では LongPtr→Long。Integer=16bit / Long=32bit / LongLong=64bit。import ctypes
from ctypes import wintypes
alljoyn_abouticon_destroy = ctypes.windll.msajapi.alljoyn_abouticon_destroy
alljoyn_abouticon_destroy.restype = None
alljoyn_abouticon_destroy.argtypes = [
ctypes.c_ssize_t, # icon : alljoyn_abouticon
]require 'fiddle'
require 'fiddle/import'
lib = Fiddle.dlopen('MSAJApi.dll')
alljoyn_abouticon_destroy = Fiddle::Function.new(
lib['alljoyn_abouticon_destroy'],
[
Fiddle::TYPE_INTPTR_T, # icon : alljoyn_abouticon
],
Fiddle::TYPE_VOID)#[link(name = "msajapi")]
extern "system" {
fn alljoyn_abouticon_destroy(
icon: isize // alljoyn_abouticon
);
}
// crates: windows-sys provides ready-made bindings for this API.$sig = @"
[DllImport("MSAJApi.dll")]
public static extern void alljoyn_abouticon_destroy(IntPtr icon);
"@
$api = Add-Type -MemberDefinition $sig -Name 'MSAJApi_alljoyn_abouticon_destroy' -Namespace Win32 -PassThru
# $api::alljoyn_abouticon_destroy(icon)#uselib "MSAJApi.dll"
#func global alljoyn_abouticon_destroy "alljoyn_abouticon_destroy" sptr
; alljoyn_abouticon_destroy icon
; icon : alljoyn_abouticon -> "sptr"#uselib "MSAJApi.dll"
#func global alljoyn_abouticon_destroy "alljoyn_abouticon_destroy" sptr
; alljoyn_abouticon_destroy icon
; icon : alljoyn_abouticon -> "sptr"; void alljoyn_abouticon_destroy(alljoyn_abouticon icon)
#uselib "MSAJApi.dll"
#func global alljoyn_abouticon_destroy "alljoyn_abouticon_destroy" intptr
; alljoyn_abouticon_destroy icon
; icon : alljoyn_abouticon -> "intptr"import (
"golang.org/x/sys/windows"
"unsafe"
)
var (
msajapi = windows.NewLazySystemDLL("MSAJApi.dll")
procalljoyn_abouticon_destroy = msajapi.NewProc("alljoyn_abouticon_destroy")
)
// icon (alljoyn_abouticon)
r1, _, err := procalljoyn_abouticon_destroy.Call(
uintptr(icon),
)
_ = err // syscall.Errno (valid when the call sets last-error)
_ = r1 // voidprocedure alljoyn_abouticon_destroy(
icon: NativeInt // alljoyn_abouticon
); stdcall;
external 'MSAJApi.dll' name 'alljoyn_abouticon_destroy';result := DllCall("MSAJApi\alljoyn_abouticon_destroy"
, "Ptr", icon ; alljoyn_abouticon
, "Int") ; return: void●alljoyn_abouticon_destroy(icon) = DLL("MSAJApi.dll", "int alljoyn_abouticon_destroy(int)")
# 呼び出し: alljoyn_abouticon_destroy(icon)
# icon : alljoyn_abouticon -> "int"
# なでしこ1は32bit・ANSI(Shift_JIS)。文字列=char*(ANSI)、ポインタ/ハンドル=void*(4byte)。