VirtualBox

Ignore:
Timestamp:
Dec 14, 2021 10:15:54 PM (3 years ago)
Author:
vboxsync
Message:

Add/VBoxCredProv: Adjustment for building with newer SDKs which includes the CPFG_CREDENTIAL_PROVIDER_LABEL and CPFG_CREDENTIAL_PROVIDER_LOGO GUIDs. bugref:10116

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredentialProvider.h

    r85121 r92908  
    6666
    6767#ifndef PCREDENTIAL_PROVIDER_FIELD_DESCRIPTOR
    68  #define PCREDENTIAL_PROVIDER_FIELD_DESCRIPTOR CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR*
     68# define PCREDENTIAL_PROVIDER_FIELD_DESCRIPTOR CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR*
    6969#endif
    7070
    71 #ifndef CPFG_CREDENTIAL_PROVIDER_LOGO
    72  /* 2d837775-f6cd-464e-a745-482fd0b47493 */
    73  DEFINE_GUID(CPFG_CREDENTIAL_PROVIDER_LOGO, 0x2d837775, 0xf6cd, 0x464e, 0xa7, 0x45, 0x48, 0x2f, 0xd0, 0xb4, 0x74, 0x93);
     71#if !defined(NTDDI_VERSION) || !defined(NTDDI_WIN8) || NTDDI_VERSION < NTDDI_WIN8 /* < Windows 8 */
     72/* 2d837775-f6cd-464e-a745-482fd0b47493, introduced in windows 8 */
     73DEFINE_GUID(CPFG_CREDENTIAL_PROVIDER_LOGO, 0x2d837775, 0xf6cd, 0x464e, 0xa7, 0x45, 0x48, 0x2f, 0xd0, 0xb4, 0x74, 0x93);
     74/* 286BBFF3-BAD4-438F-B007-79B7267C3D48, introduced in windows 8. */
     75DEFINE_GUID(CPFG_CREDENTIAL_PROVIDER_LABEL, 0x286BBFF3, 0xBAD4, 0x438F, 0xB0 ,0x07, 0x79, 0xB7, 0x26, 0x7C, 0x3D, 0x48);
    7476#endif
    7577
    76 #ifndef CPFG_CREDENTIAL_PROVIDER_LABEL
    77  /* 286BBFF3-BAD4-438F-B007-79B7267C3D48 */
    78  DEFINE_GUID(CPFG_CREDENTIAL_PROVIDER_LABEL, 0x286BBFF3, 0xBAD4, 0x438F, 0xB0 ,0x07, 0x79, 0xB7, 0x26, 0x7C, 0x3D, 0x48);
    79 #endif
    8078
    8179/** The credential provider's default fields. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette