A. B. C. D.
You write the following code segment to call a function from the Win32 Application Programming Interface (API) by using platform invoke. string personName = "N?el"; string msg = "Welcome " + personName + " to club ’’!"; bool rc = User32API.MessageBox(0, msg, personName, 0); You need to define a method prototype that can best marshal the string data. Which code segment should you use?()
A.A B.B C.C D.D
您正在開(kāi)發(fā)的應(yīng)用程序接收異步事件。您創(chuàng)建一個(gè)WqlEventQuery實(shí)例指向特定的事件和事件條件,該申請(qǐng)必須作出反應(yīng)。您也創(chuàng)建了ManagementEventWatcher實(shí)例為了訂閱查詢相匹配的事件。您需要確定的其他行動(dòng)之前,您必須執(zhí)行的應(yīng)用程序可以接收異步事件。這兩項(xiàng)行動(dòng)應(yīng)您執(zhí)行?分別是()