How to remove '0' of 'FWPMxxxxxx0'? RRS feed

  • Question

  • i read the sample code msn monitor....

    ** the source code
     FWPM_SESSION session;
     result = FwpmEngineOpen(NULL, RPC_C_AUTHN_WINNT, NULL, &session, &engineHandle);

    when i write the source code in visual stuido...
    error C2065: 'FWPM_SESSION' : undeclared identifier
    error C2065: 'FwpmEngineOpen' : undeclared identifier

    i want to remove '0' postfix of WFP API like the sample source code.
    as i think. i need a macro or additional option..
    help me please...
    Tuesday, December 15, 2009 2:56 AM


  • This was introduced post Vista.  The header Implementing this is FWPVI.h

    Hope this helps

    Dusty Harper [MSFT]
    Microsoft Corporation
    This posting is provided "AS IS", with NO warranties and confers NO rights
    Wednesday, December 16, 2009 12:28 AM