YouwritethefollowingcodesegmenttocallafunctionfromtheWin32ApplicationProgrammingInterface(API)byusingplatforminvoke.stringpersonName=N?el;stringmsg=Welcome+personName+toclub’’!;boolrc=User32API.MessageBox(0,msg,personName,0);Youneedtodefineamethodprototypethatcanbestmarshalthestringdata.Whichcodesegmentshouldyouuse?()A.AB.BC.CD.D

YouwritethefollowingcodesegmenttocallafunctionfromtheWin32ApplicationProgrammingInterface(API)byusingplatforminvoke.stringpersonName="N?el";stringmsg="Welcome"+personName+"toclub’’!";boolrc=User32API.MessageBox(0,msg,personName,0);Youneedtodefineamethodprototypethatcanbestmarshalthestringdata.Whichcodesegmentshouldyouuse?()

A.A

B.B

C.C

D.D


相关考题: