PUSHMSG
4/8/2010
This structure represents the message delivered from the push router client.
This message is delivered by the function PushRouter_GetMessage. The message is either a configuration request or a query.
Syntax
typedef struct tagPushMsg{
DWORD cbSize;
LPTSTR szHeaders;
LPBYTE pbBody;
DWORD cbBodyLength;
DWORD dwSecurityRole;
DWORD dwReserved1;
DWORD dwReserved2;
} PUSHMSG, *LPPUSHMSG;
Members
- cbSize
The size, in bytes, of the message.
- szHeaders
Pointer to the RFC 822 headers.
- pbBody
Pointer to the body of the push message.
- cbBodyLength
The size, in bytes, of the body of the push message.
- dwSecurityRole
The security role(s) assigned to the message by the push router.
- dwReserved1
Reserved (must be set to 0).
- dwReserved2
Reserved (must be set to 0).
Remarks
Your application must initialize the value of cbSize to the size of the PUSHMSG structure before the application can pass the structure to the function PushRouter_GetMessage. The application uses the security role(s) (dwSecurityRole) to specify whether the message (configuration request or query) has the credentials required to execute.
Requirements
Header | pushclient.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later |
See Also
Reference
PushRouter_FreeMessage
PushRouter_GetMessage