| |
| VOID CALLBACK WebEventProc( |
| |
HSTORAGE hStorage, |
|
| |
UINT nEventId, |
|
| |
DWORD dwError, |
|
| |
DWORD_PTR dwParam |
|
| ); |
The WebEventProc method is an application-defined
callback method that processes events generated by the client.
Parameters
- hStorage
- A handle to the storage container.
- nEventId
- An unsigned integer which specifies which event occurred. For a
complete list of events, refer to the RegisterEvent
method.
- dwError
- An unsigned integer which specifies any error that
occurred. If no error occurred, then this parameter will be
zero.
- dwParam
- A user-defined integer value which was specified when the event
callback was registered. If the application targets the x86 (32-bit)
platform, this parameter must be a 32-bit unsigned integer. If the
application targets the x64 (64-bit) platform, this parameter must
be a 64-bit unsigned integer.
Return Value
None.
Remarks
An application must register this callback method by passing its
address to the RegisterEvent method. The WebEventProc
function is a placeholder for the application-defined function name.
To obtain information about the current status of the read or write
operation, call the GetTransferStatus method. An
event handler can cancel the current operation by calling the
Cancel method.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: cswebv10.lib
Unicode: Implemented as Unicode and ANSI versions.
See Also
Cancel,
GetTransferStatus,
RegisterEvent
|
|