What is void** in C#?

前端 未结 6 1197
失恋的感觉
失恋的感觉 2021-01-12 01:42

I\'m looking through the source of a C# program that uses a library written in C. I came across this line and was unsure what it was:

cvbimUNSAFE.GetImageVPA         


        
6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-12 02:20

    In C, it represents a pointer to a void* object. In other word, when you dereference it you get a void*.

    I guess this is used because lpImageBits will be modified inside the function you are invoking.

提交回复
热议问题