ncacn_np

endpoint("ncacn_np:server-name[\\pipe\\pipe-name]")

server-name
Optional. Specifies the name of the server. Backslash characters are optional.
pipe-name
Specifies a valid pipe name. A valid pipe name is a string containing identifiers separated by backslash characters. The first identifier must be pipe. Each identifier must be separated by two backslash characters.

Examples

[   uuid(12345678-4000-2006-0000-20000000001a), 
    version(1.1), 
    endpoint("ncacn_np:[\\pipe\\stove\\hat]") 
] 
[   uuid(12345678-4000-2006-0000-20000000001b), 
    version(1.1), 
    endpoint("ncacn_np:\\\\myotherserver[\\pipe\\corncob]") 
] 
 

Remarks

The ncacn_np keyword identifies named-pipes as the protocol family for the endpoint.

Note  For Windows 95 platforms, ncacn_np is supported only for client applications.

The syntax of the named-pipe 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 during compilation.

See Also

endpoint, IDL, ncacn_at_dsp, ncacn_dnet_nsp, ncacn_ip_tcp, ncacn_nb_ipx, ncacn_spx, ncacn_nb_nb, ncacn_nb_tcp, ncacn_vns_spp ncalrpc, ncadg_ipx, ncadg_ip_udp, string binding