C#调用CreateEnhMetaFile时,如何传入枚举参数?其中:
HDC CreateEnhMetaFile(
  HDC hdcRef,            // handle to reference DC
  LPCTSTR lpFilename,    // file name
  CONST RECT* lpRect,    // bounding rectangle
  LPCTSTR lpDescription  // description string
);由于lpRect这个值要事先给定一些值。在C++中大致是这样写的:
RECT rect;
 
rect.left = 100;
rect.top = 100; 
rect.right = 100; 
rect.bottom = 100; HDC mdc = CreateEnhMetaFile(hdc,NULL,&rect,NULL);那在C#调用时,应如何处理这个结构指针呢?谢谢~