Exemplo n.º 1
0
        /// <summary>
        /// Get the string for log output.
        /// </summary>
        /// <param name="obj">Structure that you want to convert to a string</param>
        /// <returns>String for log output</returns>
        public static StringBuilder ConvertToLogString(LJV7IF_GET_STRAGE_STATUS_RSP rsp)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine(string.Format(@"  SurfaceCnt	: {0}", rsp.dwSurfaceCnt));
            sb.AppendLine(string.Format(@"  ActiveSurface	: {0}", rsp.dwActiveSurface));

            return(sb);
        }
Exemplo n.º 2
0
 internal static extern int LJV7IF_GetStorageStatus(int lDeviceId, ref LJV7IF_GET_STRAGE_STATUS_REQ pReq,
                                                    ref LJV7IF_GET_STRAGE_STATUS_RSP pRsp, ref LJV7IF_STORAGE_INFO pStorageInfo);