summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_extension.stub.php
blob: 34ff543297695f20516e816d33f047450bab8654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php

function variant_set(variant $variant, $value): void {}

function variant_add($left, $right): variant {}

function variant_cat($left, $right): variant {}

function variant_sub($left, $right): variant {}

function variant_mul($left, $right): variant {}

function variant_and($left, $right): variant {}

function variant_div($left, $right): variant {}

function variant_eqv($left, $right): variant {}

function variant_idiv($left, $right): variant {}

function variant_imp($left, $right): variant {}

function variant_mod($left, $right): variant {}

function variant_or($left, $right): variant {}

function variant_pow($left, $right): variant {}

function variant_xor($left, $right): variant {}

function variant_abs($left): variant {}

function variant_fix($left): variant {}

function variant_int($left): variant {}

function variant_neg($left): variant {}

function variant_not($left): variant {}

function variant_round($left, int $decimals): ?variant {}

function variant_cmp($left, $right, int $lcid = UNKNOWN, int $flags = 0) {}

function variant_date_to_timestamp(variant $variant): ?int {}

/** @return variant|false */
function variant_date_from_timestamp(int $timestamp) {}

function variant_get_type(variant $variant): int {}

function variant_set_type(variant $variant, int $type): void {}

function variant_cast(variant $variant, int $type): variant {}

function com_get_active_object(string $progid, int $code_page = UNKNOWN): variant {}

/** @return string|false */
function com_create_guid() {}

function com_event_sink(variant $comobject, object $sinkobject, $sinkinterface = UNKNOWN): bool {}

function com_print_typeinfo($comobject, ?string $dispinterface = null, bool $wantsink = false): bool {}

function com_message_pump(int $timeoutms = 0): bool {}

function com_load_typelib(string $typelib_name, bool $case_insensitive = true) {}