Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
cmpresult.h File Reference

CMPAPI - Result definitions for Citrix Mobility Pack. More...

#include <cmptypes.h>

Go to the source code of this file.

Defines

#define STATUS_CODE(Component, Status)   (((Component)<<16) | (Status))
#define CMP_SUCCESS(code)   (((code) & 0xFFFF) == 0)
#define CMP_FAILURE(code)   (!CMP_SUCCESS(code))
#define CMP_COMPONENT_CODE(status)   ((status) >>16)
#define SET_CMPRESULT(prc, rc)   if(prc) *prc = rc

Detailed Description

CMPAPI - Result definitions for Citrix Mobility Pack.


Define Documentation

#define CMP_COMPONENT_CODE (   status)    ((status) >>16)
#define CMP_SUCCESS (   code)    (((code) & 0xFFFF) == 0)
#define SET_CMPRESULT (   prc,
  rc 
)    if(prc) *prc = rc
#define STATUS_CODE (   Component,
  Status 
)    (((Component)<<16) | (Status))

Status code macro that combines the component with the status

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Events Defines