Win32 API 日本語リファレンス
ホームDevices.AllJoyn › alljoyn_busattachment_unregisterallaboutlisteners

alljoyn_busattachment_unregisterallaboutlisteners

関数
登録済みの全Aboutリスナーを一括解除する。
DLLMSAJApi.dll呼出規約winapi

シグネチャ

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

void alljoyn_busattachment_unregisterallaboutlisteners(
    alljoyn_busattachment bus
);

パラメーター

名前方向
busalljoyn_busattachmentin

戻り値の型: void

各言語での呼び出し定義

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

void alljoyn_busattachment_unregisterallaboutlisteners(
    alljoyn_busattachment bus
);
[DllImport("MSAJApi.dll", ExactSpelling = true)]
static extern void alljoyn_busattachment_unregisterallaboutlisteners(
    IntPtr bus   // alljoyn_busattachment
);
<DllImport("MSAJApi.dll", ExactSpelling:=True)>
Public Shared Sub alljoyn_busattachment_unregisterallaboutlisteners(
    bus As IntPtr   ' alljoyn_busattachment
)
End Sub
' bus : alljoyn_busattachment
Declare PtrSafe Sub alljoyn_busattachment_unregisterallaboutlisteners Lib "msajapi" ( _
    ByVal bus As LongPtr)
' VBA7前提(PtrSafe)。32bit Office では LongPtr→Long。Integer=16bit / Long=32bit / LongLong=64bit。
import ctypes
from ctypes import wintypes

alljoyn_busattachment_unregisterallaboutlisteners = ctypes.windll.msajapi.alljoyn_busattachment_unregisterallaboutlisteners
alljoyn_busattachment_unregisterallaboutlisteners.restype = None
alljoyn_busattachment_unregisterallaboutlisteners.argtypes = [
    ctypes.c_ssize_t,  # bus : alljoyn_busattachment
]
require 'fiddle'
require 'fiddle/import'

lib = Fiddle.dlopen('MSAJApi.dll')
alljoyn_busattachment_unregisterallaboutlisteners = Fiddle::Function.new(
  lib['alljoyn_busattachment_unregisterallaboutlisteners'],
  [
    Fiddle::TYPE_INTPTR_T,  # bus : alljoyn_busattachment
  ],
  Fiddle::TYPE_VOID)
#[link(name = "msajapi")]
extern "system" {
    fn alljoyn_busattachment_unregisterallaboutlisteners(
        bus: isize  // alljoyn_busattachment
    );
}
// crates: windows-sys provides ready-made bindings for this API.
$sig = @"
[DllImport("MSAJApi.dll")]
public static extern void alljoyn_busattachment_unregisterallaboutlisteners(IntPtr bus);
"@
$api = Add-Type -MemberDefinition $sig -Name 'MSAJApi_alljoyn_busattachment_unregisterallaboutlisteners' -Namespace Win32 -PassThru
# $api::alljoyn_busattachment_unregisterallaboutlisteners(bus)
#uselib "MSAJApi.dll"
#func global alljoyn_busattachment_unregisterallaboutlisteners "alljoyn_busattachment_unregisterallaboutlisteners" sptr
; alljoyn_busattachment_unregisterallaboutlisteners bus
; bus : alljoyn_busattachment -> "sptr"
#uselib "MSAJApi.dll"
#func global alljoyn_busattachment_unregisterallaboutlisteners "alljoyn_busattachment_unregisterallaboutlisteners" sptr
; alljoyn_busattachment_unregisterallaboutlisteners bus
; bus : alljoyn_busattachment -> "sptr"
; void alljoyn_busattachment_unregisterallaboutlisteners(alljoyn_busattachment bus)
#uselib "MSAJApi.dll"
#func global alljoyn_busattachment_unregisterallaboutlisteners "alljoyn_busattachment_unregisterallaboutlisteners" intptr
; alljoyn_busattachment_unregisterallaboutlisteners bus
; bus : alljoyn_busattachment -> "intptr"
import (
	"golang.org/x/sys/windows"
	"unsafe"
)

var (
	msajapi = windows.NewLazySystemDLL("MSAJApi.dll")
	procalljoyn_busattachment_unregisterallaboutlisteners = msajapi.NewProc("alljoyn_busattachment_unregisterallaboutlisteners")
)

// bus (alljoyn_busattachment)
r1, _, err := procalljoyn_busattachment_unregisterallaboutlisteners.Call(
	uintptr(bus),
)
_ = err  // syscall.Errno (valid when the call sets last-error)
_ = r1   // void
procedure alljoyn_busattachment_unregisterallaboutlisteners(
  bus: NativeInt   // alljoyn_busattachment
); stdcall;
  external 'MSAJApi.dll' name 'alljoyn_busattachment_unregisterallaboutlisteners';
result := DllCall("MSAJApi\alljoyn_busattachment_unregisterallaboutlisteners"
    , "Ptr", bus   ; alljoyn_busattachment
    , "Int")   ; return: void
●alljoyn_busattachment_unregisterallaboutlisteners(bus) = DLL("MSAJApi.dll", "int alljoyn_busattachment_unregisterallaboutlisteners(int)")
# 呼び出し: alljoyn_busattachment_unregisterallaboutlisteners(bus)
# bus : alljoyn_busattachment -> "int"
# なでしこ1は32bit・ANSI(Shift_JIS)。文字列=char*(ANSI)、ポインタ/ハンドル=void*(4byte)。