PDCardWriteAttrByte
This function writes a byte to the specified offset in a card's attribute memory space.
VOID PDCardWriteAttrByte(
PVOID pCardMem,
UINT32 uOffset,
UINT8 uByte
);
Parameters
- pCardMem
[in] Pointer to PC Card attribute memory obtained from the CardMapMemory function. - uOffset
[in] Integer setting the offset into card's attribute memory. - uByte
[in] Specifies the byte to be written.
Return Values
None.
Remarks
This function is called within a try-except statement in case the card is removed and the memory access results in a fault.
Some modem cards show problems related to reading their configuration information soon after power has been applied to the PCMCIA bus, which can cause a Windows CE-based platform to stop responding until the card is removed. If you are writing a device driver for a PCMCIA-Card based modem that is showing this behavior, insert a call to Sleep(1) between the driver's call to PcmciaPowerOn and the first call to PDCardWriteAttrByte.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Sockserv.h.
Link Library: Cardserv.lib.
See Also
PDCardReadAttrByte | PDCardReadCmnByte | PDCardWriteCmnByte
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.