【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.42.5 storage::IsAttributes
Contents
Description
Determines if one of the attribute bits is set to the storage object
Syntax
BOOL IsAttributes( DWORD dwAttrib )
Parameters
- dwAttrib
- [input]the bits to be tested
Return
Returns no zero if set else zero
Examples
EX1
//assume there exists a page in current project before run this code. void Storage_IsAttributes_ex1() { Page pg = Project.Pages(); storage st; st = pg.GetStorage("system"); if ( st ) { DWORD dwAttrs = 0x00011001; st.SetAttributes(dwAttrs); DWORD dwTest1 = 0x00000001; DWORD dwTest2 = 0x00000010; bool bFlag1 = st.IsAttributes(dwTest1); bool bFlag2 = st.IsAttributes(dwTest2); } return; }
Remark
See Also
Header to Include
origin.h