--- description: "Learn more about: named_guids import attribute" title: "named_guids import attribute" ms.date: "08/29/2019" f1_keywords: ["named_guids"] helpviewer_keywords: ["named_guids attribute"] ms.assetid: b905e5e5-07fe-4874-8993-e05b9d639045 --- # named_guids import attribute **C++ Specific** Tells the compiler to define and initialize GUID variables in the old style, of the form `LIBID_MyLib`, `CLSID_MyCoClass`, `IID_MyInterface`, and `DIID_MyDispInterface`. ## Syntax > **#import** *type-library* **named_guids** **END C++ Specific** ## See also [#import attributes](../preprocessor/hash-import-attributes-cpp.md)\ [#import directive](../preprocessor/hash-import-directive-cpp.md)