Lines Matching refs:err

29     NWC24Err    err;  in main()  local
56 err = NWC24OpenLib(libWorkMem); in main()
57 if ( err != NWC24_OK ) in main()
59 OSReport("NWC24OpenLib(): Error %d\n", err); in main()
66 err = NWC24CloseLib(); in main()
67 if ( err != NWC24_OK ) in main()
69 OSReport("NWC24CloseLib(): Error %d\n", err); in main()
95 NWC24Err err; in PostTestMsg() local
100 err = NWC24InitMsgObj(&msgObj, NWC24_MSGTYPE_WII_MENU); in PostTestMsg()
101 if ( err != NWC24_OK ) in PostTestMsg()
103 OSReport("NWC24InitMsgObj(): error %d\n", err); in PostTestMsg()
108 err = NWC24GetMyUserId(&testIdTo); in PostTestMsg()
109 if( err != NWC24_OK ) in PostTestMsg()
111 OSReport("NWC24GetMyUserId(): error %d\n", err); in PostTestMsg()
115 err = NWC24SetMsgToId(&msgObj, testIdTo); in PostTestMsg()
116 if ( err != NWC24_OK ) in PostTestMsg()
118 OSReport("NWC24SetMsgToId(): error %d\n", err); in PostTestMsg()
123 err = NWC24SetMsgSubject(&msgObj, TestSubject, (u32)strlen(TestSubject)); in PostTestMsg()
124 if ( err != NWC24_OK ) in PostTestMsg()
126 OSReport("NWC24SetMsgSubject(): error %d\n", err); in PostTestMsg()
131 err = NWC24SetMsgText(&msgObj, (const char*)TestMsgText, (u32)sizeof(TestMsgText) - 2, in PostTestMsg()
133 if ( err != NWC24_OK ) in PostTestMsg()
135 OSReport("NWC24SetMsgText(): error %d\n", err); in PostTestMsg()
140 err = NWC24SetMsgAttached(&msgObj, (const char*)my_letter_arc_begin, in PostTestMsg()
142 if ( err != NWC24_OK ) in PostTestMsg()
144 OSReport("NWC24SetMsgAttached(): error %d\n", err); in PostTestMsg()
149 err = NWC24SetMsgAltName(&msgObj, (const u16*)TestAltName, (u32)sizeof(TestAltName) - 2); in PostTestMsg()
150 if ( err != NWC24_OK ) in PostTestMsg()
152 OSReport("NWC24SetMsgAltName(): error %d\n", err); in PostTestMsg()
157 err = NWC24CommitMsg(&msgObj); in PostTestMsg()
158 if ( err != NWC24_OK ) in PostTestMsg()
160 OSReport("NWC24CommitMsg: error %d\n", err); in PostTestMsg()