Export (0) Print
Expand All
COM
id
in
int
odl
out
ptr
ref
Expand Minimize

ncalrpc attribute

The ncalrpc keyword identifies local interprocess communication as the protocol family for the endpoint. This keyword is one of the valid protocol family names that must be used with the [endpoint] attribute.


endpoint("ncalrpc:[port-name]")

Parameters

port-name

A character string that specifies the communication port (an application, a service, or an instance of a service) that a client uses to make interprocess calls to a server. The string can contain up to 53 characters and should not contain any backslash (\) characters. The computer name must not be used with the ncalrpc keyword.

Remarks

The syntax of the local interprocess-communication port string, like all port strings, is defined by the transport implementation and is independent of the IDL specification. The MIDL compiler performs limited syntax checking but does not guarantee that the endpoint specification is correct. Some classes of errors may be reported at run time rather than at compile time.

Examples

[
    uuid(12345678-4000-2006-0000-20000000001a), 
    version(1.1), 
    endpoint("ncalrpc:[myapplicationname]") 
] 
interface iface
{
    // Interface definition statements.
}

See also

endpoint
Interface Definition (IDL) File
ncacn_at_dsp
ncacn_dnet_nsp
ncacn_ip_tcp
ncacn_nb_ipx
ncacn_spx
ncacn_nb_nb
ncacn_nb_tcp
ncacn_np
ncacn_vns_spp
ncadg_ip_udp
ncadg_ipx
String Binding

 

 

Community Additions

ADD
Show:
© 2014 Microsoft