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
正确答案:C
答案解析:有
微信扫一扫手机做题