скрытое меню

УКАЗАТЕЛЬ на структуру

void struc(OVERLAPPED ov)
{
    printf("function &ov=%p ov.Internal=%i\n",&ov,ov.Internal);
}

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    OVERLAPPED ov1;
    ov1.Internal=1;
    struc(ov1);

    OVERLAPPED *ov2=new OVERLAPPED;
    ov2->Internal=2;
    struc(*ov2);
    return 0;
Яндекс.Метрика