SD_DEBUG_INSTANTIATE_ZONES (Windows CE 5.0)
This macro instantiates the global debug zone structure with the name of the module, the initial zone mask ulZoneMask, and the names of zone slots 0 through 10.
#define SD_DEBUG_INSTANTIATE_ZONES(TCHARModuleName,
DWORDInitialValue,
TCHARSlot0,
TCHARSlot1,
TCHARSlot2,
TCHARSlot3,
TCHARSlot4,
TCHARSlot5,
TCHARSlot6,
TCHARSlot7,
TCHARSlot8,
TCHARSlot9,
TCHARSlot10);
Parameters
- ModuleName
Module name that is used to associate the zones. - InitialValue
Initial active zone slots. - Slot0
Zone slot text description. - Slot1
Zone slot text description. - Slot2
Zone slot text description. - Slot3
Zone slot text description. - Slot4
Zone slot text description. - Slot5
Zone slot text description. - Slot6
Zone slot text description. - Slot7
Zone slot text description. - Slot8
Zone slot text description. - Slot9
Zone slot text description. - Slot10
Zone slot text description.
Return Values
None.
Remarks
A driver is free to change the zone slot descriptions for all slots except slots 11 through 15. These values have reserved zone mask slots and text descriptions. This allows libraries to utilize a set of zones that can be activated by a module that imports the library. The driver is free to use the same reserved zone slots for common message zones. For example, a driver can also use SDCARD_ZONE_ERROR for errors. The following table shows the reserved zone slots and their associated macros.
Zone slot | Zone mask macro |
---|---|
11 | SDCARD_ZONE_FUNC |
12 | SDCARD_ZONE_INFO |
13 | SDCARD_ZONE_INIT |
14 | SDCARD_ZONE_WARN |
15 | SDCARD_ZONE_ERROR |
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Sdcard.h.
See Also
Secure Digital Card Driver Macros
Send Feedback on this topic to the authors