21 #include "JackRequest.h"    22 #include "JackWinNamedPipeNotifyChannel.h"    23 #include "JackError.h"    24 #include "JackConstants.h"    30 int JackWinNamedPipeNotifyChannel::Open(
const char* name)
    32     jack_log(
"JackWinNamedPipeNotifyChannel::Open name = %s", name);
    35     if (fNotifyPipe.Connect(jack_client_dir, name, 0) < 0) {
    40     fNotifyPipe.SetReadTimeOut(SOCKET_TIME_OUT);
    44 void JackWinNamedPipeNotifyChannel::Close()
    46     jack_log(
"JackWinNamedPipeNotifyChannel::Close");
    50 void JackWinNamedPipeNotifyChannel::ClientNotify(
int refnum, 
const char* name, 
int notify, 
int sync, 
const char* message, 
int value1, 
int value2, 
int* result)
    52     JackClientNotification event(name, refnum, notify, sync, message, value1, value2);
    56     if (event.Write(&fNotifyPipe) < 0) {
    65         if (res.Read(&fNotifyPipe) < 0) {
    69             *result = res.fResult;
 
SERVER_EXPORT void jack_error(const char *fmt,...)
SERVER_EXPORT void jack_log(const char *fmt,...)