PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

w32api_register_function> <w32api_init_dtype
Last updated: Fri, 18 Jul 2008

view this page in

w32api_invoke_function

(PHP 4 >= 4.2.0)

w32api_invoke_function — ....) Invoca la funzione funcname con gli argomenti passati dopo il nome della funzione

Descrizione

mixed w32api_invoke_function ( string $funcname , mixed $argument [, mixed $... ] )
Avviso

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.

La funzione w32api_invoke_function() tenta di recuperare la funzione registrata in precedenza, indicata in funcname , passandogli i parametri previsti. Il tipo di valore restituito è uno di quelli impostati in fase di registrazione della funzione, il valore restituito è quello restituito dalla funzione stessa. Tutti i parametri possono essere o un qualsiasi tipo PHP oppure un tipo definito tramite w32api_deftype().



add a note add a note User Contributed Notes
w32api_invoke_function
ryan at wonko dot com
22-Apr-2002 08:01
As of PHP 4.2.0, this function doesn't appear to do anything useful (nor does it even work). Instead, use w32api_register_function to register your function and then simply call the function you registered just like you would call any normal PHP function. For example, the following snippet will display a standard messagebox:

w32api_register_function("User32.dll",
                         "MessageBoxA",
                         "long");
MessageBoxA(NULL,
            "Hello World!",
            "PHP MessageBox",
            0);

w32api_register_function> <w32api_init_dtype
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites