attributo notify_flag

L'attributo [notify_flag] fornisce una notifica che identifica se viene chiamata una routine del server.

[notify_flag] procedure-name();

Parametri

procedure-name

Nome della routine remota a cui è associata la routine notify_flag.

Commenti

L'attributo [notify_flag] è simile all'attributo [notify].

Il nome della routine [notify_flag] è il nome della procedura remota suffisso _notify_flag. La routine _notify_flag non richiede parametri e non restituisce un risultato. Nel file di intestazione viene generato anche un prototipo di questa procedura. Ad esempio, se il file IDL contiene quanto segue:

MyProcedure([in] short S);

Specificare quanto segue in ACF per MIDL per generare la chiamata _notify_flag :

[notify_flag] MyProcedure();

Il compilatore MIDL genererà il codice stub del server che contiene la chiamata seguente alla routine _notify_flag :

MyProcedure_notify_flag();

Il file di intestazione conterrà un prototipo:

void MyProcedure_notify_flag(boolean __MIDL_NotifyFlag);

_MIDL_NotifyFlag è TRUE se viene chiamata la routine del server.

Esempi

[notify_flag] MyProcedure();

Vedere anche

Notificare